aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
AgeCommit message (Collapse)AuthorFilesLines
2000-11-132000-11-09 Philip Blundell <pb@futuretv.com>Phil Blundell1-0/+36
* emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME around orphan sections whose names can be represented in C.
2000-11-08Handle srdata sections emitted by Intel compiler.Jim Wilson1-0/+4
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
2000-10-16Add tests of return values from bfd function callsNick Clifton1-28/+59
2000-10-13Oops - fix mistake in previous delta where unused variable 'nsyms' wasNick Clifton1-5/+12
deleted, but along with its (necessary) call to bfd_canonicalize_symtab.
2000-10-13Add #ifdef DLL_SUPPORT around use of pe_dll_search_prefix.Nick Clifton1-9/+7
2000-10-12* emultempl/pe.em (pe_dll_search_prefix): New variable,DJ Delorie1-9/+44
(longopts): New --dll-search-prefix option. (gld_${EMULATION_NAME}_list_options): Document. (gld_${EMULATION_NAME}_parse_args): Handle. (gld_${EMULATION_NAME}_open_dynamic_archive): When linking dynamically, search for a dll named '<prefix><basename>.dll' in preference to 'lib<basename>.dll' if --dll-search-prefix is specified.
2000-10-02* emultempl/pe.em (gld_*_after_open): detect case where there twoDJ Delorie1-0/+76
import libraries for same dll; rename one to ensure proper link order. * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix typo (generate_edata): fix typo
2000-09-28oops, didn't mean to check in that change yetDJ Delorie1-21/+0
2000-09-28* pe-dll.c (process_def_file): Uninitialized data wasn'tDJ Delorie1-0/+21
exported with --export-all-symbols switch. * pe-dll.c (fill_edata): rearrange the data so that ordinals and noname work properly.
2000-09-27.plt stub for lazy linking, --stub-group-size=N ld switch,Alan Modra1-3/+32
import stub fix, extra DIR14F reloc to fix abort in tc_gen_reloc
2000-09-22Conditionalise the embedded relocs feature on the m68*-*-elf targetNick Clifton1-78/+117
2000-09-20Handle out of memory situations.Alan Modra1-3/+7
2000-09-18Group stub sections.Alan Modra1-5/+6
2000-09-15add support for embedded relocs in m68k ELF portNick Clifton1-0/+154
2000-09-07Fix an orphan section problem caused by weird linker scripts.Alan Modra1-20/+23
2000-09-07Fix list handling for orphan section output statements.Alan Modra1-25/+48
2000-09-06Fix place_orphan crash.Alan Modra1-2/+7
2000-09-06Regenerate files using fixed aclocal install.Nick Clifton1-1/+1
2000-09-05Shared lib support for elf32-hppaAlan Modra1-14/+67
2000-09-05--split-by-reloc, --split-by-file extensions. --unique option.Alan Modra1-28/+16
2000-08-252000-08-24 H.J. Lu <hjl@gnu.org>H.J. Lu1-6/+6
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't check -rpath nor LD_RUN_PATH for cross link. * ld.texinfo: Document the change.
2000-08-232000-08-23 H.J. Lu <hjl@gnu.org>H.J. Lu1-36/+14
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get the current runpath list from bfd_elf_get_runpath_list () before search.
2000-08-222000-08-22 H.J. Lu <hjl@gnu.org>H.J. Lu1-10/+66
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after LD_LIBRARY_PATH for native linker. Display the needed DSO if trace_file_tries is non-zero. (gld${EMULATION_NAME}_try_needed): Report the needed DSO found if trace_file_tries is non-zero. * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH. * News: Mention it.
2000-08-09Refer to -rpath not --rpath in error messageNick Clifton1-3/+3
2000-08-04Keep track of last optind value, and rename a couple of functionsAlan Modra1-18/+20
for consistency.
2000-07-28Add some shell variables and shell code to elf32.emAlan Modra4-1661/+223
to allow elf32.em to be used by ports that require some minor variations or a few extra functions. Implement for hppaelf and armelf. Fix header file include order in m68kcoff.em
2000-07-28Move functions around in preparation for next patchAlan Modra1-476/+491
2000-07-21Applied Michael's Sokolov's patch to implement --embedded-relocs for m68k coff.Nick Clifton1-0/+245
2000-07-202000-07-20 H.J. Lu <hjl@gnu.org>H.J. Lu1-0/+4
* emultempl/elf32.em (longopts): Duplicate "disable-new-dtags" and "disable-new-dtags" to stop getopt from treating -d/-e as abbreviations for these options.
2000-07-202000-07-20 H.J. Lu <hjl@gnu.org>H.J. Lu1-2/+17
* ld.texinfo: Add documentation for --disable-new-dtags and --enable-new-dtags. * ldmain.c (main): Initialize link_info.new_dtags to false. * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add --disable-new-dtags and --enable-new-dtags. (gld_${EMULATION_NAME}_list_options): Likewise.
2000-07-202000-07-20 H.J. Lu <hjl@gnu.org>H.J. Lu1-0/+1
* emultempl/elf32.em (gld_${EMULATION_NAME}_list_options): Print out ignored -z options.
2000-07-202000-07-19 H.J. Lu <hjl@gnu.org>H.J. Lu1-3/+151
* emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed. (PARSE_AND_LIST_PROLOGUE): New. (PARSE_AND_LIST_LONGOPTS): Likewise. (PARSE_AND_LIST_OPTIONS): Likewise. (PARSE_AND_LIST_ARGS_CASES): Likewise. * ldmain.c (main): Clear link_info.flags and link_info.flags_1. * lexsup.c (ld_options): Comment out 'z'. (parse_args): Likewise. * emultempl/elf32.em: Include "elf/common.h". (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z options. (gld_${EMULATION_NAME}_list_options): Likewise. * ld.texinfo: Add documentation for the recognized -z options.
2000-07-202000-07-19 H.J. Lu <hjl@gnu.org>H.J. Lu1-0/+12
* emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call bfd_elf_set_dt_needed_soname ().
2000-07-17* src/ld/emultempl/pe.em (gld_*_open_dynamic_archive): New searchDJ Delorie1-7/+24
order for dynamic library '-lfoo' on pei386: libfoo.dll.a, foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility errors introduced by the old dynamic lib search order.
2000-07-11Remove some forward declarations in ldemul.h and ldfile.h, andAlan Modra17-46/+72
re-arrange header include order. Fix shadowing warnings in ldlang.h Fix compile errors in mpw-elfmips.c
2000-07-102000-07-10 H.J. Lu <hjl@gnu.org>H.J. Lu1-3/+9
* emultempl/pe.em (pe_enable_stdcall_fixup): Protect with DLL_SUPPORT. (strhash): Likewise. (compute_dll_image_base): Likewise. (pe_undef_found_sym): Likewise. (pe_undef_cdecl_match): Likewise. (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the argument "arch" with ATTRIBUTE_UNUSED.
2000-07-09hppaelf.em: Merge from elf32.em and implement multiple linker stubs.Alan Modra1-83/+468
Makefile.am: Re-enable ehppaelf.o, add ehppalinux.o configure.tgt: targ_emul=hppalinux for hppa*linux
2000-07-07* ld/emultempl/pe.em: institute the following search order forDJ Delorie1-9/+18
dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import libs), libfoo.dll, foo.dll (link direct to dll). Fall back to static lib (libfoo.a) if none of the above are found.
2000-07-07* ld/emultempl/pe.em (pe_enable_auto_image_base): New variable.DJ Delorie1-1/+48
(longopts): New --{enable,disable}-auto-image-base options. (gld_${EMULATION_NAME}_list_options): Document. (gld_${EMULATION_NAME}_parse): Handle. (strhash): New static function. (compute_dll_image_base): New static function. (gld_${EMULATION_NAME}_set_symbols): Use.
2000-06-20tic54x/ibmc54xdsp target for ld.Timothy Wall1-0/+199
2000-06-19Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add supportNick Clifton1-4/+4
for m68hc11 and m68hc12 processors.
2000-06-08* emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require allDavid O'Brien1-1/+6
input objects to be ECOFF. (check_sections): einfo takes %B, not %P, to print a BFD name. Approved by: Nick Clifton <nickc@cygnus.com> Message-Id: <200006081748.KAA12555@elmo.cygnus.com>
2000-05-16Apply patch from Charles Wilson to make PE ports search for dynamic librariesNick Clifton1-8/+50
in foo.dll and libfoo.dll before libfoo.a.
2000-04-25place_orphan optimisationsAlan Modra3-177/+129
2000-04-182000-04-18 H.J. Lu <hjl@gnu.org>H.J. Lu2-6/+8
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call lang_leave_output_section_statement () after calling lang_enter_output_section_statement (). * emultempl/armelf.em: Likewise.
2000-04-18Yet another set of fixes for orphan sections.Alan Modra3-181/+239
2000-04-14Zero start address of orphan ~(SEC_LOAD | SEC_ALLOC) sections.Alan Modra3-45/+40
2000-04-12Keep output orphan sections in the same order as input.Alan Modra3-97/+155
2000-03-01Fix building with --enable-targets=all.Nick Clifton1-6/+11
2000-02-29GCC warning fix: Add missing NULL initialiser for find_potential_libraries.Alan Modra15-15/+30