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. From-SVN: r233505
This commit is contained in:
parent
e8f289e597
commit
9bfcbdeecf
@ -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.
|
||||
|
@ -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:
|
||||
|
||||
|
@ -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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user