gcc/libgcc/config/rs6000
Kewen Lin 83c3550ee9 libgcc: Use initarray section type for .init_stack
One of my workmates found there is a warning like:

  libgcc/config/rs6000/morestack.S:402: Warning: ignoring
    incorrect section type for .init_array.00000

when compiling libgcc/config/rs6000/morestack.S.

Since commit r13-6545 touched that file recently, which was
suspected to be responsible for this warning, I did some
investigation and found this is a warning staying for a long
time.  For section .init_stack*, it's preferred to use
section type SHT_INIT_ARRAY.  So this patch is use
"@init_array" to replace "@progbits".

Although the warning is trivial, Segher suggested me to
post this to fix it, in order to avoid any possible
misunderstanding/confusion on the warning.

As Alan confirmed, this doesn't require a premise check
on if the existing binutils supports "@init_array" or not,
"because if you want split-stack to work, you must link
with gold, any version of binutils that has gold has an
assembler that understands @init_array". (Thanks Alan!)

libgcc/ChangeLog:

	* config/i386/morestack.S: Use @init_array rather than
	@progbits for section type of section .init_array.
	* config/rs6000/morestack.S: Likewise.
	* config/s390/morestack.S: Likewise.
2023-06-04 22:39:32 -05:00
..
_dd_to_kf.c Update copyright years. 2023-01-16 11:52:17 +01:00
_divkc3.c PR target/107299: Fix build issue when long double is IEEE 128-bit 2023-03-06 17:38:33 -05:00
_kf_to_dd.c Update copyright years. 2023-01-16 11:52:17 +01:00
_kf_to_sd.c Update copyright years. 2023-01-16 11:52:17 +01:00
_kf_to_td.c Update copyright years. 2023-01-16 11:52:17 +01:00
_mulkc3.c PR target/107299: Fix build issue when long double is IEEE 128-bit 2023-03-06 17:38:33 -05:00
_powikf2.c Update copyright years. 2023-01-16 11:52:17 +01:00
_sd_to_kf.c Update copyright years. 2023-01-16 11:52:17 +01:00
_td_to_kf.c Update copyright years. 2023-01-16 11:52:17 +01:00
aix-unwind.h Update copyright years. 2023-01-16 11:52:17 +01:00
aixinitfini.c
atexit.c Update copyright years. 2023-01-16 11:52:17 +01:00
crtcxa.c Update copyright years. 2023-01-16 11:52:17 +01:00
crtdbase.S Update copyright years. 2023-01-16 11:52:17 +01:00
crtresfpr.S Update copyright years. 2023-01-16 11:52:17 +01:00
crtresgpr.S Update copyright years. 2023-01-16 11:52:17 +01:00
crtrestvr.S Update copyright years. 2023-01-16 11:52:17 +01:00
crtresxfpr.S Update copyright years. 2023-01-16 11:52:17 +01:00
crtresxgpr.S Update copyright years. 2023-01-16 11:52:17 +01:00
crtsavevr.S Update copyright years. 2023-01-16 11:52:17 +01:00
crtsavfpr.S Update copyright years. 2023-01-16 11:52:17 +01:00
crtsavgpr.S Update copyright years. 2023-01-16 11:52:17 +01:00
cxa_atexit.c Update copyright years. 2023-01-16 11:52:17 +01:00
cxa_finalize.c Update copyright years. 2023-01-16 11:52:17 +01:00
darwin-asm.h Update copyright years. 2023-01-16 11:52:17 +01:00
darwin-crt2.c Update copyright years. 2023-01-16 11:52:17 +01:00
darwin-fallback.c Update copyright years. 2023-01-16 11:52:17 +01:00
darwin-fpsave.S Update copyright years. 2023-01-16 11:52:17 +01:00
darwin-gpsave.S Update copyright years. 2023-01-16 11:52:17 +01:00
darwin-tramp.S Update copyright years. 2023-01-16 11:52:17 +01:00
darwin-unwind.h Update copyright years. 2023-01-16 11:52:17 +01:00
darwin-vecsave.S Update copyright years. 2023-01-16 11:52:17 +01:00
darwin-world.S Update copyright years. 2023-01-16 11:52:17 +01:00
e500crtres32gpr.S Update copyright years. 2023-01-16 11:52:17 +01:00
e500crtres64gpr.S Update copyright years. 2023-01-16 11:52:17 +01:00
e500crtres64gprctr.S Update copyright years. 2023-01-16 11:52:17 +01:00
e500crtrest32gpr.S Update copyright years. 2023-01-16 11:52:17 +01:00
e500crtrest64gpr.S Update copyright years. 2023-01-16 11:52:17 +01:00
e500crtresx32gpr.S Update copyright years. 2023-01-16 11:52:17 +01:00
e500crtresx64gpr.S Update copyright years. 2023-01-16 11:52:17 +01:00
e500crtsav32gpr.S Update copyright years. 2023-01-16 11:52:17 +01:00
e500crtsav64gpr.S Update copyright years. 2023-01-16 11:52:17 +01:00
e500crtsav64gprctr.S Update copyright years. 2023-01-16 11:52:17 +01:00
e500crtsavg32gpr.S Update copyright years. 2023-01-16 11:52:17 +01:00
e500crtsavg64gpr.S Update copyright years. 2023-01-16 11:52:17 +01:00
e500crtsavg64gprctr.S Update copyright years. 2023-01-16 11:52:17 +01:00
eabi-ci.S Update copyright years. 2023-01-16 11:52:17 +01:00
eabi-cn.S Update copyright years. 2023-01-16 11:52:17 +01:00
eabi.S Update copyright years. 2023-01-16 11:52:17 +01:00
exit.h Update copyright years. 2023-01-16 11:52:17 +01:00
extendkftf2-sw.c Update copyright years. 2023-01-16 11:52:17 +01:00
fixkfti-sw.c Update copyright years. 2023-01-16 11:52:17 +01:00
fixunskfti-sw.c Update copyright years. 2023-01-16 11:52:17 +01:00
float128-hw.c Update copyright years. 2023-01-16 11:52:17 +01:00
float128-ifunc.c Update copyright years. 2023-01-16 11:52:17 +01:00
float128-p10.c Update copyright years. 2023-01-16 11:52:17 +01:00
float128-sed Conversions between 128-bit integer and floating point values. 2021-06-09 11:20:07 -05:00
float128-sed-hw Conversions between 128-bit integer and floating point values. 2021-06-09 11:20:07 -05:00
floattikf-sw.c Update copyright years. 2023-01-16 11:52:17 +01:00
floatuntikf-sw.c Update copyright years. 2023-01-16 11:52:17 +01:00
freebsd-unwind.h Update copyright years. 2023-01-16 11:52:17 +01:00
gthr-aix.h Update copyright years. 2023-01-16 11:52:17 +01:00
ibm-ldouble-format Update copyright years. 2023-01-16 11:52:17 +01:00
ibm-ldouble.c Update copyright years. 2023-01-16 11:52:17 +01:00
libgcc-aix-cxa.ver
libgcc-glibc.ver Update copyright years. 2023-01-16 11:52:17 +01:00
libgcc-ibm-ldouble.ver
linux-unwind.h Update copyright years. 2023-01-16 11:52:17 +01:00
morestack.S libgcc: Use initarray section type for .init_stack 2023-06-04 22:39:32 -05:00
on_exit.c Update copyright years. 2023-01-16 11:52:17 +01:00
quad-float128.h PR target/107299: Fix build issue when long double is IEEE 128-bit 2023-03-06 17:38:33 -05:00
sfp-exceptions.c Update copyright years. 2023-01-16 11:52:17 +01:00
sfp-machine.h
sol-ci.S Update copyright years. 2023-01-16 11:52:17 +01:00
sol-cn.S Update copyright years. 2023-01-16 11:52:17 +01:00
t-aix-cxa
t-crtstuff
t-darwin libgcc, Darwin: Build a libgcc_s.1 for backwards compatibility. 2021-12-08 19:53:28 +00:00
t-darwin-ehs Darwin, libgcc: Fix build errors on powerpc-darwin8. 2022-03-04 16:44:54 +00:00
t-darwin64
t-e500v1-fp Update copyright years. 2023-01-16 11:52:17 +01:00
t-e500v2-fp Update copyright years. 2023-01-16 11:52:17 +01:00
t-float128 Conversions between 128-bit integer and floating point values. 2021-06-09 11:20:07 -05:00
t-float128-hw rs6000: Fix typos in float128 ISA3.1 support 2021-06-22 23:09:30 -05:00
t-float128-p10-hw rs6000: Fix typos in float128 ISA3.1 support 2021-06-22 23:09:30 -05:00
t-freebsd Update copyright years. 2023-01-16 11:52:17 +01:00
t-freebsd64
t-ibm-ldouble
t-linux rs6000: Fix up libgcc ABI when built with --with-long-double-format=ieee [PR97653] 2021-04-03 10:05:32 +02:00
t-lynx
t-netbsd
t-ppc64-fp [RS6000] Use LIB2_SIDITI_CONV_FUNCS in place of ppc64-fp.c 2020-11-17 10:39:01 +10:30
t-ppccomm
t-savresfgpr
t-slibgcc-aix Update copyright years. 2023-01-16 11:52:17 +01:00
t-stack-rs6000
t-vxworks Replace t-ppccomm by t-vxworks in libgcc/config/rs6000 2021-12-10 13:17:22 +00:00
tramp.S Update copyright years. 2023-01-16 11:52:17 +01:00
trunctfkf2-sw.c Update copyright years. 2023-01-16 11:52:17 +01:00