aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorCatherine Moore <clm@redhat.com>1999-05-05 11:34:29 +0000
committerCatherine Moore <clm@redhat.com>1999-05-05 11:34:29 +0000
commite1346c8d0969dad58ddc13c9c741cb0f4e6345a5 (patch)
tree3b4013929d6a44551b53802211044b226e78c94f /bfd
parent33c63f9db4e4a9093808b58bc4251d658d7bd80e (diff)
downloadgdb-e1346c8d0969dad58ddc13c9c741cb0f4e6345a5.zip
gdb-e1346c8d0969dad58ddc13c9c741cb0f4e6345a5.tar.gz
gdb-e1346c8d0969dad58ddc13c9c741cb0f4e6345a5.tar.bz2
Remove extra copy of elf32_m68k_copy_private_bfd_data.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/elf32-m68k.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/bfd/elf32-m68k.c b/bfd/elf32-m68k.c
index 481f664..138c7ee 100644
--- a/bfd/elf32-m68k.c
+++ b/bfd/elf32-m68k.c
@@ -387,27 +387,6 @@ elf32_m68k_copy_private_bfd_data (ibfd, obfd)
return true;
}
-/* Copy backend specific data from one object module to another */
-static boolean
-elf32_m68k_copy_private_bfd_data (ibfd, obfd)
- bfd *ibfd;
- bfd *obfd;
-{
- flagword in_flags;
- flagword out_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;
- out_flags = elf_elfheader (obfd)->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