From faef260ee83d7e70a8cd6326a77de6ff5f9e1643 Mon Sep 17 00:00:00 2001 From: Max Filippov Date: Tue, 20 Feb 2018 20:55:56 +0000 Subject: [PATCH] libgcc: xtensa: fix build with -mtext-section-literals libgcc/ 2018-02-20 Max Filippov * config/xtensa/ieee754-df.S (__adddf3_aux): Add .literal_position directive. * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise. From-SVN: r257862 --- libgcc/ChangeLog | 6 ++++++ libgcc/config/xtensa/ieee754-df.S | 1 + libgcc/config/xtensa/ieee754-sf.S | 1 + 3 files changed, 8 insertions(+) diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 5df8d85a875..0e9e7759f62 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,9 @@ +2018-02-20 Max Filippov + + * config/xtensa/ieee754-df.S (__adddf3_aux): Add + .literal_position directive. + * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise. + 2018-02-14 Igor Tsimbalist PR target/84148 diff --git a/libgcc/config/xtensa/ieee754-df.S b/libgcc/config/xtensa/ieee754-df.S index 2662a660075..a997c1b4263 100644 --- a/libgcc/config/xtensa/ieee754-df.S +++ b/libgcc/config/xtensa/ieee754-df.S @@ -55,6 +55,7 @@ __negdf2: #ifdef L_addsubdf3 + .literal_position /* Addition */ __adddf3_aux: diff --git a/libgcc/config/xtensa/ieee754-sf.S b/libgcc/config/xtensa/ieee754-sf.S index d48b230a758..695c67b0fc8 100644 --- a/libgcc/config/xtensa/ieee754-sf.S +++ b/libgcc/config/xtensa/ieee754-sf.S @@ -55,6 +55,7 @@ __negsf2: #ifdef L_addsubsf3 + .literal_position /* Addition */ __addsf3_aux: -- 2.30.2