From 927e3a3094e4c60a2552fb43a198134be96dc82b Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 3 Oct 1997 18:22:35 +0000 Subject: [PATCH] Make ld -s work on AIX: * xcofflink.c (xcoff_link_add_symbols): Don't create the .debug section if we are stripping. (bfd_xcoff_size_dynamic_sections): Don't set the .debug section size if we are stripping. (_bfd_xcoff_bfd_final_link): Don't set SEC_RELOC or rel_filepos, and don't write out relocs, if we are stripping. (xcoff_link_input_bfd): Don't set up reloc if we are stripping. (xcoff_write_global_symbol): Don't write out symbol or reloc if we are stripping. --- bfd/ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3dff3d763d9..87d9a984965 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,16 @@ Fri Oct 3 11:23:47 1997 Ian Lance Taylor + Make ld -s work on AIX: + * xcofflink.c (xcoff_link_add_symbols): Don't create the .debug + section if we are stripping. + (bfd_xcoff_size_dynamic_sections): Don't set the .debug section + size if we are stripping. + (_bfd_xcoff_bfd_final_link): Don't set SEC_RELOC or rel_filepos, + and don't write out relocs, if we are stripping. + (xcoff_link_input_bfd): Don't set up reloc if we are stripping. + (xcoff_write_global_symbol): Don't write out symbol or reloc if we + are stripping. + * configure.in: Don't include elf.lo again for ELF targets; it's always in the library anyhow. * configure: Rebuild. -- 2.30.2