Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/gcc/config/rs6000 remove the duplicat...



details:   https://anonhg.NetBSD.org/src/rev/3ee990157502
branches:  trunk
changeset: 770677:3ee990157502
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Oct 29 10:51:16 2011 +0000

description:
remove the duplicated -mcall-netbsd.
adjust the __PIC__ definition to match common.opt.

diffstat:

 external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 8486940b0ed6 -r 3ee990157502 external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h
--- a/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h       Sat Oct 29 10:28:37 2011 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h       Sat Oct 29 10:51:16 2011 +0000
@@ -160,7 +160,6 @@
     %{mcall-freebsd: -mbig} \
     %{mcall-i960-old: -mlittle} \
     %{mcall-linux: -mbig} \
-    %{mcall-netbsd: -mbig} \
     %{mcall-gnu: -mbig} \
     %{mcall-netbsd: -mbig} \
 }}}}"
@@ -287,7 +286,7 @@
          builtin_define ("__PPC64__");                 \
          builtin_define ("__powerpc__");               \
          builtin_define ("__powerpc64__");             \
-         builtin_define ("__PIC__");                   \
+         builtin_define_with_int_value ("__PIC__", 2); \
          builtin_assert ("cpu=powerpc64");             \
          builtin_assert ("machine=powerpc64");         \
        }                                               \



Home | Main Index | Thread Index | Old Index