Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Unified Diff: gcc/config/i386/nacl.h

Issue 23567025: Change GCC spec to support upgraded binutils (Closed) Base URL: http://git.chromium.org/native_client/nacl-gcc.git@master
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/config/i386/nacl.h
diff --git a/gcc/config/i386/nacl.h b/gcc/config/i386/nacl.h
index f1513680ef4fad4bf85a38303ac6e05b9091a591..fbed7db89ce44f05c914635350213427b966703f 100644
--- a/gcc/config/i386/nacl.h
+++ b/gcc/config/i386/nacl.h
@@ -88,7 +88,7 @@ Boston, MA 02111-1307, USA. */
"%{fnacl-library-mode:-nacl-library-mode} " \
"%{fnacl-align-16:-nacl-align=4} " \
"%{fnacl-align-32:-nacl-align=5} " \
- "%{Ym,*} %{Yd,*} %{Wa,*:%*} %{m32:--32} %{m64:--64} " \
+ "%{Ym,*} %{Yd,*} %{Wa,*:%*} %{" SPEC_32 ":--32} %{" SPEC_64 ":--64} " \
"%{!mno-sse2avx:%{mavx:-msse2avx}} %{msse2avx:%{!mavx:-msse2avx}}"
#undef LIB_SPEC
@@ -130,7 +130,8 @@ Boston, MA 02111-1307, USA. */
#endif
#undef LINK_SPEC
-#define LINK_SPEC "%{" SPEC_64 ":-m elf64_nacl} %{" SPEC_32 ":-m elf_nacl} \
+#define LINK_SPEC \
+ "%{" SPEC_64 ":-m elf_x86_64_nacl} %{" SPEC_32 ":-m elf_i386_nacl} \
%{shared:-shared} \
%{!shared: \
%{!static: \
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698