aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlex.l
AgeCommit message (Collapse)AuthorFilesLines
1993-07-07Don't define bfd_vma here!Ken Raeburn1-4/+7
(Wasted at least a day tracking this damn thing down...)
1993-06-17 * ldfile.c (ldfile_open_command): Don't try .ld extension.David MacKenzie1-21/+30
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-03-30 Support for linking and loading at different places:Steve Chamberlain1-1/+9
* 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-01-08 Fix support for NOLOAD, add INCLUDESteve Chamberlain1-33/+50
* ldfile.c (ldfile_open_command_file): pass file name to lex_push_file. * ldlex.l, ldgram.y: tidy up, parse INCLUDE and NOLOAD * ldlang.c (wild_doit): make output sections inherit NEVER_LOAD attribute.
1992-12-07 -y supportSteve Chamberlain1-32/+54
* ld.texinfo: new doc. * ldgram.y, ldlex.l: understand -y<symbol> * ldmain.c (Q_enter_file_symbols): if had -y, lookup symbol and print info. (add_ysym): new function. * ldsym.h: (ldsym_type): new define SYM_Y.
1992-08-13 * ldlex.l: now parses comment correctly, added ~ to acceptableSteve Chamberlain1-16/+42
chars in filenames * ldexp.c (exp_unop): pass down abs_output_section - now can have unary -ve constants. * ldlang.c (lang_finish): warn when an entry symbol supplied on the command line can't be found.
1992-05-22 * ldlex.c: Fix some unnecessary flex-specific-isms.Per Bothner1-21/+13
1992-05-01lintSteve Chamberlain1-4/+4
1992-04-22 * ldlex.l: added CMDFILENAMECHAR state so that you can lexSteve Chamberlain1-1/+10
different sorts of filenames on the command line than in a script.
1992-04-17 * relax.c: added handling for new "padding" seclet type, used toSteve Chamberlain1-4/+19
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 Chamberlain1-0/+9
1992-04-15Strange link script supportSteve Chamberlain1-4/+7
1992-04-15Personal checkpoint - now should parse some MRI stuffSteve Chamberlain1-6/+50
1992-04-05New lexer.Steve Chamberlain1-462/+355
New targets for h8/300 simulator and DOS
1992-01-24 * Makefile.in: added relax, also made three stage go through aSteve Chamberlain1-5/+19
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
1991-06-04*** empty log message ***Steve Chamberlain1-1/+5
1991-05-07Fixed the shift reduce errors in the grammer using the yacc debugger.Steve Chamberlain1-3/+0
Removed some lint highlighted by the same.
1991-05-03*** empty log message ***Steve Chamberlain1-0/+1
1991-04-24Added the sizeof_headers keyword.Steve Chamberlain1-0/+2
1991-04-23*** empty log message ***Steve Chamberlain1-6/+25
1991-04-19Yet more diffs due to my incompetence.Steve Chamberlain1-111/+97
1991-04-18Fixed some bugs.Steve Chamberlain1-35/+31
1991-04-17Added keywordsSteve Chamberlain1-1/+3
FORCE_COMMON_ALLOCATION OUTPUT_FORMAT
1991-04-16*** empty log message ***Steve Chamberlain1-1/+1
1991-04-14checkpoint before a mergeSteve Chamberlain1-47/+98
1991-04-03Fixed some grammer ambiguitiesSteve Chamberlain1-73/+49
Better error reporting sun3 support
1991-03-21Initial revisionDavid Henkel-Wallace1-0/+490