aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2016-07-17 15:59:05 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2016-07-17 15:59:05 +0200
commit45d74163463cb7bf43e764eab87c7bc3d179bda8 (patch)
tree865494c31f3cba2ed6dbd1de1bcbf53f458fd248
parent2fde5429cf5f816237d97cea7fe70fe02bdc71ed (diff)
downloadelfinfo-45d74163463cb7bf43e764eab87c7bc3d179bda8.tar.gz
elfinfo-45d74163463cb7bf43e764eab87c7bc3d179bda8.tar.bz2
elfinfo-45d74163463cb7bf43e764eab87c7bc3d179bda8.tar.xz
elfinfo-45d74163463cb7bf43e764eab87c7bc3d179bda8.zip
parser/lexer: Adding license info.
-rw-r--r--GnuLdLexer.g422
-rw-r--r--GnuLdParser.g422
2 files changed, 44 insertions, 0 deletions
diff --git a/GnuLdLexer.g4 b/GnuLdLexer.g4
index a02a8e4..16c4a9e 100644
--- a/GnuLdLexer.g4
+++ b/GnuLdLexer.g4
@@ -1,3 +1,25 @@
+// This file is based on ld/ldgram.y and ld/ldlex.l from the binutils-gdb git repository. Original license header:
+/* A YACC grammar to parse a superset of the AT&T linker scripting language.
+ Copyright (C) 1991-2016 Free Software Foundation, Inc.
+ Written by Steve Chamberlain of Cygnus Support (steve@cygnus.com).
+
+ This file is part of the GNU Binutils.
+
+ 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
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
+
lexer grammar GnuLdLexer;
diff --git a/GnuLdParser.g4 b/GnuLdParser.g4
index 68734fe..36d4515 100644
--- a/GnuLdParser.g4
+++ b/GnuLdParser.g4
@@ -1,3 +1,25 @@
+// This file is based on ld/ldgram.y and ld/ldlex.l from the binutils-gdb git repository. Original license header:
+/* A YACC grammar to parse a superset of the AT&T linker scripting language.
+ Copyright (C) 1991-2016 Free Software Foundation, Inc.
+ Written by Steve Chamberlain of Cygnus Support (steve@cygnus.com).
+
+ This file is part of the GNU Binutils.
+
+ 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
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
+
parser grammar GnuLdParser;
options {