aboutsummaryrefslogtreecommitdiff
path: root/ld/ldgram.y
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2006-06-07 04:55:11 +0000
committerAlan Modra <amodra@gmail.com>2006-06-07 04:55:11 +0000
commit02a38f92868b28b2f933e6cd2eff2da4fa60d789 (patch)
tree9b35d971ace260d87e9d83c1026aa342acaa29c9 /ld/ldgram.y
parentecbc8539b04f2fe208f2c892f9cf69756f451b7f (diff)
downloadgdb-02a38f92868b28b2f933e6cd2eff2da4fa60d789.zip
gdb-02a38f92868b28b2f933e6cd2eff2da4fa60d789.tar.gz
gdb-02a38f92868b28b2f933e6cd2eff2da4fa60d789.tar.bz2
* ldlang.h (enum section_type): Delete dsect_section, copy_section,
info_section and overlay_section. Add noalloc_section. * ldlang.c (lang_add_section): Adjust. * ldgram.y (type): Adjust.
Diffstat (limited to 'ld/ldgram.y')
-rw-r--r--ld/ldgram.y10
1 files changed, 5 insertions, 5 deletions
diff --git a/ld/ldgram.y b/ld/ldgram.y
index 1f9d2fa..4eb974d 100644
--- a/ld/ldgram.y
+++ b/ld/ldgram.y
@@ -1,6 +1,6 @@
/* A YACC grammar to parse a superset of the AT&T linker scripting language.
Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
- 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+ 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
Written by Steve Chamberlain of Cygnus Support (steve@cygnus.com).
This file is part of GNU ld.
@@ -963,10 +963,10 @@ section: NAME { ldlex_expression(); }
type:
NOLOAD { sectype = noload_section; }
- | DSECT { sectype = dsect_section; }
- | COPY { sectype = copy_section; }
- | INFO { sectype = info_section; }
- | OVERLAY { sectype = overlay_section; }
+ | DSECT { sectype = noalloc_section; }
+ | COPY { sectype = noalloc_section; }
+ | INFO { sectype = noalloc_section; }
+ | OVERLAY { sectype = noalloc_section; }
;
atype: