diff options
author | Ken Raeburn <raeburn@cygnus> | 1993-07-07 21:15:09 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1993-07-07 21:15:09 +0000 |
commit | a02945df8113a991443fa98875b2de2a8070006d (patch) | |
tree | 976c3ea990ffb927e5967acd8b63582a1ef1a58b /ld | |
parent | 23a8e2915cfa83f8cac60e61e1b414a7aeab198e (diff) | |
download | binutils-a02945df8113a991443fa98875b2de2a8070006d.tar.gz binutils-a02945df8113a991443fa98875b2de2a8070006d.tar.bz2 binutils-a02945df8113a991443fa98875b2de2a8070006d.zip |
Don't define bfd_vma here!
(Wasted at least a day tracking this damn thing down...)
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ldlex.l | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/ld/ldlex.l b/ld/ldlex.l index 606f65a7b1c..74ecf34070e 100644 --- a/ld/ldlex.l +++ b/ld/ldlex.l @@ -24,8 +24,8 @@ This was written by steve chamberlain */ -typedef int bfd_vma; #include <ansidecl.h> +#include "bfd.h" #include "ldgram.h" int ldgram_in_defsym; @@ -98,12 +98,15 @@ NOCFILENAMECHAR [_a-zA-Z0-9\/\.\-\_\+\$\:\[\]\\\~] <DEFSYMEXP>{FILENAMECHAR1}{SYMBOLCHARN}* { yylval.name = buystring(yytext); return NAME; } <DEFSYMEXP>[ \t] { RTOKEN(DEFSYMEND); } <DEFSYMEXP>"=" { RTOKEN('='); } +<COMMAND>"--help" { return OPTION_help; } +<COMMAND>"--version" { return OPTION_version; } <COMMAND>"-defsym"{WHITE}* { return OPTION_defsym; } -<COMMAND>"-noinhibit_exec" { return OPTION_noinhibit_exec; } +<COMMAND>"-format" { return OPTION_format; } <COMMAND>"-noinhibit-exec" { return OPTION_noinhibit_exec; } -<COMMAND>"-sort_common" { return OPTION_sort_common;} +<COMMAND>"-noinhibit_exec" { return OPTION_noinhibit_exec; } +<COMMAND>"-oformat" { return OPTION_oformat; } <COMMAND>"-sort-common" { return OPTION_sort_common;} -<COMMAND>"-format" { return OPTION_format; } +<COMMAND>"-sort_common" { return OPTION_sort_common;} <COMMAND>"-n" { return OPTION_n; } <COMMAND>"-N" { return OPTION_N; } <COMMAND>"-r" { return OPTION_r; } |