aboutsummaryrefslogtreecommitdiff
path: root/ld/ldgram.y
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-05-03 23:52:48 +0000
committerSteve Chamberlain <steve@cygnus>1991-05-03 23:52:48 +0000
commitb63165349fd48f5577a3985d7940bcc5377b814d (patch)
tree67b8cda56d2d9787b75c18b02fe81b792542a219 /ld/ldgram.y
parent592ecfb22e725acdb1158010b135068f5c87f603 (diff)
downloadgdb-b63165349fd48f5577a3985d7940bcc5377b814d.zip
gdb-b63165349fd48f5577a3985d7940bcc5377b814d.tar.gz
gdb-b63165349fd48f5577a3985d7940bcc5377b814d.tar.bz2
*** empty log message ***
Diffstat (limited to 'ld/ldgram.y')
-rw-r--r--ld/ldgram.y5
1 files changed, 4 insertions, 1 deletions
diff --git a/ld/ldgram.y b/ld/ldgram.y
index d0196b1..419c54e 100644
--- a/ld/ldgram.y
+++ b/ld/ldgram.y
@@ -117,7 +117,7 @@ boolean ldgram_had_equals = false;
%token MEMORY
%token DSECT NOLOAD COPY INFO OVERLAY
%token NAME DEFINED TARGET_K SEARCH_DIR MAP ENTRY
-%token OPTION_e OPTION_c OPTION_noinhibit_exec OPTION_s OPTION_S
+%token OPTION_e OPTION_c OPTION_noinhibit_exec OPTION_s OPTION_S OPTION_sort_common
%token OPTION_format OPTION_F OPTION_u
%token OPTION_d OPTION_dc OPTION_dp OPTION_x OPTION_X OPTION_defsym
@@ -209,6 +209,9 @@ command_line_option:
{
force_make_executable = true;
}
+ | OPTION_sort_common {
+ config.sort_common = true;
+ }
| OPTION_d {
command_line.force_common_definition = true;
}