aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlex.l
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-06-04 23:05:54 +0000
committerSteve Chamberlain <steve@cygnus>1991-06-04 23:05:54 +0000
commit48491e2e15d8230b37b05e682c6947527b5859ce (patch)
tree3cebc0a7ae8b8e24888f92da9bd0a528429dd125 /ld/ldlex.l
parenteb2022d7dd7cb350b0757f38ba30260dc510e143 (diff)
downloadgdb-48491e2e15d8230b37b05e682c6947527b5859ce.zip
gdb-48491e2e15d8230b37b05e682c6947527b5859ce.tar.gz
gdb-48491e2e15d8230b37b05e682c6947527b5859ce.tar.bz2
*** empty log message ***
Diffstat (limited to 'ld/ldlex.l')
-rw-r--r--ld/ldlex.l6
1 files changed, 5 insertions, 1 deletions
diff --git a/ld/ldlex.l b/ld/ldlex.l
index 7d50ccd..9967b69 100644
--- a/ld/ldlex.l
+++ b/ld/ldlex.l
@@ -37,7 +37,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "ld.h"
#include "ldexp.h"
-#include "ldgram.tab.h"
+#include "ldgramtb.h"
#include "ldmisc.h"
#undef input
@@ -317,6 +317,10 @@ WHITE [ \t]+
yylval.name = ".bss";
return OPTION_Texp;
}
+"\ -O"{FILENAME} {
+ yylval.name = buystring(yytext+3);
+ return OPTION_Texp;
+ }
"\ -T"{FILENAME} {
yylval.name = buystring(yytext+3);