aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
1992-02-17New hp300bsd port.Per Bothner5-1/+25
1992-02-16*** empty log message ***Per Bothner1-30/+38
1992-02-15 * Makefile.in: Major changes. Removed some the sedPer Bothner6-220/+232
magic to converts scripts, since that is now handled by genscripts.sh and the *.sc-sh scipt generators. * config.h: Remove a bunch of macros defining emulations and targets. This becomes one less file to edit when adding emulations or targets. * ldemul.h (struct ld_emulation_xfer_struct): Add emulation_name and target_name fields. * ldemul.c, ldemul.h: Define some default functions used by most emulations (and remove from the *.em scripts). * ldemul.c (ldemul_choose_target): Search the new ld_emulations array using a loop (instead of a hardwired nested if statement). Define the ld_emulation from the automatically-geenrated ldemul-list.h. This means you no longer have to edit ldemul.c to add a new emulation. * ldmain.c: Replace {GLD,LNK}960_EMULATION_NAME by their expansions, since the former no longer exist. * PORTING: A very rough first draft of a porting guide.
1992-02-15 * config/mt-foo: Changed EMUL=GLDFOO_EMULATION_NAMEPer Bothner19-20/+23
to EMUL=foo. (The GLDFOO_EMULATION_NAMEs have bee removed.) * config/mh-foo: Rename LDEMULATION names as appropriate (usually 'gldfoo' -> plain 'foo').
1992-02-15 Major rewrite of how ld is configured. The major ideaPer Bothner12-0/+135
is to use shell scripts to generate everything. * Each emulation is defined by a short shell script with extension *.sh that specifies the emulation-specific parameters (such as the name of the *.sh-sc and *.em files to use). * genscript.sh is the master shell script used to generate an emulation. It is passed various argument, including the name a the emulation-speciic *.sh file that it "sources" to set variables to emulation-specifc parameters.
1992-02-15 Major rewrite of how ld is configured. The major ideaPer Bothner12-0/+880
is to use shell scripts to generate everything. * generic.em replaces ldtemplate. * Other *.em files replace various *.c files. A *.em file is a shell script that generates the corresponding ld__*.c file that implements an emulation. This is usually a straight 'cat' of a here-document, possibly with substitutions. * Script files (*.sc) are places by *.sc-sh scripts. Again, these are simple shell scripts that 'cat' here-documents, usually with some substitutions. The output a *.sc-sh is a script file.
1992-02-12Make the emulation GLD960, not GLDSteve Chamberlain1-2/+1
1992-02-11ldlang.c: now won't core dump with -MSteve Chamberlain1-1/+3
configure.in: add configure target for vxworks960
1992-02-11 * ldexp.c, ldlang.c: added new idea "abs_output_section", removesSteve Chamberlain1-9/+34
tests for NULL pointers all over the place. * ldlang.c (lang_process): remember to relocate global symbols *after* relaxing has done it stuff.
1992-02-10Make undefined refs not make an executableSteve Chamberlain1-2/+2
1992-02-07added mt-sun3 mt-vxworks68 mt-vxworks960Heinz G. Seidl1-0/+3
1992-02-07added h8300hms.c and h8300hms.scHeinz G. Seidl1-1/+6
1992-02-07Add ${srcdir} for makefile_frags.Michael Tiemann1-5/+6
1992-02-06From h8300hds*Steve Chamberlain2-0/+165
1992-02-06 * config/mt-coff-h8300: use EMUL like everything elseSteve Chamberlain2-3/+3
* ldlang.c: (print_padding_statement): print the right address. * Makefile.in, config.h, ldemul.c: renamed h8300hds to h8300hms
1992-02-04 * ldlex.l: Put pack -noinhibit-exec and -sort-commonSteve Chamberlain2-2/+18
* ldlang.c (print_data_statement): print the right address.
1992-02-02Work around for problems in linking C++ programs that need file-levelMichael Tiemann2-18/+21
initialization. Now C++ programs can be linked.
1992-02-01A change to the makefile got lost; ldmain. forgot that it should setSteve Chamberlain1-7/+10
DEFAULT_EMULATION, so ld didn't know who it was.
1992-01-29add bootstrap targetK. Richard Pixley1-0/+3
1992-01-29ldlnk960.c: Special #ifdef to choose little endian onySteve Chamberlain3-3/+13
ldgram.y: allow forward ref of section
1992-01-29 * config/mh-sparc.h: now uses libgcc.aSteve Chamberlain14-14/+115
* ldmain.c: quit using exit * *.sc: use *(COMMON) rather than [COMMON] * ldlex.l, lexsup.c: much thinking moved from .l and put into .c, to allow preprocessing of .l file. * Makefile.in: New ldlex.l mangling * ldexp.c (fold_binary): perform expressions with % and / in integer. * ldfile.c (open_a): open archives on VMS in a special way * lderror.c: forgot to check in from a long while ago
1992-01-28 * ldgram.y: map -M behave in the same way as -Map (sets file nameSteve Chamberlain5-185/+61
to be "-". * ldsym.c, ldlang.c: remember that size of a section is dependent on whether or not relaxing has been done. * ldmain.c: don't open a map file if it doesn't have a name * relax.c: all the brains have moved into bfd. * ldwrite.c: ammend comment
1992-01-24Now compiles with gcc too.Steve Chamberlain2-6/+5
1992-01-24target file for h8300Steve Chamberlain1-0/+1
1992-01-24.Sanitize: added relax.cSteve Chamberlain3-86/+91
ldsym.c ldlang.* more map stuff
1992-01-24 * Makefile.in: added relax, also made three stage go through aSteve Chamberlain9-123/+492
partial link stage. * relax.c : added * config.h: if GNU960 defined, then default emulation mode is GLD960 * ldexp.h, ldexp.c: map to file hooks * ldlang.c: map to file hooks * ldgram.y: added -Map -relax * ldlex.l: added -relax, -Map * ldmain.c: open map file * ldmisc.c: support for map file * ldwrite.c: new relax magic
1992-01-24install ld in the gcclibdir if presentHeinz G. Seidl1-2/+10
1992-01-24Merging from VMS port. Doc to follow..Steve Chamberlain8-712/+995
1992-01-24(1) describe -relaxRoland Pesch1-3/+18
(2) push rev, copyright dates to present
1992-01-24(1) describe -relaxRoland Pesch1-258/+419
(2) restructure machine dependencies into separate chapter (3) replace pretty, but quick to become obsolete, graph of BFD platforms vs architectures with extended excerpt from (and ref to ) objdump -i.
1992-01-21Initial revisionMichael Tiemann2-0/+4
1991-12-30Initial revisionSteve Chamberlain1-0/+1
1991-12-20* Makefile.in, config/tm-*.h: Clean up make output, onlyJohn Gilmore9-13/+9
pass DEFAULT_EMULATION to ldmain.c.
1991-12-12Add mt-coff-h8300Steve Chamberlain1-0/+1
1991-12-12New dos filesSteve Chamberlain1-1/+6
1991-12-12Initial revisionSteve Chamberlain2-0/+533
1991-12-10* Makefile.in: Pass -y to bison. (Again; accidentally deleted by Rich.)Per Bothner4-50/+117
* news.sc, ldgld68k.sc: Define __end as well as _end.
1991-12-08*** empty log message ***Steve Chamberlain1-1/+5
1991-12-08 * ldindr.h: added to contain prototypes of ldindr.cSteve Chamberlain1-1/+1
* ldfile.c: include ctype.h * ldmain.c: include the requried prototype headers * ldwrite.c: get_reloc_upper_bound has been renamed bfd_get_reloc_upper_bound
1991-12-08Initial revisionSteve Chamberlain1-0/+9
1991-12-07Fri Dec 6 23:29:26 1991 K. Richard Pixley (rich at rtl.cygnus.com)K. Richard Pixley2-3/+53
* Makefile.in: punt "fundamental" mode because it breaks my emacs macros. install using INSTALL_PROGRAM and INSTALL_DATA. remove spaces following hyphens, bsd make can't cope. added standards.text support and made it look like all the other makefiles. * configure.in: configure now runs entirely in objdir so make file existence checks against ${srcdir}. Mark this directory as target dependent. Thu Dec 5 22:46:16 1991 K. Richard Pixley (rich at rtl.cygnus.com) * Makefile.in: idestdir and ddestdir go away. Added copyrights and shift gpl to v2. Added ChangeLog if it didn't exist. docdir and mandir now keyed off datadir by default.
1991-12-01HOSTING_LIBS now reflects where libgnu livesSteve Chamberlain1-1/+1
1991-11-29Uses something which will actuall work on an ebmon systemSteve Chamberlain1-35/+24
1991-11-26Mon Nov 25 18:28:40 1991 Steve Chamberlain (sac at cygnus.com)Steve Chamberlain2-14/+17
* config.h: h8 is now coff, not ieee * h8300hds.sc: reflect the same
1991-11-21.Sanitize:Steve Chamberlain2-1/+2
Include mh-delta88 mh-delta88: Remove gratuitous greeting
1991-11-15Remove ldgld.c, ldgld68k.c, ldm88k.c, since these arePer Bothner1-4/+5
now automatically generated.
1991-11-15Update HOSTING_LIBS (for Cygnus).Per Bothner1-1/+1
1991-11-14allow for yacc, whether or not it really worksK. Richard Pixley1-4/+3
1991-11-14build and install infoK. Richard Pixley1-2/+9
1991-11-14(1) better filtering of roff-formattable doc targetsRoland Pesch1-12/+16
(2) better (I think) conformance to local practice re $(srcdir) and makeinfo -o