summaryrefslogtreecommitdiff
path: root/gcc/opth-gen.awk
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-12 13:31:39 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-12 13:31:39 +0000
commita55dd2315b949e25ab4db542d7943fdf0dc08fd4 (patch)
tree745ccdb3fdb8a6e02012ff1e00510d61d453fb5e /gcc/opth-gen.awk
parentf2b3312b1728bd75bbae7041d7d7894bf3c3a76b (diff)
downloadgcc-a55dd2315b949e25ab4db542d7943fdf0dc08fd4.tar.gz
2009-06-12 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r148428 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@148430 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opth-gen.awk')
-rw-r--r--gcc/opth-gen.awk4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/opth-gen.awk b/gcc/opth-gen.awk
index ecccbdd9ac9..fb262bd93b7 100644
--- a/gcc/opth-gen.awk
+++ b/gcc/opth-gen.awk
@@ -333,6 +333,8 @@ for (i = 0; i < n_opts; i++) {
enum = "OPT_" opts[i]
if (opts[i] == "finline-limit=" || opts[i] == "Wlarger-than=")
enum = enum "eq"
+ if (opts[i] == "gdwarf+")
+ enum = "OPT_gdwarfplus"
gsub ("[^A-Za-z0-9]", "_", enum)
# If this switch takes joined arguments, back-chain all
@@ -348,7 +350,7 @@ for (i = 0; i < n_opts; i++) {
}
}
- s = substr(" ", length (opts[i]))
+ s = substr(" ", length (enum))
if (i + 1 == n_opts)
comma = ""