Fix libgcc build failure for FRV with recent versions of gas.
* config/frv/frvbegin.c: Use right flags for .ctors and .dtors sections. * config/frv/frvend.c: Similarly.
This commit is contained in:
parent
c88ffcc6f4
commit
7214fce302
@ -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>
|
2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
PR libgcc/85334
|
PR libgcc/85334
|
||||||
|
@ -59,8 +59,8 @@ __asm__ (".section " SECTION "," FLAGS "\n\t" \
|
|||||||
/* Beginning of .ctor/.dtor sections that provides a list of constructors and
|
/* Beginning of .ctor/.dtor sections that provides a list of constructors and
|
||||||
destructors to run. */
|
destructors to run. */
|
||||||
|
|
||||||
INIT_SECTION_NEG_ONE (".ctors", "\"aw\"", "__CTOR_LIST__");
|
INIT_SECTION_NEG_ONE (".ctors", "\"a\"", "__CTOR_LIST__");
|
||||||
INIT_SECTION_NEG_ONE (".dtors", "\"aw\"", "__DTOR_LIST__");
|
INIT_SECTION_NEG_ONE (".dtors", "\"a\"", "__DTOR_LIST__");
|
||||||
|
|
||||||
/* Beginning of .eh_frame section that provides all of the exception handling
|
/* Beginning of .eh_frame section that provides all of the exception handling
|
||||||
tables. */
|
tables. */
|
||||||
|
@ -52,8 +52,8 @@ __asm__ (".section " SECTION "," FLAGS "\n\t" \
|
|||||||
/* End of .ctor/.dtor sections that provides a list of constructors and
|
/* End of .ctor/.dtor sections that provides a list of constructors and
|
||||||
destructors to run. */
|
destructors to run. */
|
||||||
|
|
||||||
FINI_SECTION_ZERO (".ctors", "\"aw\"", "__CTOR_END__");
|
FINI_SECTION_ZERO (".ctors", "\"a\"", "__CTOR_END__");
|
||||||
FINI_SECTION_ZERO (".dtors", "\"aw\"", "__DTOR_END__");
|
FINI_SECTION_ZERO (".dtors", "\"a\"", "__DTOR_END__");
|
||||||
|
|
||||||
/* End of .eh_frame section that provides all of the exception handling
|
/* End of .eh_frame section that provides all of the exception handling
|
||||||
tables. */
|
tables. */
|
||||||
|
Loading…
Reference in New Issue
Block a user