aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
AgeCommit message (Collapse)AuthorFilesLines
2001-05-032001-05-03 H.J. Lu <hjl@gnu.org>H.J. Lu1-35/+13
* emultempl/elf32.em: Include "libiberty.h". (gld${EMULATION_NAME}_vercheck): Call basename () to get the basename of the bfd filename. (gld${EMULATION_NAME}_stat_needed): Likewise. (gld${EMULATION_NAME}_try_needed): Likewise. (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
2001-05-022001-05-02 H.J. Lu <hjl@gnu.org>H.J. Lu1-0/+2
* emultempl/pe.em: Include <ctype.h>.
2001-05-02Add gas and ld support for openriscNick Clifton2-2/+2
2001-03-20 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAMEUlrich Drepper1-0/+3
is an absolute path look only for this file and not along the path.
2001-03-17 * emultempl/elf32.em (OPTION_GROUP): New macro.Ulrich Drepper1-0/+13
Add new option Bgroup to longopts. (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs. (gld*_list_options): Add -Bgroup and -z defs. * ld.1: Document -Bgroup and -z defs. * ld.texinfo: Likewise.
2001-03-13Fixtypos in ChangeLogs, fix copyright dates in filesNick Clifton18-18/+19
2001-03-05* emultempl/m68kelf.em (m68k_elf_after_allocation): CallAlan Modra1-1/+1
after_allocation_default, not gld..._before_allocation.
2001-01-24 * emultempl/elf32.em: Correct spelling in comments and listedHans-Peter Nilsson1-8/+8
options.
2001-01-14Automatically enable --unique=.text for elf32-hppa.Alan Modra1-2/+20
2001-01-14Extend "ld --unique" functionality.Alan Modra1-22/+22
2001-01-082000-01-07 David O'Brien <obrien@BSDi.com>David O'Brien1-4/+13
* emultempl/elf32.em: Only perform Linux ld hints processing when targeting Linux. Approved by: Nick Clifton <nickc@redhat.com> Message-Id: <200101040127.RAA15127@elmo.cygnus.com>
2000-12-26Add --no-default-excludes option for PE targetsNick Clifton1-3/+7
2000-12-12Remove spurious whitespaceNick Clifton1-1/+1
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