summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-discard
AgeCommit message (Collapse)Author
2007-07-06Update sources to GPLv3Nick Clifton
2006-11-03bfd/Daniel Jacobowitz
* libbfd-in.h (_bfd_clear_contents): New prototype. * reloc.c (_bfd_clear_contents): New. * libbfd.h: Regenerated. * elf32-arm.c (elf32_arm_final_link_relocate): Use _bfd_clear_contents. * elf32-d10v.c (elf32_d10v_relocate_section): Likewise. * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. * elf32-i386.c (elf_i386_relocate_section): Likewise. * elf32-ppc.c (ppc_elf_relocate_section): Likewise. * elf32-s390.c (elf_s390_relocate_section): Likewise. * elf32-sh.c (sh_elf_relocate_section): Likewise. * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. * elf64-s390.c (elf_s390_relocate_section): Likewise. * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise. * elfxx-ia64.c (elfNN_ia64_relocate_section): Set value to zero for discarded symbols. * elfxx-mips.c (mips_elf_calculate_relocation): Likewise. ld/testsuite/ * ld-discard/zero-rel.d, ld-discard/zero-rel.s: New files.
2005-05-12Update FSF addressesNick Clifton
2005-04-25bfd/H.J. Lu
2005-04-25 H.J. Lu <hongjiu.lu@intel.com> PR 858 * elflink.c (elf_link_input_bfd): Make non-debugging reference to discarded section an error. ld/testsuite/ 2005-04-25 H.J. Lu <hongjiu.lu@intel.com> * ld-discard/extern.d: Expect error. * ld-discard/start.d: Likewise. * ld-discard/static.d: Likewise.
2005-03-01ld-d10v/default_layout.d: Adjust expected offsets to allow for section ↵Nick Clifton
alignment. ld-discard/extern.d: Adjust expected warning to take into account the fact that the linker's name might be included and that the reloc might have been adjusted to be against the section symbol.
2005-02-07 * ld-discard/extern.d, ld-discard/start.d, ld-discard/static.d:Hans-Peter Nilsson
Adjust for being identified as warnings.
2004-07-02 * ld-discard/static.d: Accept both original sym and section sym.Alan Modra
2004-07-01bfd/Alan Modra
* elflink.c (elf_section_ignore_discarded_relocs): Revert last change. Comment. (elf_section_complain_discarded): New function. Handle .gcc_except_table too. (elf_link_input_bfd): Rewrite handling of relocs against symbols in discarded sections. * elf-bfd.h (elf_discarded_section): Protect macro arg. ld/testsuite/ * ld-discard/extern.d: Update. * ld-discard/start.d: Update. * ld-discard/static.d: Update.
2004-06-30bfd/H.J. Lu
2004-06-30 H.J. Lu <hongjiu.lu@intel.com> PR 233 * elflink.c (elf_link_input_bfd): Issue an error for non-debug local references to discarded sections and report their locations. ld/testsuite/ 2004-06-30 H.J. Lu <hongjiu.lu@intel.com> PR 233 * ld-discard/extern.d: Updated. * ld-discard/start.d: Likewise. * ld-discard/static.d: Likewise.
2003-09-23o * ld-discard/exit.s: Correct .text.exit attributes.Alan Modra
* ld-discard/extern.s: Likewise. * ld-discard/static.s: Likewise.
2003-06-03bfd/H.J. Lu
2003-06-03 H.J. Lu <hongjiu.lu@intel.com> * elflink.h (elf_link_input_bfd): Call linker error_handler for discarded definitions. include/ 2003-06-03 H.J. Lu <hongjiu.lu@intel.com> * bfdlink.h (LD_DEFINITION_IN_DISCARDED_SECTION): New. ld/ 2003-06-03 H.J. Lu <hongjiu.lu@intel.com> * ldmisc.c: Include "bfdlink.h". (error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION and -LD_DEFINITION_IN_DISCARDED_SECTION. * Makefile.am: Rebuild dependency. * Makefile.in: Regenerated. ld/testsuite/ 2003-06-03 H.J. Lu <hongjiu.lu@intel.com> * ld-discard/extern.d: Updated. * ld-discard/start.d: Likewise. * ld-discard/static.d: Likewise.
2003-04-13 * ld-discard/extern.s, ld-discard/start.s, ld-discard/static.s,Daniel Jacobowitz
ld-sh/refdbg.s: Add leading 0 to .debug_info to prevent parsing it for error messages.
2002-10-122002-10-12 H.J. Lu (hjl@gnu.org)H.J. Lu
* ld-discard/extern.d: Remove $srcdir/$subdir/. * ld-discard/start.d: Likewise. * ld-discard/static.d: Likewise. * ld-linkonce/zeroehl32.d: Likewise. * ld-selective/keepdot.d: Likewise. * ld-selective/keepdot0.d: Likewise.
2002-08-28 * ld-discard/discard.exp: xfail m6812.Alan Modra
* ld-scripts/map-address.d: Adjust for extras emitted by pe targets.
2002-08-16 * ld-discard/discard.exp: xfail targets using generic linker.Alan Modra
* ld-discard/extern.d: Allow "data" to be reduced to a section sym.
2002-08-10 * ld-discard/discard.exp: Don't run on linuxaout or linuxoldld.Alan Modra
* ld-linkonce/linkonce.exp: Likewise. * ld-selective/sel-dump.exp: Likewise. * ld-selective/selective.exp: Don't run on aout or bout.
2002-07-30 * ld-discard/discard.exp, ld-scripts/phdrs.exp, ld-scripts/phdrs2.exp,Alan Modra
ld-selective/sel-dump.exp: Test hppa*64*-*-hpux* target. * ld-elfvers/vers.exp, ld-elfvsb/elfvsb.exp, ld-elfweak/elfweak.exp, ld-linkonce/linkonce.exp, ld-shared/shared.exp, ld-undefined/weak-undef.exp: Test hppa*64*-*-hpux* and hppa*-*-linux* targets. * ld-discard/exit.s, ld-discard/extern.s, ld-discard/start.s, ld-discard/static.s: Add whitespace before assembler directives.
2001-11-102001-11-09 H.J. Lu <hjl@gnu.org>H.J. Lu
* ld-discard/discard.exp: New. Test ld discard. * ld-discard/discard.ld: Likewise. * ld-discard/exit.s: Likewise. * ld-discard/extern.d: Likewise. * ld-discard/extern.s: Likewise. * ld-discard/start.d: Likewise. * ld-discard/start.s: Likewise. * ld-discard/static.d: Likewise. * ld-discard/static.s: Likewise.