aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
2000-07-242000-07-24 H.J. Lu (hjl@gnu.org)H.J. Lu2-7/+12
* ld-elfvsb/elfvsb.exp: Add -g to $CC to get the location of the undefined reference.
2000-07-21Applied Michael's Sokolov's patch to implement --embedded-relocs for m68k coff.Nick Clifton5-3/+257
2000-07-202000-07-20 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+10
* 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. Lu4-2/+40
* 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-20Add optional style argument to --demangle switch.Nick Clifton3-7/+31
2000-07-20 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,Hans-Peter Nilsson10-281/+592
ecrislinux.o. (ecrisaout.c, ecriself.c, ecrislinux.c): New rules. Regenerate dependencies. * Makefile.in: Rebuild. * configure.tgt (cris-*-*): New target. * emulparams/crisaout.sh, emulparams/criself.sh, emulparams/crislinux.sh, scripttempl/crisaout.sc: New files. * po/POTFILES.in, po/ld.pot: Regenerate.
2000-07-202000-07-20 H.J. Lu <hjl@gnu.org>H.J. Lu2-17/+23
* 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. Lu6-52/+201
* 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. Lu2-0/+17
* emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call bfd_elf_set_dt_needed_soname ().
2000-07-19* pe-dll.c (pe_dll_id_target): check object target name alsoDJ Delorie2-1/+6
2000-07-17 * scripttempl/elf.sc (.init): Only do ${INIT_START} andHans-Peter Nilsson2-4/+10
${INIT_END} if relocating. (.fini): Likewise ${FINI_START} and ${FINI_END}.
2000-07-17* src/ld/emultempl/pe.em (gld_*_open_dynamic_archive): New searchDJ Delorie2-7/+31
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-17* pe-dll.c (process_def_file): auto-export data items alsoDJ Delorie2-3/+14
(pe_process_import_defs): also see if _imp_ form needed
2000-07-162000-07-16 H.J. Lu (hjl@gnu.org)H.J. Lu3-5/+57
* ld-elfvsb/elfvsb.exp (support_protected): New variable. Check and set to "yes" if the protected visibility is expected to pass. (visibility_run): Set expected to fail for the "protected" and "protected_undef_def" tests only if $support_protected is "no". * ld-elfvsb/main.c (PROTECTED_CHECK): Check for the protected visibility support if defined.
2000-07-152000-07-15 H.J. Lu (hjl@gnu.org)H.J. Lu4-7/+32
* ld-elfvsb/elfvsb.exp (visibility_run): Set expected failure for "protected_undef_def". * ld-elfvsb/main.c: Don't define HIDDEN_UNDEF_TEST when PROTECTED_WEAK_TEST is defined. Don't define PROTECTED_UNDEF_TEST when PROTECTED_WEAK_TEST is defined. Define PROTECTED_TEST when PROTECTED_UNDEF_TEST is defined. * ld-elfvsb/sh1.c (visibility): Mark protected only if PROTECTED_TEST, PROTECTED_UNDEF_TEST or PROTECTED_WEAK_TEST is defined. (visibility_var): Likewise.
2000-07-13* pe-dll.c (make_one): fix a typo in the __imp_ name decorationDJ Delorie2-1/+6
for dll import libraries
2000-07-12Support the g++ attribute init_priority in gcc 2.95.2 and later.Nick Clifton2-2/+15
2000-07-11Fix formatting and add missing new lkine at end of error messageNick Clifton2-65/+73
2000-07-11Remove some forward declarations in ldemul.h and ldfile.h, andAlan Modra31-82/+161
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. Lu2-5/+22
* 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-10Warning fix and remove extraneous hppa*-*-linux-gnu*.Alan Modra3-4/+9
2000-07-10Even more hppa testsuite patches.Alan Modra5-2/+24
2000-07-09hppaelf.em: Merge from elf32.em and implement multiple linker stubs.Alan Modra7-135/+579
Makefile.am: Re-enable ehppaelf.o, add ehppalinux.o configure.tgt: targ_emul=hppalinux for hppa*linux
2000-07-08Fix --section-start=xxxxAlan Modra2-4/+13
2000-07-07minor formatting changeDJ Delorie1-1/+1
2000-07-07* ld/emultempl/pe.em: institute the following search order forDJ Delorie2-9/+25
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 Delorie2-1/+58
(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-07-05add MAINTAINERS filesDJ Delorie2-0/+5
2000-07-022000-07-01 Koundinya K <kk@ddeorg.soft.net>Ulf Carlsson5-0/+47
* configure.tgt: Add traditional mips (mips*-*-sysv4*) target. * emulparams/elf32btsmip.sh: New file. * Makefile.am: Add traditional mips target. * Makefile.in: Rebuild.
2000-07-012000-07-01 H.J. Lu <hjl@gnu.org>H.J. Lu3-8/+19
* Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for automake to use YLWRAP. * Makefile.in: Rebuild.
2000-07-01Fix 2000-06-22. grep after running dep.sedAlan Modra3-8/+16
2000-06-30Remove unimplemented "PAGE N:" flag from default linker script.Timothy Wall2-3/+8
2000-06-27Applied Marek Michalkiewicz <marekm@linux.org.pl>'s patch to ehance the AVR ↵Nick Clifton2-1/+5
port.
2000-06-24arm-elf does --gc-sections too.Alan Modra2-2/+6
2000-06-22Ensure /usr/include and the like stay out of dependencies.Alan Modra3-5/+19
2000-06-222000-06-21 H.J. Lu <hjl@gnu.org>H.J. Lu3-140/+133
* Makefile.am: Rebuild dependency. * Makefile.in: Rebuild.
2000-06-202000-06-20 H.J. Lu <hjl@gnu.org>H.J. Lu3-128/+145
* Makefile.am: Rebuild dependency. * Makefile.in: Rebuild.
2000-06-20tic54x support.Timothy Wall1-0/+2
2000-06-20tic54x/ibmc54xdsp target for ld.Timothy Wall13-5/+318
2000-06-20Correct pointer comparisons relying on NULL less than any other pointer.Alan Modra2-1/+6
Alexander Aganichev's fix for ieee.c
2000-06-19Move "Changes in version 2.10" to where it belongs.Alan Modra2-2/+6
2000-06-19Update list of targets supporting --gc-sections.Alan Modra4-3/+12
KEEP .eh_frame contents.
2000-06-19Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add supportNick Clifton14-221/+1054
for m68hc11 and m68hc12 processors.
2000-06-15Correctly set SEC_READONLY for .text section.Alan Modra2-12/+17
2000-06-132000-06-13 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+5
* configure: Regenerate.
2000-06-08* configure.in (VERSION): Update to show this is the CVS mainline.David O'Brien2-1/+5
Approved by: Nick Clifton <nickc@cygnus.com> Message-Id: <200005222205.PAA14565@elmo.cygnus.com>
2000-06-08* emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require allDavid O'Brien2-1/+12
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-06-052000-06-05 H.J. Lu (hjl@gnu.org)H.J. Lu7-11/+230
* lib/ld-lib.exp (default_ld_link): Redirect the linker output to link_output and make it global. * ld-elfvsb/elfvsb.exp (visibility_test): Add "hidden_undef", "hidden_undef_def", "hidden_weak", "protected_undef", "protected_undef_def" and "protected_weak". (visibility_run): Likewise. * ld-elfvsb/main.c: Likewise. * ld-elfvsb/sh1.c: Likewise. * ld-elfvsb/sh2.c: Likewise. * ld-elfvsb/elfvsb.dat: Updated.
2000-06-052000-06-05 Michael Matz <matz@ifh.de>H.J. Lu3-1/+9
* ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in version scripts. * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
2000-05-27 * emulparams/avr1200.sh (STACK): Define as 0.Denis Chertykov10-4/+25
* emulparams/avr23xx.sh (STACK): Define as last internal SRAM address. * emulparams/avr4433.sh (STACK): Likewise. * emulparams/avr44x4.sh (STACK): Likewise. * emulparams/avr85xx.sh (STACK): Likewise. * emulparams/avrmega103.sh (STACK): Likewise. * emulparams/avrmega161.sh (STACK): Likewise. * emulparams/avrmega603.sh (STACK): Likewise. * scripttempl/elf32avr.sc (__data_start): Define for gcrt1. (__stack): Define from ${STACK} for main().