aboutsummaryrefslogtreecommitdiff
path: root/ld/ldgram.y
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-04-08 23:26:05 +0000
committerSteve Chamberlain <steve@cygnus>1991-04-08 23:26:05 +0000
commitde7c1ff6139ecad81cf4ada557330ae0b3c7b5a6 (patch)
tree4821c5ee175cf0c70b0d20b6dab9276d74680a96 /ld/ldgram.y
parentad19c0a2d1d72cbee89680aa95d94b35a2a8eb3d (diff)
downloadgdb-de7c1ff6139ecad81cf4ada557330ae0b3c7b5a6.zip
gdb-de7c1ff6139ecad81cf4ada557330ae0b3c7b5a6.tar.gz
gdb-de7c1ff6139ecad81cf4ada557330ae0b3c7b5a6.tar.bz2
*** empty log message ***
Diffstat (limited to 'ld/ldgram.y')
-rw-r--r--ld/ldgram.y13
1 files changed, 8 insertions, 5 deletions
diff --git a/ld/ldgram.y b/ld/ldgram.y
index c42a3e5..cfd549f 100644
--- a/ld/ldgram.y
+++ b/ld/ldgram.y
@@ -225,10 +225,10 @@ command_line_option:
{
force_make_executable = true;
}
- | OPTION_d {
+ | OPTION_d {
command_line.force_common_definition = true;
}
- | OPTION_dc
+ | OPTION_dc
{
command_line.force_common_definition = true;
}
@@ -236,16 +236,17 @@ command_line_option:
{
/* Ignored */
}
- | OPTION_dp
+ | OPTION_dp
{
command_line.force_common_definition = true;
}
- | OPTION_format NAME
+ | OPTION_format NAME
{
lang_add_target($2);
}
- | OPTION_Texp { hex_mode =true; }
+ | OPTION_Texp
+ { hex_mode =true; }
exp
{ lang_section_start($1, $3);
hex_mode = false; }
@@ -290,9 +291,11 @@ command_line_option:
| OPTION_defsym
{
ldgram_in_defsym = true;
+ hex_mode = true;
}
assignment
{
+ hex_mode = false;
ldgram_in_defsym = false;
}