Blame SOURCES/gcc9-dts-arm.patch

eb5c59
diff -Naurp a/libstdc++-v3/src/nonshared11/cow-shim_facets.cc b/libstdc++-v3/src/nonshared11/cow-shim_facets.cc
eb5c59
--- a/libstdc++-v3/src/nonshared11/cow-shim_facets.cc	2020-02-06 10:31:53.446807279 +0000
eb5c59
+++ b/libstdc++-v3/src/nonshared11/cow-shim_facets.cc	2020-02-06 10:26:44.225333453 +0000
eb5c59
@@ -168,7 +168,7 @@ asm (".hidden _ZTVNSt13__facet_shims12_G
eb5c59
 asm (".hidden _ZTVNSt13__facet_shims12_GLOBAL__N_115moneypunct_shimIwLb1EEE");
eb5c59
 asm (".hidden _ZNSt13__facet_shims21__numpunct_fill_cacheIcEEvSt17integral_constantIbLb0EEPKNSt6locale5facetEPSt16__numpunct_cacheIT_E");
eb5c59
 asm (".hidden _ZNSt13__facet_shims21__numpunct_fill_cacheIwEEvSt17integral_constantIbLb0EEPKNSt6locale5facetEPSt16__numpunct_cacheIT_E");
eb5c59
-#if defined(__i386__) || (defined(__powerpc__) && !defined(__powerpc64__))
eb5c59
+#if defined(__i386__) || defined(__arm__) || (defined(__powerpc__) && !defined(__powerpc64__))
eb5c59
 asm (".hidden _ZNSt13__facet_shims14__messages_getIcEEvSt17integral_constantIbLb0EEPKNSt6locale5facetERNS_12__any_stringEiiiPKT_j");
eb5c59
 asm (".hidden _ZNSt13__facet_shims14__messages_getIwEEvSt17integral_constantIbLb0EEPKNSt6locale5facetERNS_12__any_stringEiiiPKT_j");
eb5c59
 asm (".hidden _ZNSt13__facet_shims15__messages_openIcEEiSt17integral_constantIbLb0EEPKNSt6locale5facetEPKcjRKS3_");
eb5c59
diff -Naurp a/libstdc++-v3/src/nonshared11/cow-stdexcept.cc b/libstdc++-v3/src/nonshared11/cow-stdexcept.cc
eb5c59
--- a/libstdc++-v3/src/nonshared11/cow-stdexcept.cc	2020-02-06 10:31:53.417808266 +0000
eb5c59
+++ b/libstdc++-v3/src/nonshared11/cow-stdexcept.cc	2020-02-06 10:26:44.226333419 +0000
eb5c59
@@ -35,7 +35,7 @@ asm (".hidden _ZNSt12__cow_stringaSEOS_"
eb5c59
 asm (".hidden _ZNSt12__cow_stringaSERKS_");
eb5c59
 asm (".hidden _ZNSt12__sso_stringC1ERKSs");
eb5c59
 asm (".hidden _ZNSt12__sso_stringC2ERKSs");
eb5c59
-#if defined(__i386__) || (defined(__powerpc__) && !defined(__powerpc64__))
eb5c59
+#if defined(__i386__) || defined(__arm__) || (defined(__powerpc__) && !defined(__powerpc64__))
eb5c59
 asm (".hidden _ZNSt12__cow_stringC1EPKcj");
eb5c59
 asm (".hidden _ZNSt12__cow_stringC2EPKcj");
eb5c59
 #else
eb5c59
diff -Naurp a/libstdc++-v3/src/nonshared11/cxx11-shim_facets.cc b/libstdc++-v3/src/nonshared11/cxx11-shim_facets.cc
eb5c59
--- a/libstdc++-v3/src/nonshared11/cxx11-shim_facets.cc	2020-02-06 10:31:53.426807959 +0000
eb5c59
+++ b/libstdc++-v3/src/nonshared11/cxx11-shim_facets.cc	2020-02-06 10:26:44.227333385 +0000
eb5c59
@@ -168,7 +168,7 @@ asm (".hidden _ZTVNSt13__facet_shims12_G
eb5c59
 asm (".hidden _ZTVNSt13__facet_shims12_GLOBAL__N_115moneypunct_shimIcLb1EEE");
eb5c59
 asm (".hidden _ZTVNSt13__facet_shims12_GLOBAL__N_115moneypunct_shimIwLb0EEE");
eb5c59
 asm (".hidden _ZTVNSt13__facet_shims12_GLOBAL__N_115moneypunct_shimIwLb1EEE");
eb5c59
-#if defined(__i386__) || (defined(__powerpc__) && !defined(__powerpc64__))
eb5c59
+#if defined(__i386__) || defined(__arm__) || (defined(__powerpc__) && !defined(__powerpc64__))
eb5c59
 asm (".hidden _ZNSt13__facet_shims14__messages_getIcEEvSt17integral_constantIbLb1EEPKNSt6locale5facetERNS_12__any_stringEiiiPKT_j");
eb5c59
 asm (".hidden _ZNSt13__facet_shims14__messages_getIwEEvSt17integral_constantIbLb1EEPKNSt6locale5facetERNS_12__any_stringEiiiPKT_j");
eb5c59
 asm (".hidden _ZNSt13__facet_shims15__messages_openIcEEiSt17integral_constantIbLb1EEPKNSt6locale5facetEPKcjRKS3_");
eb5c59
diff -Naurp a/libstdc++-v3/src/nonshared11/cxx11-wlocale-inst.cc b/libstdc++-v3/src/nonshared11/cxx11-wlocale-inst.cc
eb5c59
--- a/libstdc++-v3/src/nonshared11/cxx11-wlocale-inst.cc	2020-02-06 10:31:53.403808742 +0000
eb5c59
+++ b/libstdc++-v3/src/nonshared11/cxx11-wlocale-inst.cc	2020-02-06 10:26:44.227333385 +0000
eb5c59
@@ -36,7 +36,7 @@ asm (".hidden _ZNKSt17__gnu_cxx_ldbl1287
eb5c59
 asm (".hidden _ZNKSt17__gnu_cxx_ldbl1287num_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE14_M_extract_intB5cxx11IxEES4_S4_S4_RSt8ios_baseRSt12_Ios_IostateRT_");
eb5c59
 asm (".hidden _ZNKSt17__gnu_cxx_ldbl1287num_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE14_M_extract_intB5cxx11IyEES4_S4_S4_RSt8ios_baseRSt12_Ios_IostateRT_");
eb5c59
 #endif
eb5c59
-#if defined(__i386__) || (defined(__powerpc__) && !defined(__powerpc64__))
eb5c59
+#if defined(__i386__) || defined(__arm__)  || (defined(__powerpc__) && !defined(__powerpc64__))
eb5c59
 asm (".hidden _ZNSt15time_put_bynameIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEEC1ERKNSt7__cxx1112basic_stringIcS1_IcESaIcEEEj");
eb5c59
 asm (".hidden _ZNSt15time_put_bynameIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEEC2ERKNSt7__cxx1112basic_stringIcS1_IcESaIcEEEj");
eb5c59
 #else
eb5c59
diff -Naurp a/libstdc++-v3/src/nonshared11/locale-inst-asm.S b/libstdc++-v3/src/nonshared11/locale-inst-asm.S
eb5c59
--- a/libstdc++-v3/src/nonshared11/locale-inst-asm.S	2020-02-06 10:31:53.405808674 +0000
eb5c59
+++ b/libstdc++-v3/src/nonshared11/locale-inst-asm.S	2020-02-06 10:26:44.228333351 +0000
eb5c59
@@ -43,6 +43,11 @@
eb5c59
 #define ALIGN3	.align 2
eb5c59
 #define SECTION2(x).section .gnu.linkonce.s.x,"aw",@progbits
eb5c59
 #define SECTION3(x)SECTION2(x)
eb5c59
+#elif defined __arm__
eb5c59
+#define ALIGN1	.align 4
eb5c59
+#define OBJECT %object
eb5c59
+#define SECTION1(x).section .gnu.linkonce.d.rel.ro.x,"aw",%progbits
eb5c59
+#define SECTION3(x).section .gnu.linkonce.r.x,"a",%progbits
eb5c59
 #elif defined __aarch64__
eb5c59
 #define ALIGN1	.align 3
eb5c59
 #define ALIGN3	.align 3
eb5c59
@@ -288,4 +293,4 @@ _ZTVSt16__numpunct_cacheIwE:
eb5c59
 	POINTER	SYM(_ZTISt16__numpunct_cacheIwE)
eb5c59
 	VPTR(_ZNSt16__numpunct_cacheIwED1Ev)
eb5c59
 	VPTR(_ZNSt16__numpunct_cacheIwED0Ev)
eb5c59
-	.section	.note.GNU-stack,"",@progbits
eb5c59
+	.section	.note.GNU-stack,"",%progbits
eb5c59
diff -Naurp a/libstdc++-v3/src/nonshared11/locale-inst.cc b/libstdc++-v3/src/nonshared11/locale-inst.cc
eb5c59
--- a/libstdc++-v3/src/nonshared11/locale-inst.cc	2020-02-06 10:31:53.439807517 +0000
eb5c59
+++ b/libstdc++-v3/src/nonshared11/locale-inst.cc	2020-02-06 10:30:38.905344733 +0000
eb5c59
@@ -75,13 +75,13 @@ _GLIBCXX_END_NAMESPACE_VERSION
eb5c59
 
eb5c59
 #ifndef _GLIBCXX_NONSHARED_CXX11_80
eb5c59
 #ifdef C_is_char
eb5c59
-#if defined(__i386__) || (defined(__powerpc__) && !defined(__powerpc64__))
eb5c59
+#if defined(__i386__) || defined(__arm__) || (defined(__powerpc__) && !defined(__powerpc64__))
eb5c59
 asm (".hidden _ZSt14__add_groupingIcEPT_S1_S0_PKcjPKS0_S5_");
eb5c59
 #else
eb5c59
 asm (".hidden _ZSt14__add_groupingIcEPT_S1_S0_PKcmPKS0_S5_");
eb5c59
 #endif
eb5c59
 #else
eb5c59
-#if defined(__i386__) || (defined(__powerpc__) && !defined(__powerpc64__))
eb5c59
+#if defined(__i386__) || defined(__arm__) || (defined(__powerpc__) && !defined(__powerpc64__))
eb5c59
 asm (".hidden _ZSt14__add_groupingIwEPT_S1_S0_PKcjPKS0_S5_");
eb5c59
 #else
eb5c59
 asm (".hidden _ZSt14__add_groupingIwEPT_S1_S0_PKcmPKS0_S5_");
eb5c59
diff -Naurp a/libstdc++-v3/src/nonshared11/snprintf_lite.cc b/libstdc++-v3/src/nonshared11/snprintf_lite.cc
eb5c59
--- a/libstdc++-v3/src/nonshared11/snprintf_lite.cc	2020-02-06 10:31:53.451807108 +0000
eb5c59
+++ b/libstdc++-v3/src/nonshared11/snprintf_lite.cc	2020-02-06 10:26:44.229333317 +0000
eb5c59
@@ -30,6 +30,9 @@ asm (".hidden _ZN9__gnu_cxx15__snprintf_
eb5c59
 #elif defined(__powerpc__)
eb5c59
 asm (".hidden _ZN9__gnu_cxx15__concat_size_tEPcjj");
eb5c59
 asm (".hidden _ZN9__gnu_cxx15__snprintf_liteEPcjPKcP13__va_list_tag");
eb5c59
+#elif defined(__arm__)
eb5c59
+asm (".hidden _ZN9__gnu_cxx15__concat_size_tEPcjj");
eb5c59
+asm (".hidden _ZN9__gnu_cxx15__snprintf_liteEPcjPKcSt9__va_list");
eb5c59
 #elif defined(__aarch64__)
eb5c59
 asm (".hidden _ZN9__gnu_cxx15__concat_size_tEPcmm");
eb5c59
 asm (".hidden _ZN9__gnu_cxx15__snprintf_liteEPcmPKcSt9__va_list");
eb5c59
diff -Naurp a/libstdc++-v3/src/nonshared11/sso_string.cc b/libstdc++-v3/src/nonshared11/sso_string.cc
eb5c59
--- a/libstdc++-v3/src/nonshared11/sso_string.cc	2020-02-06 10:31:53.447807245 +0000
eb5c59
+++ b/libstdc++-v3/src/nonshared11/sso_string.cc	2020-02-06 10:26:44.230333283 +0000
eb5c59
@@ -39,7 +39,7 @@ asm (".hidden _ZNSt12__sso_stringD1Ev");
eb5c59
 asm (".hidden _ZNSt12__sso_stringD2Ev");
eb5c59
 asm (".hidden _ZNSt12__sso_stringaSEOS_");
eb5c59
 asm (".hidden _ZNSt12__sso_stringaSERKS_");
eb5c59
-#if defined(__i386__) || (defined(__powerpc__) && !defined(__powerpc64__))
eb5c59
+#if defined(__i386__)  || defined(__arm__) || (defined(__powerpc__) && !defined(__powerpc64__))
eb5c59
 asm (".hidden _ZNSt12__sso_stringC1EPKcj");
eb5c59
 asm (".hidden _ZNSt12__sso_stringC2EPKcj");
eb5c59
 #else
eb5c59
diff -Naurp a/libstdc++-v3/src/nonshared98/char8_t-rtti.S b/libstdc++-v3/src/nonshared98/char8_t-rtti.S
eb5c59
--- a/libstdc++-v3/src/nonshared98/char8_t-rtti.S	2020-02-06 14:28:37.000000000 +0000
eb5c59
+++ b/libstdc++-v3/src/nonshared98/char8_t-rtti.S	2020-02-06 14:40:31.628979022 +0000
eb5c59
@@ -21,12 +21,17 @@
eb5c59
    <http://www.gnu.org/licenses/>.  */
eb5c59
 
eb5c59
 #if defined __x86_64__ || defined __powerpc64__ || defined __s390x__ || defined __ia64__ || defined __aarch64__ \
eb5c59
-    || defined __i386__ || defined __powerpc__ || defined __s390__
eb5c59
+    || defined __i386__ || defined __powerpc__ || defined __s390__ || defined __arm__
eb5c59
 #ifdef __i386__
eb5c59
 #define ALIGN1	.align 4
eb5c59
 #elif defined __x86_64__
eb5c59
 #define ALIGN1	.align 32
eb5c59
 #define ALIGN2	.align 16
eb5c59
+#elif defined __arm__
eb5c59
+#define ALIGN1	.align 4
eb5c59
+#define OBJECT %object
eb5c59
+#define SECTION1(x).section .gnu.linkonce.d.rel.ro.x,"aw",%progbits
eb5c59
+#define SECTION3(x).section .gnu.linkonce.r.x,"a",%progbits
eb5c59
 #elif defined __ia64__
eb5c59
 #define ALIGN1	.align 8
eb5c59
 #define ALIGN3	.align 8
eb5c59
@@ -163,4 +168,4 @@ _ZTSPDu:
eb5c59
 _ZTSDu:
eb5c59
 	STRING	"Du"
eb5c59
 #endif
eb5c59
-	.section	.note.GNU-stack,"",@progbits
eb5c59
+	.section	.note.GNU-stack,"",%progbits
eb5c59
diff -Naurp a/libstdc++-v3/src/nonshared98/decimal-rtti.S b/libstdc++-v3/src/nonshared98/decimal-rtti.S
eb5c59
--- a/libstdc++-v3/src/nonshared98/decimal-rtti.S	2020-02-06 10:31:53.383809423 +0000
eb5c59
+++ b/libstdc++-v3/src/nonshared98/decimal-rtti.S	2020-02-06 10:26:44.231333249 +0000
eb5c59
@@ -21,7 +21,7 @@
eb5c59
    <http://www.gnu.org/licenses/>.  */
eb5c59
 
eb5c59
 #if defined __x86_64__ || defined __powerpc64__ || defined __s390x__ || defined __ia64__ || defined __aarch64__ \
eb5c59
-    || defined __i386__ || defined __powerpc__ || defined __s390__
eb5c59
+    || defined __i386__ || defined __powerpc__ || defined __s390__ || defined __arm__
eb5c59
 #ifdef __i386__
eb5c59
 #define ALIGN1	.align 4
eb5c59
 #elif defined __x86_64__
eb5c59
@@ -43,6 +43,11 @@
eb5c59
 #define ALIGN3	.align 2
eb5c59
 #define SECTION2(x).section .gnu.linkonce.s.x,"aw",@progbits
eb5c59
 #define SECTION3(x)SECTION2(x)
eb5c59
+#elif defined __arm__
eb5c59
+#define ALIGN1	.align 4
eb5c59
+#define OBJECT %object
eb5c59
+#define SECTION1(x).section .gnu.linkonce.d.rel.ro.x,"aw",%progbits
eb5c59
+#define SECTION3(x).section .gnu.linkonce.r.x,"a",%progbits
eb5c59
 #elif defined __aarch64__
eb5c59
 #define ALIGN1	.align 3
eb5c59
 #define ALIGN3	.align 3
eb5c59
@@ -271,4 +276,4 @@ _ZTSPDf:
eb5c59
 _ZTSDf:
eb5c59
 	STRING	"Df"
eb5c59
 #endif
eb5c59
-	.section	.note.GNU-stack,"",@progbits
eb5c59
+	.section	.note.GNU-stack,"",%progbits
eb5c59
diff -Naurp a/libstdc++-v3/src/nonshared98/float128.S b/libstdc++-v3/src/nonshared98/float128.S
eb5c59
--- a/libstdc++-v3/src/nonshared98/float128.S	2020-02-06 10:31:53.376809661 +0000
eb5c59
+++ b/libstdc++-v3/src/nonshared98/float128.S	2020-02-06 10:26:44.231333249 +0000
eb5c59
@@ -20,12 +20,17 @@
eb5c59
    see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
eb5c59
    <http://www.gnu.org/licenses/>.  */
eb5c59
 
eb5c59
-#if defined __x86_64__ || defined __i386__ || defined __ia64__
eb5c59
+#if defined __x86_64__ || defined __i386__ || defined __ia64__ || defined __arm__
eb5c59
 #ifdef __i386__
eb5c59
 #define ALIGN1	.align 4
eb5c59
 #elif defined __x86_64__
eb5c59
 #define ALIGN1	.align 32
eb5c59
 #define ALIGN2	.align 16
eb5c59
+#elif defined __arm__
eb5c59
+#define ALIGN1	.align 4
eb5c59
+#define OBJECT %object
eb5c59
+#define SECTION1(x).section .gnu.linkonce.d.rel.ro.x,"aw",%progbits
eb5c59
+#define SECTION3(x).section .gnu.linkonce.r.x,"a",%progbits
eb5c59
 #elif defined __ia64__
eb5c59
 #define ALIGN1	.align 8
eb5c59
 #define ALIGN3	.align 8
eb5c59
@@ -159,4 +164,4 @@ _ZTSPg:
eb5c59
 _ZTSg:
eb5c59
 	STRING	"g"
eb5c59
 #endif
eb5c59
-	.section	.note.GNU-stack,"",@progbits
eb5c59
+	.section	.note.GNU-stack,"",%progbits
eb5c59
diff -Naurp a/libstdc++-v3/src/nonshared98/int128.S b/libstdc++-v3/src/nonshared98/int128.S
eb5c59
--- a/libstdc++-v3/src/nonshared98/int128.S	2020-02-06 10:31:53.398808912 +0000
eb5c59
+++ b/libstdc++-v3/src/nonshared98/int128.S	2020-02-06 10:26:44.232333215 +0000
eb5c59
@@ -213,4 +213,4 @@ _ZTSPo:
eb5c59
 _ZTSo:
eb5c59
 	STRING	"o"
eb5c59
 #endif
eb5c59
-	.section	.note.GNU-stack,"",@progbits
eb5c59
+	.section	.note.GNU-stack,"",%progbits
eb5c59
diff -Naurp a/libstdc++-v3/src/nonshared98/locale_facets.cc b/libstdc++-v3/src/nonshared98/locale_facets.cc
eb5c59
--- a/libstdc++-v3/src/nonshared98/locale_facets.cc	2020-02-06 10:31:53.381809491 +0000
eb5c59
+++ b/libstdc++-v3/src/nonshared98/locale_facets.cc	2020-02-06 10:26:44.232333215 +0000
eb5c59
@@ -22,7 +22,7 @@
eb5c59
 
eb5c59
 #define _GLIBCXX_NONSHARED_CXX11
eb5c59
 #include "../c++98/locale_facets.cc"
eb5c59
-#if defined(__i386__) || (defined(__powerpc__) && !defined(__powerpc64__))
eb5c59
+#if defined(__i386__)  || defined(__arm__) || (defined(__powerpc__) && !defined(__powerpc64__))
eb5c59
 asm (".hidden _ZSt22__verify_grouping_implPKcjS0_j");
eb5c59
 #else
eb5c59
 asm (".hidden _ZSt22__verify_grouping_implPKcmS0_m");
eb5c59
diff -Naurp a/libstdc++-v3/src/nonshared98/nullptr-rtti.S b/libstdc++-v3/src/nonshared98/nullptr-rtti.S
eb5c59
--- a/libstdc++-v3/src/nonshared98/nullptr-rtti.S	2020-02-06 10:31:53.396808981 +0000
eb5c59
+++ b/libstdc++-v3/src/nonshared98/nullptr-rtti.S	2020-02-06 10:26:44.233333181 +0000
eb5c59
@@ -21,7 +21,7 @@
eb5c59
    <http://www.gnu.org/licenses/>.  */
eb5c59
 
eb5c59
 #if defined __x86_64__ || defined __powerpc64__ || defined __s390x__ || defined __ia64__ || defined __aarch64__ \
eb5c59
-    || defined __i386__ || defined __powerpc__ || defined __s390__
eb5c59
+    || defined __i386__ || defined __powerpc__ || defined __s390__ || defined __arm__
eb5c59
 #ifdef __i386__
eb5c59
 #define ALIGN1	.align 4
eb5c59
 #elif defined __x86_64__
eb5c59
@@ -43,6 +43,11 @@
eb5c59
 #define ALIGN3	.align 2
eb5c59
 #define SECTION2(x).section .gnu.linkonce.s.x,"aw",@progbits
eb5c59
 #define SECTION3(x)SECTION2(x)
eb5c59
+#elif defined __arm__
eb5c59
+#define ALIGN1	.align 4
eb5c59
+#define OBJECT	%object
eb5c59
+#define SECTION1(x).section .gnu.linkonce.d.rel.ro.x,"aw",%progbits
eb5c59
+#define SECTION3(x).section .gnu.linkonce.r.x,"a",%progbits
eb5c59
 #elif defined __aarch64__
eb5c59
 #define ALIGN1	.align 3
eb5c59
 #define ALIGN3	.align 3
eb5c59
@@ -163,4 +168,4 @@ _ZTSPDn:
eb5c59
 _ZTSDn:
eb5c59
 	STRING	"Dn"
eb5c59
 #endif
eb5c59
-	.section	.note.GNU-stack,"",@progbits
eb5c59
+	.section	.note.GNU-stack,"",%progbits