aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
2003-06-16 * configure.tgt: Add specific case for cris-*-linux-gnu*Hans-Peter Nilsson2-0/+6
with crislinux emulation only.
2003-06-16 * ld-cris/ldsym1.d: Restrict to cris-*-*elf* and cris-*-*aout*.Hans-Peter Nilsson4-1/+9
* ld-cris/noglob1.d: Ditto. * ld-cris/badgotr1.d: Pass --underscore to gas.
2003-06-13Add i386-netbsd-gnu target.Nick Clifton2-1/+6
2003-06-12 * ld-mips-elf/elf-rel-got-n64-linux.d: New file.Thiemo Seufer4-2/+781
* ld-mips-elf/elf-rel-xgot-n64-linux.d: New file. * ld-mips-elf/mips-elf.exp: Use the new files for Linux.
2003-06-12 * configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulationsRichard Sandiford2-0/+6
to $targ_extra_libpath.
2003-06-11 * ld-mips-elf/relax-jalr.s: Fix testsuite breakage.Thiemo Seufer6-3/+16
* ld-mips-elf/relax-jalr-n32.d: Likewise. * ld-mips-elf/relax-jalr-n32-shared.d: Likewise. * ld-mips-elf/relax-jalr-n64.d: Likewise. * ld-mips-elf/relax-jalr-n64-shared.d: Likewise.
2003-06-11 * elfxx-mips.c (MIPS_ELF_OPTIONS_SECTION_NAME): Use .MIPS.optionsThiemo Seufer3-8200/+8204
for n32, too. (MIPS_ELF_STUB_SECTION_NAME): Use .MIPS.stubs for n32, too. (mips_elf_rel_dyn_section): Use appropriate section alignment. (mips_elf_create_got_section): Likewise. (_bfd_mips_elf_create_dynamic_sections): Likewise. * ld-mips-elf/multi-got-1.d: Adjust addresses. * ld-mips-elf/rel32-n32.d: Likewise.
2003-06-11 * ld-srec/srec.exp (run_srec_test): Remove powerpc64 xfails, andAlan Modra2-17/+18
xfail for hppa duplicated elsewhere.
2003-06-11bfd/H.J. Lu2-11/+19
2003-06-06 H.J. Lu <hongjiu.lu@intel.com> * po/Make-in (DESTDIR): New. (install-data-yes): Support $(DESTDIR). (uninstall): Likewise. binutils/ 2003-06-06 H.J. Lu <hongjiu.lu@intel.com> * po/Make-in (DESTDIR): New. (install-data-yes): Support $(DESTDIR). (uninstall): Likewise. gas/ 2003-06-06 H.J. Lu <hongjiu.lu@intel.com> * po/Make-in (DESTDIR): New. (install-data-yes): Support $(DESTDIR). (uninstall): Likewise. gprof/ 2003-06-06 H.J. Lu <hongjiu.lu@intel.com> * po/Make-in (DESTDIR): New. (install-data-yes): Support $(DESTDIR). (uninstall): Likewise. ld/ 2003-06-06 H.J. Lu <hongjiu.lu@intel.com> * po/Make-in (DESTDIR): New. (install-data-yes): Support $(DESTDIR). (uninstall): Likewise. opcodes/ 2003-06-06 H.J. Lu <hongjiu.lu@intel.com> * po/Make-in (DESTDIR): New. (install-data-yes): Support $(DESTDIR). (uninstall): Likewise.
2003-06-10 * Makefile.am (ALL_EMULATIONS): Add em32relf.o.Doug Evans3-0/+7
* Makefile.in: Regenerate.
2003-06-10 * gas/mips/mips.exp: Fix typo.Thiemo Seufer4-3/+9
* gas/mips/elempic.d: Force o64 ABI. * gas/mips/telempic.d: Likewise. * ld-mips-elf/rel32-n32.d: Force big endian assembly. * ld-mips-elf/rel32-o32.d: Likewise. * ld-mips-elf/rel64.d: Likewise.
2003-06-10 * scripttempl/h8300sxn.sc: New file.Richard Sandiford2-0/+88
2003-06-10include/elf/Richard Sandiford6-2/+35
* h8.h (E_H8_MACH_H8300SXN): New flag. bfd/ * archures.c (bfd_mach_h8300sxn): New architecture. * bfd-in2.h: Regenerate. * cpu-h8300.c (h8300_scan): Check for 'sxn'. (h8300sxn_info_struct): New. (h8300sx_info_struct): Link to it. * elf32-h8300.c (elf32_h8_mach): Add h8300sxn case. (elf32_h8_final_write_processing): Likewise. gas/ * config/tc-h8300.c (h8300sxnmode): New. (md_pseudo_table): Add .h8300sxn entry. Sync others with FSF version. ld/ * configure.tgt (h8300*): Add h8300sxn emulations. * Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o. (eh8300sxn.c, eh8300sxnelf.c): New rules. * Makefile.in: Regenerate. * emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files.
2003-06-10 * ld-elfvsb/elfvsb.exp: Run for powerpc64 too.Alan Modra16-530/+552
* ld-powerpc/tls.t: Update. * ld-powerpc/tlsexe.d: Update. * ld-powerpc/tlsexe.r: Update. * ld-powerpc/tlsexetoc.d: Update. * ld-powerpc/tlsexetoc.r: Update. * ld-powerpc/tlsexetoc.t: Update. * ld-powerpc/tlsso.d: Update. * ld-powerpc/tlsso.g: Update. * ld-powerpc/tlsso.r: Update. * ld-powerpc/tlsso.t: Update. * ld-powerpc/tlstocso.d: Update. * ld-powerpc/tlstocso.g: Update. * ld-powerpc/tlstocso.r: Update. * ld-powerpc/tlstocso.t: Update.
2003-06-10 * emulparams/elf64ppc.sh (EXECUTABLE_SYMBOLS, OTHER_BSS_END_SYMBOLS,Alan Modra2-6/+5
CTOR_START, CTOR_END, DTOR_START, DTOR_END): Don't define.
2003-06-08 * emultempl/ppc64elf.em (emit_stub_syms, toc_section): New vars.Alan Modra2-2/+48
(build_toc_list): New function. (gld${EMULATION_NAME}_finish): Call build_toc_list and ppc64_elf_reinit_toc. Adjust ppc64_elf_build_stubs call. (OPTION_STUBSYMS): Define. (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms. (PARSE_AND_LIST_OPTIONS): Document. (PARSE_AND_LIST_ARGS_CASES): Handle.
2003-06-06.Roland McGrath1-1/+6
2003-06-062003-06-05 Roland McGrath <roland@redhat.com>Roland McGrath1-1/+1
* emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Remove extra \t in -z noexecstack line.
2003-06-03binutils/Jakub Jelinek4-0/+25
* readelf.c (get_segment_type): Handle PT_GNU_STACK. bfd/ * elf.c (_bfd_elf_print_private_bfd_data): Handle PT_GNU_STACK. (bfd_section_from_phdr): Likewise. (map_sections_to_segments): Create PT_GNU_STACK segment header. (get_program_header_size): Count with PT_GNU_STACK. * elf-bfd.h (struct elf_obj_tdata): Add stack_flags. * elflink.h (bfd_elfNN_size_dynamic_sections): Set stack_flags. include/ * bfdlink.h (struct bfd_link_info): Add execstack and noexecstack. * elf/common.h (PT_GNU_STACK): Define. ld/ * ldgram.y (phdr_type): Grok PT_GNU_STACK. * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add -z execstack and -z noexecstack. (gld${EMULATION_NAME}_list_options): Likewise. * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section.
2003-06-032003-06-03 Michael Snyder <msnyder@redhat.com>Michael Snyder7-2/+135
and Bernd Schmidt <bernds@redhat.com> and Alexandre Oliva <aoliva@redhat.com> * Makefile.am: Add new emulations for h8300sx. * Makefile.in: Regenerate. * configure.tgt: Add new emulations. * emulparams/h8300sx.sh: New emulation. * emulparams/h8300sxelf.sh: Ditto. * scripttempl/h8300sx.sc: Ditto.
2003-06-03bfd/H.J. Lu8-12/+79
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-06-032003-06-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-11/+29
* ld-elfcomm/elfcomm.exp: Mark tests untested if compiler is not available.
2003-06-03 * emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.Kaz Kojima3-0/+7
* emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize.
2003-06-02Add new test for cygwin target: building an executable with an export table.Nick Clifton6-0/+200
2003-06-02Scan table pe_dll->exports, which is sorted alphabetically, instead ofNick Clifton2-6/+16
exported_symbols, which is sorted by ordinal.
2003-05-30bfd/Jakub Jelinek17-3/+117
* elflink.h (elf_link_add_object_symbols): Use !info->executable instead of info->shared where appropriate. (bfd_elfNN_size_dynamic_sections, elf_link_output_extsym): Likewise. * elflink.c (_bfd_elf_create_got_section): Likewise. (_bfd_elf_link_create_dynamic_sections): Likewise. (_bfd_elf_link_assign_sym_version): Likewise. * elf32-i386.c (elf_i386_size_dynamic_sections): Create .interp section and DT_DEBUG dynamic tag even for position independent executables. * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise. * elf32-s390.c (elf_s390_size_dynamic_sections: Likewise. * elf64-ppc.c (ppc64_elf_size_dynamic_sections: Likewise. * elf64-s390.c (elf_s390_size_dynamic_sections: Likewise. * elf64-x86-64.c (elf64_x86_64_size_dynamic_sections: Likewise. * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections: Likewise. * elf32-sparc.c (elf32_sparc_size_dynamic_sections: Likewise. * elf64-alpha.c (elf64_alpha_size_dynamic_sections: Likewise. * elf64-sparc.c (sparc64_elf_size_dynamic_sections: Likewise. include/ * bfdlink.h (struct bfd_link_info): Add pie and executable bits. ld/ * lexsup.c (OPTION_PIE): Define. (ld_options): Add -pie and --pic-executable options. (parse_args): Handle OPTION_PIE. * ldmain.c (main): Initialize link_info.pie and link_info.executable. * genscripts.sh: Generate PIE scripts. * ld.texinfo: Document -pie and --pic-executable options. * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): (gld${EMULATION_NAME}_place_orphan): Likewise. (gld${EMULATION_NAME}_get_script): Include PIE scripts. * scripttempl/elf.sc: In PIE scripts set . the same way as in shared scripts. * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes. * emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise.
2003-05-30ld/H.J. Lu4-0/+25
2003-05-30 H.J. Lu <hongjiu.lu@intel.com> * genscripts.sh: Create tmpdir/libpath.exp. ld/testsuite/ 2003-05-30 H.J. Lu <hongjiu.lu@intel.com> * config/default.exp: Load tmpdir/libpath.exp. (gcc_ld_flag): Set from $libpath.
2003-05-30(arm_elf_before_allocation): Replace ASSERT with a test for a NULLNick Clifton2-2/+11
bfd_for_interworking.
2003-05-29* configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBSJason Thorpe2-8/+39
correctly for more recent versions of NetBSD. (alpha*-*-netbsd*): Remove. (i[3-7]86-*-netbsd*): Remove.
2003-05-29Replace <ctype.h> with "safe-ctype.h"Nick Clifton2-3/+6
2003-05-29* ld-elf/elf.exp: Use if_elf_format.Jason Thorpe5-28/+11
* ld-elf/sec64k.exp: Likewise. * ld-elfcomm/elfcomm.exp: Likewise. * lib/ld-lib.exp (is_elf_format): Match hppa*64*-*-hpux*.
2003-05-26* emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 toMaciej W. Rozycki2-0/+6
trap on pointer crops.
2003-05-25* ld-mips-elf/mips-elf.exp: Make all NetBSD targets match as elf.Jason Thorpe2-1/+5
2003-05-21Check for a target triplet of shl-...-netbsdelf as well as shle-...-netbsdelf.Nick Clifton2-1/+6
2003-05-20bfd/H.J. Lu5-0/+92
2003-05-20 Jakub Jelinek <jakub@redhat.com> * elflink.h (elf_link_output_extsym): Only issue error about != STV_DEFAULT symbols if they are bfd_link_hash_undefined. 2003-05-20 H.J. Lu <hongjiu.lu@intel.com> * elflink.c (_bfd_elf_merge_symbol): Check ELF_LINK_DYNAMIC_DEF when removing the old definition for symbols with non-default visibility. ld/testsuite/ 2003-05-20 Jakub Jelinek <jakub@redhat.com> * ld-elfvsb/common.c: New file. * ld-elfvsb/elfvsb.exp: Add common. 2003-05-20 H.J. Lu <hongjiu.lu@intel.com> * ld-elfvsb/sh3.c: New file. * ld-elfvsb/test.c: Likewise. * ld-elfvsb/elfvsb.exp: Add new weak hidden symbol tests.
2003-05-16Replace i[3456]86 with i[3-7]86Nick Clifton3-60/+65
2003-05-162003-05-15 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu7-37/+65
* config/default.exp (gcc_ld_flag): New. Make the newly built linker available to gcc. * lib/ld-lib.exp (default_ld_simple_link): Pass $gcc_ld_flag to gcc. * ld-elfvers/vers.exp: Use "ld_simple_link $CC" to build shared libraries. * ld-elfvsb/elfvsb.exp: Likewise. * ld-elfweak/elfweak.exp: Likewise. * ld-shared/shared.exp: Likewise. * ld-elfvers/vers.exp: Use "-Wl,-rpath,." to build shared libraries. * ld-elfvsb/elfvsb.exp: Likewise. * ld-elfvsb/elfvsb.exp: Remove xfail for powerpc-*-linux*. * ld-elfweak/elfweak.exp: Use PIC for shared libraries.
2003-05-152003-05-15 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+7
* emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now.
2003-05-13 * ld-m68hc11/link-hcs12.d: New test.Stephane Carrez4-0/+43
* ld-m68hc11/link-hcs12.s: New file. * ld-m68hc11/link-hc12.s: New file.
2003-05-132003-05-13 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+6
* ld-elfweak/elfweak.exp: Fix typo.
2003-05-13Run on sh[34]*-*-linux*.Nick Clifton4-5/+14
2003-05-12 * ld-mmix/b-fixo2.d, ld-mmix/bpo-18.d, ld-mmix/bpo-18m.d,Hans-Peter Nilsson23-44/+55
ld-mmix/loc4.d, ld-mmix/loc4m.d, ld-mmix/loc6.d, ld-mmix/loc6m.d, ld-mmix/locdo-1.d, ld-mmix/sec-1.d, ld-mmix/sec-2.d, ld-mmix/sec-3.d, ld-mmix/sec-4.d, ld-mmix/sec-5.d, ld-mmix/sec-7m.d, ld-mmix/sec-8m.d, ld-mmix/spec802.d, ld-mmix/spec803.d, ld-mmix/spec804.d, ld-mmix/spec805.d, ld-mmix/spec806.d, ld-mmix/spec807.d, ld-mmix/spec808.d: Tweak for objdump no longer truncating dump addresses.
2003-05-09Add missing changelog entry for last commit:Daniel Jacobowitz1-0/+1
* configure.tgt: Add armeb-elf and arm*b-*-linux-gnu.
2003-05-09 * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o.Daniel Jacobowitz6-0/+35
(earmelfb.c, earmelfb_linux.c): New rules. * Makefile.in: Regenerated. * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files.
2003-05-09oops - update date in ChangeLog entryNick Clifton1-1/+1
2003-05-09Default to generating a fatal error message if a loadable section is notNick Clifton2-4/+26
allocated to a memory region when regions are defined.
2003-05-09 * ld-elfvsb/elf-offset.ld: Add .rel.eh_frame and .rela.eh_frameMartin Schwidefsky7-2/+34
to linker script. * ld-elfvsb/elfvsb.exp (visibility_run): Add setup_xfails for s390x. * ld-selective/selective.exp: Disable for s390 and s390x. * ld-shared/elf-offset.ld: Add .rel.eh_frame and .rela.eh_frame to linker script. * ld-shared/shared.exp (shared_test): Add setup_xfails for s390x. * ld-undefined/undefined.exp (checkund): Remove setup_xfail for s390x.
2003-05-09 * Makefile.am (em68hc11elf.c): Correct dependencies.Alan Modra4-12/+20
(em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise. * Makefile.in: Regenerate. * emultempl/elf32.em (find_exp_assignment): Adjust for changed bfd_elf_record_link_assignment name.
2003-05-082003-05-08 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-0/+14
* ld-elfvers/vers.exp: Add vers27d4 and vers27d5 to test versioned reference for hidden symbol. * ld-elfvers/vers27d4.dsym: New file. * ld-elfvers/vers27d4.ver: Likewise.
2003-05-082003-05-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+17
* ld-elfvers/vers27d3.c (__start): New. (start): New.