aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
1993-06-17Support for constructors.Steve Chamberlain1-0/+11
1993-06-17 * Makefile.in (.cc.o): Restore .SUFFIXES entry for .ccDavid MacKenzie2-0/+12
and .cc.o rule.
1993-06-17Moved to emulparams subdir.David MacKenzie29-204/+0
1993-06-17Moved to scripttempl subdir.David MacKenzie17-576/+0
1993-06-17Moved to emultempl subdir.David MacKenzie10-1161/+0
1993-06-17No longer needed.David MacKenzie1-43/+0
1993-06-17 * ldfile.c (ldfile_open_command): Don't try .ld extension.David MacKenzie63-743/+1774
It wasn't documented (or likely used) and wastes time. (try_open): If EXTEN is empty, don't try it. * ldctor.c, lderror.c, ldexp.c, ldfile.c, ldindr.c, ldlang.c, ldlex.l, ldmain.c, ldmisc.c, ldsym.c, ldver.c, ldwarn.c, ldwrite.c, lexsup.c, mri.c, relax.c: Replace DEFUN macro calls with normal function declarations. * Move *.em to emultempl/*.em. Move *.sh to emulparams/*.sh. Move *.sc-sh to scripttempl/*.sc. * {emultempl,emulparams,scripttempl}/README: New files. * sh.em, st2000.em, z8ksim.em, h8300hms.em, h8500hms.em: Files removed, replaced with generic.em. * h8300.sh, h8500.sh, h8300.sc, h8500.sc: Renamed from h8[35]00hms.s[ch]. Change their contents to omit the "hms". * *.em (*_get_script): Return script name instead of script contents. * ldlang.c (lang_process): Change caller. * ldlex.l, ldgram.y: Recognize -m option. Check for input files after *all* options in grammar. * ldmain.c (main): Check for -m options. Add default directory for -m. * mkscript.c: File removed. * genscripts.sh: Take two more parameters, tooldirlib and libdir, to add to the default LIB_PATH. Look for input files in the new subdirectories. Create the scripts in emulations subdirectory and don't filter them through mkscript. * configure.in: Make the emulations subdirectory. * Makefile.in: Account for all of the above changes. Remove unused .SUFFIXES. Get libgcc.a path with gcc -print-libgcc-file-name instead of $(libdir)/libgcc.a. Put CFLAGS last in the compilation rules. Add -I../bfd to INCLUDES so sysdep.h is found. * ldfile.c (try_open): If opening without the extension fails, try with the extension even if -v or -V was given. had_script is imported (from ldgram.y), not exported.
1993-06-16Nuke dir.David MacKenzie2-70/+0
1993-06-16look in ../include instead of ../bfd for bfd.hKen Raeburn1-1/+1
1993-06-16Makefile.in, aout.sc-sh, hp3hpux.sh changesKen Raeburn1-0/+10
1993-06-16* aout.sc-sh: Add SHLIB_PATH like STACKZERO. Make STACKZEROKen Raeburn2-1/+4
dependent on RELOCATING, not RELOCATION. * hp3hpux.sh (SHLIB_PATH): Define it.
1993-06-16remove parentdir support; use INSTALL_XFORMDavid D. Zuhn2-17/+28
1993-06-10 * ldexp.c (exp_fold_tree): Don't lose the old flag bits.Ian Lance Taylor2-1/+21
* ldgram.y (statement_list_opt): New nonterminal, either empty or statement_list. (section): Use statement_list_opt, not statement_list. * m68kcoff.sc-sh: Gather constructors and destructors and define __CTOR_LIST__ and __DTOR_LIST__ appropriately. * sa29200.sc-sh: Gather constructors and destructors and define ___CTOR_LIST__ and ___DTOR_LIST__ appropriately.
1993-06-07 * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h.Per Bothner2-17/+22
* configure.in: No longer need to configure to get sysdep.h.
1993-06-04 * Makefile.in: remove old C++ rules; remove install:all andDavid D. Zuhn2-7/+8
install-info:info dependencies (these cause some spurious rebuilds at 'make install' time)
1993-06-04Support for Alpha.Steve Chamberlain2-0/+3
1993-06-04Remove sh sanitization comments.Ian Lance Taylor1-9/+2
1993-06-04 * configure.in (mips-idt-ecoffl*): New target; use mips-idtl.Ian Lance Taylor6-1/+22
(mips-idt-ecoff*): Added trailing '*'. * config/mips-idtl.mt: New file; use EMUL of mipsidtl. * mipsidtl.sh: New file; like mipsidt.sh, but little endian. * Makefile.in (ALL_EMULATIONS): Added em_mipsidtl.o.
1993-06-04 * config/sun3.mh (HOSTING_LIBS, HOSTING_EMU): Removed obsolete andIan Lance Taylor2-2/+5
incorrect definitions.
1993-06-01 * ldsym.c (write_file_locals): Write BSF_CONSTRUCTORPer Bothner2-2/+10
symbols, unless stripping.
1993-05-27added things-to-lose sectionsK. Richard Pixley3-0/+7
1993-05-25 * Makefile.in: configure looks for ####, so remove lines with manyIan Lance Taylor5-10/+39
'#' characters. * config/irix4.mh, config/i386v.mh: New files; set HOSTING_CRT0 and HOSTING_LIBS correctly so that ``make check'' will work.
1993-05-20missed part of renaming updateKen Raeburn1-1/+1
1993-05-20 * mips.sc-sh: Define _etext, _edata, and _end, in additionPer Bothner1-0/+3
to etext, edata, and end. Needed for IRIX 4.0.5F. Patch from mwp@iconix.oz.au (Michael Paddon).
1993-05-20missed this in mipsbsd renamingKen Raeburn1-1/+1
1993-05-20rename aout-mipsbsd.sc-sh to mipsbsd.sc-sh for 14-char file systemsKen Raeburn2-0/+16
1993-05-17New file.Per Bothner3-0/+21
1993-05-14 * mips.sc-sh: Don't define BSS_VAR unless relocating.Ian Lance Taylor1-1/+1
1993-05-06keep new files; get rid of trailing spaces after sh-support file namesKen Raeburn2-3/+10
1993-05-05hppaosf host & target makefile fragsKen Raeburn2-0/+4
1993-05-05*** empty log message ***Ken Raeburn1-0/+23
1993-05-05missed a fileKen Raeburn1-0/+8
1993-05-04 * mips.sc-sh: Put constructors in the .data section.Ian Lance Taylor3-1/+7
* Makefile.in (cdtest): Added dependency on ld.new.
1993-05-04 * Makefile.in: Change definition of $(tooldir) to match FSF.Per Bothner5-237/+71
* vax.sh, config/vax.mt, configure.in, Makefile.in: Support VAX Ultrix and BSD.
1993-05-04 * config/vax.mt: Support VAX Ultrix and BSD.Per Bothner2-0/+2
1993-05-03More resonable default.Steve Chamberlain1-6/+2
1993-05-03hppa-osf(elf) support filesKen Raeburn2-0/+144
1993-05-03comment formatting fixupKen Raeburn1-2/+2
1993-04-29Clean up English and Texinfo usage.David MacKenzie1-523/+306
1993-04-28changes for hp300hpux -- won't be enabled until bfd work is doneKen Raeburn3-0/+9
1993-04-27sh.em, sh.sh, sh.sc-sh: New files supporting Hitachi SH.Steve Chamberlain6-1/+151
1993-04-09Support for the H8/500Steve Chamberlain8-57/+78
1993-04-02 * ldlang.c (lang_output_section_statement_lookup): Initialize allIan Lance Taylor2-0/+21
fields of newly created structure.
1993-03-30ld.texinfo:Roland Pesch3-11/+50
Conditionalize manual to maintain Cygnus, Hitachi versions in parallel. (Texinfo conditionals are stable enough to permit this, at last!) NOTE: @ignore'd passages from earlier versions DELETED; use CVS history to retrieve if wanted. gen-doc.texi, h8-doc.texi: manual configuration definitions. Makefile.in: link config defn (`gen' by default) to configdoc.texi, included by ld.texinfo .Sanitize: add gen-doc.texi, h8-doc.texi
1993-03-30 Support for linking and loading at different places:Steve Chamberlain4-48/+107
* ldlex.l: Add "AT" keyword. * ldgram.y: Cleanup, and parse AT. * ldlang.c (print_output_section_statement): Print output address of section in map. (lang_size_sections): Fill sections' lma with load address. * ldlang.h (lang_output_section_statement_type): Add load_base information.
1993-03-30Tue Mar 30 09:40:25 1993 Steve Chamberlain (sac@thepub.cygnus.com)Steve Chamberlain6-642/+783
* ldindr.c (add_indirect): Keep more information in the alias symbol chain. * ldlang.c (wild_doit): Don't inherit NEVER_LOAD section attribute from an input section. * ldmain.c (Q_enter_file_symbols): Common section is NEVER_LOAD by default. (Q_enter_file_symbos): Indirect symbols now are known by their section, not a special symbol flag. * ldsym.c (write_file_locals): Indirect symbols aren't local. (write_file_globals): Write the mapping for an indirect symbol. * relax.c (build_it): When forced to write a NEVER_LOAD section, fill it with zeros.
1993-03-30Fix index reference (h8/300, not i960).Roland Pesch1-87/+120
1993-03-23add dvi & installcheckDavid D. Zuhn1-0/+18
1993-03-09Removed obsolete Makefile.dos.Ian Lance Taylor2-584/+4
1993-03-04 * mips.sc-sh: Added variables which may be overridden by aIan Lance Taylor6-7/+37
specific emulation. * mipsidt.sh: New file; emulation for IDT MIPS board. * Makefile.in (ALL_EMULATIONS): Added em_mipsidt.o. (em_mipsidt.c): New target. Uses mipsidt.sh and mips.sc-sh. * config/mips-idt.mt: New file; sets EMUL to mipsidt. * configure.in (mips-idt-ecoff): New target; uses mips-idt.