aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
2002-02-11* ld-sh/shared-1.d: Fix relocation addend.Alexandre Oliva2-1/+5
2002-02-11 * Makefile.in: Regenerate.Alan Modra2-1/+5
2002-02-112002-02-10 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-7/+4
* lexsup.c: Remove strtoul declaration.
2002-02-102002-02-10 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz4-5/+20
* ldmain.c: Add prototype for main (). * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H. * emultempl/lnk960.em (lnk960_choose_target): Function should take two arguments.
2002-02-10 * ldlang.c (entry_section): New initialised variable.Alan Modra4-1/+16
(lang_finish): Use it. * ldlang.h (entry_section): Declare. * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set entry_section to ".opd".
2002-02-10Fix date in last entry. I should stop living in the past.Chris Demetriou1-1/+1
2002-02-102002-02-08 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-0/+11
* ld.texinfo (Options): Add back in -nostdlib documentation, which had been inadvertently removed.
2002-02-09 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): AdjustHans-Peter Nilsson2-8/+19
register section vma to a sane value after emitting error. Make fatal conditions cause program exit when emitting message.
2002-02-09 * ld-mmix/bpo-21.d, ld-mmix/bpo-21m.d, ld-mmix/bpo-11.s: NewHans-Peter Nilsson4-0/+29
tests.
2002-02-08Fix compile time warning messagesNick Clifton2-0/+5
2002-02-08Contribute sh64-elf.Alexandre Oliva70-0/+4619
2002-02-02 Alexandre Oliva <aoliva@redhat.com> * ld-sh/sh64/crange3-cmpct.rd: Adjust offsets. * ld-sh/sh64/crange3-media.rd: Likewise. * ld-sh/sh64/crange3.rd: Likewise. * ld-sh/sh64/crangerel1.rd: Likewise. * ld-sh/sh64/crangerel2.rd: Likewise. * ld-sh/sh64/reldl32.rd: Likewise. * ld-sh/sh64/reldl64.rd: Likewise. 2002-01-28 Alexandre Oliva <aoliva@redhat.com> * ld-sh/sh64/abi32.xd: Formatting changes to match the current output of objdump. * ld-sh/sh64/cmpct1.xd: Likewise. * ld-sh/sh64/crange1.rd: Likewise. * ld-sh/sh64/crange2.rd: Likewise. * ld-sh/sh64/crange3-cmpct.rd: Likewise. * ld-sh/sh64/crange3-media.rd: Likewise. * ld-sh/sh64/crange3.rd: Likewise. * ld-sh/sh64/crangerel1.rd: Likewise. * ld-sh/sh64/crangerel2.rd: Likewise. * ld-sh/sh64/mix1.xd: Likewise. * ld-sh/sh64/mix2.xd: Likewise. * ld-sh/sh64/rel32.xd: Likewise. * ld-sh/sh64/reldl32.rd: Likewise. * ld-sh/sh64/reldl64.rd: Likewise. * ld-sh/sh64/sh64.exp: Likewise. Reordered cranges and stack sessions, to match changes in the linker script. 2001-06-14 Alexandre Oliva <aoliva@redhat.com> * ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: Adjust relocation info to reflect renumbering of relocation types. 2001-03-14 DJ Delorie <dj@redhat.com> * ld-sh/sh64/endian.dbd: New file, endian tests. * ld-sh/sh64/endian.dld: Ditto. * ld-sh/sh64/endian.ld: Ditto. * ld-sh/sh64/endian.s: Ditto. * ld-sh/sh64/endian.sbd: Ditto. * ld-sh/sh64/endian.sld: Ditto. * ld-sh/sh64/sh64.exp: Add above tests. Add -L option to ld. 2001-03-12 DJ Delorie <dj@redhat.com> * ld-sh/sh64/relax.exp: New file, test disabling relaxing. * ld-sh/sh64/relax1.s: Ditto. * ld-sh/sh64/relax2.s: Ditto. * ld-sh/sh64/relax3.s: Ditto. * ld-sh/sh64/relax4.s: Ditto. * ld-sh/sh64/relfail.exp: New file, test for bogus relocs. * ld-sh/sh64/relfail.s: Ditto. 2001-03-12 DJ Delorie <dj@redhat.com> * ld-sh/sh.exp: This test isn't appropriate for SH64 since it uses SH32 assembler files. 2001-03-07 DJ Delorie <dj@redhat.com> * ld-selective/selective.exp: Pass "-e _start" for sh64 to accomodate expected start symbol in test. 2001-03-06 DJ Delorie <dj@redhat.com> * ld-scripts/crossref.exp: Pass -mshelf32 to the linker for sh64, to match what gcc passes to the linker by default. * ld-selective/selective.exp: Ditto. * ld-srec/srec.exp: Ditto, plus XFAIL for sh64. * ld-undefined/undefined.exp: Add XFAIL for sh64 (it's dwarf2). 2001-03-06 DJ Delorie <dj@redhat.com> * ld-sh/sh64/abi32.xd (stack): Adjust for new default stack layout. * ld-sh/sh64/abi64.xd (stack): Ditto. * ld-sh/sh64/cmpct1.xd (stack): Ditto. * ld-sh/sh64/crange1.rd (stack): Ditto. * ld-sh/sh64/crange2.rd (stack): Ditto. * ld-sh/sh64/crange3-cmpct.rd (stack): Ditto. * ld-sh/sh64/crange3-media.rd (stack): Ditto. * ld-sh/sh64/crange3.rd (stack): Ditto. * ld-sh/sh64/mix1.xd (stack): Ditto. * ld-sh/sh64/mix2.xd (stack): Ditto. * ld-sh/sh64/shdl32.xd (stack): Ditto. * ld-sh/sh64/shdl64.xd (stack): Ditto. 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com> * ld-sh/sh64/mix1.xd: Add SORT_ENTRIES for .cranges section. * ld-sh/sh64/mix2.xd: Ditto. 2001-01-08 Hans-Peter Nilsson <hpn@cygnus.com> * ld-sh/sh64/abi32.xd: Adjust for bit 0 set on an entry address being SHmedia. * ld-sh/sh64/shdl64.xd: Ditto. * ld-sh/sh64/shdl32.xd: Ditto. * ld-sh/sh64/mix2.xd: Ditto. * ld-sh/sh64/crange3-media.rd: Ditto. * ld-sh/sh64/abi64.xd: Ditto. 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com> * ld-sh/sh64/crange-2a.s (diversion2): New global symbol. * ld-sh/sh64/crange1.rd: Adjust to presence of new symbol. Adjust section type for .cranges; expect sorted contents. * ld-sh/sh64/crange2.rd: Ditto. * ld-sh/sh64/crange3.dd, ld-sh/sh64/crange3.rd: Ditto. * ld-sh/sh64/crangerel1.rd: Adjust to presence of new symbol. * ld-sh/sh64/crangerel2.rd: Ditto. * ld-sh/sh64/mix1.xd: Adjust to DEBUGGING being set for .cranges. * ld-sh/sh64/mix2.xd: Ditto. * ld-sh/sh64/crange3-cmpct.rd, ld-sh/sh64/crange3-media.rd: New tests. * ld-sh/sh64/sh64.exp: Tweak test message. Run new tests. 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com> * ld-sh/sh64/shmix-1.s (start2): Add a NOP to provide a valid target for (unexpanded) PTB. Add an .align 2 to SHmedia code to keep properly aligned. * ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd: Adjust accordingly. * ld-sh/sh64/mix1-noexp.sd, ld-sh/sh64/mix2-noexp.sd, ld-sh/sh64/abixx-noexp.sd: New tests for GAS -no-expand and R_SH_PT_16 relocation. * ld-sh/sh64/sh64.exp: Run new tests. 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com> * ld-sh/sh64/crange-2f.s, ld-sh/sh64/crange-2g.s, ld-sh/sh64/crange-2h.s, ld-sh/sh64/crange-2i.s, ld-sh/sh64/crange3.dd, ld-sh/sh64/crange3.rd: New tests. * ld-sh/sh64/sh64.exp: Run new tests. * ld-sh/sh64/crange1.rd: Correct section flags. * ld-sh/sh64/crange2.rd: Ditto. * ld-sh/sh64/crangerel1.rd: Ditto. 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> * ld-sh/sh64/crange-1.s, ld-sh/sh64/crange-2a.s, ld-sh/sh64/crange-2b.s, ld-sh/sh64/crange-2c.s, ld-sh/sh64/crange-2d.s, ld-sh/sh64/crange-2e.s, ld-sh/sh64/crange1.rd, ld-sh/sh64/crange2.rd, ld-sh/sh64/crangerel1.rd, ld-sh/sh64/crangerel2.rd: New tests for handling .cranges section. * ld-sh/sh64/sh64.exp: Run new tests. * ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.sd, ld-sh/sh64/mix2.xd: Adjust for .cranges section. 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com> * ld-sh/sh64/abi32.sd, ld-sh/sh64/abi32.xd, ld-sh/sh64/abi64.sd, ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd, ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.sd, ld-sh/sh64/mix2.xd, ld-sh/sh64/shdl32.xd, ld-sh/sh64/shdl64.xd: Adjust to .bss and .data individually 8-byte aligned. 2000-12-09 Hans-Peter Nilsson <hpn@cygnus.com> * ld-sh/sh64/rel-1.s, ld-sh/sh64/rel-2.s, ld-sh/sh64/rel32.xd, ld-sh/sh64/rel64.xd, ld-sh/sh64/reldl-1.s, ld-sh/sh64/reldl-2.s, ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: New tests. * ld-sh/sh64/sh64.exp: Make it possible to use readelf as inspection tool. Run new tests. 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com> * ld-sh/sh64/abi64.sd, ld-sh/sh64/abi32.sd, ld-sh/sh64/mix1.sd, ld-sh/sh64/mix2.sd: Correct offsets in PT/PTA/PTB expansions. * ld-sh/sh64/shdl-1.s, ld-sh/sh64/shdl-2.s, ld-sh/sh64/shdl64.sd, ld-sh/sh64/shdl64.xd, ld-sh/sh64/shdl32.xd: New tests. * ld-sh/sh64/sh64.exp: Run new tests. 2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com> * ld-sh/sh64/cmpct1.sd, ld-sh/sh64/cmpct1.xd, ld-sh/sh64/shcmp-1.s: New test. * ld-sh/sh64/sh64.exp: Add new test to sh64tests. Reformat. 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com> * ld-sh/sh64/sh64.exp: Use linker option -mshelf64 for 64-bit ABI test. * ld-sh/sh64/abi64.xd: Tweak for 64-bit ELF. 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com> * ld-sh/sh64/sh64.exp (sh64tests): Use linker option -mshelf32 for tests. 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com> * ld-sh/sh64/abi32.sd, ld-sh/sh64/abi64.sd: Correct MOVI registers. * ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd, ld-sh/sh64/shmix-1.s: New test. * ld-sh/sh64/mix2.sd, ld-sh/sh64/mix2.xd, ld-sh/sh64/shmix-2.s, ld-sh/sh64/shmix-3.s: New test. * ld-sh/sh64/sh64.exp: Add new tests to sh64tests. 2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com> * ld-sh/sh64: New testsuite.
2002-02-08Contribute sh64-elf.Alexandre Oliva12-396/+1168
2002-01-24 Alexandre Oliva <aoliva@redhat.com> * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined in OTHER_RELOCATABLE_SECTIONS. 2002-01-18 Alexandre Oliva <aoliva@redhat.com> * emulparams/shelf32.sh (STACK_ADDR): Define. (OTHER_RELOCATABLE_SECTIONS): Renamed to... (OTHER_SECTIONS): this. Removed stack settings. * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set. (OTHER_SECTIONS): Reset after sourcing shelf32.sh. 2001-03-12 DJ Delorie <dj@redhat.com> * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable relaxing if any shmedia or mixed sections are found. 2001-03-07 DJ Delorie <dj@redhat.com> * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to einfo. Gracefully decline to output to non-elf formats. 2001-03-06 Hans-Peter Nilsson <hpn@redhat.com> * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>: Default to _end aligned to next multiple of 0x40000, plus 0x40000. * emulparams/shelf32.sh: Ditto. 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com> * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak comment. 2001-01-10 Ben Elliston <bje@redhat.com> * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid non-portable shell constructs. From Hans-Peter Nilsson. 2001-01-09 Hans-Peter Nilsson <hpn@cygnus.com> * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty. * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust dependencies to the shell script include chain. * Makefile.in: Regenerate. 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com> * emultempl/sh64elf.em: Update and tweak comments. (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and make a .cranges section SEC_IN_MEMORY. 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com> * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when .cranges section found to be necessary; continue and set stored section contents flags for sections with non-mixed contents. Use a struct sh64_section_data container and sh64_elf_section_data to store contents-type flags. Remove unused update of "isec". (sh64_elf_${EMULATION_NAME}_after_allocation): Only process sections marked SHF_SH5_ISA32_MIXED. Use sh64_elf_section_data to access contents-type flags. Assert that the associated container is initialized. Use that container, not elf_gp_size, to hold size of linker-generated cranges contents. 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if there's already a .cranges section. When section flag difference is found, don't NULL-check cranges a second time. Tweak comments. (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after merging, not max size, as size of ld-generated .cranges contents. Don't set ELF section flags in output section. When checking for needed .cranges descriptors, don't use a variable; compare incoming ELF section flags directly to SHF_SH5_ISA32_MIXED. Tweak comments. 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> * emultempl/sh64elf.em: New file. * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies. * Makefile.in: Regenerate. * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set. (OTHER_RELOCATING_SECTIONS): Ditto. (EXTRA_EM_FILE): New, set to sh64elf if not set. * emulparams/shlelf32.sh: Stub out all settings except OUTPUT_FORMAT. Source shelf32.sh. * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and OTHER_RELOCATING_SECTIONS. (OTHER_RELOCATING_SECTIONS): Remove .cranges. * emulparams/shlelf64.sh: Stub out all settings except OUTPUT_FORMAT. Source shelf64.sh. 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com> * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include .cranges section. (DATA_START_SYMBOLS): Define, provide ___data. (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8 for consecutive .data section. (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss section after .data section. * emulparams/shlelf64.sh: Ditto. * emulparams/shelf32.sh: Ditto. (ALIGNMENT): Define to 8. * emulparams/shelf32.sh: Ditto. 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com> * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get built-in linker scripts. 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com> * emulparams/shlelf64.sh: New. * emulparams/shelf64.sh: New. * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to targ_extra_emuls. * Makefile.am: Add support for shlelf64 and shelf64. * Makefile.in: Regenerate. 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com> * configure.tgt (sh64-*-elf*): Add shelf as default. Add shlelf to targ_extra_emuls. 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com> * emulparams/shelf32.sh: New file. * emulparams/shlelf32.sh: New file. * Makefile.am: Add support for shlelf32 and shelf32. * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32. * Makefile.in: Regenerate.
2002-02-07 * ld-selective/keepdot.s: Remove section specifier.Hans-Peter Nilsson2-2/+6
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.