Age | Commit message (Collapse) | Author | Files | Lines |
|
* 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.
|
|
|
|
* 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.
|
|
|
|
|
|
|
|
|
|
* ld/configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
target "mips*-*-linux-gnu*".
|
|
|
|
|
|
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.
|
|
merging sections when not relocating.
|
|
(fill_exported_offsets): here. New static function.
(fill_edata): Use.
|
|
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.
|
|
in .sdata too.
|
|
|
|
|
|
they've been renamed to ".stub", which is handled automatically
by elf.sc.
|
|
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.
|
|
|
|
(DATA_START_SYMBOLS): Kill __hp_load_map definition
|
|
Use the same filename extension for the bfd_elf_dt_needed_name call
as we did for finding the library.
|
|
(OTHER_READWRITE_SECTIONS): No longer define __hp_load_map.
|
|
|
|
(SHLIB_DATA_ADDR): Likewise.
* emulparms/elf64hppa.sh (TEXT_DYNAMIC): Define.
|
|
|
|
the .plt, .dlt, .opd into a single output section. Provide values
for __gp and __hp_load_map.
|
|
|
|
* emultempl/pe.em (gld_${EMULATION_NAME}_after_open): allow for
terminating null.
|
|
|
|
|
|
Search for file with .sl extension if no file with a .so extension
is found.
|
|
* emultempl/pe.em: Remove the output file at the start, in case it
is not writable.
|
|
at the start of the .dlt output section.
|
|
(gld_${EMULATION_NAME}_after_open): Use xmalloc rather than
bfd_alloc.
|
|
* ld.h (ld_abort): Declare.
(abort): Define.
* ldmisc.c (ld_abort): Define.
|
|
* scripttempl/pe.sc: Use ${ENTRY} rather than _mainCRTStartup.
Move .bss section after .rdata. Move .reloc section after .rsrc.
|
|
* emulparams/i386pe.sh (ENTRY): Define as _mainCRTStartup.
|
|
* lexsup.c (parse_args): Use strtoul for --split-by-reloc
argument.
|
|
* lexsup.c (parse_args): If we get an unrecognized argument,
mention --help.
|
|
* ldlang.c (section_already_linked): Use comdat information if it
is available.
|
|
|
|
* 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.
|
|
* 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.
|
|
from int to enum bfd_endian.
|
|
INITIAL_SYMBOL_CHAR.
* emulparams/armpe.sh: Likewise.
* emulparams/morepe.sh: Likewise.
* emulparams/ppcpe.sh: Likewise.
* emulparams/i386pe.sh (SUBSYSTEM): Define as PE_DEF_SUBSYSTEM.
|
|
|
|
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.
|
|
(DATA_ADDR): Define.
|
|
|