PATCH: Remove duplications in ldgram.y
H. J. Lu
hjl@lucon.org
Fri Jan 19 18:52:00 GMT 2007
More information about the Binutils mailing list
Fri Jan 19 18:52:00 GMT 2007
- Previous message (by thread): PATCH: PR ld/3111: LD very slow linking object files containing dwarf2 symbols
- Next message (by thread): PATCH: Remove duplications in ldgram.y
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I got /export/gnu/src/binutils-import/binutils/ld/ldgram.y:134.8-21: warning: symbol SIZEOF_HEADERS redeclared /export/gnu/src/binutils-import/binutils/ld/ldgram.y:139.8-11: warning: symbol NAME redeclared /export/gnu/src/binutils-import/binutils/ld/ldgram.y:139.13-17: warning: symbol LNAME redeclared /export/gnu/src/binutils-import/binutils/ld/ldgram.y:149.22-30: warning: symbol DEFSYMEND redeclared This patch fixes them. H.J. --- 2007-01-19 H.J. Lu <hongjiu.lu@intel.com> * ldgram.y (SIZEOF_HEADERS): Remove duplicated one. (DEFSYMEND): Likewise. (NAME): Likewise. (LNAME): Likewise. --- ld/ldgram.y.dup 2006-09-07 10:16:34.000000000 -0700 +++ ld/ldgram.y 2007-01-19 09:52:45.000000000 -0800 @@ -131,12 +131,11 @@ static int error_index; %token '{' '}' %token SIZEOF_HEADERS OUTPUT_FORMAT FORCE_COMMON_ALLOCATION OUTPUT_ARCH %token INHIBIT_COMMON_ALLOCATION -%token SIZEOF_HEADERS %token SEGMENT_START %token INCLUDE -%token MEMORY DEFSYMEND +%token MEMORY %token NOLOAD DSECT COPY INFO OVERLAY -%token NAME LNAME DEFINED TARGET_K SEARCH_DIR MAP ENTRY +%token DEFINED TARGET_K SEARCH_DIR MAP ENTRY %token <integer> NEXT %token SIZEOF ADDR LOADADDR MAX_K MIN_K %token STARTUP HLL SYSLIB FLOAT NOFLOAT NOCROSSREFS
- Previous message (by thread): PATCH: PR ld/3111: LD very slow linking object files containing dwarf2 symbols
- Next message (by thread): PATCH: Remove duplications in ldgram.y
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list