aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2013-04-03 14:09:57 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2013-04-04 08:28:11 +0800
commitdb19be6b84c89b8dbcbe6abe85a1c1daea384100 (patch)
tree74bf7eca3ab56bae3f3091253b7b052aff39af68 /gcc-4.8
parent68330d08ea4b3e32dbadcfae109508f386177e68 (diff)
downloadtoolchain_gcc-db19be6b84c89b8dbcbe6abe85a1c1daea384100.tar.gz
toolchain_gcc-db19be6b84c89b8dbcbe6abe85a1c1daea384100.tar.bz2
toolchain_gcc-db19be6b84c89b8dbcbe6abe85a1c1daea384100.zip
Misc fixes
1. Fixed darwin build of GCC 4.8/X86 by removing trailing ',' from the last item of enum. Not discovered before because GCC 4.8 now builds with -Wall -Werror, and gcc-4.2.1 in darwin is picky about that 2. Fixed -fuse-ld=mcld Change-Id: I7b65edfb76841f14c3290acb5a98f556d00e1139
Diffstat (limited to 'gcc-4.8')
-rw-r--r--gcc-4.8/gcc/collect2.c2
-rw-r--r--gcc-4.8/gcc/config/i386/i386-opts.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc-4.8/gcc/collect2.c b/gcc-4.8/gcc/collect2.c
index dc094ed02..bc180eb04 100644
--- a/gcc-4.8/gcc/collect2.c
+++ b/gcc-4.8/gcc/collect2.c
@@ -854,7 +854,7 @@ main (int argc, char **argv)
"ld",
PLUGIN_LD_SUFFIX,
"ld.gold",
- "ld.bfd"
+ "ld.bfd",
"ld.mcld"
};
static const char *const real_ld_suffix = "real-ld";
diff --git a/gcc-4.8/gcc/config/i386/i386-opts.h b/gcc-4.8/gcc/config/i386/i386-opts.h
index 3f3ce13be..d2421b573 100644
--- a/gcc-4.8/gcc/config/i386/i386-opts.h
+++ b/gcc-4.8/gcc/config/i386/i386-opts.h
@@ -87,7 +87,7 @@ enum ix86_veclibabi {
enum stack_protector_guard {
SSP_TLS, /* per-thread canary at %gs:20 */
- SSP_GLOBAL, /* global canary */
+ SSP_GLOBAL /* global canary */
};
#endif