aboutsummaryrefslogtreecommitdiff
path: root/ld/Makefile.in
AgeCommit message (Collapse)AuthorFilesLines
1996-02-15 * configure.in: Remove explicit substitution of CFLAGS; autoconfIan Lance Taylor1-0/+1
does it anyhow. * configure: Rebuild. * Makefile.in (LDFLAGS): Set to @LDFLAGS@.
1996-02-15 * configure.in: Substitute RPATH_ENVVAR.Ian Lance Taylor1-2/+3
* configure: Rebuild. * configure.host: Set RPATH_ENVVAR. * Makefile.in (RPATH_ENVVAR): New variable. (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
1996-02-14 * configure.tgt (*-*-ieee*): New target; use vanilla.Ian Lance Taylor1-83/+84
Wed Feb 14 18:49:01 1996 Alan Modra <alan@spri.levels.unisa.edu.au> * configure.in: Redo emulation handling so that each emulation searches the correct tool directory, based on the target alias. For example, "configure --enable-targets=m68k-coff i386-linux" will search /usr/local/i386-linux/lib for linux and /usr/local/m68k-coff/lib for m68k-coff. * configure: Rebuild. * configure.tgt: Add special tdir settings for Linux. * Makefile.in: Add @TDIRS@. Pass "$(tdir_EMUL)" to ${GENSCRIPTS} for each eEMUL.c target. * genscripts.sh: Accept specific alias as 9th argument, and use it in LIB_PATH.
1996-02-14Wed Feb 14 16:38:36 1996 Martin Anantharaman ↵Ian Lance Taylor1-1/+4
<martin@mail.imech.uni-duisburg.de> * ldlang.c (lang_set_startof): Don't do anything for a relocateable link. * ldgram.y (mri_script_file): Call mri_draw_tree. * mri.c (mri_draw_tree): Make globally visible. Don't bother to create memory regions. (mri_load): Don't call mri_draw_tree. * mri.h (mri_draw_tree): Declare. * configure.tgt (m68*-*-psos): New target. * emulparams/m68kpsos.sh: New file. * scripttempl/psos.sc: New file. * Makefile.in (ALL_EMULATIONS): Add em68kpsos.o. (em68kpsos.c): New target.
1996-02-07 * configure.in: Look for --enable-shared. Change the value ofIan Lance Taylor1-9/+15
BFDLIB when linking against a shared library on SunOS. * configure: Rebuild. * configure.host: If using a shared BFD library, try to pass a reasonable -rpath option when linking. * Makefile.in (BFDLIB): Set to @BFDLIB@.
1996-01-15update copyrightsIan Lance Taylor1-1/+2
1996-01-15 Add some Irix 5 support, mostly from Kazumoto KojimaIan Lance Taylor1-2/+2
<kkojima@info.kanagawa-u.ac.jp>: * emulparams/elf32bmip.sh (SCRIPT_NAME): Change to elfmips. (SHLIB_TEXT_START_ADDR): Define. (OTHER_GOT_SYMBOLS): Define. (OTHER_READWRITE_SECTIONS): Remove initialization of _gp. (EXECUTABLE_SYMBOLS): Don't define. (DYNAMIC_LINK): Don't define. * emulparams/elf32lmip.sh: Same changes as elf32bmip.sh. * scripttempl/elfmips.sc: New file. * configure.host (mips*-dec-bsd*): Change mips to mips*. (mips*-sgi-irix4*): Likewise. (mips*-sgi-irix5*): New entry. * Makefile.in (eelf32bmip.c): Depend upon elfmips.sc rather than elf.sc. (eelf32lmip.c): Likewise.
1996-01-12Add support for .sdata2/.sbss2 and old 2.7.2 compiler; Make text start at ↵Michael Meissner1-3/+7
64k; make data follow on next 64k page after text
1995-11-17 * Makefile.in (CC_FOR_TARGET): Use @host@ and @target@, notIan Lance Taylor1-4/+8
$(host_canonical) and $(target_canonical). (CXX_FOR_TARGET): Likewise.
1995-11-01Wed Nov 1 15:42:45 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 ↵Ian Lance Taylor1-1/+4
<manfred@lts.sel.alcatel.de> * Makefile.in (ALL_EMULATIONS): Add edelta68.o. (edelta68.c): New target. * configure.tgt (m68*-motorola-sysv3*): New target. * emulparams/delta68.sh: New file. * scripttempl/delta68.sc: New file. * scripttempl/m88kbcs.sc: Handle .init and .fini. Change section addresses.
1995-11-01 * emultempl/aix.em: Include ldgram.h.Ian Lance Taylor1-1/+1
(gld${EMULATION_NAME}_parse_args): Handle -pD and -pT, as used on AIX 4.1. * Makefile.in ($(EMULATION_OFILES)): Depend upon ldgram.h.
1995-10-28 * Makefile.in (ALL_EMULATIONS): Added support for the NetBSDNiklas Hallqvist1-2/+5
m68k4k arch. (em68k4knbsd.c): New rule. * configure.tgt: Added support for the NetBSD m68k4k arch. * genscripts.sh, ldint.texinfo, emulparams/{a29k,armaoutb,armaoutl,coff_sparc,ebmon29k,gld960, gld960coff,go32,h8300,h8300h,h8500,h8500b,h8500c,h8500m,h8500s, hp300bsd,hp3hpux,hppaelf.sh,i386aout,i386bsd,i386coff,i386go32, i386linux,i386lynx,i386nbsd,lnk960,m68kaout,m68kcoff,m68klynx, m88kbcs,mipsbig,mipsbsd,mipsidt,mipsidtl,mipslit,news,ns32knbsd, pc532machaout,rce,riscix,sa29200,sh,shl,sparclynx,sparcnbsd, st2000,sun3,sun4,vanilla,vax,vsta,w65,z8001,z8002}.sh: Changed PAGE_SIZE to TARGET_PAGE_SIZE. * emulparams/m68knbsd.h: Ditto. (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR): We have 8K pagesize. (EXECUTABLE_SYMBOLS): Hardcode __DYNAMIC to zero for the time being. * emulparams/m68k4knbsd.sh: New file. * scripttempl/aout.sc: Expand EXECUTABLE_SYMBOLS if relocating.
1995-10-25 * Makefile.in (diststuff): Also make info.Per Bothner1-9/+9
(maintainer-clean realclean): Also delete *.info*.
1995-10-16 * configure.tgt (powerpc-*-aix*): New target; use aixppc.Ian Lance Taylor1-4/+14
(rs6000-*-aix*): New target; use aixrs6. * emulparams/aixppc.sh, emulparams/aixrs6.sh: New files. * emultempl/aix.em: New file. * scripttempl/aix.sc: New file. * Makefile.in (ALL_EMULATIONS): Add eaixppc.o and eaixrs6.o. (eaixppc.c, eaixrs6.c): New targets.
1995-09-18 Based on patches by Alan Modra <alan@spri.levels.unisa.edu.au>:Ian Lance Taylor1-6/+6
* Makefile.in (CC_FOR_TARGET): Remove brokensed stuff. (CXX_FOR_TARGET): Likewise. (install): Likewise. (GENERATED_HFILES): Remove config.h. (.dep): Depend upon config.h.
1995-09-12 * Makefile.in (maintainer-clean): New target.Ian Lance Taylor1-1/+3
1995-09-11Revert Linux directory searching: it turns out that Linux no longerIan Lance Taylor1-5/+1
uses it.
1995-09-08 Add Linux style directory searching.Ian Lance Taylor1-2/+6
* configure.tgt: Add i386lelf to targ_extra_emuls for i[345]86-*-linuxaout* and i[345]86-*-linuxoldld. For i[345]86-*-linux*, set targ_emul to i386lelf, and add elf_i386 to targ_extra_emuls. * emulparams/i386lelf.sh: New file, a copy of elf_i386.sh. * emultempl/elf32.em: If TARGET_IS_i386lelf, use autoconf recommended mechanism to define DIR and struct dirent. (libcmp): New static function use only when TARGET_IS_i386lelf. (gld${EMULATION_NAME}_open_dynamic_archive): Likewise. * Makefile.in (ALL_EMULATIONS): Add ei386lelf.o (ei386lelf.c): New target.
1995-09-07 * config.in: Rename from config.h.in.Ian Lance Taylor1-2/+2
* configure.in: Call AC_CONFIG_HEADER with config.h:config.in. Check for config.h:config.in when creating stamp-h. * configure: Rebuild. * Makefile.in (stamp-h): Depend upon config.in rather than config.h.in. Set CONFIG_HEADERS to config.h:config.in when calling config.status.
1995-09-07 * Makefile.in (distclean): Remove config.h and stamp-h.Ian Lance Taylor1-2/+4
1995-09-06 * configure.in: Rewrite to use autoconf.Ian Lance Taylor1-67/+70
* configure.host: New file. * configure.tgt: New file. * aclocal.m4: New file. * configure: New file, built by autoconf. * acconfig.h: New file. * config.h.in: New file, built by autoheader. * sysdep.h: New file. * ld.h: Incorporate old contents of config.h. * config.h: Remove. * Makefile.in: Various changes for new configure script. Also: (CC_FOR_BUILD): Remove. (ldmain.o): Don't bother to ensure that EMUL is non-empty. (dep.sed): Use @SRCDIR@, not @srcdir@. * dep-in.sed: Use @SRCDIR@, not @srcdir@. * genscripts.sh: Create ldscripts if it does not exist. * ldemul.c, lexsup.c, mpw-emipsidt.c: Don't include "config.h". * mpw-esh.c, emultemp/*.em: Likewise. * ldmain.c: Likewise. Include <ctype.h>. Don't try to set HAVE_SBRK here. * config/*.mt, config/*.mh: Remove.
1995-08-08* Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Don't useJ.T. Conklin1-13/+15
$r/../gcc/xgcc unless it is present.
1995-07-07fsf address update, but not in COPYING filesKen Raeburn1-4/+10
1995-05-24 Add support for ARM-PE.Steve Chamberlain1-5/+18
* Makefile.in (ALL_EMULATIONS): Add armpe.o * configure.in: Recognize armpe. * config/arm-pe.mt: New file. * emulparams/armpe.sh: New file. * scripttempl/armpe.sc: New file.
1995-05-09Add little endian PowerPC support.Michael Meissner1-12/+26
1994-11-25Enable ld to build for RCE. This is not tested yet!Michael Tiemann1-0/+5
1994-11-24 * Makefile.in: Add eshl.o.Steve Chamberlain1-5/+9
* config/coff-sh.mt: Add shl emulation.
1994-11-04* Makefile.in (check): Add missing "else true" clause.Ken Raeburn1-1/+2
* emulparams/vax.sh (OUTPUT_FORMAT): Use "a.out". * scripttempl/go32coff.sc: Changes from DJ Delorie: Change default entry point to "start". Align at end of each section to 0x200. Start .text section 0x1000 later. Add _etext, _edata, _end symbols.
1994-11-01* Makefile.in (ALL_EMULATIONS): Added em68knbsd.o.J.T. Conklin1-4/+7
(em68knbsd.c): New target. * config/m68k-nbsd.mt: New file. * emulparams/m68knbsd.sh: New file. * configure.in (m68*-*-netbsd*): Use above configs.
1994-10-26* Makefile.in (ALL_EMULATIONS): Added ei386nbsd.o, ens32knbsd.oJ.T. Conklin1-102/+128
and esparcnbsd.o; sorted entries. (ei386nbsd.c,ens32knbsd.c,esparcnbsd.c): New targets. * config/netbsd532.mt: Removed. * emulparams/netbsd532.sh: Removed. * config/{i386-nbsd.mt,ns32k-nbsd.mt,sparc-nbsd.mt}: New files. * emulparams/{i386nbsd.sh,ns32knbsd.sh,sparcnbsd.sh}: New files. * configure.in (i[345]86-*-netbsd*, ns32k-pc532-netbsd*, sparc*-*-netbsd*): Use above configs.
1994-09-20 * Makefile.in (ALL_EMULATIONS): Add eelf32mipb.o and eelf32mipl.o.Ian Lance Taylor1-1/+4
(eelf32mipl.c): New target.
1994-09-10 * emulparams/elf32mipb.sh (TEMPLATE_NAME): Define as elf32.Ian Lance Taylor1-17/+20
(GENERATE_SHLIB_SCRIPT): Define as yes. (DYNAMIC_LINK): Define as false. * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Initialize config.dynamic_link to DYNAMIC_LINK if it is defined. (gld${EMULATION_NAME}_place_orphan): Reset stat_ptr at end. * Makefile.in (eelf32mipb.c): Depend upon elf32.em rather than generic.em.
1994-07-14ns32k port from Ian DallKen Raeburn1-8/+22
1994-06-09 * Makefile.in (check): Delete ld.new dependency so that a regressionBill Cox1-1/+1
test doesn't trigger a rebuild of the linker.
1994-06-03Rebuilt dependencies.Ian Lance Taylor1-1/+1
1994-06-02Use SunOS shared libraries on a Sun 3.Ian Lance Taylor1-1/+1
1994-06-02 Add support for SunOS shared libraries.Ian Lance Taylor1-1/+1
* aout.sc: Don't define __DYNAMIC here. Add new sections used by shared library support code. * emultempl/sunos.em: New file. * emulparams/sun4.sh (TEMPLATE_NAME): Define as sunos. * Makefile.in (esun4.c): Depend upon sunos.em, not generic.em.
1994-05-27changes from gas-2.3/binutils-2.4 dist (details in branch log msgs, changelogs)Ken Raeburn1-1/+1
1994-05-19 Add support for ELF shared libraries.Ian Lance Taylor1-1/+1
* ld.h (ld_config_type): Add field dynamic_link. * ldmain.c (main): Initialize config.dynamic_link to false. Warn on attempts to use -r with -relax, -call_shared or -s. * lexsup.c (longopts): Separate OPTION_CALL_SHARED from OPTION_NON_SHARED. Add OPTION_IGNORE. Adjust macro values accordingly. Add "dy" and "non_shared" options. Change "Qy" to OPTION_IGNORE for now. Handle OPTION_CALL_SHARED and OPTION_NON_SHARED by setting dynamic_link field accordingly. Handle OPTION_IGNORE by ignoring it. Clear dynamic_link field for -r and -Ur. * ldfile.c (ldfile_open_file): If config.dynamic_link is true, try opening a file with a .so extension first. * emultempl/elf32.em: New file. * emulparams/elf32_sparc.sh (TEXT_START_ADDR): Change to 0x10000. (NONPAGED_TEXT_START_ADDR): Likewise. (TEMPLATE_NAME): Define as elf32. (DATA_PLT): Define. * emulparams/elf_i386.sh (TEMPLATE_NAME): Define as elf32. * scripttempl/elf.sc: Add placement for new dynamic sections. Don't use CREATE_OBJECT_SYMBOLS. Define _etext, _edata and _end outside of any section. Don't use ALIGN(8); just let one section VMA follow another. Put .dynbss in .bss. Don't mention debugging sections; they'll be handled correctly anyhow. * Makefile.in (eelf_i386.c): Depend upon elf32.em, not generic.em.
1994-05-18 * Makefile.in (install): Redirect output of ln to /dev/null.Ian Lance Taylor1-1/+1
1994-05-11* ldver.c (ldversion): Updated version number.Ken Raeburn1-73/+83
* cdtest-foo.cc: Use explicit "#pragma implementation". * cdtest-bar.cc: Renamed from cdtest-func.cc. * Makefile.in: References to cdtest-func.o changed to cdtest-bar.o.
1994-05-04 * Makefile.in (mostlyclean): Remove cdtest.tmp, cdtest-ur,Ian Lance Taylor1-1/+2
cdtest-ur.out, and cdtest-ur.tmp.
1994-04-27 * Makefile.in, configure.in: Support for go32 coff.Steve Chamberlain1-1/+4
* config/i386-go32.mt: New file * emulparams/i386go32.sh: New file * scripttempl/i386go32.sc: New file
1994-04-27Tue Apr 26 17:20:03 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1-5/+5
* Makefile.in (em_m68klynx.c, em_i386lynx.c, em_sparclynx.c): Use Lynx-specific script templates. * configure.in (sparclite*-*-coff): Use coff-sparc. * emulparams/i386lynx.sh (SCRIPT_NAME): Set to i386lynx. * emulparams/sparclynx.sh (SCRIPT_NAME): Set to sparclynx. (ENTRY): Set to __main. * scripttempl/i386lynx.sc: New file, script for I386 Lynx. * scripttempl/m68klynx.sc: Add insertion of ctor/dtor sections. * scripttempl/sparclynx.sc: New file, script for uSparc Lynx.
1994-04-21 * Makefile.in (clean, distclean): Remove configdoc.texi.Ian Lance Taylor1-2/+3
1994-04-11 * Makefile.in (check): Set TCL_LIBRARY for runtest.Bill Cox1-4/+32
1994-02-26 * ldgram.y (dirlist_ptr): Removed; not used.Ian Lance Taylor1-10/+15
* lexsup.c: Include ldver.h. * Makefile.in: Rebuilt dependencies.
1994-02-25 * configure.in (powerpc-*-elf*): New target; use ppc-elf32.Ian Lance Taylor1-2/+6
* config/ppc-elf32.mt: New file. * emulparams/elf32ppc.sh: New file. * emultempl/ppc.em: New file. * Makefile.in (ALL_EMULATIONS): Added em_elf32ppc.o. (em_elf32ppc.c): New target; uses elf32ppc.sh, ppc.em and elf.sc. (EMULATION_OFILES): Added dependencies on ldexp.h and ldlang.h.
1994-02-25 Use getopt instead of lex and yacc to parse the command line.David MacKenzie1-5/+6
* ld.texinfo (Options): Document changes to option syntax. * Makefile.in: Update dependencies. * ldver.c (help): Tweak dashes in usage message. * ldgram.y (%union): Remove unused members. Remove %tokens for command line options; add ones for input types. (command_line): Rules removed. (file): Instead of command line, recognize an input type indicator, then use the nonterminal for that type. (defsym_expr): New nonterminal from code formerly in command_line. * ldlex.h: Declare parser input type enum and variable. Don't declare parse_line. * ldlex.l: Remove unused variables. Make some used ones static and comment them. (COMMAND): Start state and its rules removed. At start of yylex, return input state token if at start of input. (lex_redirect): Don't need to set yyout. (ldlex_command): Function removed. * ldmain.c (main): Instead of calling parse_line, set up the redirections and call yyparse directly. * ldmisc.c (vfinfo): If there's no input filename, print nothing, not "command line". * lexsup.c: Remove #if 0'd code. (parse_line): Function removed. (parse_args): Rewrite to use getopt_long_only. (set_default_dirlist): New function from code formerly in ldgram.y:command_line. (set_section_start): New function. * emultempl/generic.em, emultempl/gld960.em, emultempl/hppaelf.em, emultempl/lnk960.em, emultempl/m88kbcs.em: Don't enclose compiled-in link scripts in "{" and "}", as the grammar no longer wants them to be.
1994-02-16(install-info): Depend on ld.info, and use "$<*" soKen Raeburn1-6/+6
it'll get picked up from $(srcdir) if appropriate.