diff options
author | Cupertino Miranda <cmiranda@synopsys.com> | 2016-12-05 11:16:52 +0000 |
---|---|---|
committer | Claudiu Zissulescu <claziss@gcc.gnu.org> | 2016-12-05 12:16:52 +0100 |
commit | 62440b4f0e4d6e0dc193d315e79753bb4c5edd99 (patch) | |
tree | 51ad367dfbacc610ccfd16d534390397b8fd5860 /libgcc | |
parent | 5a5c5784d89008664ab42c17efcab7198b132456 (diff) | |
download | gcc-62440b4f0e4d6e0dc193d315e79753bb4c5edd99.tar.gz |
[ARC] Fix PIE.
gcc/
2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
* config/arc/arc.h (STARTFILE_SPEC): Use default linux specs.
(ENDFILE_SPEC): Likewise.
libgcc/
2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
* config.host (arc*-*-linux-uclibc*): Use default extra
objects. Include linux-android header.
* config/arc/crti.S (_init): Declare symbol as function.
(_fini): Likewise.
From-SVN: r243245
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/ChangeLog | 7 | ||||
-rw-r--r-- | libgcc/config.host | 4 | ||||
-rw-r--r-- | libgcc/config/arc/crti.S | 2 |
3 files changed, 11 insertions, 2 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index efadedf850f..d4a1bad2d84 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,10 @@ +2016-12-05 Cupertino Miranda <cmiranda@synopsys.com> + + * config.host (arc*-*-linux-uclibc*): Use default extra + objects. Include linux-android header. + * config/arc/crti.S (_init): Declare symbol as function. + (_fini): Likewise. + 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/78379 diff --git a/libgcc/config.host b/libgcc/config.host index e7e5413f0d5..b1a2be640a3 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -374,8 +374,8 @@ arc*-*-elf*) ;; arc*-*-linux-uclibc*) tmake_file="${tmake_file} t-slibgcc-libgcc t-slibgcc-nolc-override arc/t-arc700-uClibc arc/t-arc" - extra_parts="crti.o crtn.o crtend.o crtbegin.o crtendS.o crtbeginS.o libgmon.a crtg.o crtgend.o" - extra_parts="${extra_parts} crttls.o" + extra_parts="$extra_parts crti.o crtn.o libgmon.a crtg.o crtgend.o" + extra_parts="$extra_parts crttls.o" ;; arm-wrs-vxworks) tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp" diff --git a/libgcc/config/arc/crti.S b/libgcc/config/arc/crti.S index 7f643056c96..6867ca99e83 100644 --- a/libgcc/config/arc/crti.S +++ b/libgcc/config/arc/crti.S @@ -31,11 +31,13 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see .section .init .global _init .word 0 + .type _init,@function _init: push_s blink .section .fini .global _fini .word 0 + .type _fini,@function _fini: push_s blink |