diff options
author | Fred Fish <fnf@specifix.com> | 1995-10-31 23:29:05 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1995-10-31 23:29:05 +0000 |
commit | 6ab826bd986e25ff65bf78451866a618d704411e (patch) | |
tree | ebb963024936cc55372694128806f98473943ba5 /bfd/elfxx-target.h | |
parent | 02a5d235259cb3e5a478ce4a81833bdfa3cce457 (diff) | |
download | gdb-6ab826bd986e25ff65bf78451866a618d704411e.zip gdb-6ab826bd986e25ff65bf78451866a618d704411e.tar.gz gdb-6ab826bd986e25ff65bf78451866a618d704411e.tar.bz2 |
* libelf.h: Rename to elf-bfd.h to avoid conflict with
systems that have a system <libelf.h>.
* Makefile.in: Globally replace libelf.h with elf-bfd.h.
* bfd.c, elf.c, elf32-arc.c, elf32-gen.c, elf32-hppa.c,
elf32-hppa.h, elf32-i386.c, elf32-i860.c, elf32-m68k.c,
elf32-m88k.c, elf32-mips.c, elf32-ppc.c, elf32-sparc.c,
elf64-gen.c, elf64-sparc.c, elfcode.h, elflink.c,
elfxx-target.h: Include elf-bfd.h rather than libelf.h.
* elfxx-target.h: Change libelf.h reference to elf-bfd.h.
Diffstat (limited to 'bfd/elfxx-target.h')
-rw-r--r-- | bfd/elfxx-target.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/bfd/elfxx-target.h b/bfd/elfxx-target.h index 634f636..225f5a6 100644 --- a/bfd/elfxx-target.h +++ b/bfd/elfxx-target.h @@ -44,7 +44,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define bfd_elfNN_get_symbol_info _bfd_elf_get_symbol_info #define bfd_elfNN_get_symtab _bfd_elf_get_symtab #define bfd_elfNN_get_symtab_upper_bound _bfd_elf_get_symtab_upper_bound -#if 0 /* done in libelf.h */ +#if 0 /* done in elf-bfd.h */ #define bfd_elfNN_link_record_dynamic_symbol _bfd_elf_link_record_dynamic_symbol #endif #define bfd_elfNN_make_empty_symbol _bfd_elf_make_empty_symbol @@ -66,6 +66,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define elf_backend_want_plt_sym 0 #endif +#ifndef elf_backend_want_hdr_in_seg +#define elf_backend_want_hdr_in_seg 0 +#endif + #define bfd_elfNN_bfd_debug_info_start bfd_void #define bfd_elfNN_bfd_debug_info_end bfd_void #define bfd_elfNN_bfd_debug_info_accumulate (PROTO(void,(*),(bfd*, struct sec *))) bfd_void @@ -206,6 +210,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef elf_backend_final_write_processing #define elf_backend_final_write_processing 0 #endif +#ifndef elf_backend_create_program_headers +#define elf_backend_create_program_headers 0 +#endif #ifndef elf_backend_ecoff_debug_swap #define elf_backend_ecoff_debug_swap 0 #endif @@ -252,6 +259,7 @@ static CONST struct elf_backend_data elfNN_bed = elf_backend_finish_dynamic_sections, elf_backend_begin_write_processing, elf_backend_final_write_processing, + elf_backend_create_program_headers, elf_backend_ecoff_debug_swap, ELF_MACHINE_ALT1, ELF_MACHINE_ALT2, @@ -259,6 +267,7 @@ static CONST struct elf_backend_data elfNN_bed = elf_backend_want_got_plt, elf_backend_plt_readonly, elf_backend_want_plt_sym, + elf_backend_want_hdr_in_seg, }; #ifdef TARGET_BIG_SYM @@ -299,10 +308,6 @@ const bfd_target TARGET_BIG_SYM = a WAG (wild a** guess) */ 14, - /* align_power_min: minimum alignment restriction for any section - FIXME: this value may be target machine dependent */ - 3, - /* Routines to byte-swap various sized integers from the data sections */ bfd_getb64, bfd_getb_signed_64, bfd_putb64, bfd_getb32, bfd_getb_signed_32, bfd_putb32, @@ -387,10 +392,6 @@ const bfd_target TARGET_LITTLE_SYM = a WAG (wild a** guess) */ 14, - /* align_power_min: minimum alignment restriction for any section - FIXME: this value may be target machine dependent */ - 3, - /* Routines to byte-swap various sized integers from the data sections */ bfd_getl64, bfd_getl_signed_64, bfd_putl64, bfd_getl32, bfd_getl_signed_32, bfd_putl32, |