Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(427)

Side by Side Diff: bfd/xsym.h

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « bfd/vms-lib.c ('k') | bfd/xsym.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* xSYM symbol-file support for BFD. 1 /* xSYM symbol-file support for BFD.
2 Copyright 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2007 2 Copyright 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2007, 2012
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 4
5 This file is part of BFD, the Binary File Descriptor library. 5 This file is part of BFD, the Binary File Descriptor library.
6 6
7 This program is free software; you can redistribute it and/or modify 7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by 8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or 9 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version. 10 (at your option) any later version.
11 11
12 This program is distributed in the hope that it will be useful, 12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details. 15 GNU General Public License for more details.
16 16
17 You should have received a copy of the GNU General Public License 17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software 18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, 19 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
20 MA 02110-1301, USA. */ 20 MA 02110-1301, USA. */
21 21
22 #include "sysdep.h"
22 #include "bfd.h" 23 #include "bfd.h"
23 #include <stdio.h> 24 #include <stdio.h>
24 25
25 #ifndef __xSYM_H__ 26 #ifndef __xSYM_H__
26 #define __xSYM_H__ 27 #define __xSYM_H__
27 28
28 #define BFD_SYM_VERSION_STR_3_1 "\013Version 3.1" 29 #define BFD_SYM_VERSION_STR_3_1 "\013Version 3.1"
29 #define BFD_SYM_VERSION_STR_3_2 "\013Version 3.2" 30 #define BFD_SYM_VERSION_STR_3_2 "\013Version 3.2"
30 #define BFD_SYM_VERSION_STR_3_3 "\013Version 3.3" 31 #define BFD_SYM_VERSION_STR_3_3 "\013Version 3.3"
31 #define BFD_SYM_VERSION_STR_3_4 "\013Version 3.4" 32 #define BFD_SYM_VERSION_STR_3_4 "\013Version 3.4"
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 unsigned char *name_table; 543 unsigned char *name_table;
543 bfd_sym_header_block header; 544 bfd_sym_header_block header;
544 bfd_sym_version version; 545 bfd_sym_version version;
545 bfd *sbfd; 546 bfd *sbfd;
546 }; 547 };
547 typedef struct bfd_sym_data_struct bfd_sym_data_struct; 548 typedef struct bfd_sym_data_struct bfd_sym_data_struct;
548 549
549 extern bfd_boolean bfd_sym_mkobject 550 extern bfd_boolean bfd_sym_mkobject
550 (bfd *); 551 (bfd *);
551 extern void bfd_sym_print_symbol 552 extern void bfd_sym_print_symbol
552 (bfd *, PTR, asymbol *, bfd_print_symbol_type); 553 (bfd *, void *, asymbol *, bfd_print_symbol_type);
553 extern bfd_boolean bfd_sym_valid 554 extern bfd_boolean bfd_sym_valid
554 (bfd *); 555 (bfd *);
555 extern unsigned char * bfd_sym_read_name_table 556 extern unsigned char * bfd_sym_read_name_table
556 (bfd *, bfd_sym_header_block *); 557 (bfd *, bfd_sym_header_block *);
557 extern void bfd_sym_parse_file_reference_v32 558 extern void bfd_sym_parse_file_reference_v32
558 (unsigned char *, size_t, bfd_sym_file_reference *); 559 (unsigned char *, size_t, bfd_sym_file_reference *);
559 extern void bfd_sym_parse_disk_table_v32 560 extern void bfd_sym_parse_disk_table_v32
560 (unsigned char *, size_t, bfd_sym_table_info *); 561 (unsigned char *, size_t, bfd_sym_table_info *);
561 extern void bfd_sym_parse_header_v32 562 extern void bfd_sym_parse_header_v32
562 (unsigned char *, size_t, bfd_sym_header_block *); 563 (unsigned char *, size_t, bfd_sym_header_block *);
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 extern void bfd_sym_get_symbol_info 692 extern void bfd_sym_get_symbol_info
692 (bfd *, asymbol *, symbol_info *); 693 (bfd *, asymbol *, symbol_info *);
693 extern long bfd_sym_get_symtab_upper_bound 694 extern long bfd_sym_get_symtab_upper_bound
694 (bfd *); 695 (bfd *);
695 extern long bfd_sym_canonicalize_symtab 696 extern long bfd_sym_canonicalize_symtab
696 (bfd *, asymbol **); 697 (bfd *, asymbol **);
697 extern int bfd_sym_sizeof_headers 698 extern int bfd_sym_sizeof_headers
698 (bfd *, struct bfd_link_info *); 699 (bfd *, struct bfd_link_info *);
699 700
700 #endif /* __xSYM_H__ */ 701 #endif /* __xSYM_H__ */
OLDNEW
« no previous file with comments | « bfd/vms-lib.c ('k') | bfd/xsym.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698