diff options
author | Alan Modra <amodra@gmail.com> | 2002-10-07 00:14:28 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-10-07 00:14:28 +0000 |
commit | a6b511bd9eef2f0ee3a91cb6c812fa6aa4d14bf8 (patch) | |
tree | 3d473aa4f0f8aa1a6b34da4892466d875d3feaec /bfd/elflink.h | |
parent | a16d5acb5086e48d8bb6c8ac1a8e6757bc561903 (diff) | |
download | gdb-a6b511bd9eef2f0ee3a91cb6c812fa6aa4d14bf8.zip gdb-a6b511bd9eef2f0ee3a91cb6c812fa6aa4d14bf8.tar.gz gdb-a6b511bd9eef2f0ee3a91cb6c812fa6aa4d14bf8.tar.bz2 |
* elflink.h (elf_link_input_bfd): Remove BFD_VERSION_DATE dependent
code.
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r-- | bfd/elflink.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h index 85160e9..da8ff47 100644 --- a/bfd/elflink.h +++ b/bfd/elflink.h @@ -6815,20 +6815,12 @@ elf_link_input_bfd (finfo, input_bfd) || h->root.type == bfd_link_hash_defweak) && elf_discarded_section (h->root.u.def.section)) { -#if BFD_VERSION_DATE < 20031005 if ((o->flags & SEC_DEBUGGING) != 0) { -#if BFD_VERSION_DATE > 20021005 - (*finfo->info->callbacks->warning) - (finfo->info, - _("warning: relocation against removed section; zeroing"), - NULL, input_bfd, o, rel->r_offset); -#endif BFD_ASSERT (r_symndx != 0); memset (rel, 0, sizeof (*rel)); } else -#endif { if (! ((*finfo->info->callbacks->undefined_symbol) (finfo->info, h->root.root.string, @@ -6844,23 +6836,15 @@ elf_link_input_bfd (finfo, input_bfd) if (sec != NULL && elf_discarded_section (sec)) { -#if BFD_VERSION_DATE < 20031005 if ((o->flags & SEC_DEBUGGING) != 0 || (sec->flags & SEC_LINK_ONCE) != 0) { -#if BFD_VERSION_DATE > 20021005 - (*finfo->info->callbacks->warning) - (finfo->info, - _("warning: relocation against removed section"), - NULL, input_bfd, o, rel->r_offset); -#endif BFD_ASSERT (r_symndx != 0); rel->r_info = ELF_R_INFO (0, ELF_R_TYPE (rel->r_info)); rel->r_addend = 0; } else -#endif { boolean ok; const char *msg |