Alan Modra
ce4f738593
* Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
Run "make dep-am".
* Makefile.in: Regenerate.
24 years ago
Alan Modra
3e8cba195d
* lib/ld-lib.exp (default_ld_nm): Run nm with LC_ALL=C to ensure
consistent sorting.
(run_dump_test): Likewise for objdump/nm/objcopy/readelf.
* ld-sh/sh64/sh64.exp (run_ld_link_tests): Likewise.
24 years ago
Alan Modra
71daf8b446
* ldfile.c (ldfile_try_open_bfd): Formatting.
24 years ago
Alan Modra
b7b482a3f5
* ldmisc.c (demangle): Move so that it doesn't intrude between
vfinfo comment and body. Add comment.
24 years ago
Alan Modra
29e2951eb7
* emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format.
24 years ago
Alan Modra
e3e942e990
* ldlang.h (entry_sym): Make it a struct bfd_sym_chain.
* 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.
24 years ago
Hans-Peter Nilsson
9f6067066d
* ld-mmix/sec-8m.d, ld-mmix/sec-8m.s, ld-mmix/sec-8a.s,
ld-mmix/sec-8b.s, ld-mmix/sec-8d.s: New test.
24 years ago
Stephane Carrez
a66c0f2c3b
* emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
* 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.
24 years ago
Jeff Law
2b67cf0053
* emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
section. Add ${RELOCATING-0}.
24 years ago
Joern Rennecke
164c405440
ld:
* 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.
24 years ago
Alan Modra
fc28fbc2a9
* ldmisc.c (demangle): Restore dots stripped from sym name.
24 years ago
H.J. Lu
a13a0de813
2002-06-25 H.J. Lu <hjl@gnu.org>
* Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
* Makefile.in: Regenerated.
24 years ago
Nick Clifton
b553b18375
Update bug reporting guidelines
24 years ago
Nick Clifton
2755afbaec
Remove romp target
24 years ago
Chris Demetriou
7d0a848ef9
2002-06-18 Chris Demetriou <cgd@broadcom.com>
* emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Check
section flags for SEC_DATA, rather than for SEC_CODE being unset.
24 years ago
Chris Demetriou
8505f88407
2002-06-18 Chris Demetriou <cgd@broadcom.com>
* emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Fix
format specifier used to print BFD name.
24 years ago
Chris Demetriou
e0350bfbf7
2002-06-18 Chris Demetriou <cgd@broadcom.com>
* ld-mips-elf/empic2-ref.s: Add a missing .end, apparently
turned up by recent assembler changes.
24 years ago
Dave Brolley
7d553a408b
2002-06-18 Dave Brolley <brolley@redhat.com>
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.
24 years ago
Tom Rix
8243435612
Fix ld segfault for some elf targets. Fix default layout for d10v.
24 years ago
Tom Rix
4c0b7915d4
Tests for d10v.
24 years ago
Joern Rennecke
5d9b5481e3
Individual processor configurations for sh-elf / sh-linux:
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.
24 years ago
H.J. Lu
c4bb8067a5
2002-06-12 H.J. Lu <hjl@gnu.org>
* emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return
false if xvec doesn't match.
24 years ago
Jeff Law
9b17aab627
2002-06-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
* ld-scripts/cross1.t: Add .hash, .dynstr and .dynsym sections to
script.
24 years ago
Martin Schwidefsky
704e79f982
AJ found the problem and created the patch.
24 years ago
Martin Schwidefsky
20c4e93273
2002-06-11 Martin Schwidefsky <schwidefsky@de.ibm.com>
* ld-undefined/undefined.exp: Add s390x to dwarf2 xfails.
24 years ago
Richard Sandiford
e560f274e3
* ld-mips-elf/region1a.s,
* 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.
24 years ago
Richard Sandiford
e052cfbe68
* ldlang.c (lang_size_sections_1): Skip removed output sections.
24 years ago
Alan Modra
4da711b140
* ldexp.c: Replace CONST with const.
* ldfile.c: Likewise.
* ldfile.h: Likewise.
* ldlex.l: Likewise.
* mri.c: Likewise.
* pe-dll.h: Likewise.
24 years ago
Alan Modra
eb95bb9a4e
* emultempl/ppc64elf.em (new_vers_pattern): Warning fix.
24 years ago
Nick Clifton
e0076ab314
Enable pei386_auto_import by default. Only print a info message about auto
imports being resilved if this feature was not requested via a command line
switch.
24 years ago
Nick Clifton
1634475f71
Fix phdrs2 test
24 years ago
Alan Modra
f13a54248a
* scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces.
24 years ago
Nick Clifton
1ed89aa92e
Do not include empty sections in loadable segments.
24 years ago
Jeff Law
1abffd82ca
* configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS,
HOSTING_CRT0 and HOSTING_LIBS.
24 years ago
Joern Rennecke
7a33bc1016
gcc:
* 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.
24 years ago
Jason Thorpe
4a5e698dbf
* emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0.
(NONPAGED_TEXT_START_ADDR): Set to 0x1000.
24 years ago
Alan Modra
1d475d825e
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place
SEC_EXCLUDE sections when doing a relocatable link.
24 years ago
Jason Thorpe
5b0e55b627
bfd:
* 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.
24 years ago
Alan Modra
9ad85d9b01
* ldlang.c (section_already_linked): Call bfd_discard_group. Typo fix.
24 years ago
H.J. Lu
bfba206a7e
2005-06-02 H.J. Lu <hjl@gnu.org>
* ld-srec/sr3.cc (__dso_handle): Added for gcc 3.1 with
-fuse-cxa-atexit.
(__cxa_atexit): Likewise.
24 years ago
Marek Michalkiewicz
0c9b4fee1c
* scripttempl/avr.sc: Changes to support current GCC and avr-libc,
24 years ago
Alan Modra
2c538bdec9
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
24 years ago
Alan Modra
a0cb91c657
* Makefile.am (ALL_EMULATIONS): Add ei386nto.o.
(ei386nto.c): Add rule.
* Makefile.in: Regenerate.
* configure.tgt: Add i[3456]86-*-nto-qnx*.
* emulparams/i386nto.sh: New file.
24 years ago
Richard Henderson
0085b5a8ab
* ld-bootstrap/bootstrap.exp: Test --relax.
24 years ago
Jason Thorpe
37020578cf
* NEWS: Add entry for VAX ELF support.
24 years ago
Jason Thorpe
ab68f3e06f
2002-05-29 Matt Thomas <matt@3am-software.com>
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.
24 years ago
Nick Clifton
8afb0e028c
Fix genreation of arm <->thumb glue stubs by ensuring that they are in the last section linked.
24 years ago
Nick Clifton
d172d4ba03
Add DLX target
24 years ago
Hans-Peter Nilsson
69de2f8959
* ld-cris/libdso-2.d: Tweak for combreloc now default on.
24 years ago
Nick Clifton
b4477fa895
Install new elf_chaos.sc script.
24 years ago