aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
2002-07-01 * emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format.Alan Modra2-1/+5
2002-07-01 * ldlang.h (entry_sym): Make it a struct bfd_sym_chain.Alan Modra11-45/+72
* ldlang.c (entry_sym): Likewise. (ldlang_undef_chain_list_type): Likewise. (lang_finish): Adjust references to entry_symbol. (lang_add_entry): Likewise. (lang_gc_sections): Use link_info.gc_sym_list. (lang_process): Set link_info.gc_sym_list. * ldlex.l: Include bfdlink.h. * ldmain.c (main): Init link_info.gc_sym_list. * emultempl/aix.em: Adjust references to entry_symbol. * emultempl/armcoff.em: Likewise. * emultempl/armelf.em: Likewise. * emultempl/pe.em: Likewise. * emultempl/ppc64elf.em (ppc_after_open): New function. (LDEMUL_AFTER_OPEN): Define. * emulparams/elf64ppc.sh: KEEP .opd sections.
2002-06-29 * ld-mmix/sec-8m.d, ld-mmix/sec-8m.s, ld-mmix/sec-8a.s,Hans-Peter Nilsson6-0/+51
ld-mmix/sec-8b.s, ld-mmix/sec-8d.s: New test.
2002-06-29 * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.Stephane Carrez7-0/+45
* emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define. * emulparams/m68hc11elf.sh (EEPROM_SIZE): Define. (EEPROM_START_ADDR): Define. (EEPROM_MEMORY): Define. * emulparams/m68hc12elf.sh: Likewise. * scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs section to put soft registers in .page0. * scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss.
2002-06-27 * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opdJeff Law2-1/+9
section. Add ${RELOCATING-0}.
2002-06-26ld:Joern Rennecke3-2/+21
* emulparams/shelf.sh (STACK_ADDR): Don't define. (OTHER_SECTIONS): Define. * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef. (OTHER_SECTIONS): Undef. newlib: * libc/sys/sh/crt0.S: Remove vestigial .section directive. gcc: * config/sh/crt1.asm: remove _stack label definition and sentinel value.
2002-06-26 * ldmisc.c (demangle): Restore dots stripped from sym name.Alan Modra2-2/+24
2002-06-262002-06-25 H.J. Lu <hjl@gnu.org>H.J. Lu3-0/+7
* Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it. * Makefile.in: Regenerated.
2002-06-20Update bug reporting guidelinesNick Clifton2-15/+26
2002-06-20Remove romp targetNick Clifton2-4/+4
2002-06-192002-06-18 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-1/+6
* emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Check section flags for SEC_DATA, rather than for SEC_CODE being unset.
2002-06-192002-06-18 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-1/+6
* emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Fix format specifier used to print BFD name.
2002-06-192002-06-18 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-0/+6
* ld-mips-elf/empic2-ref.s: Add a missing .end, apparently turned up by recent assembler changes.
2002-06-182002-06-18 Dave Brolley <brolley@redhat.com>Dave Brolley6-1/+40
From Catherine Moore, Michael Meissner, Jim Blandy: * emulparams/elf32frv.sh: New file. * configure.tgt: Support frv-*-*. * Makefile.am (ALL_EMULATIONS): Add eelf32frv.o. (eelf32frv.c): New target.
2002-06-17Fix ld segfault for some elf targets. Fix default layout for d10v.Tom Rix4-4/+15
2002-06-17Tests for d10v.Tom Rix44-0/+678
2002-06-13Individual processor configurations for sh-elf / sh-linux:Joern Rennecke2-2/+6
gcc: * config.gcc: Add support for sh[234]*-*-elf*, sh[2346lbe]*-*-linux*. * config/sh/linux.h (TARGET_DEFAULT): Use TARGET_CPU_DEFAULT. * sh.h (SELECT_SH1, SELECT_SH2, SELECT_SH3, SELECT_SH3E): New macros. (SELECT_SH4_NOFPU, SELECT_SH4_SINGLE_ONLY, SELECT_SH4): Likewise. (SELECT_SH4_SINGLE, SELECT_SH5_64, SELECT_SH5_64_NOFPU): Likewise. (SELECT_SH5_32, SELECT_SH5_32_NOFPU, SELECT_SH5_COMPACT): Likewise. (SELECT_SH5_COMPACT_NOFPU): Likewise. (TARGET_SWITCHES): Use them. (TARGET_CPU_DEFAULT): Define if not already defined. (TARGET_DEFAULT): Use it. (LINK_DEFAULT_CPU_EMUL): Value now depends on TARGET_CPU_DEFAULT. * config/sh/t-linux (MULTILIB_OPTIONS): Use MULTILIB_ENDIAN. * config/sh/t-monolib: New file. bfd: config.bfd: Add support for sh[1234]l*-*-elf* | sh3el*-*-elf*, sh[1234]*-elf*. ld: * configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf. Still outstanding: config.sub: * config.sub: Add support for sh[12], sh3e, sh[1234]le, sh3ele, shle, sh[1234]le, sh3ele, sh64le.
2002-06-132002-06-12 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+12
* emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return false if xvec doesn't match.
2002-06-122002-06-11 John David Anglin <dave@hiauly1.hia.nrc.ca>Jeff Law2-0/+8
* ld-scripts/cross1.t: Add .hash, .dynstr and .dynsym sections to script.
2002-06-11AJ found the problem and created the patch.Martin Schwidefsky1-1/+1
2002-06-112002-06-11 Martin Schwidefsky <schwidefsky@de.ibm.com>Martin Schwidefsky2-0/+6
* ld-undefined/undefined.exp: Add s390x to dwarf2 xfails.
2002-06-10 * ld-mips-elf/region1a.s,Richard Sandiford6-0/+38
* ld-mips-elf/region1b.s, * ld-mips-elf/region1.t, * ld-mips-elf/region1.d: New test. * ld-mips-elf/mips-elf.exp: Run it.
2002-06-10 * ldlang.c (lang_size_sections_1): Skip removed output sections.Richard Sandiford2-0/+12
2002-06-08 * ldexp.c: Replace CONST with const.Alan Modra7-28/+37
* ldfile.c: Likewise. * ldfile.h: Likewise. * ldlex.l: Likewise. * mri.c: Likewise. * pe-dll.h: Likewise.
2002-06-07 * emultempl/ppc64elf.em (new_vers_pattern): Warning fix.Alan Modra2-1/+5
2002-06-07Enable pei386_auto_import by default. Only print a info message about autoNick Clifton3-6/+22
imports being resilved if this feature was not requested via a command line switch.
2002-06-07Fix phdrs2 testNick Clifton3-11/+18
2002-06-07 * scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces.Alan Modra2-1/+5
2002-06-06Do not include empty sections in loadable segments.Nick Clifton4-0/+101
2002-06-06 * configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS,Jeff Law2-0/+12
HOSTING_CRT0 and HOSTING_LIBS.
2002-06-05gcc:Joern Rennecke2-0/+13
* config.gcc (sh-*-elf*, sh64*-*-elf*): Unify. (shl*-*-elf*): Add. * config/sh/t-be (MULTILIB_ENDIAN): Set. * config/sh/t-le (MULTILIB_ENDIAN): Likewise. * t-sh (MULTILIB_ENDIAN): Set. (MULTILIB_OPTIONS): Use it. * t-sh64 (MULTILIB_OPTIONS): Likewise. (MULTILIB_DIRNAMES): Likewise. bfd: * config.bfd (sh64l*-*-elf*, shl*-*-elf*): New configurations. ld: configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations.
2002-06-05* emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0.Jason Thorpe2-0/+7
(NONPAGED_TEXT_START_ADDR): Set to 0x1000.
2002-06-05 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): PlaceAlan Modra2-1/+6
SEC_EXCLUDE sections when doing a relocatable link.
2002-06-04bfd:Jason Thorpe8-255/+124
* Makefile.am (BFD32_BACKENDS): Add elf32-sh64-nbsd.lo. (BFD32_BACKENDS_CFILES): Add elf32-sh64-nbsd.c. (BFD64_BACKENDS): Add elf64-sh64-nbsd.lo. (BFD64_BACKENDS_CFILES): Add elf64-sh64-nbsd.c. (elf32-sh64-nbsd.lo, elf64-sh64-nbsd.lo): New rules. * Makefile.in: Regenerate. * config.bfd (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*) (sh64-*-netbsd*): New targets. * configure.in: Add bfd_elf32_sh64nbsd_vec, bfd_elf32_sh64lnbsd_vec, bfd_elf64_sh64nbsd_vec, and bfd_elf64_sh64lnbsd_vec. * configure: Regenerate. * elf32-sh64-nbsd.c: New file. * elf64-sh64-nbsd.c: New file. * targets.c: Add extern decls for bfd_elf32_sh64nbsd_vec, bfd_elf32_sh64lnbsd_vec, bfd_elf64_sh64nbsd_vec, and bfd_elf64_sh64lnbsd_vec. gas: * configure.in (sh5*): Set cpu_type to sh64 and endian to big. (sh5le*, sh64le*): Set cpu_type to sh64 and endian to little. (sh5*-*-netbsd*, sh64*-*-netbsd*): New targets. * configure: Regenerate. * config/tc-sh64.c (sh64_target_format): Add support for NetBSD environment. ld: * Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o, eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o. (eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c) (eshlelf64_nbsd.c): New rules. * Makefile.in: Regenerate. * configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*) (sh64-*-netbsd*): New targets. * emulparams/shelf32_nbsd.sh: New file. * emulparams/shelf64_nbsd.sh: New file. * emulparams/shlelf32_nbsd.sh: New file. * emulparams/shlelf64_nbsd.sh: New file. opcodes: * configure.in: Add "sh5*-*" to list of targets which include sh64 support. * configure: Regenerate.
2002-06-04 * ldlang.c (section_already_linked): Call bfd_discard_group. Typo fix.Alan Modra2-1/+8
2002-06-032005-06-02 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+15
* ld-srec/sr3.cc (__dso_handle): Added for gcc 3.1 with -fuse-cxa-atexit. (__cxa_atexit): Likewise.
2002-06-01 * scripttempl/avr.sc: Changes to support current GCC and avr-libc,Marek Michalkiewicz2-4/+49
C++ constructors/destructors, loosely based on the m68hc11 port.
2002-05-31 * Makefile.in: Regenerate.Alan Modra5-477/+687
* aclocal.m4: Regenerate. * config.in: Regenerate. * configure: Regenerate.
2002-05-31 * Makefile.am (ALL_EMULATIONS): Add ei386nto.o.Alan Modra5-1/+29
(ei386nto.c): Add rule. * Makefile.in: Regenerate. * configure.tgt: Add i[3456]86-*-nto-qnx*. * emulparams/i386nto.sh: New file.
2002-05-30 * ld-bootstrap/bootstrap.exp: Test --relax.Richard Henderson2-2/+13
2002-05-30* NEWS: Add entry for VAX ELF support.Jason Thorpe2-0/+8
2002-05-302002-05-29 Matt Thomas <matt@3am-software.com>Jason Thorpe6-252/+71
Jason Thorpe <thorpej@wasabisystems.com> * Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o. (eelf32vax.c) (evaxnbsd.c): New rules. * Makefile.in: Regenerate. * configure.tgt (vax-*-netbsdelf*) (vax-*-netbsdaout*) (vax-*-netbsd*): New targets. * emulparams/elf32vax.sh: New file. * emulparams/vaxnbsd.sh: New file.
2002-05-29Fix genreation of arm <->thumb glue stubs by ensuring that they are in the ↵Nick Clifton2-11/+54
last section linked.
2002-05-28Add DLX targetNick Clifton6-0/+56
2002-05-28 * ld-cris/libdso-2.d: Tweak for combreloc now default on.Hans-Peter Nilsson2-15/+19
2002-05-27Install new elf_chaos.sc script.Nick Clifton5-3/+366
2002-05-27 * ldlang.c (lang_size_sections_1): Move check for conflicting loadRichard Sandiford6-33/+64
addresses and regions from here... (lang_get_regions): ...to this new function. (lang_leave_output_section_statement): Use lang_get_regions. (lang_leave_overlay): Likewise. * mri.c (mri_draw_tree): Pass null as last argument to lang_leave_output_section_statement. * emultempl/elf32.em (gld*_place_orphan): Likewise. * emultempl/mmo.em (mmo_place_orphan): Likewise. * emultempl/pe.em (gld*_place_orphan): Likewise.
2002-05-26gas:Jason Thorpe2-1/+5
* configure.in: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*. * configure: Regenerate. ld: * configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
2002-05-25 * ldemul.c: Fix formatting.Kazu Hirata5-10/+17
* ldfile.c: Likewise. * pe-dll.c: Likewise. * pe-dll.h: Likewise.
2002-05-25 * ldlang.c (lang_process): Formatting, grammar.Alan Modra2-2/+4