diff options
author | Jeff Law <law@redhat.com> | 2020-02-10 14:12:32 -0700 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 2020-02-10 14:12:32 -0700 |
commit | 7214fce3024d726ad548d7003fa162eb5021c491 (patch) | |
tree | 85e872378c8742901758e1f53221bf7635a1f891 /libgcc/config/frv/frvend.c | |
parent | c88ffcc6f4f46223c219014729f33f6cb9649928 (diff) | |
download | gcc-7214fce3024d726ad548d7003fa162eb5021c491.tar.gz |
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.
Diffstat (limited to 'libgcc/config/frv/frvend.c')
-rw-r--r-- | libgcc/config/frv/frvend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgcc/config/frv/frvend.c b/libgcc/config/frv/frvend.c index eb3494cad96..d2b83b294ca 100644 --- a/libgcc/config/frv/frvend.c +++ b/libgcc/config/frv/frvend.c @@ -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. */ |