aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
1999-10-07* scripttempl/elf.sc (.rel.sdata): Combine all the sdata relocsGeoffrey Keating2-3/+37
being .rel.sdata, .rel.sdata.*, .rel.gnu.linkonce.s*. (.rela.sdata): Likewise for .rela.sdata.* and .rela.gnu.linkonce.s*. (.rel.sbss): Make like .rel.bss. (.rela.sbss): Make like .rel.bss. (.sdata): Don't include .gnu.linkonce.s.* or .sdata.* when ld -r. (.sbss): Do the same things as for .bss: include SDATA_START_SYMBOLS, .dynsbss.
1999-09-29* emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): DeferDJ Delorie2-3/+11
merging sections when not relocating.
1999-09-29* pe-dll.c (process_def_file): Move the offset lookup from here toDJ Delorie2-3/+57
(fill_exported_offsets): here. New static function. (fill_edata): Use.
1999-09-28* deffilep.y (tokens): Add upper and lower case versions of DATA,DJ Delorie3-16/+43
CONSTANT, NONAME and PRIVATE tokens. (command): Use DATAU. (expline): Allow for drectve syntax as well. (exp_opt_list): Likewise. (exp_opt): Likewise. * pe-dll.c (make_one): Only generate the idata entries for data symbols.
1999-09-28* scripttempl/elf.sc (.sdata): Include .gnu.linkonce.s.* sectionsGeoffrey Keating2-1/+6
in .sdata too.
1999-09-26Merge sections named .bss.* into .bss section. Similarly for .sbss.Nick Clifton2-1/+11
1999-09-22Add earm_epoc_pe.c build target.Nick Clifton2-0/+8
1999-09-18 * emulparms/elf64hppa.sh (OTHER_READONLY_SYMBOLS): Remove ".stubs",Jeff Law2-1/+12
they've been renamed to ".stub", which is handled automatically by elf.sc.
1999-09-18Support 8 and 16-bit relocs for i386coff. Enable i386 gas testsuite testsAlan Modra2-0/+6
previously disabled for lack of such support. For *-*-linux*libc1 targets, XFAIL a ld testsuite that fails due to a bug in the dynamic linker prior to glibc-2.1.
1999-09-17Fix typo in last change.Jeff Law1-1/+1
1999-09-17 * emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Kill completely.Jeff Law1-16/+13
(DATA_START_SYMBOLS): Kill __hp_load_map definition
1999-09-16 * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):Jeff Law2-5/+15
Use the same filename extension for the bfd_elf_dt_needed_name call as we did for finding the library.
1999-09-16 * emulparms/elf64hppa.sh (DATA_START_SYMBOLS): Define.Jeff Law2-1/+5
(OTHER_READWRITE_SECTIONS): No longer define __hp_load_map.
1999-09-16 * emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Define.Jeff Law2-0/+13
1999-09-16 * emulparms/elf64hppa.sh (SHLIB_TEXT_START_ADDR): Define.Jeff Law2-0/+15
(SHLIB_DATA_ADDR): Likewise. * emulparms/elf64hppa.sh (TEXT_DYNAMIC): Define.
1999-09-15Fix typo in last change.Jeff Law1-1/+1
1999-09-15 * emulparms/elf64hppa.h (OTHER_READWRITE_SECTIONS): No longer combineJeff Law2-12/+8
the .plt, .dlt, .opd into a single output section. Provide values for __gp and __hp_load_map.
1999-09-14Fix problem with going to automake 2.14Michael Meissner3-3/+10
1999-09-141999-09-14 Donn Terry <donn@interix.com>DJ Delorie2-2/+7
* emultempl/pe.em (gld_${EMULATION_NAME}_after_open): allow for terminating null.
1999-09-14Add earm_epoc_pe.c build target.Nick Clifton2-0/+8
1999-09-14 * emulparms/elf64hppa.sh (OTHER_GOT_RELOC_SECTIONS): Add .rela.dlt.Jeff Law2-0/+7
1999-09-14 * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):Jeff Law2-3/+15
Search for file with .sl extension if no file with a .so extension is found.
1999-09-131999-09-13 Donn Terry <donn@interix.com>Ian Lance Taylor2-1/+7
* emultempl/pe.em: Remove the output file at the start, in case it is not writable.
1999-09-13 * emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Put .pltJeff Law2-1/+15
at the start of the .dlt output section.
1999-09-12 * pe.em: Don't include "../bfd/libbfd.h".Ian Lance Taylor1-4/+6
(gld_${EMULATION_NAME}_after_open): Use xmalloc rather than bfd_alloc.
1999-09-121999-09-12 Donn Terry <donn@interix.com>Ian Lance Taylor3-0/+38
* ld.h (ld_abort): Declare. (abort): Define. * ldmisc.c (ld_abort): Define.
1999-09-121999-09-12 Donn Terry <donn@interix.com>Ian Lance Taylor2-15/+19
* scripttempl/pe.sc: Use ${ENTRY} rather than _mainCRTStartup. Move .bss section after .rdata. Move .reloc section after .rsrc.
1999-09-12Define ENTRY in PE emulation files. Also:Ian Lance Taylor5-1/+5
* emulparams/i386pe.sh (ENTRY): Define as _mainCRTStartup.
1999-09-121999-09-12 Donn Terry <donn@interix.com>Ian Lance Taylor2-1/+4
* lexsup.c (parse_args): Use strtoul for --split-by-reloc argument.
1999-09-121999-09-12 Donn Terry <donn@interix.com>Ian Lance Taylor2-0/+6
* lexsup.c (parse_args): If we get an unrecognized argument, mention --help.
1999-09-121999-09-12 Donn Terry <donn@interix.com>Ian Lance Taylor2-7/+24
* ldlang.c (section_already_linked): Use comdat information if it is available.
1999-09-12 * ld-scripts/script.exp: Add --image-base 0 for PE targets.Ian Lance Taylor2-2/+17
1999-09-12 * pe-dll.h: New file.Ian Lance Taylor8-26/+98
* pe-dll.c: Include "pe-dll.h". Mark unused arguments as needed to avoid warnings. (edata_sz, reloc_sz): Change from int to size_t. (pe_details_type): Change type of imagebase_reloc from int to unsigned int. (pe_detail_list): Fully initialize last entry. (pe_dll_id_target): Change parameter to const. (pe_dll_generate_def_file): Likewise. (pe_dll_generate_implib): Likewise. (pe_implied_import_dll): Likewise. Change dll_name to const. * emultempl/pe.em: Include "pe-dll.h". Remove declarations now in pe-dll.h. (init): Fully initialize __dll__ entry. (gld_${EMULATION_NAME}_after_open): Remove unused variables sequence, elt, and i. * deffile.h: Add preprocessor guard. * deffilep.y (def_debug): Remove. * Makefile.am: Rebuild dependencies. (HFILES): Add pe-dll.h.
1999-09-121999-09-12 Donn Terry <donn@interix.com>Ian Lance Taylor2-7/+46
* emultempl/pe.em (PE_DEF_SECTION_ALIGNMENT): If OVERRIDE_SECTION_ALIGNMENT is defined, change to that. (gld_${EMULATION_NAME}_before_parse): Use EXECUTABLE_NAME if it is defined, rather than a.exe. (init): Define __subsystem__ as ${SUBSYSTEM}. (set_pe_subsystem): Add ${INITIAL_SYMBOL_CHAR} before entry symbol name.
1999-09-12 * ldlang.c (open_output): Change local variable desired_endianIan Lance Taylor2-1/+13
from int to enum bfd_endian.
1999-09-12 * emulparams/arm_epoc_pe.sh: Define SUBSYSTEM andIan Lance Taylor5-1/+9
INITIAL_SYMBOL_CHAR. * emulparams/armpe.sh: Likewise. * emulparams/morepe.sh: Likewise. * emulparams/ppcpe.sh: Likewise. * emulparams/i386pe.sh (SUBSYSTEM): Define as PE_DEF_SUBSYSTEM.
1999-09-10 * emulparms/elf64hppa.sh (LIB_PATH): Define.Jeff Law2-0/+3
1999-09-10 * emulparms/elf64hppa.sh (OTHER_READONLY_SECTIONS): Put stubs beforeJeff Law3-3/+52
unwinders so that they are closer to the text section. (OTHER_BSS_SECTIONS): Define. (EXECUTABLE_SYMBOLS): Provide __SYSTEM_ID and _FPU_STATUS. (INIT_START, INIT_END): Define. (FINI_START, FINI_END): Define. * scripttempl/elf.sc: Add support for INIT_START, INIT_END, FINI_START, FINI_END and OTHER_BSS_SECTIONS.
1999-09-10 * emulparms/elf64hppa.sh (TEXT_START_ADDR): Move up one page.Jeff Law2-1/+7
(DATA_ADDR): Define.
1999-09-10 * emulparams/d10velf.sh (READONLY_START_ADDR): Set to 0x2000004.Richard Henderson2-1/+5
1999-09-09 * ld.texinfo: Fix arguments of @var to not contain punctuation.Andreas Schwab2-1/+5
1999-09-09Thu Sep 9 05:52:34 1999 Jeffrey A Law (law@cygnus.com)Jeff Law2-1/+15
* emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Define. 1999-09-08 Ulrich Drepper <drepper@cygnus.com> * emulparams/elf64hppa.sh (ELFSIZE): New. Set to 64. Wed Sep 8 00:07:39 1999 Jeffrey A Law (law@cygnus.com) * emulparms/elf64hppa.sh (ENTRY): Define to main.
1999-09-06Applied patch from Scott Bambrough <scottb@netwinder.org>:Nick Clifton2-0/+10
Added HOSTING_CRT0, HOSTING_LIBS for target "arm*-*-linux-gnu*"
1999-09-041999-09-04 Steve Chamberlain <sac@pobox.com>Ian Lance Taylor7-0/+93
* configure.tgt (pjl-*-*, pj-*-*): New targets. * emulparams/pjelf.sh: New file. * emulparams/pjlelf.sh: New file. * scripttempl/pj.sc: New file. * Makefile.am (ALL_EMULATIONS): Add epjelf.o and epjlelf.o. (epjelf.o, epjlelf.o): New targets. * Makefile.in: Rebuild.
1999-09-04 * emulparams/elf64hppa.sh (MAXPAGESIZE): Define.Jeff Law2-0/+17
(OTHER_READONLY_SECTIONS, DATA_PLT): Likewise.
1999-09-02 * emulparams/elf64hppa.sh: New file.Jeff Law4-2/+19
* configure.tgt (hppa*w-*-*): Use elf64hppa emulation. * Makefile.am (ALL_64_EMULATIONS): Add eelf64hppa.o (eelf64hppa.c): Add dependencies. * Makefile.in: Rebuilt.
1999-08-25Patch from Philip Blundell <pb@nexus.co.uk>: Define __end__Nick Clifton4-3/+9
1999-08-24Patch from Roland McGrath <roland@baalperazim.frob.com>Nick Clifton5-0/+26
Add arm-netbsd target.
1999-08-23Implement --base-file command line switch.Nick Clifton2-0/+68
1999-08-23Add ability for individual targets to have their own command line switches byNick Clifton2-4/+25
defining PARSE_AND_LIST_ARGS.