Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/binutils/dist/ld Really back the RISC-V change...



details:   https://anonhg.NetBSD.org/src/rev/8a5efd88575e
branches:  trunk
changeset: 332486:8a5efd88575e
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Sep 24 01:16:04 2014 +0000

description:
Really back the RISC-V changes to these files.

diffstat:

 external/gpl3/binutils/dist/ld/ldgram.c |  4824 ++++++++++++++++--------------
 external/gpl3/binutils/dist/ld/ldgram.h |   378 +-
 2 files changed, 2796 insertions(+), 2406 deletions(-)

diffs (truncated from 6748 to 300 lines):

diff -r eed62868548c -r 8a5efd88575e external/gpl3/binutils/dist/ld/ldgram.c
--- a/external/gpl3/binutils/dist/ld/ldgram.c   Wed Sep 24 00:17:42 2014 +0000
+++ b/external/gpl3/binutils/dist/ld/ldgram.c   Wed Sep 24 01:16:04 2014 +0000
@@ -1,7 +1,9 @@
-/* A Bison parser, made by GNU Bison 2.1.  */
-
-/* Skeleton parser for Yacc-like parsing with Bison,
-   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+/* A Bison parser, made by GNU Bison 2.3.  */
+
+/* Skeleton implementation for Bison's Yacc-like parsers in C
+
+   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+   Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -18,13 +20,21 @@
    Foundation, Inc., 51 Franklin Street, Fifth Floor,
    Boston, MA 02110-1301, USA.  */
 
-/* As a special exception, when this file is copied by Bison into a
-   Bison output file, you may use that output file without restriction.
-   This special exception was added by the Free Software Foundation
-   in version 1.24 of Bison.  */
-
-/* Written by Richard Stallman by simplifying the original so called
-   ``semantic'' parser.  */
+/* As a special exception, you may create a larger work that contains
+   part or all of the Bison parser skeleton and distribute that work
+   under terms of your choice, so long as that work isn't itself a
+   parser generator using the skeleton or a modified version thereof
+   as a parser skeleton.  Alternatively, if you modify or redistribute
+   the parser skeleton itself, you may (at your option) remove this
+   special exception, which will cause the skeleton and the resulting
+   Bison output files to be licensed under the GNU General Public
+   License without this special exception.
+
+   This special exception was added by the Free Software Foundation in
+   version 2.2 of Bison.  */
+
+/* C LALR(1) parser skeleton written by Richard Stallman, by
+   simplifying the original so-called "semantic" parser.  */
 
 /* All symbols defined below should begin with yy or YY, to avoid
    infringing on user name space.  This should be done even for local
@@ -37,7 +47,7 @@
 #define YYBISON 1
 
 /* Bison version.  */
-#define YYBISON_VERSION "2.1"
+#define YYBISON_VERSION "2.3"
 
 /* Skeleton name.  */
 #define YYSKELETON_NAME "yacc.c"
@@ -95,87 +105,93 @@
      DATA_SEGMENT_END = 294,
      SORT_BY_NAME = 295,
      SORT_BY_ALIGNMENT = 296,
-     SIZEOF_HEADERS = 297,
-     OUTPUT_FORMAT = 298,
-     FORCE_COMMON_ALLOCATION = 299,
-     OUTPUT_ARCH = 300,
-     INHIBIT_COMMON_ALLOCATION = 301,
-     SEGMENT_START = 302,
-     INCLUDE = 303,
-     MEMORY = 304,
-     NOLOAD = 305,
-     DSECT = 306,
-     COPY = 307,
-     INFO = 308,
-     OVERLAY = 309,
-     DEFINED = 310,
-     TARGET_K = 311,
-     SEARCH_DIR = 312,
-     MAP = 313,
-     ENTRY = 314,
-     NEXT = 315,
-     SIZEOF = 316,
-     ALIGNOF = 317,
-     ADDR = 318,
-     LOADADDR = 319,
-     MAX_K = 320,
-     MIN_K = 321,
-     STARTUP = 322,
-     HLL = 323,
-     SYSLIB = 324,
-     FLOAT = 325,
-     NOFLOAT = 326,
-     NOCROSSREFS = 327,
-     ORIGIN = 328,
-     FILL = 329,
-     LENGTH = 330,
-     CREATE_OBJECT_SYMBOLS = 331,
-     INPUT = 332,
-     GROUP = 333,
-     OUTPUT = 334,
-     CONSTRUCTORS = 335,
-     ALIGNMOD = 336,
-     AT = 337,
-     SUBALIGN = 338,
-     PROVIDE = 339,
-     PROVIDE_HIDDEN = 340,
-     AS_NEEDED = 341,
-     CHIP = 342,
-     LIST = 343,
-     SECT = 344,
-     ABSOLUTE = 345,
-     LOAD = 346,
-     NEWLINE = 347,
-     ENDWORD = 348,
-     ORDER = 349,
-     NAMEWORD = 350,
-     ASSERT_K = 351,
-     FORMAT = 352,
-     PUBLIC = 353,
-     DEFSYMEND = 354,
-     BASE = 355,
-     ALIAS = 356,
-     TRUNCATE = 357,
-     REL = 358,
-     INPUT_SCRIPT = 359,
-     INPUT_MRI_SCRIPT = 360,
-     INPUT_DEFSYM = 361,
-     CASE = 362,
-     EXTERN = 363,
-     START = 364,
-     VERS_TAG = 365,
-     VERS_IDENTIFIER = 366,
-     GLOBAL = 367,
-     LOCAL = 368,
-     VERSIONK = 369,
-     INPUT_VERSION_SCRIPT = 370,
-     KEEP = 371,
-     ONLY_IF_RO = 372,
-     ONLY_IF_RW = 373,
-     SPECIAL = 374,
-     EXCLUDE_FILE = 375,
-     CONSTANT = 376,
-     INPUT_DYNAMIC_LIST = 377
+     SORT_NONE = 297,
+     SORT_BY_INIT_PRIORITY = 298,
+     SIZEOF_HEADERS = 299,
+     OUTPUT_FORMAT = 300,
+     FORCE_COMMON_ALLOCATION = 301,
+     OUTPUT_ARCH = 302,
+     INHIBIT_COMMON_ALLOCATION = 303,
+     SEGMENT_START = 304,
+     INCLUDE = 305,
+     MEMORY = 306,
+     REGION_ALIAS = 307,
+     LD_FEATURE = 308,
+     NOLOAD = 309,
+     DSECT = 310,
+     COPY = 311,
+     INFO = 312,
+     OVERLAY = 313,
+     DEFINED = 314,
+     TARGET_K = 315,
+     SEARCH_DIR = 316,
+     MAP = 317,
+     ENTRY = 318,
+     NEXT = 319,
+     SIZEOF = 320,
+     ALIGNOF = 321,
+     ADDR = 322,
+     LOADADDR = 323,
+     MAX_K = 324,
+     MIN_K = 325,
+     STARTUP = 326,
+     HLL = 327,
+     SYSLIB = 328,
+     FLOAT = 329,
+     NOFLOAT = 330,
+     NOCROSSREFS = 331,
+     ORIGIN = 332,
+     FILL = 333,
+     LENGTH = 334,
+     CREATE_OBJECT_SYMBOLS = 335,
+     INPUT = 336,
+     GROUP = 337,
+     OUTPUT = 338,
+     CONSTRUCTORS = 339,
+     ALIGNMOD = 340,
+     AT = 341,
+     SUBALIGN = 342,
+     HIDDEN = 343,
+     PROVIDE = 344,
+     PROVIDE_HIDDEN = 345,
+     AS_NEEDED = 346,
+     CHIP = 347,
+     LIST = 348,
+     SECT = 349,
+     ABSOLUTE = 350,
+     LOAD = 351,
+     NEWLINE = 352,
+     ENDWORD = 353,
+     ORDER = 354,
+     NAMEWORD = 355,
+     ASSERT_K = 356,
+     FORMAT = 357,
+     PUBLIC = 358,
+     DEFSYMEND = 359,
+     BASE = 360,
+     ALIAS = 361,
+     TRUNCATE = 362,
+     REL = 363,
+     INPUT_SCRIPT = 364,
+     INPUT_MRI_SCRIPT = 365,
+     INPUT_DEFSYM = 366,
+     CASE = 367,
+     EXTERN = 368,
+     START = 369,
+     VERS_TAG = 370,
+     VERS_IDENTIFIER = 371,
+     GLOBAL = 372,
+     LOCAL = 373,
+     VERSIONK = 374,
+     INPUT_VERSION_SCRIPT = 375,
+     KEEP = 376,
+     ONLY_IF_RO = 377,
+     ONLY_IF_RW = 378,
+     SPECIAL = 379,
+     INPUT_SECTION_FLAGS = 380,
+     EXCLUDE_FILE = 381,
+     CONSTANT = 382,
+     INPUT_DYNAMIC_LIST = 383
    };
 #endif
 /* Tokens.  */
@@ -218,93 +234,99 @@
 #define DATA_SEGMENT_END 294
 #define SORT_BY_NAME 295
 #define SORT_BY_ALIGNMENT 296
-#define SIZEOF_HEADERS 297
-#define OUTPUT_FORMAT 298
-#define FORCE_COMMON_ALLOCATION 299
-#define OUTPUT_ARCH 300
-#define INHIBIT_COMMON_ALLOCATION 301
-#define SEGMENT_START 302
-#define INCLUDE 303
-#define MEMORY 304
-#define NOLOAD 305
-#define DSECT 306
-#define COPY 307
-#define INFO 308
-#define OVERLAY 309
-#define DEFINED 310
-#define TARGET_K 311
-#define SEARCH_DIR 312
-#define MAP 313
-#define ENTRY 314
-#define NEXT 315
-#define SIZEOF 316
-#define ALIGNOF 317
-#define ADDR 318
-#define LOADADDR 319
-#define MAX_K 320
-#define MIN_K 321
-#define STARTUP 322
-#define HLL 323
-#define SYSLIB 324
-#define FLOAT 325
-#define NOFLOAT 326
-#define NOCROSSREFS 327
-#define ORIGIN 328
-#define FILL 329
-#define LENGTH 330
-#define CREATE_OBJECT_SYMBOLS 331
-#define INPUT 332
-#define GROUP 333
-#define OUTPUT 334
-#define CONSTRUCTORS 335
-#define ALIGNMOD 336
-#define AT 337
-#define SUBALIGN 338
-#define PROVIDE 339
-#define PROVIDE_HIDDEN 340
-#define AS_NEEDED 341
-#define CHIP 342
-#define LIST 343
-#define SECT 344
-#define ABSOLUTE 345
-#define LOAD 346
-#define NEWLINE 347
-#define ENDWORD 348
-#define ORDER 349
-#define NAMEWORD 350
-#define ASSERT_K 351
-#define FORMAT 352
-#define PUBLIC 353
-#define DEFSYMEND 354
-#define BASE 355
-#define ALIAS 356
-#define TRUNCATE 357
-#define REL 358
-#define INPUT_SCRIPT 359
-#define INPUT_MRI_SCRIPT 360
-#define INPUT_DEFSYM 361
-#define CASE 362



Home | Main Index | Thread Index | Old Index