]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix libgcc build failure for FRV with recent versions of gas.
authorJeff Law <law@redhat.com>
Mon, 10 Feb 2020 21:12:32 +0000 (14:12 -0700)
committerJeff Law <law@redhat.com>
Mon, 10 Feb 2020 21:12:32 +0000 (14:12 -0700)
* config/frv/frvbegin.c: Use right flags for .ctors and .dtors
sections.
* config/frv/frvend.c: Similarly.

libgcc/ChangeLog
libgcc/config/frv/frvbegin.c
libgcc/config/frv/frvend.c

index 4c7443a045764de13120c54c7da846d578c64737..917d0e765681a916c9e93aeddface178c368ffa4 100644 (file)
@@ -1,3 +1,9 @@
+2020-02-10  Jeff Law  <law@redhat.com>
+
+       * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
+       sections.
+       * config/frv/frvend.c: Similarly.
+
 2020-02-10  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR libgcc/85334
index 8ab1a1b989dfa767da243a17bd0cd00adeaaf1fe..0f54bf1964681cb0182d288a49feb419be945636 100644 (file)
@@ -59,8 +59,8 @@ __asm__ (".section " SECTION "," FLAGS "\n\t"                         \
 /* Beginning of .ctor/.dtor sections that provides a list of constructors and
    destructors to run.  */
 
-INIT_SECTION_NEG_ONE (".ctors", "\"aw\"", "__CTOR_LIST__");
-INIT_SECTION_NEG_ONE (".dtors", "\"aw\"", "__DTOR_LIST__");
+INIT_SECTION_NEG_ONE (".ctors", "\"a\"", "__CTOR_LIST__");
+INIT_SECTION_NEG_ONE (".dtors", "\"a\"", "__DTOR_LIST__");
 
 /* Beginning of .eh_frame section that provides all of the exception handling
    tables.  */
index eb3494cad966972e697da387b8d885f5b8cc441e..d2b83b294cac2c6867568b3b2c2990ce3fa2a02b 100644 (file)
@@ -52,8 +52,8 @@ __asm__ (".section " SECTION "," FLAGS "\n\t"                         \
 /* End of .ctor/.dtor sections that provides a list of constructors and
    destructors to run.  */
 
-FINI_SECTION_ZERO (".ctors", "\"aw\"", "__CTOR_END__");
-FINI_SECTION_ZERO (".dtors", "\"aw\"", "__DTOR_END__");
+FINI_SECTION_ZERO (".ctors", "\"a\"", "__CTOR_END__");
+FINI_SECTION_ZERO (".dtors", "\"a\"", "__DTOR_END__");
 
 /* End of .eh_frame section that provides all of the exception handling
    tables.  */