aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2014-07-11 15:47:48 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2014-07-11 11:47:48 -0400
commit8762d747cacf65ec4e6ca4a4f5be6d0532869381 (patch)
treeb0b620b8bf240b48b3d4e71ec357410cf8027ffe /gcc
parentf4da031c416b7a5ef3aac0ed170c0787b04a1a57 (diff)
downloadgcc-8762d747cacf65ec4e6ca4a4f5be6d0532869381.zip
gcc-8762d747cacf65ec4e6ca4a4f5be6d0532869381.tar.gz
gcc-8762d747cacf65ec4e6ca4a4f5be6d0532869381.tar.bz2
aix51.h (LINK_SPEC): Remove -bnodelcsect.
* config/rs6000/aix51.h (LINK_SPEC): Remove -bnodelcsect. * config/rs6000/aix52.h (LINK_SPEC): Same. * config/rs6000/aix53.h (LINK_SPEC): Same. * config/rs6000/aix61.h (LINK_SPEC): Same. * config/rs6000/xcoff.h (MAKE_DECL_ONE_ONLY): Define. From-SVN: r212460
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/config/rs6000/aix51.h2
-rw-r--r--gcc/config/rs6000/aix52.h2
-rw-r--r--gcc/config/rs6000/aix53.h2
-rw-r--r--gcc/config/rs6000/aix61.h2
-rw-r--r--gcc/config/rs6000/xcoff.h3
6 files changed, 15 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 730ef20..3100b97 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+2014-07-11 David Edelsohn <dje.gcc@gmail.com>
+
+ * config/rs6000/aix51.h (LINK_SPEC): Remove -bnodelcsect.
+ * config/rs6000/aix52.h (LINK_SPEC): Same.
+ * config/rs6000/aix53.h (LINK_SPEC): Same.
+ * config/rs6000/aix61.h (LINK_SPEC): Same.
+ * config/rs6000/xcoff.h (MAKE_DECL_ONE_ONLY): Define.
+
2014-07-11 Roman Gareev <gareevroman@gmail.com>
* graphite-isl-ast-to-gimple.c (gmp_cst_to_tree):
diff --git a/gcc/config/rs6000/aix51.h b/gcc/config/rs6000/aix51.h
index caca74b..9f53eb6 100644
--- a/gcc/config/rs6000/aix51.h
+++ b/gcc/config/rs6000/aix51.h
@@ -121,7 +121,7 @@ do { \
%{pthread:-lpthreads} -lc"
#undef LINK_SPEC
-#define LINK_SPEC "-bpT:0x10000000 -bpD:0x20000000 %{!r:-btextro} -bnodelcsect\
+#define LINK_SPEC "-bpT:0x10000000 -bpD:0x20000000 %{!r:-btextro}\
%{static:-bnso %(link_syscalls) } %{shared:-bM:SRE %{!e:-bnoentry}}\
%{!maix64:%{!shared:%{g*: %(link_libg) }}} %{maix64:-b64}\
%{mpe:-binitfini:poe_remote_main}"
diff --git a/gcc/config/rs6000/aix52.h b/gcc/config/rs6000/aix52.h
index a90c926..e1fe23a 100644
--- a/gcc/config/rs6000/aix52.h
+++ b/gcc/config/rs6000/aix52.h
@@ -133,7 +133,7 @@ do { \
%{pthread:-lpthreads} -lc"
#undef LINK_SPEC
-#define LINK_SPEC "-bpT:0x10000000 -bpD:0x20000000 %{!r:-btextro} -bnodelcsect\
+#define LINK_SPEC "-bpT:0x10000000 -bpD:0x20000000 %{!r:-btextro}\
%{static:-bnso %(link_syscalls) } %{shared:-bM:SRE %{!e:-bnoentry}}\
%{!maix64:%{!shared:%{g*: %(link_libg) }}} %{maix64:-b64}\
%{mpe:-binitfini:poe_remote_main}"
diff --git a/gcc/config/rs6000/aix53.h b/gcc/config/rs6000/aix53.h
index 65887c9..9070dc0 100644
--- a/gcc/config/rs6000/aix53.h
+++ b/gcc/config/rs6000/aix53.h
@@ -133,7 +133,7 @@ do { \
%{pthread:-lpthreads} -lc"
#undef LINK_SPEC
-#define LINK_SPEC "-bpT:0x10000000 -bpD:0x20000000 %{!r:-btextro} -bnodelcsect\
+#define LINK_SPEC "-bpT:0x10000000 -bpD:0x20000000 %{!r:-btextro}\
%{static:-bnso %(link_syscalls) } %{shared:-bM:SRE %{!e:-bnoentry}}\
%{!maix64:%{!shared:%{g*: %(link_libg) }}} %{maix64:-b64}\
%{mpe:-binitfini:poe_remote_main}"
diff --git a/gcc/config/rs6000/aix61.h b/gcc/config/rs6000/aix61.h
index e21a230..b0c6b46 100644
--- a/gcc/config/rs6000/aix61.h
+++ b/gcc/config/rs6000/aix61.h
@@ -156,7 +156,7 @@ do { \
%{pthread:-lpthreads} -lc"
#undef LINK_SPEC
-#define LINK_SPEC "-bpT:0x10000000 -bpD:0x20000000 %{!r:-btextro} -bnodelcsect\
+#define LINK_SPEC "-bpT:0x10000000 -bpD:0x20000000 %{!r:-btextro}\
%{static:-bnso %(link_syscalls) } %{shared:-bM:SRE %{!e:-bnoentry}}\
%{!maix64:%{!shared:%{g*: %(link_libg) }}} %{maix64:-b64}\
%{mpe:-binitfini:poe_remote_main}"
diff --git a/gcc/config/rs6000/xcoff.h b/gcc/config/rs6000/xcoff.h
index 4df90f6..16c99de 100644
--- a/gcc/config/rs6000/xcoff.h
+++ b/gcc/config/rs6000/xcoff.h
@@ -309,3 +309,6 @@
than in the .eh_frame section. We do this because the AIX linker
would otherwise garbage collect these sections. */
#define EH_FRAME_IN_DATA_SECTION 1
+
+#define MAKE_DECL_ONE_ONLY(DECL) (DECL_WEAK (DECL) = 1)
+