diff options
author | H.J. Lu <hjl@lucon.org> | 2001-12-18 17:59:59 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2001-12-18 17:59:59 +0000 |
commit | cd3493699981dff542bcb41a1937ed01fa3a2f22 (patch) | |
tree | e5bde6bac08819117044a5bf37a16a83eae6b9ee /bfd/elf32-m68k.c | |
parent | 96c9378b5fdd211744f9c2f77b892fd8ebd5d461 (diff) | |
download | gdb-cd3493699981dff542bcb41a1937ed01fa3a2f22.tar.gz |
2001-12-18 H.J. Lu <hjl@gnu.org>
* elf-bfd.h (_bfd_elf_copy_private_bfd_data): New. Prototype.
(_bfd_mips_elf_copy_private_bfd_data): Removed.
* elf.c (_bfd_elf_copy_private_bfd_data): New. Copy e_flags in
the ELF header.
* elf32-i370.c (??_elf_copy_private_bfd_data): Removed.
(bfd_elf??_bfd_copy_private_bfd_data): Removed.
* elf32-m32r.c: Likewise.
* elf32-m68k.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-mips.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-v850.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-sparc.c: Likewise.
* elfxx-ia64.c: Likewise.
* elf64-mips.c (bfd_elf64_bfd_copy_private_bfd_data): Removed.
* elfxx-target.h (bfd_elfNN_bfd_copy_private_bfd_data): Defined
to _bfd_elf_copy_private_bfd_data.
Diffstat (limited to 'bfd/elf32-m68k.c')
-rw-r--r-- | bfd/elf32-m68k.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/bfd/elf32-m68k.c b/bfd/elf32-m68k.c index d0675628431..7fcaf6a5889 100644 --- a/bfd/elf32-m68k.c +++ b/bfd/elf32-m68k.c @@ -57,8 +57,6 @@ static boolean elf_m68k_finish_dynamic_sections static boolean elf32_m68k_set_private_flags PARAMS ((bfd *, flagword)); -static boolean elf32_m68k_copy_private_bfd_data - PARAMS ((bfd *, bfd *)); static boolean elf32_m68k_merge_private_bfd_data PARAMS ((bfd *, bfd *)); static boolean elf32_m68k_print_private_bfd_data @@ -367,26 +365,6 @@ elf32_m68k_set_private_flags (abfd, flags) return true; } -/* Copy m68k-specific data from one module to another */ -static boolean -elf32_m68k_copy_private_bfd_data (ibfd, obfd) - bfd *ibfd; - bfd *obfd; -{ - flagword in_flags; - - if (bfd_get_flavour (ibfd) != bfd_target_elf_flavour - || bfd_get_flavour (obfd) != bfd_target_elf_flavour) - return true; - - in_flags = elf_elfheader (ibfd)->e_flags; - - elf_elfheader (obfd)->e_flags = in_flags; - elf_flags_init (obfd) = true; - - return true; -} - /* Merge backend specific data from an object file to the output object file when linking. */ static boolean @@ -2329,8 +2307,6 @@ elf32_m68k_reloc_type_class (rela) elf_m68k_finish_dynamic_sections #define elf_backend_gc_mark_hook elf_m68k_gc_mark_hook #define elf_backend_gc_sweep_hook elf_m68k_gc_sweep_hook -#define bfd_elf32_bfd_copy_private_bfd_data \ - elf32_m68k_copy_private_bfd_data #define bfd_elf32_bfd_merge_private_bfd_data \ elf32_m68k_merge_private_bfd_data #define bfd_elf32_bfd_set_private_flags \ |