aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
2002-02-05Forgot to ci ChangeLogHans-Peter Nilsson1-0/+2
2002-02-05Update copyrightHans-Peter Nilsson1-1/+1
2002-02-05 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.Hans-Peter Nilsson2-0/+4
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise.
2002-02-05 * ldlang.c (lang_reset_memory_regions): Rename fromHans-Peter Nilsson4-8/+18
reset_memory_regions. Change all callers. Make public. * ldlang.h (lang_reset_memory_regions): Prototype. * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call lang_reset_memory_regions before lang_size_sections.
2002-02-05 * ld-selective/keepdot.d, ld-selective/keepdot.ld,Hans-Peter Nilsson7-0/+88
ld-selective/keepdot.s, ld-selective/keepdot0.d: New tests. * ld-selective/sel-dump.exp: New, driver for run_dump_test:s.
2002-02-04 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signedHans-Peter Nilsson2-2/+7
arithmetic when checking for too many global registers.
2002-02-04 * ld-mmix/bpo-18.d, ld-mmix/bpo64addr.ld, ld-mmix/bpo-18m.d,Hans-Peter Nilsson10-0/+181
ld-mmix/bpo-9.s, ld-mmix/bpo-19.d, ld-mmix/bpo-19m.d, ld-mmix/bpo-10.s, ld-mmix/bpo-20.d, ld-mmix/bpo-20m.d: New tests for on-demand global register allocation.
2002-02-02bfd:Jason Thorpe6-0/+30
* config.bfd (hppa*-*-netbsd*): New target. gas: * configure.in (hppa-*-netbsd*): New target. * configure: Regenerate. * config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD. ld: * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o. (ehppanbsd.c): New rule. * Makefile.in: Regenerate. * configure.tgt (hppa*-*-netbsd*): New target. * emulparams/hppalinux.sh: Add comment to check other files that source this file it is modified, and list which files that do. * emulparams/hppanbsd.sh: New file.
2002-02-02* ld-sh/shared-1.d: Fix incorrect offsets.Alexandre Oliva2-4/+8
2002-02-01In ld/ChangeLog:Geoffrey Keating2-2/+6
* scripttempl/xstormy16.sc: Don't allocate extra space for the stack. In libgloss/ChangeLog: * xstormy16/Makefile.in (SIM_OBJS): Remove sbrk.o, add sim_malloc_start.o. * xstormy16/eva_app.ld: Add __malloc_start. * xstormy16/sbrk.c: Remove. * xstormy16/sim_malloc_start.s: New file. * xstormy16/sim_high.ld: Make the stack start immediately at the end of the program. In newlib/ChangeLog: * configure.host (xstormy16): Don't use the generic malloc. * libc/machine/xstormy16/Makefile.am: Build tiny-malloc. * libc/machine/xstormy16/Makefile.in: Regenerate. * libc/machine/xstormy16/mallocr.c: New file. * libc/machine/xstormy16/tiny-malloc.c: New file.
2002-02-01 * ld-mmix/bpo-1.d, ld-mmix/bpo-1.s, ld-mmix/bpo-1m.d,Hans-Peter Nilsson43-0/+766
ld-mmix/bpo-15.d, ld-mmix/bpo-4.s, ld-mmix/bpo-6.d, ld-mmix/bpo-6.s, ld-mmix/bpo-2.d, ld-mmix/bpo-6m.d, ld-mmix/bpo-12m.d, ld-mmix/bpo-2m.d, ld-mmix/bpo-2.s, ld-mmix/bpo-5.s, ld-mmix/bpo-3.d, ld-mmix/start3.s, ld-mmix/bpo-3m.d, ld-mmix/bpo-9m.d, ld-mmix/bpo-4.d, ld-mmix/bpo-3.s, ld-mmix/bpo-4m.d, ld-mmix/bpo-7.d, ld-mmix/bpo-5.d, ld-mmix/bpo-16.d, ld-mmix/bpo-5m.d, ld-mmix/bpo-7m.d, ld-mmix/bpo-9.d, ld-mmix/bpo-8.d, ld-mmix/start4.s, ld-mmix/bpo-8m.d, ld-mmix/bpo-13m.d, ld-mmix/bpo-15m.d, ld-mmix/bpo-10.d, ld-mmix/bpo-11.d, ld-mmix/bpo-14m.d, ld-mmix/bpo-13.d, ld-mmix/bpo-7.s, ld-mmix/bpo-12.d, ld-mmix/bpo-16m.d, ld-mmix/bpo-14.d, ld-mmix/bpo-8.s, ld-mmix/bpo-17.d, ld-mmix/bpo-17m.d: New tests.
2002-02-01 Support on-demand global register allocation fromHans-Peter Nilsson5-15/+93
R_MMIX_BASE_PLUS_OFFSET relocs. * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from mmix_set_reg_section_vma. Call _bfd_mmix_finalize_linker_allocated_gregs. (mmix_before_allocation): New function. (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation. (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation. * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP. (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents. * emultempl/mmo.em (gldmmo_before_allocation): Define to default. (mmo_after_open): New function. (LDEMUL_AFTER_OPEN): Define to mmo_after_open. * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents.
2002-01-31Add support for OpenRISC 32-bit embedded processorNick Clifton10-168/+265
2002-01-31 * ld-cris/weakref1.d, ld-cris/libdso-1.d, ld-cris/gotrel2.s,Hans-Peter Nilsson8-2/+108
ld-cris/expdyn1.d, ld-cris/expdyn1.s, ld-cris/dso-1.s: New tests. * ld-cris/cris.exp: Split run_dump_tests in two parts, executing tests named *dso-*.d first and copying their tmpdir/dump to files named as the .d-file.
2002-01-31 * ld-scripts/crossref.exp: Allow foo to have a leading dot.Alan Modra5-4/+12
* ld-scripts/cross1.t: Add .opd. * ld-undefined/undefined.exp: Allow leading dot on sym names. * lib/ld-lib.exp (default_ld_nm): Strip leading dots from syms.
2002-01-302002-01-29 Chris Demetriou <cgd@broadcom.com>Chris Demetriou3-0/+191
Mitch Lichtenberg <mpl@broadcom.com> * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself. * emultempl/mipself.em: New file to handle MIPS ELF embedded reloc creation (ld --embedded-relocs).
2002-01-302002-01-29 Chris Demetriou <cgd@broadcom.com>Chris Demetriou7-0/+132
* ld-mips-elf/emrelocs-eb.d: New file to test --embedded-relocs. * ld-mips-elf/emrelocs-el.d: Likewise. * ld-mips-elf/emrelocs1.s: Likewise. * ld-mips-elf/emrelocs2.s: Likewise. * ld-mips-elf/emrelocs.ld: Likewise. * ld-mips-elf/mips-elf.exp: Add the above to the list of tests.
2002-01-282002-01-27 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-181/+197
From Steve Ellcey <sje@cup.hp.com>: * libtool.m4 (HPUX_IA64_MODE): Set to 32 or 64 based on ABI. (lt_cv_deplibs_check_method, lt_cv_file_magic_cmd, lt_cv_file_magic_test_file): Set to appropriate values for HP-UX IA64. * ltcf-c.sh (archive_cmds, hardcode_*): Ditto. * ltconfig (shlibpath_*, dynamic_linker, library_names_spec, soname_spec, sys_lib_search_path_spec): Ditto. Various configure scripts regenerated.
2002-01-26 * Makefile.am (install): Depend on install-info.Hans-Peter Nilsson3-0/+13
* Makefile.in: Regenerate.
2002-01-26 * ldmain.c (main): Use full sentences to ease translation.Alan Modra2-3/+9
2002-01-26Updated French translationNick Clifton2-430/+544
2002-01-25Updated Spanish translationNick Clifton2-431/+543
2002-01-25 * ldlex.l (yy_input): Correct error check.Andreas Jaeger2-1/+5
2002-01-25 * ldmisc.c (demangle): Put back dots when string not demangled.Alan Modra2-7/+14
2002-01-22 * emulparams/elf64alpha.sh (NOP): Use unop.Richard Henderson2-1/+5
2002-01-21 * ld-cris: New testsuite directory.Hans-Peter Nilsson4-0/+49
2002-01-21 * ldlex.l: Use fread instead of read.Andreas Jaeger2-3/+7
2002-01-21bfd:Jason Thorpe2-0/+5
* config.bfd (ia64*-*-netbsd*): New target. gas: * configure.in (ia64-*-netbsd*): New target. * configure: Regenerate. ld: * configure.tgt (ia64-*-netbsd*): New target.
2002-01-212002-01-21 H.J. Lu <hjl@gnu.org>H.J. Lu3-2/+8
* emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to 0. * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise.
2002-01-18gas:Andreas Jaeger2-3/+7
2002-01-18 Andreas Jaeger <aj@suse.de> * as.c (parse_args): Update year. binutils: 2002-01-18 Andreas Jaeger <aj@suse.de> * version.c (print_version): Update year. ld: 2002-01-18 Andreas Jaeger <aj@suse.de> * ldver.c (ldversion): Update year.
2002-01-17Regenerate .pot and .po filesNick Clifton2-409/+476
2002-01-16 * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em.Alan Modra5-4/+111
* Makefile.in: Regenerate. * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define. * emultempl/ppc64elf.em: New file.
2002-01-16* scripttempl/pe.sc: Add support for constructor priorities.DJ Delorie2-2/+6
2002-01-15Add missing 'cp' commandNick Clifton2-1/+5
2002-01-14For ARM targets, link with libgcc.a.Nick Clifton2-2/+10
2002-01-12 * emulparams/avr1200.sh (DATA_START): Define as 0x60.Denis Chertykov10-1/+21
* emulparams/avr23xx.sh: Likewise. * emulparams/avr4433.sh: Likewise. * emulparams/avr44x4.sh: Likewise. * emulparams/avr85xx.sh: Likewise. * emulparams/avrmega103.sh: Likewise. * emulparams/avrmega161.sh: Likewise. * emulparams/avrmega603.sh: Likewise. * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.
2002-01-08* ldlang.c (walk_wild_section): Exclude object file if enclosingAlexandre Oliva2-1/+21
archive is excluded.
2002-01-08bfd:Jason Thorpe7-1/+61
* Makefile.am (BFD32_BACKENDS): Add elf32-sh-nbsd.lo. (BFD32_BACKENDS_CFILES): Add elf32-sh-nbsd.c. (elf32-sh-nbsd.lo): New rule. * Makefile.in: Regenerate. * config.bfd (sh*le-*-netbsdelf*): New target. (sh*-*-netbsdelf*): New target. * configure.in: Include netbsd-core.lo for native sh*-*-netbsd*. (bfd_elf32_shnbsd_vec): New vector. (bfd_elf32_shlnbsd_vec): New vector. * configure: Regenerate. * elf32-sh-nbsd.c: New file. * targets.c: Update copyright years. (_bfd_target_vector): Add bfd_elf32_shlnbsd_vec and bfd_elf32_shnbsd_vec. gas: * configure.in (sh*le): Set cpu_type=sh and endian=little. (sh*-*-netbsdelf*): New target. * configure: Regenerate. * tc-sh.h: Update copyright years. (TARGET_FORMAT): Add version for TE_NetBSD. ld: * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o. (eshelf_nbsd.c): New rule. (eshlelf_nbsd.c): New rule. * Makefile.in: Regenerate. * configure.tgt (sh*le-*-netbsdelf*): New target. (sh*-*-netbsdelf*): New target. * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file. * ld/emulparams/shelf_nbsd.sh: New emulation. * ld/emulparams/shlelf_nbsd.sh: New emulation.
2002-01-07Add spanish translation filesNick Clifton4-2/+1552
2002-01-07Note that --emit-relocs is currently only implemented for ELF.Nick Clifton2-0/+7
2002-01-05 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make useAlan Modra4-24/+16
of bfd_section_list_remove and bfd_section_list_insert macros. * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise. * emultempl/mmo.em (mmo_place_orphan): Likewise.
2002-01-04bfd:Andreas Jaeger2-1/+17
* config.bfd (x86_64-*-netbsd*): New target. * configure.in (x86_64-*-netbsd*): Set COREFILE to netbsd-core.lo. * configure: Regenerated. gas: * configure.in (i386-*-netbsdelf*): Collapse target into... (i386-*-netbsd*): ...this. Add support for x86-64. * configure: Regenerated. ld: * configure.tgt (x86_64-*-netbsd*): New target.
2002-01-022002-01-02 Chris Demetriou <cgd@broadcom.com>Chris Demetriou19-0/+347
* ld-mips-elf/empic1-ln.d: New file to test basic linking of R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocations. * ld-mips-elf/empic1-lp.d: Likewise. * ld-mips-elf/empic1-mn.d: Likewise. * ld-mips-elf/empic1-mp.d: Likewise. * ld-mips-elf/empic1-sn.d: Likewise. * ld-mips-elf/empic1-sp.d: Likewise. * ld-mips-elf/empic1-ref.s: Likewise. * ld-mips-elf/empic1-space.s: Likewise. * ld-mips-elf/empic1-tgt.s: Likewise. * ld-mips-elf/empic2-fwd-0.d: New file to test R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocation edge cases. * ld-mips-elf/empic2-fwd-1.d: Likewise. * ld-mips-elf/empic2-rev-0.d: Likewise. * ld-mips-elf/empic2-rev-1.d: Likewise. * ld-mips-elf/empic2-ref.s: Likewise. * ld-mips-elf/empic2-space.s: Likewise. * ld-mips-elf/empic2-fwd-tgt.s: Likewise. * ld-mips-elf/empic2-rev-tgt.s: Likewise. * ld-mips-elf/mips-elf.exp: New file to run MIPS 32-bit ELF tests (including those above).
2001-12-22-binitfini emulation, put __rtinit symbol generation into linker.Tom Rix2-51/+58
2001-12-20 * configure.tgt (mips*-dec-netbsd*): Delete alias forAlan Modra2-3/+8
mips*el-*-netbsd*. (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.
2001-12-20 * configure.tgt (arm-*-netbsdelf*): Add target.Alan Modra5-1/+30
(arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls. * emulparams/armelf_nbsd.sh: Added. * Makefile.am: Add rules for earmelf_nbsd. * Makefile.in: Regenerate.
2001-12-19 * configure.host: Add rules for x86_64-*linux-gnu. ChangeAndreas Jaeger2-4/+16
s390x-linux entry to use gcc to report configuration, replace gcc with $CC in s390-linux
2001-12-19 * ld.texinfo (VERSION): Fix markup.Andreas Jaeger2-5/+9
2001-12-18* config.bfd (m68*-*-netbsdelf*): New target.Matthew Green5-4/+37
(m68*-*-netbsd): Also include bfd_elf32_m68k_vec. (m68*-*-netbsdaout*): New alias for m68*-*-netbsd. * configure.in (m68k-*-netbsdelf*): New target. (m68k-*-netbsd*): Also include ELF support. (m68k-*-netbsdaout*): New alias for m68*-*-netbsd*. * configure: Regenerate. * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o. (m68kelfnbsd.c): New rule. * Makefile.in: Regenerate. * configure.tgt (m68*-hp-netbsd*): Renamed to .. (m68*-*-netbsd*4k*): .. this. (m68*-*-netbsdelf*): New target. (m68*-*-netbsd*): Also include ELF support. (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*. * emulparams/m68kelfnbsd.sh: New emulation.
2001-12-18 * ldgram.y (vers_node): Support anonymous version tags.Jakub Jelinek4-3/+38
* ldlang.c (lang_register_vers_node): Ensure anonymous version tag is not defined together with non-anonymous versions. * ld.texinfo: Document it. * elflink.h (size_dynamic_sections): Skip anonymous version tag. (elf_link_assign_sym_version): Don't count anonymous version tag.