aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
1999-11-04Wed Nov 3 23:31:19 1999 Jeffrey A Law (law@cygnus.com)Jeff Law5-222/+257
* emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): Clean up code to use EXTRA_SHLIB_EXTENSION. 1999-09-14 Ulrich Drepper <drepper@cygnus.com> * configure.in: Define EXTRA_SHLIB_EXTENSION to ".sl" for HP target. * config.in: Add EXTRA_SHLIB_EXTENSION. * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): Search for second shared lib extension only if EXTRA_SHLIB_EXTENSION is defined.
1999-11-03Change the default endianness to little.Nick Clifton3-2/+7
1999-11-011999-11-01 Steve Chamberlain <sac@pobox.com>Ian Lance Taylor2-21/+92
* ldlang.c (section_already_linked): Rework to use hash table. (already_linked_newfunc): New function. (already_linked_table_init): New function. (already_linked_table_free): New function. (lang_process): Initialize and free the already_linked hash table.
1999-11-01Fixed test to disable these checks if the target is PE based.Nick Clifton2-1/+9
1999-10-29*** empty log message ***Catherine Moore1-1/+6
1999-10-29Remove test6.Catherine Moore2-63/+0
1999-10-28Fix testsuite failures for arm -linuxNick Clifton2-5/+11
1999-10-281999-10-27 Andreas Jaeger <aj@suse.de>Ian Lance Taylor2-0/+10
* ld/configure.host: Added HOSTING_CRT0, HOSTING_LIBS for target "mips*-*-linux-gnu*".
1999-10-27fix compile time warningsNick Clifton2-0/+8
1999-10-26Remove extraneous underscore from prototypeNick Clifton3-2/+9
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