diff options
author | jcmvbkbc <jcmvbkbc@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-02-17 20:21:48 +0000 |
---|---|---|
committer | jcmvbkbc <jcmvbkbc@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-02-17 20:21:48 +0000 |
commit | 1fa780acfddaa6e057ad62bb4a2be15e8e2c7484 (patch) | |
tree | 4df4e1e216972dbad9fb502f09c0fa2acd9b38c2 /libgcc | |
parent | 6651de1cccbe6a05a986287772658d2c09166e49 (diff) | |
download | gcc-1fa780acfddaa6e057ad62bb4a2be15e8e2c7484.tar.gz |
xtensa: fix libgcc build with --text-section-literals
Functions __muldf3_aux, __divdf3_aux, __mulsf3_aux and __divsf3_aux
don't start with leaf_entry, so they need explicit .literal_position,
otherwise libgcc build fails in the presence of --text-section-literals.
2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
libgcc/
* config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
.literal_position before the function.
* config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233505 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/ChangeLog | 7 | ||||
-rw-r--r-- | libgcc/config/xtensa/ieee754-df.S | 2 | ||||
-rw-r--r-- | libgcc/config/xtensa/ieee754-sf.S | 2 |
3 files changed, 11 insertions, 0 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 80b562caccf..4020e235bf1 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,10 @@ +2016-02-17 Max Filippov <jcmvbkbc@gmail.com> + + * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add + .literal_position before the function. + * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux): + Likewise. + 2016-02-15 Marcin KoĆcielnicki <koriakin@0x04.net> * config.host: Use t-stack and t-stack-s390 for s390*-*-linux. diff --git a/libgcc/config/xtensa/ieee754-df.S b/libgcc/config/xtensa/ieee754-df.S index 743dbf2ded5..1d9ef468f01 100644 --- a/libgcc/config/xtensa/ieee754-df.S +++ b/libgcc/config/xtensa/ieee754-df.S @@ -606,6 +606,7 @@ __subdf3: #define XCHAL_NO_MUL 1 #endif + .literal_position __muldf3_aux: /* Handle unusual cases (zeros, subnormals, NaNs and Infinities). @@ -1216,6 +1217,7 @@ __muldf3: #ifdef L_divdf3 + .literal_position /* Division */ __divdf3_aux: diff --git a/libgcc/config/xtensa/ieee754-sf.S b/libgcc/config/xtensa/ieee754-sf.S index 1843749f78e..7864a74eefa 100644 --- a/libgcc/config/xtensa/ieee754-sf.S +++ b/libgcc/config/xtensa/ieee754-sf.S @@ -487,6 +487,7 @@ __subsf3: #define XCHAL_NO_MUL 1 #endif + .literal_position __mulsf3_aux: /* Handle unusual cases (zeros, subnormals, NaNs and Infinities). @@ -884,6 +885,7 @@ __mulsf3: #ifdef L_divsf3 + .literal_position /* Division */ __divsf3_aux: |