aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
1992-05-05doc doc changesRoland Pesch1-0/+5
1992-05-05Doc for MRI-compatible linker scripts.Roland Pesch1-83/+214
1992-05-04 * ldver.c: Bumped version to 1.96 - new release, resync with theSteve Chamberlain10-154/+288
bfd too #. * ldexp.c, ldlang.c: now build memory shape tree in obstacks rather than with raw malloc, makes it easier to track where memory is going. * ldsym.h, ldsym.c: create obstack for all global symbols too. * ldwrite.c (ldwrite): moved malloc so only used when needed. * sa29200-sc.sh: added support for .lit, data1 and data2 sections.
1992-05-02More 29200 stuffSteve Chamberlain4-0/+48
1992-05-02New stuff for 29200Steve Chamberlain2-2/+13
1992-05-02 * ldgram.y, ldlex.c, mri.c: added more compatible words; BASE, ALIAS andSteve Chamberlain3-12/+30
PUBLIC. * Makefile.in: now use flex, not lex
1992-05-02use bootstrap for checkK. Richard Pixley3-2/+8
1992-05-01Add hp300bsdSteve Chamberlain1-0/+1
1992-05-01Add mri.hSteve Chamberlain1-1/+5
1992-05-01lintSteve Chamberlain3-39/+41
1992-04-22rework CFLAGS such that they can be passed on command line to makeK. Richard Pixley2-18/+13
1992-04-22 * ldlex.l: added CMDFILENAMECHAR state so that you can lexSteve Chamberlain2-1/+15
different sorts of filenames on the command line than in a script.
1992-04-21tooldir copy of ld belongs directly in tooldirK. Richard Pixley2-8/+22
1992-04-17 * relax.c: added handling for new "padding" seclet type, used toSteve Chamberlain3-6/+50
fill out gaps between section. * ldgram.y, ldlex.l: now -defsym on the command line is done properly.
1992-04-16Lint found by Rich and gccSteve Chamberlain3-5/+19
1992-04-15added mri.cSteve Chamberlain1-1/+5
1992-04-15Strange link script supportSteve Chamberlain4-14/+73
1992-04-15Personal checkpoint - now should parse some MRI stuffSteve Chamberlain8-78/+383
1992-04-14Changed to allow hosting on an Apollo Series 400 under the BSD4.3 emulationSean Eric Fagan1-0/+6
environment.
1992-04-09Install second copy as $(tooldir)/bin/ld, since that's what gcc wants.Ken Raeburn2-2/+7
1992-04-05New lexer.Steve Chamberlain17-966/+942
New targets for h8/300 simulator and DOS
1992-03-17Fix for new filenamesSteve Chamberlain1-1/+1
1992-03-16i960 bitrot fixSteve Chamberlain2-3/+3
1992-03-14install man page tooK. Richard Pixley1-0/+4
1992-03-13 * config/mt-<foo> renamed to <foo>.mtSteve Chamberlain3-35/+76
* config/mh-<foo> renamed to <foo>.mt * configure.in changed to reflect this * genscripts.sh now make .xbn files rather than .xN files
1992-03-07*** empty log message ***Steve Chamberlain1-1/+6
1992-03-07Lint removal, extra prototypes.Steve Chamberlain5-15/+29
Recopied cplus-dem from gdb, makes more things come out right.
1992-03-06 * ldmain.c (Q_enter_file_symbols): now aliases work againSteve Chamberlain2-24/+43
1992-03-02Modifed to care about semi colons again, newlines are ignored - sorrySteve Chamberlain9-91/+82
Per.
1992-02-27Why didn't it start emacsSteve Chamberlain3-1/+1384
1992-02-22DJ naming changeSteve Chamberlain3-3/+611
1992-02-21 * Makefile.in: Change mkscript rule into one for ./mkscriptPer Bothner1-32/+121
(for the sake of makes that don't realize they're the same). * PORTING: Add more details. * genscripts.sh: Add more tailorability of DATA_ALIGNMENT.
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.