]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
aix51.h (LINK_SPEC): Remove -bnodelcsect.
authorDavid Edelsohn <dje.gcc@gmail.com>
Fri, 11 Jul 2014 15:47:48 +0000 (15:47 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Fri, 11 Jul 2014 15:47:48 +0000 (11:47 -0400)
        * 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

gcc/ChangeLog
gcc/config/rs6000/aix51.h
gcc/config/rs6000/aix52.h
gcc/config/rs6000/aix53.h
gcc/config/rs6000/aix61.h
gcc/config/rs6000/xcoff.h

index 730ef20ef6339b53d0fba22484ed09b5e8778db4..3100b970106a6cb850331c0a0defb0e6dd38c75e 100644 (file)
@@ -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):
index caca74bb309c2e64087576ccfbc05cb76d81f055..9f53eb610b2ba1213d946c8fff4e0b8cc0455dbe 100644 (file)
@@ -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}"
index a90c926b8252affd99095c9ec9abeb3ce2f3fb02..e1fe23ac4a388bf3cc4fe2d1905bd81c5ab02c8d 100644 (file)
@@ -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}"
index 65887c904f97f27e7085cb4953e0f638810b3add..9070dc07724019ad9ad7020658976180732f5568 100644 (file)
@@ -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}"
index e21a23030b5e6ca17e3ace15e8ebc4f7e61a59d0..b0c6b463b41c62bd8ae92fce1ff772d45e681238 100644 (file)
@@ -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}"
index 4df90f6db879ae5670d82669f76df3dfaf8c10e8..16c99de8e0674870930c75de94600a024572bc5c 100644 (file)
    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)
+