diff options
author | Steve Chamberlain <sac@cygnus> | 1992-01-24 22:34:34 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1992-01-24 22:34:34 +0000 |
commit | 2e2bf962db00b2e23a222687e4bc3c5971c645b7 (patch) | |
tree | 0eceb10d2d00f8f32ad14ea539129ee894d7f1e9 /ld/ldgram.y | |
parent | 2cbe4c5f9e97dff6786352e1867c3c6afd383258 (diff) | |
download | gdb-2e2bf962db00b2e23a222687e4bc3c5971c645b7.zip gdb-2e2bf962db00b2e23a222687e4bc3c5971c645b7.tar.gz gdb-2e2bf962db00b2e23a222687e4bc3c5971c645b7.tar.bz2 |
* Makefile.in: added relax, also made three stage go through a
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
Diffstat (limited to 'ld/ldgram.y')
-rw-r--r-- | ld/ldgram.y | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/ld/ldgram.y b/ld/ldgram.y index a5b1731..d342da1 100644 --- a/ld/ldgram.y +++ b/ld/ldgram.y @@ -20,7 +20,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ %{ /* - * $Id$ + */ #define DONTDECLARE_MALLOC @@ -136,7 +136,8 @@ boolean ldgram_had_equals = false; %token OPTION_format OPTION_F OPTION_u OPTION_Bstatic OPTION_N %token <integer> SIZEOF NEXT ADDR %token OPTION_d OPTION_dc OPTION_dp OPTION_x OPTION_X OPTION_defsym -%token OPTION_v OPTION_V OPTION_M OPTION_t STARTUP HLL SYSLIB FLOAT NOFLOAT +%token OPTION_v OPTION_V OPTION_M OPTION_t STARTUP HLL SYSLIB FLOAT NOFLOAT +%token OPTION_Map %token OPTION_n OPTION_r OPTION_o OPTION_b OPTION_R OPTION_relax %token <name> OPTION_l OPTION_L OPTION_T OPTION_Aarch OPTION_Tfile OPTION_Texp %token OPTION_Ur @@ -185,6 +186,12 @@ command_line_option: | OPTION_t { trace_files = true; } + | OPTION_Map NAME + { + write_map = true; + config.map_filename = $2; + } + | OPTION_M { if (write_map) { option_longmap = true; |