aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2023-03-29 09:01:23 -0700
committerIan Lance Taylor <iant@golang.org>2023-03-29 09:01:23 -0700
commit6612f4f8cb9b0d5af18ec69ad04e56debc3e6ced (patch)
tree1deecdcfbf185c7044bc861d0ace51285c96cb62 /libgcc
parent795cffe109e28b248a54b8ee583cbae48368c2a7 (diff)
parentaa8f4242efc99f24de73c59d53996f28db28c13f (diff)
downloadgcc-6612f4f8cb9b0d5af18ec69ad04e56debc3e6ced.zip
gcc-6612f4f8cb9b0d5af18ec69ad04e56debc3e6ced.tar.gz
gcc-6612f4f8cb9b0d5af18ec69ad04e56debc3e6ced.tar.bz2
Merge from trunk revision aa8f4242efc99f24de73c59d53996f28db28c13f.
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog496
-rw-r--r--libgcc/Makefile.in4
-rw-r--r--libgcc/config.host66
-rw-r--r--libgcc/config/aarch64/aarch64-unwind.h42
-rw-r--r--libgcc/config/aarch64/crtfastmath.c2
-rw-r--r--libgcc/config/aarch64/crti.S2
-rw-r--r--libgcc/config/aarch64/crtn.S2
-rw-r--r--libgcc/config/aarch64/freebsd-unwind.h6
-rw-r--r--libgcc/config/aarch64/libgcc-softfp.ver15
-rw-r--r--libgcc/config/aarch64/linux-unwind.h10
-rw-r--r--libgcc/config/aarch64/lse-init.c2
-rw-r--r--libgcc/config/aarch64/lse.S2
-rw-r--r--libgcc/config/aarch64/sfp-exceptions.c2
-rw-r--r--libgcc/config/aarch64/sfp-machine.h4
-rw-r--r--libgcc/config/aarch64/sync-cache.c2
-rw-r--r--libgcc/config/aarch64/t-aarch642
-rw-r--r--libgcc/config/aarch64/t-lse2
-rw-r--r--libgcc/config/aarch64/t-softfp7
-rw-r--r--libgcc/config/aarch64/value-unwind.h2
-rw-r--r--libgcc/config/alpha/crtfastmath.c2
-rw-r--r--libgcc/config/alpha/libgcc-alpha-ldbl.ver2
-rw-r--r--libgcc/config/alpha/linux-unwind.h8
-rw-r--r--libgcc/config/alpha/qrnnd.S2
-rw-r--r--libgcc/config/alpha/vms-dwarf2.S2
-rw-r--r--libgcc/config/alpha/vms-dwarf2eh.S2
-rw-r--r--libgcc/config/alpha/vms-gcc_shell_handler.c2
-rw-r--r--libgcc/config/alpha/vms-unwind.h8
-rw-r--r--libgcc/config/arc/asm.h2
-rw-r--r--libgcc/config/arc/crti.S2
-rw-r--r--libgcc/config/arc/crtn.S2
-rw-r--r--libgcc/config/arc/crttls.S2
-rw-r--r--libgcc/config/arc/divtab-arc700.c2
-rw-r--r--libgcc/config/arc/dp-hack.h2
-rw-r--r--libgcc/config/arc/fp-hack.h2
-rw-r--r--libgcc/config/arc/ieee-754/adddf3.S2
-rw-r--r--libgcc/config/arc/ieee-754/addsf3.S2
-rw-r--r--libgcc/config/arc/ieee-754/arc-ieee-754.h2
-rw-r--r--libgcc/config/arc/ieee-754/arc600-dsp/divdf3.S2
-rw-r--r--libgcc/config/arc/ieee-754/arc600-dsp/divsf3.S2
-rw-r--r--libgcc/config/arc/ieee-754/arc600-dsp/muldf3.S2
-rw-r--r--libgcc/config/arc/ieee-754/arc600-dsp/mulsf3.S2
-rw-r--r--libgcc/config/arc/ieee-754/arc600-mul64/divdf3.S2
-rw-r--r--libgcc/config/arc/ieee-754/arc600-mul64/divsf3.S2
-rw-r--r--libgcc/config/arc/ieee-754/arc600-mul64/muldf3.S2
-rw-r--r--libgcc/config/arc/ieee-754/arc600-mul64/mulsf3.S2
-rw-r--r--libgcc/config/arc/ieee-754/arc600/divsf3.S2
-rw-r--r--libgcc/config/arc/ieee-754/arc600/mulsf3.S2
-rw-r--r--libgcc/config/arc/ieee-754/divdf3.S2
-rw-r--r--libgcc/config/arc/ieee-754/divsf3-stdmul.S2
-rw-r--r--libgcc/config/arc/ieee-754/divsf3.S2
-rw-r--r--libgcc/config/arc/ieee-754/divtab-arc-df.c2
-rw-r--r--libgcc/config/arc/ieee-754/divtab-arc-sf.c2
-rw-r--r--libgcc/config/arc/ieee-754/eqdf2.S2
-rw-r--r--libgcc/config/arc/ieee-754/eqsf2.S2
-rw-r--r--libgcc/config/arc/ieee-754/extendsfdf2.S2
-rw-r--r--libgcc/config/arc/ieee-754/fixdfsi.S2
-rw-r--r--libgcc/config/arc/ieee-754/fixsfsi.S2
-rw-r--r--libgcc/config/arc/ieee-754/fixunsdfsi.S2
-rw-r--r--libgcc/config/arc/ieee-754/floatsidf.S2
-rw-r--r--libgcc/config/arc/ieee-754/floatsisf.S2
-rw-r--r--libgcc/config/arc/ieee-754/floatunsidf.S2
-rw-r--r--libgcc/config/arc/ieee-754/gedf2.S2
-rw-r--r--libgcc/config/arc/ieee-754/gesf2.S2
-rw-r--r--libgcc/config/arc/ieee-754/gtdf2.S2
-rw-r--r--libgcc/config/arc/ieee-754/gtsf2.S2
-rw-r--r--libgcc/config/arc/ieee-754/muldf3.S2
-rw-r--r--libgcc/config/arc/ieee-754/mulsf3.S2
-rw-r--r--libgcc/config/arc/ieee-754/orddf2.S2
-rw-r--r--libgcc/config/arc/ieee-754/ordsf2.S2
-rw-r--r--libgcc/config/arc/ieee-754/truncdfsf2.S2
-rw-r--r--libgcc/config/arc/ieee-754/uneqdf2.S2
-rw-r--r--libgcc/config/arc/ieee-754/uneqsf2.S2
-rw-r--r--libgcc/config/arc/initfini.c2
-rw-r--r--libgcc/config/arc/lib1funcs.S2
-rw-r--r--libgcc/config/arc/lib2funcs.c2
-rw-r--r--libgcc/config/arc/libgcc-excl.ver2
-rw-r--r--libgcc/config/arc/linux-unwind-reg.def2
-rw-r--r--libgcc/config/arc/linux-unwind.h8
-rw-r--r--libgcc/config/arc/t-arc2
-rw-r--r--libgcc/config/arc/t-arc-uClibc2
-rw-r--r--libgcc/config/arm/bpabi-lib.h2
-rw-r--r--libgcc/config/arm/bpabi-v6m.S2
-rw-r--r--libgcc/config/arm/bpabi.S2
-rw-r--r--libgcc/config/arm/bpabi.c2
-rw-r--r--libgcc/config/arm/cmse.c2
-rw-r--r--libgcc/config/arm/cmse_nonsecure_call.S2
-rw-r--r--libgcc/config/arm/crtfastmath.c2
-rw-r--r--libgcc/config/arm/crti.S2
-rw-r--r--libgcc/config/arm/crtn.S2
-rw-r--r--libgcc/config/arm/fp16.c2
-rw-r--r--libgcc/config/arm/freebsd-atomic.c2
-rw-r--r--libgcc/config/arm/ieee754-df.S2
-rw-r--r--libgcc/config/arm/ieee754-sf.S2
-rw-r--r--libgcc/config/arm/lib1funcs.S4
-rw-r--r--libgcc/config/arm/libgcc-bpabi.ver2
-rw-r--r--libgcc/config/arm/libunwind.S2
-rw-r--r--libgcc/config/arm/linux-atomic-64bit.c2
-rw-r--r--libgcc/config/arm/linux-atomic.c2
-rw-r--r--libgcc/config/arm/pr-support.c51
-rw-r--r--libgcc/config/arm/symbian-lib.h2
-rw-r--r--libgcc/config/arm/unaligned-funcs.c2
-rw-r--r--libgcc/config/arm/unwind-arm-vxworks.c2
-rw-r--r--libgcc/config/arm/unwind-arm.c30
-rw-r--r--libgcc/config/arm/unwind-arm.h2
-rw-r--r--libgcc/config/avr/avr-lib.h2
-rw-r--r--libgcc/config/avr/lib1funcs-fixed.S2
-rw-r--r--libgcc/config/avr/lib1funcs.S2
-rw-r--r--libgcc/config/avr/lib2funcs.c2
-rw-r--r--libgcc/config/avr/libf7/asm-defs.h2
-rw-r--r--libgcc/config/avr/libf7/f7-wraps.h2
-rwxr-xr-xlibgcc/config/avr/libf7/f7wraps.sh2
-rw-r--r--libgcc/config/avr/libf7/libf7-array.def2
-rw-r--r--libgcc/config/avr/libf7/libf7-asm.sx2
-rw-r--r--libgcc/config/avr/libf7/libf7-const.def2
-rw-r--r--libgcc/config/avr/libf7/libf7-constdef.h2
-rw-r--r--libgcc/config/avr/libf7/libf7.c2
-rw-r--r--libgcc/config/avr/libf7/libf7.h2
-rw-r--r--libgcc/config/bfin/crti.S2
-rw-r--r--libgcc/config/bfin/crtlibid.S2
-rw-r--r--libgcc/config/bfin/crtn.S2
-rw-r--r--libgcc/config/bfin/lib1funcs.S2
-rw-r--r--libgcc/config/bfin/libgcc-glibc.ver2
-rw-r--r--libgcc/config/bfin/linux-unwind.h86
-rw-r--r--libgcc/config/c6x/c6x-abi.h2
-rw-r--r--libgcc/config/c6x/crti.S2
-rw-r--r--libgcc/config/c6x/crtn.S2
-rw-r--r--libgcc/config/c6x/eqd.c2
-rw-r--r--libgcc/config/c6x/eqf.c2
-rw-r--r--libgcc/config/c6x/ged.c2
-rw-r--r--libgcc/config/c6x/gef.c2
-rw-r--r--libgcc/config/c6x/gtd.c2
-rw-r--r--libgcc/config/c6x/gtf.c2
-rw-r--r--libgcc/config/c6x/led.c2
-rw-r--r--libgcc/config/c6x/lef.c2
-rw-r--r--libgcc/config/c6x/lib1funcs.S2
-rw-r--r--libgcc/config/c6x/libgcc-eabi.ver2
-rw-r--r--libgcc/config/c6x/ltd.c2
-rw-r--r--libgcc/config/c6x/ltf.c2
-rw-r--r--libgcc/config/c6x/pr-support.c2
-rw-r--r--libgcc/config/c6x/sfp-machine.h2
-rw-r--r--libgcc/config/c6x/unwind-c6x.c2
-rw-r--r--libgcc/config/c6x/unwind-c6x.h2
-rw-r--r--libgcc/config/cris/arit.c2
-rw-r--r--libgcc/config/cris/mulsi3.S2
-rw-r--r--libgcc/config/cris/sfp-machine.h2
-rw-r--r--libgcc/config/cris/umulsidi3.S2
-rw-r--r--libgcc/config/csky/crti.S2
-rw-r--r--libgcc/config/csky/crtn.S2
-rw-r--r--libgcc/config/csky/lib1funcs.S2
-rw-r--r--libgcc/config/csky/linux-atomic.c2
-rw-r--r--libgcc/config/csky/linux-unwind.h18
-rw-r--r--libgcc/config/csky/t-csky2
-rw-r--r--libgcc/config/csky/t-linux-csky2
-rw-r--r--libgcc/config/darwin-64.c2
-rw-r--r--libgcc/config/darwin-crt-tm.c2
-rw-r--r--libgcc/config/darwin-crt3.c2
-rw-r--r--libgcc/config/epiphany/crti.S2
-rw-r--r--libgcc/config/epiphany/crtint.S2
-rw-r--r--libgcc/config/epiphany/crtm1reg-r43.S2
-rw-r--r--libgcc/config/epiphany/crtm1reg-r63.S2
-rw-r--r--libgcc/config/epiphany/crtn.S2
-rw-r--r--libgcc/config/epiphany/crtrunc.S2
-rw-r--r--libgcc/config/epiphany/divsi3-float.S2
-rw-r--r--libgcc/config/epiphany/divsi3.S2
-rw-r--r--libgcc/config/epiphany/divsi3.c2
-rw-r--r--libgcc/config/epiphany/epiphany-asm.h2
-rw-r--r--libgcc/config/epiphany/ieee-754/eqsf2.S2
-rw-r--r--libgcc/config/epiphany/ieee-754/fast_div.S2
-rw-r--r--libgcc/config/epiphany/ieee-754/gtesf2.S2
-rw-r--r--libgcc/config/epiphany/ieee-754/ordsf2.S2
-rw-r--r--libgcc/config/epiphany/ieee-754/uneqsf2.S2
-rw-r--r--libgcc/config/epiphany/modsi3-float.S2
-rw-r--r--libgcc/config/epiphany/modsi3.S2
-rw-r--r--libgcc/config/epiphany/modsi3.c2
-rw-r--r--libgcc/config/epiphany/mulsi3.c2
-rw-r--r--libgcc/config/epiphany/t-epiphany2
-rw-r--r--libgcc/config/epiphany/udivsi3-float.S2
-rw-r--r--libgcc/config/epiphany/udivsi3-float.c2
-rw-r--r--libgcc/config/epiphany/udivsi3.S2
-rw-r--r--libgcc/config/epiphany/udivsi3.c2
-rw-r--r--libgcc/config/epiphany/umodsi3-float.S2
-rw-r--r--libgcc/config/epiphany/umodsi3.S2
-rw-r--r--libgcc/config/epiphany/umodsi3.c2
-rw-r--r--libgcc/config/fr30/crti.S2
-rw-r--r--libgcc/config/fr30/crtn.S2
-rw-r--r--libgcc/config/fr30/lib1funcs.S2
-rw-r--r--libgcc/config/frv/cmovd.c2
-rw-r--r--libgcc/config/frv/cmovh.c2
-rw-r--r--libgcc/config/frv/cmovw.c2
-rw-r--r--libgcc/config/frv/elf-lib.h2
-rw-r--r--libgcc/config/frv/frv-abi.h2
-rw-r--r--libgcc/config/frv/frvbegin.c2
-rw-r--r--libgcc/config/frv/frvend.c2
-rw-r--r--libgcc/config/frv/lib1funcs.S2
-rw-r--r--libgcc/config/frv/libgcc-glibc.ver2
-rw-r--r--libgcc/config/ft32/crti.S2
-rw-r--r--libgcc/config/ft32/crtn.S2
-rw-r--r--libgcc/config/ft32/lib1funcs.S2
-rw-r--r--libgcc/config/gcn/atomic.c2
-rw-r--r--libgcc/config/gcn/crt0.c2
-rw-r--r--libgcc/config/gcn/gthr-gcn.h2
-rw-r--r--libgcc/config/gcn/lib2-bswapti2.c2
-rw-r--r--libgcc/config/gcn/lib2-divmod-di.c2
-rw-r--r--libgcc/config/gcn/lib2-divmod-hi.c2
-rw-r--r--libgcc/config/gcn/lib2-divmod.c2
-rw-r--r--libgcc/config/gcn/lib2-gcn.h2
-rw-r--r--libgcc/config/gcn/unwind-gcn.c2
-rw-r--r--libgcc/config/gthr-lynx.h2
-rw-r--r--libgcc/config/gthr-rtems.h2
-rw-r--r--libgcc/config/gthr-vxworks-cond.c2
-rw-r--r--libgcc/config/gthr-vxworks-thread.c2
-rw-r--r--libgcc/config/gthr-vxworks-tls.c2
-rw-r--r--libgcc/config/gthr-vxworks.c2
-rw-r--r--libgcc/config/gthr-vxworks.h7
-rw-r--r--libgcc/config/h8300/clzhi2.c2
-rw-r--r--libgcc/config/h8300/crti.S2
-rw-r--r--libgcc/config/h8300/crtn.S2
-rw-r--r--libgcc/config/h8300/ctzhi2.c2
-rw-r--r--libgcc/config/h8300/fixunssfsi.c2
-rw-r--r--libgcc/config/h8300/lib1funcs.S2
-rw-r--r--libgcc/config/h8300/parityhi2.c2
-rw-r--r--libgcc/config/h8300/popcounthi2.c2
-rw-r--r--libgcc/config/h8300/sfp-machine.h2
-rw-r--r--libgcc/config/hardfp.c2
-rw-r--r--libgcc/config/i386/32/sfp-machine.h1
-rw-r--r--libgcc/config/i386/32/tf-signs.c2
-rw-r--r--libgcc/config/i386/64/sfp-machine.h1
-rw-r--r--libgcc/config/i386/64/t-softfp5
-rw-r--r--libgcc/config/i386/cpuinfo.c2
-rw-r--r--libgcc/config/i386/crtfastmath.c2
-rw-r--r--libgcc/config/i386/crti.S2
-rw-r--r--libgcc/config/i386/crtn.S2
-rw-r--r--libgcc/config/i386/crtprec.c2
-rw-r--r--libgcc/config/i386/cygming-crtbegin.c2
-rw-r--r--libgcc/config/i386/cygming-crtend.c2
-rw-r--r--libgcc/config/i386/cygwin.S2
-rw-r--r--libgcc/config/i386/darwin-lib.h2
-rw-r--r--libgcc/config/i386/dragonfly-unwind.h50
-rw-r--r--libgcc/config/i386/elf-lib.h2
-rw-r--r--libgcc/config/i386/enable-execute-stack-mingw32.c3
-rw-r--r--libgcc/config/i386/freebsd-unwind.h50
-rw-r--r--libgcc/config/i386/gnu-unwind.h28
-rw-r--r--libgcc/config/i386/gthr-mcf.h36
-rw-r--r--libgcc/config/i386/gthr-win32-cond.c89
-rw-r--r--libgcc/config/i386/gthr-win32-thread.c162
-rw-r--r--libgcc/config/i386/gthr-win32.c266
-rw-r--r--libgcc/config/i386/gthr-win32.h550
-rw-r--r--libgcc/config/i386/i386-asm.h2
-rw-r--r--libgcc/config/i386/libgcc-bsd.ver2
-rw-r--r--libgcc/config/i386/libgcc-cygming.ver2
-rw-r--r--libgcc/config/i386/libgcc-glibc.ver14
-rw-r--r--libgcc/config/i386/libgcc-mingw.ver23
-rw-r--r--libgcc/config/i386/libgcc-sol2.ver2
-rw-r--r--libgcc/config/i386/linux-unwind.h50
-rw-r--r--libgcc/config/i386/morestack.S2
-rw-r--r--libgcc/config/i386/resms64.h2
-rw-r--r--libgcc/config/i386/resms64f.h2
-rw-r--r--libgcc/config/i386/resms64fx.h2
-rw-r--r--libgcc/config/i386/resms64x.h2
-rw-r--r--libgcc/config/i386/savms64.h2
-rw-r--r--libgcc/config/i386/savms64f.h2
-rw-r--r--libgcc/config/i386/sfp-exceptions.c2
-rw-r--r--libgcc/config/i386/sfp-machine.h1
-rw-r--r--libgcc/config/i386/shadow-stack-unwind.h53
-rw-r--r--libgcc/config/i386/sol2-c1.S2
-rw-r--r--libgcc/config/i386/sol2-unwind.h50
-rw-r--r--libgcc/config/i386/t-gthr-win328
-rw-r--r--libgcc/config/i386/t-mingw-mcfgthread1
-rw-r--r--libgcc/config/i386/t-slibgcc-cygming6
-rw-r--r--libgcc/config/i386/t-slibgcc-mingw1
-rw-r--r--libgcc/config/i386/t-softfp11
-rw-r--r--libgcc/config/i386/value-unwind.h2
-rw-r--r--libgcc/config/i386/w32-unwind.h22
-rw-r--r--libgcc/config/ia64/crtbegin.S2
-rw-r--r--libgcc/config/ia64/crtend.S2
-rw-r--r--libgcc/config/ia64/crtfastmath.c2
-rw-r--r--libgcc/config/ia64/crti.S2
-rw-r--r--libgcc/config/ia64/crtn.S2
-rw-r--r--libgcc/config/ia64/fde-glibc.c2
-rw-r--r--libgcc/config/ia64/fde-vms.c2
-rw-r--r--libgcc/config/ia64/lib1funcs.S2
-rw-r--r--libgcc/config/ia64/libgcc-glibc.ver2
-rw-r--r--libgcc/config/ia64/libgcc-ia64.ver2
-rw-r--r--libgcc/config/ia64/linux-unwind.h2
-rw-r--r--libgcc/config/ia64/quadlib.c2
-rw-r--r--libgcc/config/ia64/sfp-exceptions.c2
-rw-r--r--libgcc/config/ia64/tf-signs.c2
-rw-r--r--libgcc/config/ia64/unwind-ia64.c2
-rw-r--r--libgcc/config/ia64/unwind-ia64.h2
-rw-r--r--libgcc/config/ia64/vms-crtinit.S2
-rw-r--r--libgcc/config/ia64/vms-unwind.h2
-rw-r--r--libgcc/config/iq2000/lib2funcs.c2
-rw-r--r--libgcc/config/libbid/ChangeLog2
-rw-r--r--libgcc/config/libbid/_addsub_dd.c2
-rw-r--r--libgcc/config/libbid/_addsub_sd.c2
-rw-r--r--libgcc/config/libbid/_addsub_td.c2
-rw-r--r--libgcc/config/libbid/_dd_to_df.c2
-rw-r--r--libgcc/config/libbid/_dd_to_di.c2
-rw-r--r--libgcc/config/libbid/_dd_to_hf.c2
-rw-r--r--libgcc/config/libbid/_dd_to_sd.c2
-rw-r--r--libgcc/config/libbid/_dd_to_sf.c2
-rw-r--r--libgcc/config/libbid/_dd_to_si.c2
-rw-r--r--libgcc/config/libbid/_dd_to_td.c2
-rw-r--r--libgcc/config/libbid/_dd_to_tf.c2
-rw-r--r--libgcc/config/libbid/_dd_to_udi.c2
-rw-r--r--libgcc/config/libbid/_dd_to_usi.c2
-rw-r--r--libgcc/config/libbid/_dd_to_xf.c2
-rw-r--r--libgcc/config/libbid/_df_to_dd.c2
-rw-r--r--libgcc/config/libbid/_df_to_sd.c2
-rw-r--r--libgcc/config/libbid/_df_to_td.c2
-rw-r--r--libgcc/config/libbid/_di_to_dd.c2
-rw-r--r--libgcc/config/libbid/_di_to_sd.c2
-rw-r--r--libgcc/config/libbid/_di_to_td.c2
-rw-r--r--libgcc/config/libbid/_div_dd.c2
-rw-r--r--libgcc/config/libbid/_div_sd.c2
-rw-r--r--libgcc/config/libbid/_div_td.c2
-rw-r--r--libgcc/config/libbid/_eq_dd.c2
-rw-r--r--libgcc/config/libbid/_eq_sd.c2
-rw-r--r--libgcc/config/libbid/_eq_td.c2
-rw-r--r--libgcc/config/libbid/_ge_dd.c2
-rw-r--r--libgcc/config/libbid/_ge_sd.c2
-rw-r--r--libgcc/config/libbid/_ge_td.c2
-rw-r--r--libgcc/config/libbid/_gt_dd.c2
-rw-r--r--libgcc/config/libbid/_gt_sd.c2
-rw-r--r--libgcc/config/libbid/_gt_td.c2
-rw-r--r--libgcc/config/libbid/_hf_to_dd.c2
-rw-r--r--libgcc/config/libbid/_hf_to_sd.c2
-rw-r--r--libgcc/config/libbid/_hf_to_td.c2
-rw-r--r--libgcc/config/libbid/_isinfd128.c2
-rw-r--r--libgcc/config/libbid/_isinfd32.c2
-rw-r--r--libgcc/config/libbid/_isinfd64.c2
-rw-r--r--libgcc/config/libbid/_le_dd.c2
-rw-r--r--libgcc/config/libbid/_le_sd.c2
-rw-r--r--libgcc/config/libbid/_le_td.c2
-rw-r--r--libgcc/config/libbid/_lt_dd.c2
-rw-r--r--libgcc/config/libbid/_lt_sd.c2
-rw-r--r--libgcc/config/libbid/_lt_td.c2
-rw-r--r--libgcc/config/libbid/_mul_dd.c2
-rw-r--r--libgcc/config/libbid/_mul_sd.c2
-rw-r--r--libgcc/config/libbid/_mul_td.c2
-rw-r--r--libgcc/config/libbid/_ne_dd.c2
-rw-r--r--libgcc/config/libbid/_ne_sd.c2
-rw-r--r--libgcc/config/libbid/_ne_td.c2
-rw-r--r--libgcc/config/libbid/_sd_to_dd.c2
-rw-r--r--libgcc/config/libbid/_sd_to_df.c2
-rw-r--r--libgcc/config/libbid/_sd_to_di.c2
-rw-r--r--libgcc/config/libbid/_sd_to_hf.c2
-rw-r--r--libgcc/config/libbid/_sd_to_sf.c2
-rw-r--r--libgcc/config/libbid/_sd_to_si.c2
-rw-r--r--libgcc/config/libbid/_sd_to_td.c2
-rw-r--r--libgcc/config/libbid/_sd_to_tf.c2
-rw-r--r--libgcc/config/libbid/_sd_to_udi.c2
-rw-r--r--libgcc/config/libbid/_sd_to_usi.c2
-rw-r--r--libgcc/config/libbid/_sd_to_xf.c2
-rw-r--r--libgcc/config/libbid/_sf_to_dd.c2
-rw-r--r--libgcc/config/libbid/_sf_to_sd.c2
-rw-r--r--libgcc/config/libbid/_sf_to_td.c2
-rw-r--r--libgcc/config/libbid/_si_to_dd.c2
-rw-r--r--libgcc/config/libbid/_si_to_sd.c2
-rw-r--r--libgcc/config/libbid/_si_to_td.c2
-rw-r--r--libgcc/config/libbid/_td_to_dd.c2
-rw-r--r--libgcc/config/libbid/_td_to_df.c2
-rw-r--r--libgcc/config/libbid/_td_to_di.c2
-rw-r--r--libgcc/config/libbid/_td_to_hf.c2
-rw-r--r--libgcc/config/libbid/_td_to_sd.c2
-rw-r--r--libgcc/config/libbid/_td_to_sf.c2
-rw-r--r--libgcc/config/libbid/_td_to_si.c2
-rw-r--r--libgcc/config/libbid/_td_to_tf.c2
-rw-r--r--libgcc/config/libbid/_td_to_udi.c2
-rw-r--r--libgcc/config/libbid/_td_to_usi.c2
-rw-r--r--libgcc/config/libbid/_td_to_xf.c2
-rw-r--r--libgcc/config/libbid/_tf_to_dd.c2
-rw-r--r--libgcc/config/libbid/_tf_to_sd.c2
-rw-r--r--libgcc/config/libbid/_tf_to_td.c2
-rw-r--r--libgcc/config/libbid/_udi_to_dd.c2
-rw-r--r--libgcc/config/libbid/_udi_to_sd.c2
-rw-r--r--libgcc/config/libbid/_udi_to_td.c2
-rw-r--r--libgcc/config/libbid/_unord_dd.c2
-rw-r--r--libgcc/config/libbid/_unord_sd.c2
-rw-r--r--libgcc/config/libbid/_unord_td.c2
-rw-r--r--libgcc/config/libbid/_usi_to_dd.c2
-rw-r--r--libgcc/config/libbid/_usi_to_sd.c2
-rw-r--r--libgcc/config/libbid/_usi_to_td.c2
-rw-r--r--libgcc/config/libbid/_xf_to_dd.c2
-rw-r--r--libgcc/config/libbid/_xf_to_sd.c2
-rw-r--r--libgcc/config/libbid/_xf_to_td.c2
-rw-r--r--libgcc/config/libbid/bid128.c2
-rw-r--r--libgcc/config/libbid/bid128_2_str.h2
-rw-r--r--libgcc/config/libbid/bid128_2_str_macros.h2
-rw-r--r--libgcc/config/libbid/bid128_2_str_tables.c2
-rw-r--r--libgcc/config/libbid/bid128_add.c2
-rw-r--r--libgcc/config/libbid/bid128_compare.c2
-rw-r--r--libgcc/config/libbid/bid128_div.c2
-rw-r--r--libgcc/config/libbid/bid128_fma.c2
-rw-r--r--libgcc/config/libbid/bid128_logb.c2
-rw-r--r--libgcc/config/libbid/bid128_minmax.c2
-rw-r--r--libgcc/config/libbid/bid128_mul.c2
-rw-r--r--libgcc/config/libbid/bid128_next.c2
-rw-r--r--libgcc/config/libbid/bid128_noncomp.c2
-rw-r--r--libgcc/config/libbid/bid128_quantize.c2
-rw-r--r--libgcc/config/libbid/bid128_rem.c2
-rw-r--r--libgcc/config/libbid/bid128_round_integral.c2
-rw-r--r--libgcc/config/libbid/bid128_scalb.c2
-rw-r--r--libgcc/config/libbid/bid128_sqrt.c2
-rw-r--r--libgcc/config/libbid/bid128_string.c2
-rw-r--r--libgcc/config/libbid/bid128_to_int16.c2
-rw-r--r--libgcc/config/libbid/bid128_to_int32.c2
-rw-r--r--libgcc/config/libbid/bid128_to_int64.c2
-rw-r--r--libgcc/config/libbid/bid128_to_int8.c2
-rw-r--r--libgcc/config/libbid/bid128_to_uint16.c2
-rw-r--r--libgcc/config/libbid/bid128_to_uint32.c2
-rw-r--r--libgcc/config/libbid/bid128_to_uint64.c2
-rw-r--r--libgcc/config/libbid/bid128_to_uint8.c2
-rw-r--r--libgcc/config/libbid/bid32_to_bid128.c2
-rw-r--r--libgcc/config/libbid/bid32_to_bid64.c2
-rw-r--r--libgcc/config/libbid/bid64_add.c2
-rw-r--r--libgcc/config/libbid/bid64_compare.c2
-rw-r--r--libgcc/config/libbid/bid64_div.c2
-rw-r--r--libgcc/config/libbid/bid64_fma.c2
-rw-r--r--libgcc/config/libbid/bid64_logb.c2
-rw-r--r--libgcc/config/libbid/bid64_minmax.c2
-rw-r--r--libgcc/config/libbid/bid64_mul.c2
-rw-r--r--libgcc/config/libbid/bid64_next.c2
-rw-r--r--libgcc/config/libbid/bid64_noncomp.c2
-rw-r--r--libgcc/config/libbid/bid64_quantize.c2
-rw-r--r--libgcc/config/libbid/bid64_rem.c2
-rw-r--r--libgcc/config/libbid/bid64_round_integral.c2
-rw-r--r--libgcc/config/libbid/bid64_scalb.c2
-rw-r--r--libgcc/config/libbid/bid64_sqrt.c2
-rw-r--r--libgcc/config/libbid/bid64_string.c2
-rw-r--r--libgcc/config/libbid/bid64_to_bid128.c2
-rw-r--r--libgcc/config/libbid/bid64_to_int16.c2
-rw-r--r--libgcc/config/libbid/bid64_to_int32.c2
-rw-r--r--libgcc/config/libbid/bid64_to_int64.c2
-rw-r--r--libgcc/config/libbid/bid64_to_int8.c2
-rw-r--r--libgcc/config/libbid/bid64_to_uint16.c2
-rw-r--r--libgcc/config/libbid/bid64_to_uint32.c2
-rw-r--r--libgcc/config/libbid/bid64_to_uint64.c2
-rw-r--r--libgcc/config/libbid/bid64_to_uint8.c2
-rw-r--r--libgcc/config/libbid/bid_b2d.h2
-rw-r--r--libgcc/config/libbid/bid_binarydecimal.c2
-rw-r--r--libgcc/config/libbid/bid_conf.h2
-rw-r--r--libgcc/config/libbid/bid_convert_data.c2
-rw-r--r--libgcc/config/libbid/bid_decimal_data.c2
-rw-r--r--libgcc/config/libbid/bid_decimal_globals.c2
-rw-r--r--libgcc/config/libbid/bid_div_macros.h2
-rw-r--r--libgcc/config/libbid/bid_dpd.c2
-rw-r--r--libgcc/config/libbid/bid_flag_operations.c2
-rw-r--r--libgcc/config/libbid/bid_from_int.c2
-rw-r--r--libgcc/config/libbid/bid_functions.h2
-rw-r--r--libgcc/config/libbid/bid_gcc_intrinsics.h2
-rw-r--r--libgcc/config/libbid/bid_inline_add.h2
-rw-r--r--libgcc/config/libbid/bid_internal.h2
-rw-r--r--libgcc/config/libbid/bid_round.c2
-rw-r--r--libgcc/config/libbid/bid_sqrt_macros.h2
-rw-r--r--libgcc/config/libgcc-glibc.ver2
-rw-r--r--libgcc/config/lm32/_ashlsi3.S2
-rw-r--r--libgcc/config/lm32/_ashrsi3.S2
-rw-r--r--libgcc/config/lm32/_divsi3.c2
-rw-r--r--libgcc/config/lm32/_lshrsi3.S2
-rw-r--r--libgcc/config/lm32/_modsi3.c2
-rw-r--r--libgcc/config/lm32/_mulsi3.c2
-rw-r--r--libgcc/config/lm32/_udivmodsi4.c2
-rw-r--r--libgcc/config/lm32/_udivsi3.c2
-rw-r--r--libgcc/config/lm32/_umodsi3.c2
-rw-r--r--libgcc/config/lm32/crti.S2
-rw-r--r--libgcc/config/lm32/crtn.S2
-rw-r--r--libgcc/config/lm32/libgcc_lm32.h2
-rw-r--r--libgcc/config/loongarch/crtfastmath.c2
-rw-r--r--libgcc/config/loongarch/linux-unwind.h6
-rw-r--r--libgcc/config/loongarch/sfp-machine.h2
-rw-r--r--libgcc/config/m32c/lib1funcs.S2
-rw-r--r--libgcc/config/m32c/lib2funcs.c2
-rw-r--r--libgcc/config/m32c/trapv.c2
-rw-r--r--libgcc/config/m32r/initfini.c2
-rw-r--r--libgcc/config/m68k/crti.S2
-rw-r--r--libgcc/config/m68k/crtn.S2
-rw-r--r--libgcc/config/m68k/lb1sf68.S2
-rw-r--r--libgcc/config/m68k/linux-atomic.c2
-rw-r--r--libgcc/config/m68k/linux-unwind.h24
-rw-r--r--libgcc/config/mcore/crti.S2
-rw-r--r--libgcc/config/mcore/crtn.S2
-rw-r--r--libgcc/config/mcore/lib1funcs.S2
-rw-r--r--libgcc/config/microblaze/crti.S2
-rw-r--r--libgcc/config/microblaze/crtn.S2
-rw-r--r--libgcc/config/microblaze/divsi3.S2
-rw-r--r--libgcc/config/microblaze/divsi3_table.c2
-rw-r--r--libgcc/config/microblaze/moddi3.S2
-rw-r--r--libgcc/config/microblaze/modsi3.S2
-rw-r--r--libgcc/config/microblaze/muldi3_hard.S2
-rw-r--r--libgcc/config/microblaze/mulsi3.S2
-rw-r--r--libgcc/config/microblaze/stack_overflow_exit.S2
-rw-r--r--libgcc/config/microblaze/udivsi3.S2
-rw-r--r--libgcc/config/microblaze/umodsi3.S2
-rw-r--r--libgcc/config/mips/crtfastmath.c2
-rw-r--r--libgcc/config/mips/crti.S2
-rw-r--r--libgcc/config/mips/crtn.S2
-rw-r--r--libgcc/config/mips/gthr-mipssde.h2
-rw-r--r--libgcc/config/mips/lib2funcs.c2
-rw-r--r--libgcc/config/mips/libgcc-mips16.ver2
-rw-r--r--libgcc/config/mips/linux-unwind.h6
-rw-r--r--libgcc/config/mips/mips16.S2
-rw-r--r--libgcc/config/mips/sfp-machine.h2
-rw-r--r--libgcc/config/mips/t-mips162
-rw-r--r--libgcc/config/mips/vr4120-div.S2
-rw-r--r--libgcc/config/mmix/crti.S2
-rw-r--r--libgcc/config/mmix/crtn.S2
-rw-r--r--libgcc/config/moxie/crti.S2
-rw-r--r--libgcc/config/moxie/crtn.S2
-rw-r--r--libgcc/config/msp430/cmpsi2.S2
-rw-r--r--libgcc/config/msp430/epilogue.S2
-rw-r--r--libgcc/config/msp430/lib2bitcountHI.c2
-rw-r--r--libgcc/config/msp430/lib2divHI.c2
-rw-r--r--libgcc/config/msp430/lib2divQI.c2
-rw-r--r--libgcc/config/msp430/lib2divSI.c2
-rw-r--r--libgcc/config/msp430/lib2hw_mul.S2
-rw-r--r--libgcc/config/msp430/lib2mul.c2
-rw-r--r--libgcc/config/msp430/lib2shift.c2
-rw-r--r--libgcc/config/msp430/msp430-divmod.h2
-rw-r--r--libgcc/config/msp430/msp430-mul.h2
-rw-r--r--libgcc/config/msp430/slli.S2
-rw-r--r--libgcc/config/msp430/srai.S2
-rw-r--r--libgcc/config/msp430/srli.S2
-rw-r--r--libgcc/config/msp430/t-msp4302
-rw-r--r--libgcc/config/nds32/crtzero.S2
-rw-r--r--libgcc/config/nds32/initfini.c2
-rw-r--r--libgcc/config/nds32/isr-library/adj_intr_lvl.inc2
-rw-r--r--libgcc/config/nds32/isr-library/excp_isr.S2
-rw-r--r--libgcc/config/nds32/isr-library/excp_isr_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/intr_isr.S2
-rw-r--r--libgcc/config/nds32/isr-library/intr_isr_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid00.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid01.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid02.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid03.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid04.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid05.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid06.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid07.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid08.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid09.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid10.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid11.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid12.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid13.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid14.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid15.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid16.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid17.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid18.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid19.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid20.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid21.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid22.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid23.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid24.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid25.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid26.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid27.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid28.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid29.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid30.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid31.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid32.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid33.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid34.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid35.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid36.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid37.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid38.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid39.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid40.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid41.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid42.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid43.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid44.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid45.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid46.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid47.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid48.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid49.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid50.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid51.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid52.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid53.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid54.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid55.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid56.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid57.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid58.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid59.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid60.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid61.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid62.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid63.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid64.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid65.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid66.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid67.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid68.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid69.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid70.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid71.S2
-rw-r--r--libgcc/config/nds32/isr-library/jmptbl_vid72.S2
-rw-r--r--libgcc/config/nds32/isr-library/nmih.S2
-rw-r--r--libgcc/config/nds32/isr-library/reset.S2
-rw-r--r--libgcc/config/nds32/isr-library/reset_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/restore_all.inc2
-rw-r--r--libgcc/config/nds32/isr-library/restore_fpu_regs.inc2
-rw-r--r--libgcc/config/nds32/isr-library/restore_fpu_regs_00.inc2
-rw-r--r--libgcc/config/nds32/isr-library/restore_fpu_regs_01.inc2
-rw-r--r--libgcc/config/nds32/isr-library/restore_fpu_regs_02.inc2
-rw-r--r--libgcc/config/nds32/isr-library/restore_fpu_regs_03.inc2
-rw-r--r--libgcc/config/nds32/isr-library/restore_mac_regs.inc2
-rw-r--r--libgcc/config/nds32/isr-library/restore_partial.inc2
-rw-r--r--libgcc/config/nds32/isr-library/restore_usr_regs.inc2
-rw-r--r--libgcc/config/nds32/isr-library/save_all.inc2
-rw-r--r--libgcc/config/nds32/isr-library/save_fpu_regs.inc2
-rw-r--r--libgcc/config/nds32/isr-library/save_fpu_regs_00.inc2
-rw-r--r--libgcc/config/nds32/isr-library/save_fpu_regs_01.inc2
-rw-r--r--libgcc/config/nds32/isr-library/save_fpu_regs_02.inc2
-rw-r--r--libgcc/config/nds32/isr-library/save_fpu_regs_03.inc2
-rw-r--r--libgcc/config/nds32/isr-library/save_mac_regs.inc2
-rw-r--r--libgcc/config/nds32/isr-library/save_partial.inc2
-rw-r--r--libgcc/config/nds32/isr-library/save_usr_regs.inc2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid00.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid00_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid01.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid01_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid02.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid02_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid03.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid03_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid04.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid04_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid05.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid05_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid06.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid06_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid07.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid07_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid08.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid08_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid09.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid09_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid10.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid10_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid11.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid11_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid12.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid12_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid13.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid13_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid14.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid14_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid15.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid15_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid16.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid16_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid17.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid17_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid18.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid18_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid19.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid19_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid20.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid20_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid21.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid21_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid22.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid22_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid23.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid23_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid24.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid24_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid25.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid25_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid26.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid26_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid27.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid27_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid28.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid28_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid29.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid29_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid30.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid30_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid31.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid31_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid32.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid32_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid33.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid33_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid34.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid34_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid35.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid35_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid36.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid36_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid37.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid37_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid38.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid38_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid39.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid39_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid40.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid40_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid41.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid41_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid42.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid42_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid43.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid43_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid44.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid44_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid45.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid45_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid46.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid46_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid47.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid47_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid48.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid48_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid49.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid49_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid50.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid50_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid51.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid51_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid52.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid52_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid53.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid53_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid54.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid54_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid55.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid55_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid56.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid56_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid57.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid57_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid58.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid58_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid59.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid59_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid60.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid60_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid61.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid61_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid62.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid62_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid63.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid63_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid64.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid64_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid65.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid65_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid66.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid66_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid67.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid67_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid68.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid68_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid69.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid69_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid70.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid70_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid71.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid71_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid72.S2
-rw-r--r--libgcc/config/nds32/isr-library/vec_vid72_4b.S2
-rw-r--r--libgcc/config/nds32/isr-library/wrh.S2
-rw-r--r--libgcc/config/nds32/lib1asmsrc-mculib.S2
-rw-r--r--libgcc/config/nds32/lib1asmsrc-newlib.S2
-rw-r--r--libgcc/config/nds32/lib2csrc-mculib/_clzdi2.c2
-rw-r--r--libgcc/config/nds32/lib2csrc-mculib/_clzsi2.c2
-rw-r--r--libgcc/config/nds32/linux-atomic.c2
-rw-r--r--libgcc/config/nds32/linux-unwind.h4
-rw-r--r--libgcc/config/nds32/sfp-machine.h2
-rw-r--r--libgcc/config/nds32/t-nds322
-rw-r--r--libgcc/config/nds32/t-nds32-glibc2
-rw-r--r--libgcc/config/nds32/t-nds32-isr2
-rw-r--r--libgcc/config/nds32/t-nds32-mculib2
-rw-r--r--libgcc/config/nds32/t-nds32-newlib2
-rw-r--r--libgcc/config/nios2/crti.S2
-rw-r--r--libgcc/config/nios2/crtn.S2
-rw-r--r--libgcc/config/nios2/elf-lib.h2
-rw-r--r--libgcc/config/nios2/lib2-divmod-hi.c2
-rw-r--r--libgcc/config/nios2/lib2-divmod.c2
-rw-r--r--libgcc/config/nios2/lib2-divtable.c2
-rw-r--r--libgcc/config/nios2/lib2-mul.c2
-rw-r--r--libgcc/config/nios2/lib2-nios2.h2
-rw-r--r--libgcc/config/nios2/linux-atomic.c2
-rw-r--r--libgcc/config/nios2/linux-unwind.h4
-rw-r--r--libgcc/config/nios2/sfp-machine.h2
-rw-r--r--libgcc/config/nios2/tramp.c2
-rw-r--r--libgcc/config/nvptx/atomic.c2
-rw-r--r--libgcc/config/nvptx/crt0.c2
-rw-r--r--libgcc/config/nvptx/mgomp.c2
-rw-r--r--libgcc/config/nvptx/nvptx-malloc.h2
-rw-r--r--libgcc/config/nvptx/reduction.c2
-rw-r--r--libgcc/config/or1k/lib1funcs.S2
-rw-r--r--libgcc/config/or1k/linux-unwind.h6
-rw-r--r--libgcc/config/or1k/sfp-machine.h1
-rw-r--r--libgcc/config/or1k/t-or1k2
-rw-r--r--libgcc/config/pa/fptr.c2
-rw-r--r--libgcc/config/pa/gthr-dce.h2
-rw-r--r--libgcc/config/pa/hpux-unwind.h14
-rw-r--r--libgcc/config/pa/lib2funcs.S2
-rw-r--r--libgcc/config/pa/linux-atomic.c81
-rw-r--r--libgcc/config/pa/linux-unwind.h12
-rw-r--r--libgcc/config/pa/milli64.S2
-rw-r--r--libgcc/config/pa/pa64-hpux-lib.h2
-rw-r--r--libgcc/config/pa/quadlib.c2
-rw-r--r--libgcc/config/pa/sfp-exceptions.c2
-rw-r--r--libgcc/config/pa/sfp-machine.h2
-rw-r--r--libgcc/config/pa/stublib.c2
-rw-r--r--libgcc/config/pa/sync-libfuncs.c324
-rw-r--r--libgcc/config/pa/t-netbsd1
-rw-r--r--libgcc/config/pa/t-openbsd1
-rw-r--r--libgcc/config/pa/t-pa64-hpux4
-rw-r--r--libgcc/config/pa/t-pa64-linux8
-rw-r--r--libgcc/config/pa/t-slibgcc-hpux2
-rw-r--r--libgcc/config/pru/asri.c2
-rw-r--r--libgcc/config/pru/eqd.c2
-rw-r--r--libgcc/config/pru/eqf.c2
-rw-r--r--libgcc/config/pru/ged.c2
-rw-r--r--libgcc/config/pru/gef.c2
-rw-r--r--libgcc/config/pru/gtd.c2
-rw-r--r--libgcc/config/pru/gtf.c2
-rw-r--r--libgcc/config/pru/led.c2
-rw-r--r--libgcc/config/pru/lef.c2
-rw-r--r--libgcc/config/pru/lib2bitcountHI.c2
-rw-r--r--libgcc/config/pru/lib2divHI.c2
-rw-r--r--libgcc/config/pru/lib2divQI.c2
-rw-r--r--libgcc/config/pru/lib2divSI.c2
-rw-r--r--libgcc/config/pru/libgcc-eabi.ver2
-rw-r--r--libgcc/config/pru/ltd.c2
-rw-r--r--libgcc/config/pru/ltf.c2
-rw-r--r--libgcc/config/pru/mpyll.S2
-rw-r--r--libgcc/config/pru/pru-abi.h2
-rw-r--r--libgcc/config/pru/pru-asm.h2
-rw-r--r--libgcc/config/pru/pru-divmod.h2
-rw-r--r--libgcc/config/pru/sfp-machine.h2
-rw-r--r--libgcc/config/pru/t-pru2
-rw-r--r--libgcc/config/riscv/atomic.c2
-rw-r--r--libgcc/config/riscv/div.S2
-rw-r--r--libgcc/config/riscv/linux-unwind.h6
-rw-r--r--libgcc/config/riscv/muldi3.S2
-rw-r--r--libgcc/config/riscv/multi3.c2
-rw-r--r--libgcc/config/riscv/riscv-asm.h2
-rw-r--r--libgcc/config/riscv/save-restore.S2
-rw-r--r--libgcc/config/riscv/sfp-machine.h2
-rw-r--r--libgcc/config/riscv/value-unwind.h39
-rw-r--r--libgcc/config/rl78/adddi3.S2
-rw-r--r--libgcc/config/rl78/anddi3.S2
-rw-r--r--libgcc/config/rl78/bit-count.S2
-rw-r--r--libgcc/config/rl78/cmpsi2.S2
-rw-r--r--libgcc/config/rl78/divmodhi.S2
-rw-r--r--libgcc/config/rl78/divmodqi.S2
-rw-r--r--libgcc/config/rl78/divmodsi.S2
-rw-r--r--libgcc/config/rl78/lib2div.c2
-rw-r--r--libgcc/config/rl78/lib2mul.c2
-rw-r--r--libgcc/config/rl78/lib2shift.c2
-rw-r--r--libgcc/config/rl78/lshrsi3.S2
-rw-r--r--libgcc/config/rl78/mulsi3.S2
-rw-r--r--libgcc/config/rl78/rl78-divmod.h2
-rw-r--r--libgcc/config/rl78/rl78-mul.h2
-rw-r--r--libgcc/config/rl78/signbit.S2
-rw-r--r--libgcc/config/rl78/smaxdi3.S2
-rw-r--r--libgcc/config/rl78/smindi3.S2
-rw-r--r--libgcc/config/rl78/subdi3.S2
-rw-r--r--libgcc/config/rl78/t-rl782
-rw-r--r--libgcc/config/rl78/trampoline.S2
-rw-r--r--libgcc/config/rl78/umaxdi3.S2
-rw-r--r--libgcc/config/rl78/umindi3.S2
-rw-r--r--libgcc/config/rs6000/_dd_to_kf.c2
-rw-r--r--libgcc/config/rs6000/_divkc3.c12
-rw-r--r--libgcc/config/rs6000/_kf_to_dd.c2
-rw-r--r--libgcc/config/rs6000/_kf_to_sd.c2
-rw-r--r--libgcc/config/rs6000/_kf_to_td.c2
-rw-r--r--libgcc/config/rs6000/_mulkc3.c11
-rw-r--r--libgcc/config/rs6000/_powikf2.c2
-rw-r--r--libgcc/config/rs6000/_sd_to_kf.c2
-rw-r--r--libgcc/config/rs6000/_td_to_kf.c2
-rw-r--r--libgcc/config/rs6000/aix-unwind.h8
-rw-r--r--libgcc/config/rs6000/atexit.c2
-rw-r--r--libgcc/config/rs6000/crtcxa.c2
-rw-r--r--libgcc/config/rs6000/crtdbase.S2
-rw-r--r--libgcc/config/rs6000/crtresfpr.S2
-rw-r--r--libgcc/config/rs6000/crtresgpr.S2
-rw-r--r--libgcc/config/rs6000/crtrestvr.S2
-rw-r--r--libgcc/config/rs6000/crtresxfpr.S2
-rw-r--r--libgcc/config/rs6000/crtresxgpr.S2
-rw-r--r--libgcc/config/rs6000/crtsavevr.S2
-rw-r--r--libgcc/config/rs6000/crtsavfpr.S2
-rw-r--r--libgcc/config/rs6000/crtsavgpr.S2
-rw-r--r--libgcc/config/rs6000/cxa_atexit.c2
-rw-r--r--libgcc/config/rs6000/cxa_finalize.c2
-rw-r--r--libgcc/config/rs6000/darwin-asm.h2
-rw-r--r--libgcc/config/rs6000/darwin-crt2.c2
-rw-r--r--libgcc/config/rs6000/darwin-fallback.c4
-rw-r--r--libgcc/config/rs6000/darwin-fpsave.S2
-rw-r--r--libgcc/config/rs6000/darwin-gpsave.S2
-rw-r--r--libgcc/config/rs6000/darwin-tramp.S2
-rw-r--r--libgcc/config/rs6000/darwin-unwind.h2
-rw-r--r--libgcc/config/rs6000/darwin-vecsave.S2
-rw-r--r--libgcc/config/rs6000/darwin-world.S2
-rw-r--r--libgcc/config/rs6000/e500crtres32gpr.S2
-rw-r--r--libgcc/config/rs6000/e500crtres64gpr.S2
-rw-r--r--libgcc/config/rs6000/e500crtres64gprctr.S2
-rw-r--r--libgcc/config/rs6000/e500crtrest32gpr.S2
-rw-r--r--libgcc/config/rs6000/e500crtrest64gpr.S2
-rw-r--r--libgcc/config/rs6000/e500crtresx32gpr.S2
-rw-r--r--libgcc/config/rs6000/e500crtresx64gpr.S2
-rw-r--r--libgcc/config/rs6000/e500crtsav32gpr.S2
-rw-r--r--libgcc/config/rs6000/e500crtsav64gpr.S2
-rw-r--r--libgcc/config/rs6000/e500crtsav64gprctr.S2
-rw-r--r--libgcc/config/rs6000/e500crtsavg32gpr.S2
-rw-r--r--libgcc/config/rs6000/e500crtsavg64gpr.S2
-rw-r--r--libgcc/config/rs6000/e500crtsavg64gprctr.S2
-rw-r--r--libgcc/config/rs6000/eabi-ci.S2
-rw-r--r--libgcc/config/rs6000/eabi-cn.S2
-rw-r--r--libgcc/config/rs6000/eabi.S2
-rw-r--r--libgcc/config/rs6000/exit.h2
-rw-r--r--libgcc/config/rs6000/extendkftf2-sw.c2
-rw-r--r--libgcc/config/rs6000/fixkfti-sw.c2
-rw-r--r--libgcc/config/rs6000/fixunskfti-sw.c2
-rw-r--r--libgcc/config/rs6000/float128-hw.c2
-rw-r--r--libgcc/config/rs6000/float128-ifunc.c2
-rw-r--r--libgcc/config/rs6000/float128-p10.c2
-rw-r--r--libgcc/config/rs6000/floattikf-sw.c2
-rw-r--r--libgcc/config/rs6000/floatuntikf-sw.c2
-rw-r--r--libgcc/config/rs6000/freebsd-unwind.h4
-rw-r--r--libgcc/config/rs6000/gthr-aix.h2
-rw-r--r--libgcc/config/rs6000/ibm-ldouble-format2
-rw-r--r--libgcc/config/rs6000/ibm-ldouble.c2
-rw-r--r--libgcc/config/rs6000/libgcc-glibc.ver2
-rw-r--r--libgcc/config/rs6000/linux-unwind.h26
-rw-r--r--libgcc/config/rs6000/morestack.S6
-rw-r--r--libgcc/config/rs6000/on_exit.c2
-rw-r--r--libgcc/config/rs6000/quad-float128.h40
-rw-r--r--libgcc/config/rs6000/sfp-exceptions.c2
-rw-r--r--libgcc/config/rs6000/sol-ci.S2
-rw-r--r--libgcc/config/rs6000/sol-cn.S2
-rw-r--r--libgcc/config/rs6000/t-e500v1-fp2
-rw-r--r--libgcc/config/rs6000/t-e500v2-fp2
-rw-r--r--libgcc/config/rs6000/t-freebsd2
-rw-r--r--libgcc/config/rs6000/t-slibgcc-aix2
-rw-r--r--libgcc/config/rs6000/tramp.S2
-rw-r--r--libgcc/config/rs6000/trunctfkf2-sw.c2
-rw-r--r--libgcc/config/rx/rx-abi-functions.c2
-rw-r--r--libgcc/config/rx/rx-abi.h2
-rw-r--r--libgcc/config/rx/t-rx2
-rw-r--r--libgcc/config/s390/32/_fixdfdi.c2
-rw-r--r--libgcc/config/s390/32/_fixsfdi.c2
-rw-r--r--libgcc/config/s390/32/_fixtfdi.c2
-rw-r--r--libgcc/config/s390/32/_fixunsdfdi.c2
-rw-r--r--libgcc/config/s390/32/_fixunssfdi.c2
-rw-r--r--libgcc/config/s390/32/_fixunstfdi.c2
-rw-r--r--libgcc/config/s390/gthr-tpf.h2
-rw-r--r--libgcc/config/s390/libgcc-glibc.ver2
-rw-r--r--libgcc/config/s390/linux-unwind.h8
-rw-r--r--libgcc/config/s390/morestack.S2
-rw-r--r--libgcc/config/s390/tpf-unwind.h12
-rw-r--r--libgcc/config/score/crti.S2
-rw-r--r--libgcc/config/score/crtn.S2
-rw-r--r--libgcc/config/sh/crt.h2
-rw-r--r--libgcc/config/sh/crt1.S2
-rw-r--r--libgcc/config/sh/crti.S2
-rw-r--r--libgcc/config/sh/crtn.S2
-rw-r--r--libgcc/config/sh/lib1funcs-4-300.S2
-rw-r--r--libgcc/config/sh/lib1funcs-Os-4-200.S2
-rw-r--r--libgcc/config/sh/lib1funcs.S2
-rw-r--r--libgcc/config/sh/lib1funcs.h2
-rw-r--r--libgcc/config/sh/libgcc-glibc.ver2
-rw-r--r--libgcc/config/sh/linux-atomic.c2
-rw-r--r--libgcc/config/sh/linux-unwind.h24
-rw-r--r--libgcc/config/sh/t-sh2
-rw-r--r--libgcc/config/sol2/crtp.c2
-rw-r--r--libgcc/config/sol2/crtpg.c2
-rw-r--r--libgcc/config/sol2/t-sol22
-rw-r--r--libgcc/config/sparc/crtfastmath.c2
-rw-r--r--libgcc/config/sparc/crti.S2
-rw-r--r--libgcc/config/sparc/crtn.S2
-rw-r--r--libgcc/config/sparc/libgcc-glibc.ver2
-rw-r--r--libgcc/config/sparc/linux-unwind.h20
-rw-r--r--libgcc/config/sparc/sol2-c1.S2
-rw-r--r--libgcc/config/sparc/sol2-unwind.h14
-rw-r--r--libgcc/config/stormy16/lib2funcs.c2
-rw-r--r--libgcc/config/stormy16/t-stormy162
-rw-r--r--libgcc/config/t-hardfp2
-rw-r--r--libgcc/config/t-hardfp-sfdf2
-rw-r--r--libgcc/config/t-libunwind-elf2
-rw-r--r--libgcc/config/t-slibgcc2
-rw-r--r--libgcc/config/t-slibgcc-darwin21
-rw-r--r--libgcc/config/t-slibgcc-fuchsia2
-rw-r--r--libgcc/config/t-slibgcc-libgcc2
-rw-r--r--libgcc/config/t-softfp2
-rw-r--r--libgcc/config/t-vxworks36
-rw-r--r--libgcc/config/unwind-dw2-fde-darwin.c2
-rw-r--r--libgcc/config/v850/lib1funcs.S2
-rw-r--r--libgcc/config/vax/lib1funcs.S2
-rw-r--r--libgcc/config/visium/crti.S2
-rw-r--r--libgcc/config/visium/crtn.S2
-rw-r--r--libgcc/config/visium/divdi3.c2
-rw-r--r--libgcc/config/visium/lib2funcs.c2
-rw-r--r--libgcc/config/visium/memcpy.c2
-rw-r--r--libgcc/config/visium/memcpy.h2
-rw-r--r--libgcc/config/visium/memset.c2
-rw-r--r--libgcc/config/visium/memset.h2
-rw-r--r--libgcc/config/visium/moddi3.c2
-rw-r--r--libgcc/config/visium/set_trampoline_parity.c2
-rw-r--r--libgcc/config/visium/t-visium2
-rw-r--r--libgcc/config/visium/udivdi3.c2
-rw-r--r--libgcc/config/visium/udivmoddi4.c2
-rw-r--r--libgcc/config/visium/umoddi3.c2
-rw-r--r--libgcc/config/vms/vms-ucrt0.c2
-rw-r--r--libgcc/config/vxcrtstuff.c24
-rw-r--r--libgcc/config/xtensa/crti.S10
-rw-r--r--libgcc/config/xtensa/crtn.S10
-rw-r--r--libgcc/config/xtensa/ieee754-df.S2
-rw-r--r--libgcc/config/xtensa/ieee754-sf.S2
-rw-r--r--libgcc/config/xtensa/lib1funcs.S10
-rw-r--r--libgcc/config/xtensa/lib2funcs.S10
-rw-r--r--libgcc/config/xtensa/linux-unwind.h6
-rw-r--r--libgcc/config/xtensa/unwind-dw2-xtensa.c2
-rw-r--r--libgcc/config/xtensa/unwind-dw2-xtensa.h2
-rw-r--r--libgcc/config/xtensa/xtensa-config-builtin.h198
-rwxr-xr-xlibgcc/configure1
-rw-r--r--libgcc/crtstuff.c2
-rw-r--r--libgcc/dfp-bit.c2
-rw-r--r--libgcc/dfp-bit.h2
-rw-r--r--libgcc/divmod.c2
-rw-r--r--libgcc/emutls.c2
-rw-r--r--libgcc/enable-execute-stack-mprotect.c2
-rw-r--r--libgcc/find-symver.awk2
-rw-r--r--libgcc/fixed-bit.c2
-rw-r--r--libgcc/fixed-bit.h2
-rw-r--r--libgcc/fp-bit.c2
-rw-r--r--libgcc/fp-bit.h2
-rw-r--r--libgcc/gbl-ctors.h2
-rw-r--r--libgcc/gcov.h2
-rw-r--r--libgcc/generic-morestack-thread.c2
-rw-r--r--libgcc/generic-morestack.c2
-rw-r--r--libgcc/generic-morestack.h2
-rw-r--r--libgcc/gthr-posix.h2
-rw-r--r--libgcc/gthr-single.h2
-rw-r--r--libgcc/gthr.h2
-rw-r--r--libgcc/libgcc-std.ver.in2
-rw-r--r--libgcc/libgcc2.c3
-rw-r--r--libgcc/libgcc2.h6
-rw-r--r--libgcc/libgcov-driver-system.c2
-rw-r--r--libgcc/libgcov-driver.c4
-rw-r--r--libgcc/libgcov-interface.c2
-rw-r--r--libgcc/libgcov-merge.c2
-rw-r--r--libgcc/libgcov-profiler.c2
-rw-r--r--libgcc/libgcov-util.c2
-rw-r--r--libgcc/libgcov.h7
-rwxr-xr-xlibgcc/mkheader.sh2
-rw-r--r--libgcc/mkmap-flat.awk2
-rw-r--r--libgcc/mkmap-symver.awk2
-rw-r--r--libgcc/offloadstuff.c2
-rw-r--r--libgcc/soft-fp/brain.h172
-rw-r--r--libgcc/soft-fp/extendbfsf2.c49
-rw-r--r--libgcc/soft-fp/floatdibf.c45
-rw-r--r--libgcc/soft-fp/floattibf.c45
-rw-r--r--libgcc/soft-fp/floatundibf.c45
-rw-r--r--libgcc/soft-fp/floatuntibf.c45
-rw-r--r--libgcc/soft-fp/quad.h2
-rw-r--r--libgcc/soft-fp/truncbfhf2.c75
-rw-r--r--libgcc/soft-fp/truncdfbf2.c52
-rw-r--r--libgcc/soft-fp/trunchfbf2.c58
-rw-r--r--libgcc/soft-fp/truncsfbf2.c48
-rw-r--r--libgcc/soft-fp/trunctfbf2.c52
-rw-r--r--libgcc/soft-fp/truncxfbf2.c52
-rw-r--r--libgcc/sync.c2
-rw-r--r--libgcc/udivhi3.c2
-rw-r--r--libgcc/udivmod.c2
-rw-r--r--libgcc/udivmodhi4.c2
-rw-r--r--libgcc/udivmodsi4.c2
-rw-r--r--libgcc/unwind-arm-common.inc2
-rw-r--r--libgcc/unwind-c.c2
-rw-r--r--libgcc/unwind-compat.c2
-rw-r--r--libgcc/unwind-compat.h2
-rw-r--r--libgcc/unwind-dw2-btree.h2
-rw-r--r--libgcc/unwind-dw2-execute_cfa.h327
-rw-r--r--libgcc/unwind-dw2-fde-compat.c2
-rw-r--r--libgcc/unwind-dw2-fde-dip.c60
-rw-r--r--libgcc/unwind-dw2-fde.c296
-rw-r--r--libgcc/unwind-dw2-fde.h2
-rw-r--r--libgcc/unwind-dw2.c335
-rw-r--r--libgcc/unwind-dw2.h34
-rw-r--r--libgcc/unwind-generic.h5
-rw-r--r--libgcc/unwind-pe.h2
-rw-r--r--libgcc/unwind-seh.c2
-rw-r--r--libgcc/unwind-sjlj.c2
-rw-r--r--libgcc/unwind.inc6
-rw-r--r--libgcc/vtv_end.c2
-rw-r--r--libgcc/vtv_end_preinit.c2
-rw-r--r--libgcc/vtv_start.c2
-rw-r--r--libgcc/vtv_start_preinit.c2
1102 files changed, 4886 insertions, 2336 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 7c434c9..54b6930 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,493 @@
+2023-03-19 Stafford Horne <shorne@gmail.com>
+
+ * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
+ statement clearing existing exceptions.
+
+2023-03-13 Max Filippov <jcmvbkbc@gmail.com>
+
+ * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
+ * config/xtensa/crtn.S: Likewise.
+ * config/xtensa/lib1funcs.S: Likewise.
+ * config/xtensa/lib2funcs.S: Likewise.
+
+2023-03-12 Jakub Jelinek <jakub@redhat.com>
+
+ * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
+ (softfp_truncations): Add tfbf dfbf sfbf hfbf.
+ (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
+ * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
+ __extendbfsf2 and __trunc{s,d,t,h}fbf2.
+ * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
+ * soft-fp/floatundibf.c: New file.
+ * soft-fp/floatdibf.c: New file.
+
+2023-03-10 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/107703
+ * soft-fp/floattibf.c: New file.
+ * soft-fp/floatuntibf.c: New file.
+ * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
+ * config/i386/64/t-softfp (softfp_extras): Add floattibf and
+ floatuntibf.
+ (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
+
+2023-03-08 Kewen Lin <linkw@linux.ibm.com>
+
+ PR libgcc/108727
+ * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
+ bump size.
+
+2023-03-06 Michael Meissner <meissner@linux.ibm.com>
+
+ PR target/107299
+ * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
+ whether long double is IBM or IEEE.
+ (INFINITY): Likewise.
+ (FABS): Likewise.
+ * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
+ (INFINITY): Likewise.
+ * config/rs6000/quad-float128.h (TF): Remove definition.
+ (TFtype): Define to be long double or _Float128.
+ (TCtype): Define to be _Complex long double or _Complex _Float128.
+ * libgcc2.h (TFtype): Allow machine config files to override this.
+ (TCtype): Likewise.
+ * soft-fp/quad.h (TFtype): Likewise.
+
+2023-02-13 Kito Cheng <kito.cheng@sifive.com>
+
+ * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
+ * config/riscv/value-unwind.h: New.
+
+2023-02-03 Christophe Lyon <christophe.lyon@arm.com>
+
+ * config/arm/pr-support.c (__gnu_unwind_execute): Use
+ TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
+
+2023-01-30 Flavio Cruz <flaviocruz@gmail.com>
+
+ * config.host: Recognize x86_64-*-gnu* targets.
+ * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
+ TODO for now.
+
+2023-01-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
+
+ * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
+ "0xb5".
+
+2023-01-23 Andrea Corallo <andrea.corallo@arm.com>
+ Tejas Belagod <tbelagod@arm.com>
+ Srinath Parvathaneni <srinath.parvathaneni@arm.com>
+
+ * config/arm/pr-support.c (__gnu_unwind_execute): Decode
+ exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
+ with AUTG if found.
+ * config/arm/unwind-arm.c (struct pseudo_regs): New.
+ (phase1_vrs): Introduce new field to store pseudo-reg state.
+ (phase2_vrs): Likewise.
+ (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
+ (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
+ (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
+
+2023-01-18 Wilco Dijkstra <wilco.dijkstra@arm.com>
+
+ PR target/107678
+ * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
+ * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
+ * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
+ encode the return address signing state.
+ * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
+ Check current return address signing state.
+ (aarch64_frob_update_contex): Remove.
+
+2023-01-13 John David Anglin <danglin@gcc.gnu.org>
+
+ * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
+ pa/t-pa64-linux.
+ (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
+ instead of pa/t-hpux and pa/t-pa64.
+ * config/pa/linux-atomic.c: Define u32 type.
+ (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
+ atomic_load_2, atomic_load_4 and atomic_load_8. Update sync
+ defines to use atomic_load calls for type.
+ (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
+ * config/pa/sync-libfuncs.c: New file.
+ * config/pa/t-netbsd (LIB2ADD_ST): Define.
+ * config/pa/t-openbsd (LIB2ADD_ST): Define.
+ * config/pa/t-pa64-hpux: New file.
+ * config/pa/t-pa64-linux: New file.
+
+2023-01-13 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/108331
+ * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
+ struct matching the previous __gthread_mutex_t struct.
+ (__GTHREAD_LEGACY_MUTEX_T): Define.
+
+2023-01-13 Seija Kijin <doremylover456@gmail.com>
+
+ * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
+ unified syntax.
+
+2023-01-07 LIU Hao <lh_mouse@126.com>
+
+ PR middle-end/108300
+ * config/i386/enable-execute-stack-mingw32.c: Define
+ `WIN32_LEAN_AND_MEAN` before <windows.h>.
+ * libgcc2.c: Likewise.
+ * unwind-generic.h: Likewise.
+
+2023-01-03 Florian Weimer <fweimer@redhat.com>
+
+ * unwind-dw2-execute_cfa.h: New file. Extracted from
+ the execute_cfa_program function in unwind-dw2.c.
+ * unwind-dw2.c (execute_cfa_program_generic): New function.
+ (execute_cfa_program_specialized): Likewise.
+ (execute_cfa_program): Call execute_cfa_program_specialized
+ or execute_cfa_program_generic, as appropriate.
+
+2023-01-03 Florian Weimer <fweimer@redhat.com>
+
+ Revert:
+ 2023-01-03 Florian Weimer <fweimer@redhat.com>
+
+ * unwind-dw2.c (dwarf_reg_size): New function.
+ (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
+ (_Unwind_SetSpColumn, uw_install_context_1): Use it.
+ (uw_init_context_1): Do not initialize dwarf_reg_size_table
+ if not in use.
+
+2023-01-03 Florian Weimer <fweimer@redhat.com>
+
+ Revert:
+ 2023-01-03 Florian Weimer <fweimer@redhat.com>
+
+ * unwind-dw2-execute_cfa.h: New file. Extracted from
+ the execute_cfa_program function in unwind-dw2.c.
+ * unwind-dw2.c (execute_cfa_program_generic): New function.
+ (execute_cfa_program_specialized): Likewise.
+ (execute_cfa_program): Call execute_cfa_program_specialized
+ or execute_cfa_program_generic, as appropriate.
+
+2023-01-02 Florian Weimer <fweimer@redhat.com>
+
+ * unwind-dw2-execute_cfa.h: New file. Extracted from
+ the execute_cfa_program function in unwind-dw2.c.
+ * unwind-dw2.c (execute_cfa_program_generic): New function.
+ (execute_cfa_program_specialized): Likewise.
+ (execute_cfa_program): Call execute_cfa_program_specialized
+ or execute_cfa_program_generic, as appropriate.
+
+2023-01-02 Florian Weimer <fweimer@redhat.com>
+
+ * unwind-dw2.c (dwarf_reg_size): New function.
+ (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
+ (_Unwind_SetSpColumn, uw_install_context_1): Use it.
+ (uw_init_context_1): Do not initialize dwarf_reg_size_table
+ if not in use.
+
+2022-12-25 Jonathan Yong <10walls@gmail.com>
+
+ * config/i386/gthr-win32.h: undef CC_NONE
+
+2022-12-24 Iain Sandoe <iain@sandoe.co.uk>
+
+ * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
+ install of libgcc_s.1.dylib when the installation is into the build
+ gcc directory.
+
+2022-12-23 Eric Botcazou <ebotcazou@adacore.com>
+
+ * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
+ as well as new i386/t-slibgcc-mingw fragment.
+ (x86_64-*-mingw*): Likewise.
+ * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
+ both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
+ Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
+ Include stdlib.h instead of errno.h and do not include _mingw.h.
+ (CONST_CAST2): Add specific definition for C++.
+ (ATTRIBUTE_UNUSED): New macro.
+ (__UNUSED_PARAM): Delete.
+ Define WIN32_LEAN_AND_MEAN before including windows.h.
+ (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
+ (__gthread_objc_init_thread_system): Likewise.
+ (__gthread_objc_thread_get_data): Minor tweak.
+ (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
+ (__gthread_objc_condition_deallocate): Likewise.
+ (__gthread_objc_condition_wait): Likewise.
+ (__gthread_objc_condition_broadcast): Likewise.
+ (__gthread_objc_condition_signal): Likewise.
+ Include sys/time.h.
+ (__gthr_win32_DWORD): New typedef.
+ (__gthr_win32_HANDLE): Likewise.
+ (__gthr_win32_CRITICAL_SECTION): Likewise.
+ (__gthr_win32_CONDITION_VARIABLE): Likewise.
+ (__gthread_t): Adjust.
+ (__gthread_key_t): Likewise.
+ (__gthread_mutex_t): Likewise.
+ (__gthread_recursive_mutex_t): Likewise.
+ (__gthread_cond_t): New typedef.
+ (__gthread_time_t): Likewise.
+ (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
+ (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
+ (__GTHREAD_COND_INIT_FUNCTION): Define.
+ (__GTHREAD_TIME_INIT): Likewise.
+ (__gthr_i486_lock_cmp_xchg): Delete.
+ (__gthr_win32_create): Declare.
+ (__gthr_win32_join): Likewise.
+ (__gthr_win32_self): Likewise.
+ (__gthr_win32_detach): Likewise.
+ (__gthr_win32_equal): Likewise.
+ (__gthr_win32_yield): Likewise.
+ (__gthr_win32_mutex_destroy): Likewise.
+ (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
+ (__gthr_win32_cond_broadcast): Likewise.
+ (__gthr_win32_cond_signal): Likewise.
+ (__gthr_win32_cond_wait): Likewise.
+ (__gthr_win32_cond_timedwait): Likewise.
+ (__gthr_win32_recursive_mutex_init_function): Delete.
+ (__gthr_win32_recursive_mutex_lock): Likewise.
+ (__gthr_win32_recursive_mutex_unlock): Likewise.
+ (__gthr_win32_recursive_mutex_destroy): Likewise.
+ (__gthread_create): New inline function.
+ (__gthread_join): Likewise.
+ (__gthread_self): Likewise.
+ (__gthread_detach): Likewise.
+ (__gthread_equal): Likewise.
+ (__gthread_yield): Likewise.
+ (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
+ (__gthread_cond_broadcast): Likewise.
+ (__gthread_cond_signal): Likewise.
+ (__gthread_cond_wait): Likewise.
+ (__gthread_cond_timedwait): Likewise.
+ (__GTHREAD_WIN32_INLINE): New macro.
+ (__GTHREAD_WIN32_COND_INLINE): Likewise.
+ (__GTHREAD_WIN32_ACTIVE_P): Likewise.
+ Define WIN32_LEAN_AND_MEAN before including windows.h.
+ (__gthread_once): Minor tweaks.
+ (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
+ (__gthread_key_delete): Minor tweak.
+ (__gthread_getspecific): Likewise.
+ (__gthread_setspecific): Likewise.
+ (__gthread_mutex_init_function): Reimplement.
+ (__gthread_mutex_destroy): Likewise.
+ (__gthread_mutex_lock): Likewise.
+ (__gthread_mutex_trylock): Likewise.
+ (__gthread_mutex_unlock): Likewise.
+ (__gthr_win32_abs_to_rel_time): Declare.
+ (__gthread_recursive_mutex_init_function): Reimplement.
+ (__gthread_recursive_mutex_destroy): Likewise.
+ (__gthread_recursive_mutex_lock): Likewise.
+ (__gthread_recursive_mutex_trylock): Likewise.
+ (__gthread_recursive_mutex_unlock): Likewise.
+ (__gthread_cond_destroy): New inline function.
+ (__gthread_cond_wait_recursive): Likewise.
+ * config/i386/gthr-win32.c: Delete everything.
+ Include gthr-win32.h to get the out-of-line version of inline routines.
+ Add compile-time checks for the local version of the Win32 types.
+ * config/i386/gthr-win32-cond.c: New file.
+ * config/i386/gthr-win32-thread.c: Likewise.
+ * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
+ EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
+ the static version of libgcc.
+ * config/i386/t-slibgcc-mingw: New file.
+ * config/i386/libgcc-mingw.ver: Likewise.
+
+2022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
+
+ * unwind-dw2-fde.c: Initialize fde object lazily when
+ the first exception tries to pass through.
+
+2022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
+
+ * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
+
+2022-12-08 Max Filippov <jcmvbkbc@gmail.com>
+
+ * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
+ (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
+ (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
+ (XSHAL_ABI): Remove stray symbols from macro definitions.
+
+2022-12-07 Max Filippov <jcmvbkbc@gmail.com>
+
+ * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
+ xtensa-config-builtin.h.
+ * config/xtensa/crtn.S: Likewise.
+ * config/xtensa/lib1funcs.S: Likewise.
+ * config/xtensa/lib2funcs.S: Likewise.
+ * config/xtensa/xtensa-config-builtin.h: New File.
+
+2022-11-04 Florian Weimer <fweimer@redhat.com>
+
+ * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
+ values actually used by BFD ld.
+
+2022-10-23 LIU Hao <lh_mouse@126.com>
+
+ * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
+ libobjc, instead of 'gthr.h'
+
+2022-10-19 LIU Hao <lh_mouse@126.com>
+
+ * config.host: Add new cases for `mcf` thread model
+ * config/i386/gthr-mcf.h: New file
+ * config/i386/t-mingw-mcfgthread: New file
+ * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
+ * configure: Regenerate
+
+2022-10-18 Jonathan Wakely <jwakely@redhat.com>
+
+ * Makefile.in: Quote variable.
+
+2022-10-17 H.J. Lu <hjl.tools@gmail.com>
+
+ * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
+ argument.
+ * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
+ _Unwind_Frames_Increment.
+ (_Unwind_ForcedUnwind_Phase2): Likewise.
+ * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
+ Take the EXC argument. Return _URC_FATAL_PHASE2_ERROR if the
+ return address on normal stack doesn't match the return address
+ on shadow stack.
+
+2022-10-17 Florian Weimer <fweimer@redhat.com>
+
+ * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
+ and reduce its size.
+
+2022-10-14 Jakub Jelinek <jakub@redhat.com>
+
+ * config/i386/t-softfp (softfp_extensions): Add bfsf.
+ (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
+ (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
+ CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
+ -msse2.
+ * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
+ __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
+ * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
+ * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
+ * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
+ * soft-fp/brain.h: New file.
+ * soft-fp/truncsfbf2.c: New file.
+ * soft-fp/truncdfbf2.c: New file.
+ * soft-fp/truncxfbf2.c: New file.
+ * soft-fp/trunctfbf2.c: New file.
+ * soft-fp/trunchfbf2.c: New file.
+ * soft-fp/truncbfhf2.c: New file.
+ * soft-fp/extendbfsf2.c: New file.
+
+2022-10-12 Martin Liska <mliska@suse.cz>
+
+ * libgcov-driver.c: Use new function.
+ * libgcov.h (gcov_write_summary): Rename to ...
+ (gcov_write_object_summary): ... this.
+
+2022-10-11 Olivier Hainque <hainque@adacore.com>
+
+ * config.host (*vxworks*): When enable_shared, add
+ libgcc and crtstuff "shared" fragments for rtp except
+ large code model.
+ (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
+ the list of fragments.
+
+2022-10-06 Jakub Jelinek <jakub@redhat.com>
+
+ * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
+ fs->regs.how[X] instead of fs->regs.reg[X].how.
+
+2022-10-06 Jakub Jelinek <jakub@redhat.com>
+
+ * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
+ REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
+ REG_UNDEFINED): New anonymous enum, moved from inside of
+ struct frame_state_reg_info.
+ (struct frame_state_reg_info): Remove reg[].how element and the
+ anonymous enum there. Add how element.
+ * unwind-dw2.c: Include stddef.h.
+ (uw_frame_state_for): Don't clear first
+ offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
+ (execute_cfa_program, __frame_state_for, uw_update_context_1,
+ uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
+ or fs.regs.how[X] instead of fs.regs.reg[X].how.
+ * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
+ * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
+ * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
+ * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
+ UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
+ Likewise.
+ * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
+ Likewise.
+ * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
+ * config/arc/linux-unwind.h (arc_fallback_frame_state,
+ arc_frob_update_context): Likewise.
+ * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
+ * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
+ * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
+ * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
+ * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
+ * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
+ MD_FALLBACK_FRAME_STATE_FOR): Likewise.
+ * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
+ sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
+ * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
+ x86_fallback_frame_state): Likewise.
+ * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
+ * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
+ x86_fallback_frame_state): Likewise.
+ * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
+ Likewise.
+ * config/i386/dragonfly-unwind.h
+ (x86_64_dragonfly_fallback_frame_state): Likewise.
+ * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
+ * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
+ * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
+ Likewise.
+ * config/aarch64/freebsd-unwind.h
+ (aarch64_freebsd_fallback_frame_state): Likewise.
+ * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
+ Likewise.
+ * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
+ * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
+ * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
+ Likewise.
+ * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
+ * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
+ Likewise.
+ * config/rs6000/darwin-fallback.c (set_offset): Likewise.
+ * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
+ * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
+ * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
+
+2022-10-02 Olivier Hainque <hainque@adacore.com>
+
+ * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment. Move
+ -I options for gcc/include and gcc/include-fixed at the end
+ and make them -isystem.
+
+2022-10-02 Olivier Hainque <hainque@adacore.com>
+
+ * config/gthr-vxworks.h: Prevent Wpragma warning for the
+ pragma diagnostics on Wstrict-prototypes.
+
+2022-09-29 Olivier Hainque <hainque@adacore.com>
+
+ * config/vxcrtstuff.c: Improve the comment attached to the use
+ of auto-host.h and of __dso_handle. Remove redundant guard on
+ HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
+
+2022-09-26 Thomas Neumann <tneumann@users.sourceforge.net>
+
+ * unwind-dw2-fde.c: Introduce a constant for in_shutdown
+ for the non-fast-path case. Drop destructor priority.
+
+2022-09-22 Thomas Neumann <tneumann@users.sourceforge.net>
+
+ * unwind-dw2-fde.c: (release_register_frames) Remember
+ when the btree has been destroyed.
+ (__deregister_frame_info_bases) Disable the assert when
+ shutting down.
+
2022-09-18 Thomas Neumann <tneumann@users.sourceforge.net>
* unwind-dw2-fde.c: Replace uintptr_t with typedef
@@ -5759,7 +6249,7 @@
for CUSTOM_CRTSTUFF.
* config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
i[34567]86-*-mingw*)
- (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
+ (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
enable_vtable_verify.
2015-01-27 Nick Clifton <nickc@redhat.com>
@@ -7083,7 +7573,7 @@
2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
Chung-Lin Tang <cltang@codesourcery.com>
- Based on patches from Altera Corporation
+ Based on patches from Altera Corporation
* config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
* config/nios2/lib2-nios2.h: New file.
@@ -12358,7 +12848,7 @@
shared-object.mk, siditi-object.mk, static-object.mk: New files.
* configure: Generated.
-Copyright (C) 2007-2022 Free Software Foundation, Inc.
+Copyright (C) 2007-2023 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
diff --git a/libgcc/Makefile.in b/libgcc/Makefile.in
index 1fe708a..6c4dc79 100644
--- a/libgcc/Makefile.in
+++ b/libgcc/Makefile.in
@@ -1,6 +1,6 @@
# Makefile.in
-# Copyright (C) 2005-2022 Free Software Foundation, Inc.
+# Copyright (C) 2005-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
@@ -310,7 +310,7 @@ CRTSTUFF_T_CFLAGS =
MULTIDIR := $(shell $(CC) $(CFLAGS) -print-multi-directory)
MULTIOSDIR := $(shell $(CC) $(CFLAGS) -print-multi-os-directory)
-MULTIOSSUBDIR := $(shell if test $(MULTIOSDIR) != .; then echo /$(MULTIOSDIR); fi)
+MULTIOSSUBDIR := $(shell if test "$(MULTIOSDIR)" != .; then echo /$(MULTIOSDIR); fi)
inst_libdir = $(libsubdir)$(MULTISUBDIR)
inst_slibdir = $(slibdir)$(MULTIOSSUBDIR)
diff --git a/libgcc/config.host b/libgcc/config.host
index 9dcc253..b9975de 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -1,5 +1,5 @@
# libgcc host-specific configuration file.
-# Copyright (C) 1997-2022 Free Software Foundation, Inc.
+# Copyright (C) 1997-2023 Free Software Foundation, Inc.
#This file is part of GCC.
@@ -410,7 +410,7 @@ aarch64*-*-vxworks7*)
extra_parts="$extra_parts crtfastmath.o"
md_unwind_header=aarch64/aarch64-unwind.h
tmake_file="${tmake_file} ${cpu_type}/t-aarch64"
- tmake_file="${tmake_file} ${cpu_type}/t-lse t-slibgcc-libgcc"
+ tmake_file="${tmake_file} ${cpu_type}/t-lse"
tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm"
tmake_file="${tmake_file} t-dfprules"
;;
@@ -633,7 +633,7 @@ h8300-*-linux*)
tm_file="$tm_file h8300/h8300-lib.h"
;;
hppa*64*-*-linux*)
- tmake_file="$tmake_file pa/t-linux64 pa/t-dimode"
+ tmake_file="$tmake_file pa/t-pa64-linux pa/t-dimode"
tmake_file="$tmake_file pa/t-softfp-sfdftf t-softfp"
extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
;;
@@ -649,7 +649,7 @@ hppa*-*-linux*)
md_unwind_header=pa/linux-unwind.h
;;
hppa*64*-*-hpux11*)
- tmake_file="$tmake_file pa/t-hpux pa/t-pa64 pa/t-dimode"
+ tmake_file="$tmake_file pa/t-pa64-hpux pa/t-dimode"
tmake_file="$tmake_file pa/t-stublib t-libgcc-pic t-slibgcc"
# Set the libgcc version number
if test x$ac_cv_sjlj_exceptions = xyes; then
@@ -751,6 +751,12 @@ x86_64-*-kfreebsd*-gnu)
tmake_file="${tmake_file} i386/t-crtpc t-crtfm i386/t-crtstuff t-dfprules"
tm_file="${tm_file} i386/elf-lib.h"
;;
+x86_64-*-gnu*)
+ extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
+ tmake_file="${tmake_file} i386/t-crtpc t-crtfm i386/t-crtstuff t-dfprules"
+ tm_file="${tm_file} i386/elf-lib.h"
+ md_unwind_header=i386/gnu-unwind.h
+ ;;
i[34567]86-pc-msdosdjgpp*)
;;
i[34567]86-*-lynxos*)
@@ -820,10 +826,13 @@ i[34567]86-*-mingw*)
fi
case ${target_thread_file} in
win32)
- tmake_file="$tmake_file i386/t-gthr-win32"
+ tmake_thr_file="i386/t-gthr-win32"
;;
posix)
- tmake_file="i386/t-mingw-pthread $tmake_file"
+ tmake_thr_file="i386/t-mingw-pthread"
+ ;;
+ mcf)
+ tmake_thr_file="i386/t-mingw-mcfgthread"
;;
esac
# This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h
@@ -839,15 +848,18 @@ i[34567]86-*-mingw*)
else
tmake_dlldir_file="i386/t-dlldir-x"
fi
- tmake_file="${tmake_file} ${tmake_eh_file} ${tmake_dlldir_file} i386/t-slibgcc-cygming i386/t-cygming i386/t-mingw32 t-crtfm i386/t-chkstk t-dfprules"
+ tmake_file="${tmake_file} ${tmake_eh_file} ${tmake_thr_file} ${tmake_dlldir_file} i386/t-slibgcc-cygming i386/t-slibgcc-mingw i386/t-cygming i386/t-mingw32 t-crtfm i386/t-chkstk t-dfprules"
;;
x86_64-*-mingw*)
case ${target_thread_file} in
win32)
- tmake_file="$tmake_file i386/t-gthr-win32"
+ tmake_thr_file="i386/t-gthr-win32"
;;
posix)
- tmake_file="i386/t-mingw-pthread $tmake_file"
+ tmake_thr_file="i386/t-mingw-pthread"
+ ;;
+ mcf)
+ tmake_thr_file="i386/t-mingw-mcfgthread"
;;
esac
# This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h
@@ -866,7 +878,7 @@ x86_64-*-mingw*)
else
tmake_dlldir_file="i386/t-dlldir-x"
fi
- tmake_file="${tmake_file} ${tmake_eh_file} ${tmake_dlldir_file} i386/t-slibgcc-cygming i386/t-cygming i386/t-mingw32 t-dfprules t-crtfm i386/t-chkstk"
+ tmake_file="${tmake_file} ${tmake_eh_file} ${tmake_thr_file} ${tmake_dlldir_file} i386/t-slibgcc-cygming i386/t-slibgcc-mingw i386/t-cygming i386/t-mingw32 t-dfprules t-crtfm i386/t-chkstk"
extra_parts="$extra_parts crtbegin.o crtend.o crtfastmath.o"
if test x$enable_vtable_verify = xyes; then
extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o"
@@ -1517,7 +1529,7 @@ esac
case ${host} in
i[34567]86-*-linux* | x86_64-*-linux* | \
i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \
- i[34567]86-*-gnu*)
+ i[34567]86-*-gnu* | x86_64-*-gnu*)
tmake_file="${tmake_file} t-tls i386/t-linux i386/t-msabi t-slibgcc-libgcc"
if test "$libgcc_cv_cfi" = "yes"; then
tmake_file="${tmake_file} t-stack i386/t-stack-i386"
@@ -1547,6 +1559,38 @@ aarch64*-*-*)
# ILP32 needs an extra header for unwinding
tm_file="${tm_file} aarch64/value-unwind.h"
;;
+riscv*-*-*)
+ tm_file="${tm_file} riscv/value-unwind.h"
+ ;;
+esac
+
+# Setup to build a shared libgcc for VxWorks when that was requested,
+# for library variants that support it (rtp only, code model not large).
+#
+
+case ${host} in
+*vxworks*)
+ case ${with_multisubdir}-${enable_shared} in
+ *large*)
+ ;;
+ *mrtp*-yes)
+ tmake_file="${tmake_file} t-libgcc-pic"
+
+ # Arrange to set a soname on libgcc_s so DT_NEEDED entries
+ # for it refer to that alone. This ensures absence of path
+ # components which would be incorrect as the runtime loader
+ # on target has no visibility over the host filesystem.
+ tmake_file="${tmake_file} t-slibgcc-gld-nover"
+ tmake_file="${tmake_file} t-slibgcc"
+
+ # t-slibgcc-libgcc is needed on at least aarch64 (for
+ # lse) and at most harmless on other targets.
+ tmake_file="${tmake_file} t-slibgcc-libgcc"
+
+ tmake_file="${tmake_file} t-crtstuff-pic t-vxcrtstuffS"
+ ;;
+ esac
+ ;;
esac
# The vxworks threads implementation relies on a few extra sources,
diff --git a/libgcc/config/aarch64/aarch64-unwind.h b/libgcc/config/aarch64/aarch64-unwind.h
index e082e95..3ad2f82 100644
--- a/libgcc/config/aarch64/aarch64-unwind.h
+++ b/libgcc/config/aarch64/aarch64-unwind.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2017-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2017-2023 Free Software Foundation, Inc.
Contributed by ARM Ltd.
This file is part of GCC.
@@ -29,8 +29,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define MD_DEMANGLE_RETURN_ADDR(context, fs, addr) \
aarch64_demangle_return_addr (context, fs, addr)
-#define MD_FROB_UPDATE_CONTEXT(context, fs) \
- aarch64_frob_update_context (context, fs)
static inline int
aarch64_cie_signed_with_b_key (struct _Unwind_Context *context)
@@ -55,42 +53,28 @@ aarch64_cie_signed_with_b_key (struct _Unwind_Context *context)
static inline void *
aarch64_demangle_return_addr (struct _Unwind_Context *context,
- _Unwind_FrameState *fs ATTRIBUTE_UNUSED,
+ _Unwind_FrameState *fs,
_Unwind_Word addr_word)
{
void *addr = (void *)addr_word;
- if (context->flags & RA_SIGNED_BIT)
+ const int reg = DWARF_REGNUM_AARCH64_RA_STATE;
+
+ if (fs->regs.how[reg] == REG_UNSAVED)
+ return addr;
+
+ /* Return-address signing state is toggled by DW_CFA_GNU_window_save (where
+ REG_UNSAVED/REG_UNSAVED_ARCHEXT means RA signing is disabled/enabled),
+ or set by a DW_CFA_expression. */
+ if (fs->regs.how[reg] == REG_UNSAVED_ARCHEXT
+ || (_Unwind_GetGR (context, reg) & 0x1) != 0)
{
_Unwind_Word salt = (_Unwind_Word) context->cfa;
if (aarch64_cie_signed_with_b_key (context) != 0)
return __builtin_aarch64_autib1716 (addr, salt);
return __builtin_aarch64_autia1716 (addr, salt);
}
- else
- return addr;
-}
-
-/* Do AArch64 private initialization on CONTEXT based on frame info FS. Mark
- CONTEXT as return address signed if bit 0 of DWARF_REGNUM_AARCH64_RA_STATE is
- set. */
-
-static inline void
-aarch64_frob_update_context (struct _Unwind_Context *context,
- _Unwind_FrameState *fs)
-{
- const int reg = DWARF_REGNUM_AARCH64_RA_STATE;
- int ra_signed;
- if (fs->regs.reg[reg].how == REG_UNSAVED)
- ra_signed = fs->regs.reg[reg].loc.offset & 0x1;
- else
- ra_signed = _Unwind_GetGR (context, reg) & 0x1;
- if (ra_signed)
- /* The flag is used for re-authenticating EH handler's address. */
- context->flags |= RA_SIGNED_BIT;
- else
- context->flags &= ~RA_SIGNED_BIT;
- return;
+ return addr;
}
#endif /* defined AARCH64_UNWIND_H && defined __ILP32__ */
diff --git a/libgcc/config/aarch64/crtfastmath.c b/libgcc/config/aarch64/crtfastmath.c
index a52ce29..1d88401 100644
--- a/libgcc/config/aarch64/crtfastmath.c
+++ b/libgcc/config/aarch64/crtfastmath.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2014-2022 Free Software Foundation, Inc.
+ * Copyright (C) 2014-2023 Free Software Foundation, Inc.
*
* This file is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/aarch64/crti.S b/libgcc/config/aarch64/crti.S
index 8528225..eed872a 100644
--- a/libgcc/config/aarch64/crti.S
+++ b/libgcc/config/aarch64/crti.S
@@ -1,5 +1,5 @@
# Machine description for AArch64 architecture.
-# Copyright (C) 2009-2022 Free Software Foundation, Inc.
+# Copyright (C) 2009-2023 Free Software Foundation, Inc.
# Contributed by ARM Ltd.
#
# This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/aarch64/crtn.S b/libgcc/config/aarch64/crtn.S
index d293634..c591823 100644
--- a/libgcc/config/aarch64/crtn.S
+++ b/libgcc/config/aarch64/crtn.S
@@ -1,5 +1,5 @@
# Machine description for AArch64 architecture.
-# Copyright (C) 2009-2022 Free Software Foundation, Inc.
+# Copyright (C) 2009-2023 Free Software Foundation, Inc.
# Contributed by ARM Ltd.
#
# This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/aarch64/freebsd-unwind.h b/libgcc/config/aarch64/freebsd-unwind.h
index 8d64680..0be1bb4 100644
--- a/libgcc/config/aarch64/freebsd-unwind.h
+++ b/libgcc/config/aarch64/freebsd-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for FreeBSD/ARM64 (aarch64).
- Copyright (C) 2017-2022 Free Software Foundation, Inc.
+ Copyright (C) 2017-2023 Free Software Foundation, Inc.
Contributed by John Marino <gnugcc@marino.st>
This file is part of GCC.
@@ -90,7 +90,7 @@ aarch64_freebsd_fallback_frame_state
fs->regs.cfa_offset = new_cfa - (_Unwind_Ptr) context->cfa;
for (n = 0; n < 32; n++)
- fs->regs.reg[n].how = REG_SAVED_OFFSET;
+ fs->regs.how[n] = REG_SAVED_OFFSET;
for (n = 0; n < 30; n++)
fs->regs.reg[n].loc.offset = (_Unwind_Ptr) &(sc->XREG(n)) - new_cfa;
@@ -98,7 +98,7 @@ aarch64_freebsd_fallback_frame_state
fs->regs.reg[30].loc.offset = (_Unwind_Ptr) &(sc->REG_NAME(lr)) - new_cfa;
fs->regs.reg[31].loc.offset = (_Unwind_Ptr) &(sc->REG_NAME(sp)) - new_cfa;
- fs->regs.reg[DARC].how = REG_SAVED_OFFSET;
+ fs->regs.how[DARC] = REG_SAVED_OFFSET;
fs->regs.reg[DARC].loc.offset = (_Unwind_Ptr) &(sc->REG_NAME(elr)) - new_cfa;
fs->retaddr_column = DARC;
diff --git a/libgcc/config/aarch64/libgcc-softfp.ver b/libgcc/config/aarch64/libgcc-softfp.ver
index baa8b44..0af7691 100644
--- a/libgcc/config/aarch64/libgcc-softfp.ver
+++ b/libgcc/config/aarch64/libgcc-softfp.ver
@@ -1,4 +1,4 @@
-# Copyright (C) 2020-2022 Free Software Foundation, Inc.
+# Copyright (C) 2020-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
@@ -26,3 +26,16 @@ GCC_11.0 {
__mulhc3
__trunctfhf2
}
+
+%inherit GCC_13.0.0 GCC_11.0.0
+GCC_13.0.0 {
+ __extendbfsf2
+ __floatdibf
+ __floattibf
+ __floatundibf
+ __floatuntibf
+ __truncdfbf2
+ __truncsfbf2
+ __trunctfbf2
+ __trunchfbf2
+}
diff --git a/libgcc/config/aarch64/linux-unwind.h b/libgcc/config/aarch64/linux-unwind.h
index 551b489..00eba86 100644
--- a/libgcc/config/aarch64/linux-unwind.h
+++ b/libgcc/config/aarch64/linux-unwind.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2009-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2009-2023 Free Software Foundation, Inc.
Contributed by ARM Ltd.
This file is free software; you can redistribute it and/or modify it
@@ -89,7 +89,7 @@ aarch64_fallback_frame_state (struct _Unwind_Context *context,
for (i = 0; i < AARCH64_DWARF_NUMBER_R; i++)
{
- fs->regs.reg[AARCH64_DWARF_R0 + i].how = REG_SAVED_OFFSET;
+ fs->regs.how[AARCH64_DWARF_R0 + i] = REG_SAVED_OFFSET;
fs->regs.reg[AARCH64_DWARF_R0 + i].loc.offset =
(_Unwind_Ptr) & (sc->regs[i]) - new_cfa;
}
@@ -115,7 +115,7 @@ aarch64_fallback_frame_state (struct _Unwind_Context *context,
{
_Unwind_Sword offset;
- fs->regs.reg[AARCH64_DWARF_V0 + i].how = REG_SAVED_OFFSET;
+ fs->regs.how[AARCH64_DWARF_V0 + i] = REG_SAVED_OFFSET;
/* sigcontext contains 32 128bit registers for V0 to
V31. The kernel will have saved the contents of the
@@ -142,12 +142,12 @@ aarch64_fallback_frame_state (struct _Unwind_Context *context,
}
}
- fs->regs.reg[31].how = REG_SAVED_OFFSET;
+ fs->regs.how[31] = REG_SAVED_OFFSET;
fs->regs.reg[31].loc.offset = (_Unwind_Ptr) & (sc->sp) - new_cfa;
fs->signal_frame = 1;
- fs->regs.reg[__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__].how =
+ fs->regs.how[__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__] =
REG_SAVED_VAL_OFFSET;
fs->regs.reg[__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__].loc.offset =
(_Unwind_Ptr) (sc->pc) - new_cfa;
diff --git a/libgcc/config/aarch64/lse-init.c b/libgcc/config/aarch64/lse-init.c
index 33b97c8..df0e303 100644
--- a/libgcc/config/aarch64/lse-init.c
+++ b/libgcc/config/aarch64/lse-init.c
@@ -1,5 +1,5 @@
/* Out-of-line LSE atomics for AArch64 architecture, Init.
- Copyright (C) 2019-2022 Free Software Foundation, Inc.
+ Copyright (C) 2019-2023 Free Software Foundation, Inc.
Contributed by Linaro Ltd.
This file is part of GCC.
diff --git a/libgcc/config/aarch64/lse.S b/libgcc/config/aarch64/lse.S
index 9c29cf0..dde3a28 100644
--- a/libgcc/config/aarch64/lse.S
+++ b/libgcc/config/aarch64/lse.S
@@ -1,5 +1,5 @@
/* Out-of-line LSE atomics for AArch64 architecture.
- Copyright (C) 2019-2022 Free Software Foundation, Inc.
+ Copyright (C) 2019-2023 Free Software Foundation, Inc.
Contributed by Linaro Ltd.
This file is part of GCC.
diff --git a/libgcc/config/aarch64/sfp-exceptions.c b/libgcc/config/aarch64/sfp-exceptions.c
index 43b8e63..26685f3 100644
--- a/libgcc/config/aarch64/sfp-exceptions.c
+++ b/libgcc/config/aarch64/sfp-exceptions.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ * Copyright (C) 2012-2023 Free Software Foundation, Inc.
*
* This file is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/aarch64/sfp-machine.h b/libgcc/config/aarch64/sfp-machine.h
index be9b421..97c38a3 100644
--- a/libgcc/config/aarch64/sfp-machine.h
+++ b/libgcc/config/aarch64/sfp-machine.h
@@ -1,5 +1,5 @@
/* Machine description for AArch64 architecture.
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
Contributed by ARM Ltd.
This file is part of GCC.
@@ -43,10 +43,12 @@ typedef int __gcc_CMPtype __attribute__ ((mode (__libgcc_cmp_return__)));
#define _FP_DIV_MEAT_Q(R,X,Y) _FP_DIV_MEAT_2_udiv(Q,R,X,Y)
#define _FP_NANFRAC_H ((_FP_QNANBIT_H << 1) - 1)
+#define _FP_NANFRAC_B ((_FP_QNANBIT_B << 1) - 1)
#define _FP_NANFRAC_S ((_FP_QNANBIT_S << 1) - 1)
#define _FP_NANFRAC_D ((_FP_QNANBIT_D << 1) - 1)
#define _FP_NANFRAC_Q ((_FP_QNANBIT_Q << 1) - 1), -1
#define _FP_NANSIGN_H 0
+#define _FP_NANSIGN_B 0
#define _FP_NANSIGN_S 0
#define _FP_NANSIGN_D 0
#define _FP_NANSIGN_Q 0
diff --git a/libgcc/config/aarch64/sync-cache.c b/libgcc/config/aarch64/sync-cache.c
index 2ede72b..bec7556 100644
--- a/libgcc/config/aarch64/sync-cache.c
+++ b/libgcc/config/aarch64/sync-cache.c
@@ -1,5 +1,5 @@
/* Machine description for AArch64 architecture.
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by ARM Ltd.
This file is part of GCC.
diff --git a/libgcc/config/aarch64/t-aarch64 b/libgcc/config/aarch64/t-aarch64
index 8ca803bd..a40b624 100644
--- a/libgcc/config/aarch64/t-aarch64
+++ b/libgcc/config/aarch64/t-aarch64
@@ -1,5 +1,5 @@
# Machine description for AArch64 architecture.
-# Copyright (C) 2012-2022 Free Software Foundation, Inc.
+# Copyright (C) 2012-2023 Free Software Foundation, Inc.
# Contributed by ARM Ltd.
#
# This file is part of GCC.
diff --git a/libgcc/config/aarch64/t-lse b/libgcc/config/aarch64/t-lse
index 624daf7..dc5bf59 100644
--- a/libgcc/config/aarch64/t-lse
+++ b/libgcc/config/aarch64/t-lse
@@ -1,5 +1,5 @@
# Out-of-line LSE atomics for AArch64 architecture.
-# Copyright (C) 2019-2022 Free Software Foundation, Inc.
+# Copyright (C) 2019-2023 Free Software Foundation, Inc.
# Contributed by Linaro Ltd.
#
# This file is part of GCC.
diff --git a/libgcc/config/aarch64/t-softfp b/libgcc/config/aarch64/t-softfp
index 981ced7..0ff6102 100644
--- a/libgcc/config/aarch64/t-softfp
+++ b/libgcc/config/aarch64/t-softfp
@@ -1,9 +1,10 @@
softfp_float_modes := tf
softfp_int_modes := si di ti
-softfp_extensions := sftf dftf hftf
-softfp_truncations := tfsf tfdf tfhf
+softfp_extensions := sftf dftf hftf bfsf
+softfp_truncations := tfsf tfdf tfhf tfbf dfbf sfbf hfbf
softfp_exclude_libgcc2 := n
-softfp_extras := fixhfti fixunshfti floattihf floatuntihf
+softfp_extras := fixhfti fixunshfti floattihf floatuntihf \
+ floatdibf floatundibf floattibf floatuntibf
TARGET_LIBGCC2_CFLAGS += -Wno-missing-prototypes
diff --git a/libgcc/config/aarch64/value-unwind.h b/libgcc/config/aarch64/value-unwind.h
index dec2d5c..eecd94b 100644
--- a/libgcc/config/aarch64/value-unwind.h
+++ b/libgcc/config/aarch64/value-unwind.h
@@ -1,5 +1,5 @@
/* Store register values as _Unwind_Word type in DWARF2 EH unwind context.
- Copyright (C) 2017-2022 Free Software Foundation, Inc.
+ Copyright (C) 2017-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/alpha/crtfastmath.c b/libgcc/config/alpha/crtfastmath.c
index d851907..30c5fca 100644
--- a/libgcc/config/alpha/crtfastmath.c
+++ b/libgcc/config/alpha/crtfastmath.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2001-2022 Free Software Foundation, Inc.
+ * Copyright (C) 2001-2023 Free Software Foundation, Inc.
* Contributed by Richard Henderson (rth@redhat.com)
*
* This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/alpha/libgcc-alpha-ldbl.ver b/libgcc/config/alpha/libgcc-alpha-ldbl.ver
index 387da67..748f464 100644
--- a/libgcc/config/alpha/libgcc-alpha-ldbl.ver
+++ b/libgcc/config/alpha/libgcc-alpha-ldbl.ver
@@ -1,4 +1,4 @@
-# Copyright (C) 2006-2022 Free Software Foundation, Inc.
+# Copyright (C) 2006-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/config/alpha/linux-unwind.h b/libgcc/config/alpha/linux-unwind.h
index 1f7f95e..16c129a 100644
--- a/libgcc/config/alpha/linux-unwind.h
+++ b/libgcc/config/alpha/linux-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for Alpha Linux.
- Copyright (C) 2004-2022 Free Software Foundation, Inc.
+ Copyright (C) 2004-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -67,17 +67,17 @@ alpha_fallback_frame_state (struct _Unwind_Context *context,
fs->regs.cfa_offset = new_cfa - (long) context->cfa;
for (i = 0; i < 30; ++i)
{
- fs->regs.reg[i].how = REG_SAVED_OFFSET;
+ fs->regs.how[i] = REG_SAVED_OFFSET;
fs->regs.reg[i].loc.offset
= (long) &sc->sc_regs[i] - new_cfa;
}
for (i = 0; i < 31; ++i)
{
- fs->regs.reg[i+32].how = REG_SAVED_OFFSET;
+ fs->regs.how[i+32] = REG_SAVED_OFFSET;
fs->regs.reg[i+32].loc.offset
= (long) &sc->sc_fpregs[i] - new_cfa;
}
- fs->regs.reg[64].how = REG_SAVED_OFFSET;
+ fs->regs.how[64] = REG_SAVED_OFFSET;
fs->regs.reg[64].loc.offset = (long)&sc->sc_pc - new_cfa;
fs->retaddr_column = 64;
fs->signal_frame = 1;
diff --git a/libgcc/config/alpha/qrnnd.S b/libgcc/config/alpha/qrnnd.S
index 6412b3b..66b7eb1 100644
--- a/libgcc/config/alpha/qrnnd.S
+++ b/libgcc/config/alpha/qrnnd.S
@@ -1,5 +1,5 @@
# Alpha 21064 __udiv_qrnnd
- # Copyright (C) 1992-2022 Free Software Foundation, Inc.
+ # Copyright (C) 1992-2023 Free Software Foundation, Inc.
# This file is part of GCC.
diff --git a/libgcc/config/alpha/vms-dwarf2.S b/libgcc/config/alpha/vms-dwarf2.S
index c414a94..bb18d75 100644
--- a/libgcc/config/alpha/vms-dwarf2.S
+++ b/libgcc/config/alpha/vms-dwarf2.S
@@ -1,5 +1,5 @@
/* VMS dwarf2 section sequentializer.
- Copyright (C) 2001-2022 Free Software Foundation, Inc.
+ Copyright (C) 2001-2023 Free Software Foundation, Inc.
Contributed by Douglas B. Rupp (rupp@gnat.com).
This file is part of GCC.
diff --git a/libgcc/config/alpha/vms-dwarf2eh.S b/libgcc/config/alpha/vms-dwarf2eh.S
index 1d21713..eb19fac 100644
--- a/libgcc/config/alpha/vms-dwarf2eh.S
+++ b/libgcc/config/alpha/vms-dwarf2eh.S
@@ -1,5 +1,5 @@
/* VMS dwarf2 exception handling section sequentializer.
- Copyright (C) 2002-2022 Free Software Foundation, Inc.
+ Copyright (C) 2002-2023 Free Software Foundation, Inc.
Contributed by Douglas B. Rupp (rupp@gnat.com).
This file is part of GCC.
diff --git a/libgcc/config/alpha/vms-gcc_shell_handler.c b/libgcc/config/alpha/vms-gcc_shell_handler.c
index a9f7787..8d694e7 100644
--- a/libgcc/config/alpha/vms-gcc_shell_handler.c
+++ b/libgcc/config/alpha/vms-gcc_shell_handler.c
@@ -1,5 +1,5 @@
/* Static condition handler for Alpha/VMS.
- Copyright (C) 2005-2022 Free Software Foundation, Inc.
+ Copyright (C) 2005-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/alpha/vms-unwind.h b/libgcc/config/alpha/vms-unwind.h
index 5219d8e..be105a9 100644
--- a/libgcc/config/alpha/vms-unwind.h
+++ b/libgcc/config/alpha/vms-unwind.h
@@ -1,5 +1,5 @@
/* Fallback frame unwinding for Alpha/VMS.
- Copyright (C) 1996-2022 Free Software Foundation, Inc.
+ Copyright (C) 1996-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -50,7 +50,7 @@ extern int SYS$GL_CALL_HANDL;
#define UPDATE_FS_FOR_CFA_GR(FS, GRN, LOC, CFA) \
do { \
-(FS)->regs.reg[GRN].how = REG_SAVED_OFFSET; \
+(FS)->regs.how[GRN] = REG_SAVED_OFFSET; \
(FS)->regs.reg[GRN].loc.offset = (_Unwind_Sword) ((REG) (LOC) - (REG) (CFA)); \
} while (0);
@@ -212,10 +212,10 @@ alpha_vms_fallback_frame_state (struct _Unwind_Context *context,
if (eh_debug)
printf ("FALLBACK: REGISTER frame procedure\n");
- fs->regs.reg[RA_COLUMN].how = REG_SAVED_REG;
+ fs->regs.how[RA_COLUMN] = REG_SAVED_REG;
fs->regs.reg[RA_COLUMN].loc.reg = pv->pdsc$b_save_ra;
- fs->regs.reg[29].how = REG_SAVED_REG;
+ fs->regs.how[29] = REG_SAVED_REG;
fs->regs.reg[29].loc.reg = pv->pdsc$b_save_fp;
break;
diff --git a/libgcc/config/arc/asm.h b/libgcc/config/arc/asm.h
index 052f366..906a3ba 100644
--- a/libgcc/config/arc/asm.h
+++ b/libgcc/config/arc/asm.h
@@ -1,6 +1,6 @@
/* Assembler macros for the Synopsys DesignWare ARC CPU.
- Copyright (C) 1994-2022 Free Software Foundation, Inc.
+ Copyright (C) 1994-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/crti.S b/libgcc/config/arc/crti.S
index dff5754..1b3435a 100644
--- a/libgcc/config/arc/crti.S
+++ b/libgcc/config/arc/crti.S
@@ -1,6 +1,6 @@
/* .fini/.init stack frame setup for the Synopsys DesignWare ARC CPU.
- Copyright (C) 1994-2022 Free Software Foundation, Inc.
+ Copyright (C) 1994-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/crtn.S b/libgcc/config/arc/crtn.S
index e1aa1df..501e7a6 100644
--- a/libgcc/config/arc/crtn.S
+++ b/libgcc/config/arc/crtn.S
@@ -1,6 +1,6 @@
/* Ensure .fini/.init return for the Synopsys DesignWare ARC CPU.
- Copyright (C) 1994-2022 Free Software Foundation, Inc.
+ Copyright (C) 1994-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/crttls.S b/libgcc/config/arc/crttls.S
index d9a4910..2c5ba82 100644
--- a/libgcc/config/arc/crttls.S
+++ b/libgcc/config/arc/crttls.S
@@ -1,6 +1,6 @@
; newlib tls glue code for Synopsys DesignWare ARC cpu.
-/* Copyright (C) 2016-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2016-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/divtab-arc700.c b/libgcc/config/arc/divtab-arc700.c
index 361afc9..9db5e6d 100644
--- a/libgcc/config/arc/divtab-arc700.c
+++ b/libgcc/config/arc/divtab-arc700.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2004-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2004-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/dp-hack.h b/libgcc/config/arc/dp-hack.h
index 3555663..edd47af 100644
--- a/libgcc/config/arc/dp-hack.h
+++ b/libgcc/config/arc/dp-hack.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/fp-hack.h b/libgcc/config/arc/fp-hack.h
index 782d3be..1b9c447 100644
--- a/libgcc/config/arc/fp-hack.h
+++ b/libgcc/config/arc/fp-hack.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/adddf3.S b/libgcc/config/arc/ieee-754/adddf3.S
index 0f06652..87d2dc8 100644
--- a/libgcc/config/arc/ieee-754/adddf3.S
+++ b/libgcc/config/arc/ieee-754/adddf3.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/addsf3.S b/libgcc/config/arc/ieee-754/addsf3.S
index 358a70a..955892b 100644
--- a/libgcc/config/arc/ieee-754/addsf3.S
+++ b/libgcc/config/arc/ieee-754/addsf3.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/arc-ieee-754.h b/libgcc/config/arc/ieee-754/arc-ieee-754.h
index 625b39e..49fdcf0 100644
--- a/libgcc/config/arc/ieee-754/arc-ieee-754.h
+++ b/libgcc/config/arc/ieee-754/arc-ieee-754.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/arc600-dsp/divdf3.S b/libgcc/config/arc/ieee-754/arc600-dsp/divdf3.S
index a388dc5..d99c651 100644
--- a/libgcc/config/arc/ieee-754/arc600-dsp/divdf3.S
+++ b/libgcc/config/arc/ieee-754/arc600-dsp/divdf3.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/arc600-dsp/divsf3.S b/libgcc/config/arc/ieee-754/arc600-dsp/divsf3.S
index b1f61d0..0a34d64 100644
--- a/libgcc/config/arc/ieee-754/arc600-dsp/divsf3.S
+++ b/libgcc/config/arc/ieee-754/arc600-dsp/divsf3.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/arc600-dsp/muldf3.S b/libgcc/config/arc/ieee-754/arc600-dsp/muldf3.S
index d8d07cb..9852987 100644
--- a/libgcc/config/arc/ieee-754/arc600-dsp/muldf3.S
+++ b/libgcc/config/arc/ieee-754/arc600-dsp/muldf3.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/arc600-dsp/mulsf3.S b/libgcc/config/arc/ieee-754/arc600-dsp/mulsf3.S
index 387a6a6..22df0dc 100644
--- a/libgcc/config/arc/ieee-754/arc600-dsp/mulsf3.S
+++ b/libgcc/config/arc/ieee-754/arc600-dsp/mulsf3.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/arc600-mul64/divdf3.S b/libgcc/config/arc/ieee-754/arc600-mul64/divdf3.S
index c8abfc5..fa17ed8 100644
--- a/libgcc/config/arc/ieee-754/arc600-mul64/divdf3.S
+++ b/libgcc/config/arc/ieee-754/arc600-mul64/divdf3.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/arc600-mul64/divsf3.S b/libgcc/config/arc/ieee-754/arc600-mul64/divsf3.S
index 7302fa9..1606743 100644
--- a/libgcc/config/arc/ieee-754/arc600-mul64/divsf3.S
+++ b/libgcc/config/arc/ieee-754/arc600-mul64/divsf3.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/arc600-mul64/muldf3.S b/libgcc/config/arc/ieee-754/arc600-mul64/muldf3.S
index d1d7b07..71dab5e 100644
--- a/libgcc/config/arc/ieee-754/arc600-mul64/muldf3.S
+++ b/libgcc/config/arc/ieee-754/arc600-mul64/muldf3.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/arc600-mul64/mulsf3.S b/libgcc/config/arc/ieee-754/arc600-mul64/mulsf3.S
index fd1922e..299359c 100644
--- a/libgcc/config/arc/ieee-754/arc600-mul64/mulsf3.S
+++ b/libgcc/config/arc/ieee-754/arc600-mul64/mulsf3.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/arc600/divsf3.S b/libgcc/config/arc/ieee-754/arc600/divsf3.S
index 06a4fb1..fd33d90 100644
--- a/libgcc/config/arc/ieee-754/arc600/divsf3.S
+++ b/libgcc/config/arc/ieee-754/arc600/divsf3.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/arc600/mulsf3.S b/libgcc/config/arc/ieee-754/arc600/mulsf3.S
index ea73429..ac3fa6f 100644
--- a/libgcc/config/arc/ieee-754/arc600/mulsf3.S
+++ b/libgcc/config/arc/ieee-754/arc600/mulsf3.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/divdf3.S b/libgcc/config/arc/ieee-754/divdf3.S
index 9736f08..fcc483d 100644
--- a/libgcc/config/arc/ieee-754/divdf3.S
+++ b/libgcc/config/arc/ieee-754/divdf3.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/divsf3-stdmul.S b/libgcc/config/arc/ieee-754/divsf3-stdmul.S
index 96654d9..73924ea 100644
--- a/libgcc/config/arc/ieee-754/divsf3-stdmul.S
+++ b/libgcc/config/arc/ieee-754/divsf3-stdmul.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/divsf3.S b/libgcc/config/arc/ieee-754/divsf3.S
index f4c0a5d..2475a4d 100644
--- a/libgcc/config/arc/ieee-754/divsf3.S
+++ b/libgcc/config/arc/ieee-754/divsf3.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/divtab-arc-df.c b/libgcc/config/arc/ieee-754/divtab-arc-df.c
index 449a7d2..209ba42 100644
--- a/libgcc/config/arc/ieee-754/divtab-arc-df.c
+++ b/libgcc/config/arc/ieee-754/divtab-arc-df.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/divtab-arc-sf.c b/libgcc/config/arc/ieee-754/divtab-arc-sf.c
index 631a3e4..6090efa 100644
--- a/libgcc/config/arc/ieee-754/divtab-arc-sf.c
+++ b/libgcc/config/arc/ieee-754/divtab-arc-sf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/eqdf2.S b/libgcc/config/arc/ieee-754/eqdf2.S
index 7206028..986d6f9 100644
--- a/libgcc/config/arc/ieee-754/eqdf2.S
+++ b/libgcc/config/arc/ieee-754/eqdf2.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/eqsf2.S b/libgcc/config/arc/ieee-754/eqsf2.S
index 206514b..701cc0a 100644
--- a/libgcc/config/arc/ieee-754/eqsf2.S
+++ b/libgcc/config/arc/ieee-754/eqsf2.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/extendsfdf2.S b/libgcc/config/arc/ieee-754/extendsfdf2.S
index 422c29b..9e9a7e3 100644
--- a/libgcc/config/arc/ieee-754/extendsfdf2.S
+++ b/libgcc/config/arc/ieee-754/extendsfdf2.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2006-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2006-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/fixdfsi.S b/libgcc/config/arc/ieee-754/fixdfsi.S
index 22e513c9..250c9e2 100644
--- a/libgcc/config/arc/ieee-754/fixdfsi.S
+++ b/libgcc/config/arc/ieee-754/fixdfsi.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/fixsfsi.S b/libgcc/config/arc/ieee-754/fixsfsi.S
index 6673648..ea4c0cf 100644
--- a/libgcc/config/arc/ieee-754/fixsfsi.S
+++ b/libgcc/config/arc/ieee-754/fixsfsi.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/fixunsdfsi.S b/libgcc/config/arc/ieee-754/fixunsdfsi.S
index bb85d0b..07511bb 100644
--- a/libgcc/config/arc/ieee-754/fixunsdfsi.S
+++ b/libgcc/config/arc/ieee-754/fixunsdfsi.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/floatsidf.S b/libgcc/config/arc/ieee-754/floatsidf.S
index c9f2b0a..776fb67 100644
--- a/libgcc/config/arc/ieee-754/floatsidf.S
+++ b/libgcc/config/arc/ieee-754/floatsidf.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/floatsisf.S b/libgcc/config/arc/ieee-754/floatsisf.S
index b4277bc..e03f49c 100644
--- a/libgcc/config/arc/ieee-754/floatsisf.S
+++ b/libgcc/config/arc/ieee-754/floatsisf.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/floatunsidf.S b/libgcc/config/arc/ieee-754/floatunsidf.S
index de15953..b3bfe60 100644
--- a/libgcc/config/arc/ieee-754/floatunsidf.S
+++ b/libgcc/config/arc/ieee-754/floatunsidf.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/gedf2.S b/libgcc/config/arc/ieee-754/gedf2.S
index e5c2fb9..ba25d61 100644
--- a/libgcc/config/arc/ieee-754/gedf2.S
+++ b/libgcc/config/arc/ieee-754/gedf2.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/gesf2.S b/libgcc/config/arc/ieee-754/gesf2.S
index e0f9fe5..6a778ea 100644
--- a/libgcc/config/arc/ieee-754/gesf2.S
+++ b/libgcc/config/arc/ieee-754/gesf2.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/gtdf2.S b/libgcc/config/arc/ieee-754/gtdf2.S
index d7bc97a..0d20190 100644
--- a/libgcc/config/arc/ieee-754/gtdf2.S
+++ b/libgcc/config/arc/ieee-754/gtdf2.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/gtsf2.S b/libgcc/config/arc/ieee-754/gtsf2.S
index 8b966bb..a1a163f 100644
--- a/libgcc/config/arc/ieee-754/gtsf2.S
+++ b/libgcc/config/arc/ieee-754/gtsf2.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/muldf3.S b/libgcc/config/arc/ieee-754/muldf3.S
index 719e212..a02dc97 100644
--- a/libgcc/config/arc/ieee-754/muldf3.S
+++ b/libgcc/config/arc/ieee-754/muldf3.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/mulsf3.S b/libgcc/config/arc/ieee-754/mulsf3.S
index 172234c..210adc9 100644
--- a/libgcc/config/arc/ieee-754/mulsf3.S
+++ b/libgcc/config/arc/ieee-754/mulsf3.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/orddf2.S b/libgcc/config/arc/ieee-754/orddf2.S
index 19429b8..baa91c6 100644
--- a/libgcc/config/arc/ieee-754/orddf2.S
+++ b/libgcc/config/arc/ieee-754/orddf2.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/ordsf2.S b/libgcc/config/arc/ieee-754/ordsf2.S
index 7e063ed..8cefb13 100644
--- a/libgcc/config/arc/ieee-754/ordsf2.S
+++ b/libgcc/config/arc/ieee-754/ordsf2.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/truncdfsf2.S b/libgcc/config/arc/ieee-754/truncdfsf2.S
index 194de5d..7cc1733 100644
--- a/libgcc/config/arc/ieee-754/truncdfsf2.S
+++ b/libgcc/config/arc/ieee-754/truncdfsf2.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2006-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2006-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/uneqdf2.S b/libgcc/config/arc/ieee-754/uneqdf2.S
index a3cf0d4..83fb87b 100644
--- a/libgcc/config/arc/ieee-754/uneqdf2.S
+++ b/libgcc/config/arc/ieee-754/uneqdf2.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/ieee-754/uneqsf2.S b/libgcc/config/arc/ieee-754/uneqsf2.S
index fcbc221..bce4a77 100644
--- a/libgcc/config/arc/ieee-754/uneqsf2.S
+++ b/libgcc/config/arc/ieee-754/uneqsf2.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/initfini.c b/libgcc/config/arc/initfini.c
index 28b0e9c..f5ce4a8 100644
--- a/libgcc/config/arc/initfini.c
+++ b/libgcc/config/arc/initfini.c
@@ -1,7 +1,7 @@
/* .init/.fini section handling + C++ global constructor/destructor handling.
This file is based on crtstuff.c, sol2-crti.asm, sol2-crtn.asm.
- Copyright (C) 1995-2022 Free Software Foundation, Inc.
+ Copyright (C) 1995-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/lib1funcs.S b/libgcc/config/arc/lib1funcs.S
index b063612..6433d33 100644
--- a/libgcc/config/arc/lib1funcs.S
+++ b/libgcc/config/arc/lib1funcs.S
@@ -1,6 +1,6 @@
; libgcc1 routines for Synopsys DesignWare ARC cpu.
-/* Copyright (C) 1995-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1995-2023 Free Software Foundation, Inc.
Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/lib2funcs.c b/libgcc/config/arc/lib2funcs.c
index 8cba451..0ff54ed 100644
--- a/libgcc/config/arc/lib2funcs.c
+++ b/libgcc/config/arc/lib2funcs.c
@@ -1,5 +1,5 @@
/* libgcc routines for ARC
- Copyright (C) 2019-2022 Free Software Foundation, Inc.
+ Copyright (C) 2019-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/arc/libgcc-excl.ver b/libgcc/config/arc/libgcc-excl.ver
index 494e490..db56e55 100644
--- a/libgcc/config/arc/libgcc-excl.ver
+++ b/libgcc/config/arc/libgcc-excl.ver
@@ -1,6 +1,6 @@
# Exclude libgcc.so symbols for the Synopsys DesignWare ARC CPU.
-# Copyright (C) 2007-2022 Free Software Foundation, Inc.
+# Copyright (C) 2007-2023 Free Software Foundation, Inc.
# Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
# on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/linux-unwind-reg.def b/libgcc/config/arc/linux-unwind-reg.def
index 589612a..ac144dd 100644
--- a/libgcc/config/arc/linux-unwind-reg.def
+++ b/libgcc/config/arc/linux-unwind-reg.def
@@ -1,4 +1,4 @@
-/* Copyright (C) 2017-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2017-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/arc/linux-unwind.h b/libgcc/config/arc/linux-unwind.h
index be42a31..0292e22 100644
--- a/libgcc/config/arc/linux-unwind.h
+++ b/libgcc/config/arc/linux-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for ARC Linux.
- Copyright (C) 2017-2022 Free Software Foundation, Inc.
+ Copyright (C) 2017-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -115,14 +115,14 @@ arc_fallback_frame_state (struct _Unwind_Context *context,
{
if (register_id_for_index[i] == -1)
continue;
- fs->regs.reg[register_id_for_index[i]].how = REG_SAVED_OFFSET;
+ fs->regs.how[register_id_for_index[i]] = REG_SAVED_OFFSET;
fs->regs.reg[register_id_for_index[i]].loc.offset
= ((_Unwind_Ptr) &(regs[i])) - new_cfa;
}
fs->signal_frame = 1;
fs->retaddr_column = __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__;
- fs->regs.reg[fs->retaddr_column].how = REG_SAVED_VAL_OFFSET;
+ fs->regs.how[fs->retaddr_column] = REG_SAVED_VAL_OFFSET;
fs->regs.reg[fs->retaddr_column].loc.offset =
((_Unwind_Ptr) (regs[ret])) - new_cfa;
@@ -140,7 +140,7 @@ arc_frob_update_context (struct _Unwind_Context *context,
_Unwind_Word fp_val;
asm ("mov %0,fp" : "=r" (fp_val));
- switch (fs->regs.reg[27].how)
+ switch (fs->regs.how[27])
{
case REG_UNSAVED:
case REG_UNDEFINED:
diff --git a/libgcc/config/arc/t-arc b/libgcc/config/arc/t-arc
index f9e463a..98fc10a 100644
--- a/libgcc/config/arc/t-arc
+++ b/libgcc/config/arc/t-arc
@@ -1,6 +1,6 @@
# GCC Makefile fragment for Synopsys DesignWare ARC
-# Copyright (C) 2007-2022 Free Software Foundation, Inc.
+# Copyright (C) 2007-2023 Free Software Foundation, Inc.
# Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
# on behalf of Synopsys Inc.
diff --git a/libgcc/config/arc/t-arc-uClibc b/libgcc/config/arc/t-arc-uClibc
index fb73445..033c6b7 100644
--- a/libgcc/config/arc/t-arc-uClibc
+++ b/libgcc/config/arc/t-arc-uClibc
@@ -1,6 +1,6 @@
# GCC Makefile fragment for the Synopsys DesignWare ARC700 CPU with uClibc.
-# Copyright (C) 2007-2022 Free Software Foundation, Inc.
+# Copyright (C) 2007-2023 Free Software Foundation, Inc.
# Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
# on behalf of Synopsys Inc.
diff --git a/libgcc/config/arm/bpabi-lib.h b/libgcc/config/arm/bpabi-lib.h
index 26ad5ff..85aebdd 100644
--- a/libgcc/config/arm/bpabi-lib.h
+++ b/libgcc/config/arm/bpabi-lib.h
@@ -1,5 +1,5 @@
/* Configuration file for ARM BPABI targets, library renames.
- Copyright (C) 2010-2022 Free Software Foundation, Inc.
+ Copyright (C) 2010-2023 Free Software Foundation, Inc.
Contributed by CodeSourcery, LLC
This file is part of GCC.
diff --git a/libgcc/config/arm/bpabi-v6m.S b/libgcc/config/arm/bpabi-v6m.S
index ea01d3f..713167e 100644
--- a/libgcc/config/arm/bpabi-v6m.S
+++ b/libgcc/config/arm/bpabi-v6m.S
@@ -1,7 +1,7 @@
/* Miscellaneous BPABI functions. Thumb-1 implementation, suitable for ARMv4T,
ARMv6-M and ARMv8-M Baseline like ISA variants.
- Copyright (C) 2006-2022 Free Software Foundation, Inc.
+ Copyright (C) 2006-2023 Free Software Foundation, Inc.
Contributed by CodeSourcery.
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/arm/bpabi.S b/libgcc/config/arm/bpabi.S
index 17fe707..0c34a40 100644
--- a/libgcc/config/arm/bpabi.S
+++ b/libgcc/config/arm/bpabi.S
@@ -1,6 +1,6 @@
/* Miscellaneous BPABI functions.
- Copyright (C) 2003-2022 Free Software Foundation, Inc.
+ Copyright (C) 2003-2023 Free Software Foundation, Inc.
Contributed by CodeSourcery, LLC.
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/arm/bpabi.c b/libgcc/config/arm/bpabi.c
index d8ba940..7ca1c69 100644
--- a/libgcc/config/arm/bpabi.c
+++ b/libgcc/config/arm/bpabi.c
@@ -1,6 +1,6 @@
/* Miscellaneous BPABI functions.
- Copyright (C) 2003-2022 Free Software Foundation, Inc.
+ Copyright (C) 2003-2023 Free Software Foundation, Inc.
Contributed by CodeSourcery, LLC.
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/arm/cmse.c b/libgcc/config/arm/cmse.c
index 50ea1bb..5a0953d 100644
--- a/libgcc/config/arm/cmse.c
+++ b/libgcc/config/arm/cmse.c
@@ -1,5 +1,5 @@
/* ARMv8-M Security Extensions routines.
- Copyright (C) 2015-2022 Free Software Foundation, Inc.
+ Copyright (C) 2015-2023 Free Software Foundation, Inc.
Contributed by ARM Ltd.
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/arm/cmse_nonsecure_call.S b/libgcc/config/arm/cmse_nonsecure_call.S
index 8051365..c92eb62 100644
--- a/libgcc/config/arm/cmse_nonsecure_call.S
+++ b/libgcc/config/arm/cmse_nonsecure_call.S
@@ -1,7 +1,7 @@
/* CMSE wrapper function used to save, clear and restore callee saved registers
for cmse_nonsecure_call's.
- Copyright (C) 2016-2022 Free Software Foundation, Inc.
+ Copyright (C) 2016-2023 Free Software Foundation, Inc.
Contributed by ARM Ltd.
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/arm/crtfastmath.c b/libgcc/config/arm/crtfastmath.c
index 38e1136..5f34f43 100644
--- a/libgcc/config/arm/crtfastmath.c
+++ b/libgcc/config/arm/crtfastmath.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2014-2022 Free Software Foundation, Inc.
+ * Copyright (C) 2014-2023 Free Software Foundation, Inc.
*
* This file is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/arm/crti.S b/libgcc/config/arm/crti.S
index 0192972..7e5a595 100644
--- a/libgcc/config/arm/crti.S
+++ b/libgcc/config/arm/crti.S
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2022 Free Software Foundation, Inc.
+# Copyright (C) 2001-2023 Free Software Foundation, Inc.
# Written By Nick Clifton
#
# This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/arm/crtn.S b/libgcc/config/arm/crtn.S
index e48ca27..24260d8 100644
--- a/libgcc/config/arm/crtn.S
+++ b/libgcc/config/arm/crtn.S
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2022 Free Software Foundation, Inc.
+# Copyright (C) 2001-2023 Free Software Foundation, Inc.
# Written By Nick Clifton
#
# This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/arm/fp16.c b/libgcc/config/arm/fp16.c
index 39004a4..a58cd0c 100644
--- a/libgcc/config/arm/fp16.c
+++ b/libgcc/config/arm/fp16.c
@@ -1,6 +1,6 @@
/* Half-float conversion routines.
- Copyright (C) 2008-2022 Free Software Foundation, Inc.
+ Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributed by CodeSourcery.
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/arm/freebsd-atomic.c b/libgcc/config/arm/freebsd-atomic.c
index 04605ef..9aa6ff8 100644
--- a/libgcc/config/arm/freebsd-atomic.c
+++ b/libgcc/config/arm/freebsd-atomic.c
@@ -1,5 +1,5 @@
/* FreeBSD specific atomic operations for ARM EABI.
- Copyright (C) 2015-2022 Free Software Foundation, Inc.
+ Copyright (C) 2015-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/arm/ieee754-df.S b/libgcc/config/arm/ieee754-df.S
index bb299e2..3484441 100644
--- a/libgcc/config/arm/ieee754-df.S
+++ b/libgcc/config/arm/ieee754-df.S
@@ -1,6 +1,6 @@
/* ieee754-df.S double-precision floating point support for ARM
- Copyright (C) 2003-2022 Free Software Foundation, Inc.
+ Copyright (C) 2003-2023 Free Software Foundation, Inc.
Contributed by Nicolas Pitre (nico@fluxnic.net)
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/arm/ieee754-sf.S b/libgcc/config/arm/ieee754-sf.S
index 12df196..e8b7216 100644
--- a/libgcc/config/arm/ieee754-sf.S
+++ b/libgcc/config/arm/ieee754-sf.S
@@ -1,6 +1,6 @@
/* ieee754-sf.S single-precision floating point support for ARM
- Copyright (C) 2003-2022 Free Software Foundation, Inc.
+ Copyright (C) 2003-2023 Free Software Foundation, Inc.
Contributed by Nicolas Pitre (nico@fluxnic.net)
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/arm/lib1funcs.S b/libgcc/config/arm/lib1funcs.S
index 8c39c9f..d02a57c 100644
--- a/libgcc/config/arm/lib1funcs.S
+++ b/libgcc/config/arm/lib1funcs.S
@@ -1,7 +1,7 @@
@ libgcc routines for ARM cpu.
@ Division routines, written by Richard Earnshaw, (rearnsha@armltd.co.uk)
-/* Copyright (C) 1995-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1995-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
@@ -1522,7 +1522,7 @@ LSYM(Lover12):
add r7, r7, #2
#endif
mov r2, #0
- swi 0
+ svc 0
do_pop {r7}
RET
FUNC_END clear_cache
diff --git a/libgcc/config/arm/libgcc-bpabi.ver b/libgcc/config/arm/libgcc-bpabi.ver
index 9f95220..e2af060 100644
--- a/libgcc/config/arm/libgcc-bpabi.ver
+++ b/libgcc/config/arm/libgcc-bpabi.ver
@@ -1,4 +1,4 @@
-# Copyright (C) 2004-2022 Free Software Foundation, Inc.
+# Copyright (C) 2004-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/config/arm/libunwind.S b/libgcc/config/arm/libunwind.S
index eb7f327..b8a754b 100644
--- a/libgcc/config/arm/libunwind.S
+++ b/libgcc/config/arm/libunwind.S
@@ -1,5 +1,5 @@
/* Support functions for the unwinder.
- Copyright (C) 2003-2022 Free Software Foundation, Inc.
+ Copyright (C) 2003-2023 Free Software Foundation, Inc.
Contributed by Paul Brook
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/arm/linux-atomic-64bit.c b/libgcc/config/arm/linux-atomic-64bit.c
index 37c7fc8..4f67f5e 100644
--- a/libgcc/config/arm/linux-atomic-64bit.c
+++ b/libgcc/config/arm/linux-atomic-64bit.c
@@ -1,5 +1,5 @@
/* 64bit Linux-specific atomic operations for ARM EABI.
- Copyright (C) 2008-2022 Free Software Foundation, Inc.
+ Copyright (C) 2008-2023 Free Software Foundation, Inc.
Based on linux-atomic.c
64 bit additions david.gilbert@linaro.org
diff --git a/libgcc/config/arm/linux-atomic.c b/libgcc/config/arm/linux-atomic.c
index 88ed9fe..21559ea 100644
--- a/libgcc/config/arm/linux-atomic.c
+++ b/libgcc/config/arm/linux-atomic.c
@@ -1,5 +1,5 @@
/* Linux-specific atomic operations for ARM EABI.
- Copyright (C) 2008-2022 Free Software Foundation, Inc.
+ Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributed by CodeSourcery.
This file is part of GCC.
diff --git a/libgcc/config/arm/pr-support.c b/libgcc/config/arm/pr-support.c
index 2de96c2..6c36ab4 100644
--- a/libgcc/config/arm/pr-support.c
+++ b/libgcc/config/arm/pr-support.c
@@ -1,5 +1,5 @@
/* ARM EABI compliant unwinding routines
- Copyright (C) 2004-2022 Free Software Foundation, Inc.
+ Copyright (C) 2004-2023 Free Software Foundation, Inc.
Contributed by Paul Brook
This file is free software; you can redistribute it and/or modify it
@@ -106,7 +106,12 @@ __gnu_unwind_execute (_Unwind_Context * context, __gnu_unwind_state * uws)
{
_uw op;
int set_pc;
+#if defined(TARGET_HAVE_PACBTI)
+ int set_pac = 0;
+ int set_pac_sp = 0;
+#endif
_uw reg;
+ _uw sp;
set_pc = 0;
for (;;)
@@ -114,6 +119,28 @@ __gnu_unwind_execute (_Unwind_Context * context, __gnu_unwind_state * uws)
op = next_unwind_byte (uws);
if (op == CODE_FINISH)
{
+ /* When we reach end, we have to authenticate R12 we just popped
+ earlier.
+
+ Note: while the check provides additional security against a
+ corrupted unwind chain, it isn't essential for correct unwinding
+ of an uncorrupted chain. */
+#if defined(TARGET_HAVE_PACBTI)
+ if (set_pac)
+ {
+ _uw lr;
+ _uw pac;
+ if (!set_pac_sp)
+ _Unwind_VRS_Get (context, _UVRSC_CORE, R_SP, _UVRSD_UINT32,
+ &sp);
+ _Unwind_VRS_Get (context, _UVRSC_CORE, R_LR, _UVRSD_UINT32, &lr);
+ _Unwind_VRS_Get (context, _UVRSC_PAC, R_IP,
+ _UVRSD_UINT32, &pac);
+ __asm__ __volatile__
+ ("autg %0, %1, %2" : : "r"(pac), "r"(lr), "r"(sp) :);
+ }
+#endif
+
/* If we haven't already set pc then copy it from lr. */
if (!set_pc)
{
@@ -227,6 +254,28 @@ __gnu_unwind_execute (_Unwind_Context * context, __gnu_unwind_state * uws)
return _URC_FAILURE;
continue;
}
+ /* Pop PAC off the stack into VRS pseudo.pac. */
+ if (op == 0xb4)
+ {
+ if (_Unwind_VRS_Pop (context, _UVRSC_PAC, 0, _UVRSD_UINT32)
+ != _UVRSR_OK)
+ return _URC_FAILURE;
+#if defined(TARGET_HAVE_PACBTI)
+ set_pac = 1;
+#endif
+ continue;
+ }
+
+ /* Use current VSP as modifier in PAC validation. */
+ if (op == 0xb5)
+ {
+ _Unwind_VRS_Get (context, _UVRSC_CORE, R_SP, _UVRSD_UINT32, &sp);
+#if defined(TARGET_HAVE_PACBTI)
+ set_pac_sp = 1;
+#endif
+ continue;
+ }
+
if ((op & 0xfc) == 0xb4) /* Obsolete FPA. */
return _URC_FAILURE;
diff --git a/libgcc/config/arm/symbian-lib.h b/libgcc/config/arm/symbian-lib.h
index d97853a..fd9671d 100644
--- a/libgcc/config/arm/symbian-lib.h
+++ b/libgcc/config/arm/symbian-lib.h
@@ -1,5 +1,5 @@
/* Configuration file for Symbian OS on ARM processors, library renames.
- Copyright (C) 2004-2022 Free Software Foundation, Inc.
+ Copyright (C) 2004-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/arm/unaligned-funcs.c b/libgcc/config/arm/unaligned-funcs.c
index 31680a6..6287676 100644
--- a/libgcc/config/arm/unaligned-funcs.c
+++ b/libgcc/config/arm/unaligned-funcs.c
@@ -1,6 +1,6 @@
/* EABI unaligned read/write functions.
- Copyright (C) 2005-2022 Free Software Foundation, Inc.
+ Copyright (C) 2005-2023 Free Software Foundation, Inc.
Contributed by CodeSourcery, LLC.
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/arm/unwind-arm-vxworks.c b/libgcc/config/arm/unwind-arm-vxworks.c
index 6ae1ffa..7632b13 100644
--- a/libgcc/config/arm/unwind-arm-vxworks.c
+++ b/libgcc/config/arm/unwind-arm-vxworks.c
@@ -1,5 +1,5 @@
/* Support for ARM EABI unwinding on VxWorks Downloadable Kernel Modules.
- Copyright (C) 2017-2022 Free Software Foundation, Inc.
+ Copyright (C) 2017-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/arm/unwind-arm.c b/libgcc/config/arm/unwind-arm.c
index 3864065..b91821c 100644
--- a/libgcc/config/arm/unwind-arm.c
+++ b/libgcc/config/arm/unwind-arm.c
@@ -1,5 +1,5 @@
/* ARM EABI compliant unwinding routines.
- Copyright (C) 2004-2022 Free Software Foundation, Inc.
+ Copyright (C) 2004-2023 Free Software Foundation, Inc.
Contributed by Paul Brook
This file is free software; you can redistribute it and/or modify it
@@ -64,6 +64,12 @@ struct wmmxc_regs
_uw wc[4];
};
+/* Holds value of pseudo registers eg. PAC. */
+struct pseudo_regs
+{
+ _uw pac;
+};
+
/* The ABI specifies that the unwind routines may only use core registers,
except when actually manipulating coprocessor state. This allows
us to write one implementation that works on all platforms by
@@ -78,6 +84,9 @@ typedef struct
/* The first fields must be the same as a phase2_vrs. */
_uw demand_save_flags;
struct core_regs core;
+ /* Armv8.1-M Mainline PAC/AUTH values. This field should be in the same field
+ order as phase2_vrs. */
+ struct pseudo_regs pseudo;
_uw prev_sp; /* Only valid during forced unwinding. */
struct vfp_regs vfp;
struct vfpv3_regs vfp_regs_16_to_31;
@@ -99,6 +108,7 @@ typedef struct
{
_uw demand_save_flags;
struct core_regs core;
+ struct pseudo_regs pac;
} phase2_vrs;
/* Coprocessor register state manipulation functions. */
@@ -175,6 +185,10 @@ _Unwind_VRS_Result _Unwind_VRS_Get (_Unwind_Context *context,
case _UVRSC_WMMXC:
return _UVRSR_NOT_IMPLEMENTED;
+ case _UVRSC_PAC:
+ *(_uw *) valuep = vrs->pseudo.pac;
+ return _UVRSR_OK;
+
default:
return _UVRSR_FAILED;
}
@@ -206,6 +220,10 @@ _Unwind_VRS_Result _Unwind_VRS_Set (_Unwind_Context *context,
case _UVRSC_WMMXC:
return _UVRSR_NOT_IMPLEMENTED;
+ case _UVRSC_PAC:
+ vrs->pseudo.pac = *(_uw *) valuep;
+ return _UVRSR_OK;
+
default:
return _UVRSR_FAILED;
}
@@ -246,6 +264,16 @@ _Unwind_VRS_Result _Unwind_VRS_Pop (_Unwind_Context *context,
}
return _UVRSR_OK;
+ case _UVRSC_PAC:
+ {
+ _uw *ptr = (_uw *) vrs->core.r[R_SP];
+ if (discriminator != 0)
+ return _UVRSR_FAILED;
+ vrs->pseudo.pac = *(ptr++);
+ vrs->core.r[R_SP] = (_uw) ptr;
+ return _UVRSR_OK;
+ }
+
case _UVRSC_VFP:
{
_uw start = discriminator >> 16;
diff --git a/libgcc/config/arm/unwind-arm.h b/libgcc/config/arm/unwind-arm.h
index faef9c3..b5b27fb 100644
--- a/libgcc/config/arm/unwind-arm.h
+++ b/libgcc/config/arm/unwind-arm.h
@@ -1,5 +1,5 @@
/* Header file for the ARM EABI unwinder
- Copyright (C) 2003-2022 Free Software Foundation, Inc.
+ Copyright (C) 2003-2023 Free Software Foundation, Inc.
Contributed by Paul Brook
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/avr/avr-lib.h b/libgcc/config/avr/avr-lib.h
index d288f5b..57cec69 100644
--- a/libgcc/config/avr/avr-lib.h
+++ b/libgcc/config/avr/avr-lib.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2012-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2012-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/avr/lib1funcs-fixed.S b/libgcc/config/avr/lib1funcs-fixed.S
index 09ff604..1e4c4c4 100644
--- a/libgcc/config/avr/lib1funcs-fixed.S
+++ b/libgcc/config/avr/lib1funcs-fixed.S
@@ -1,5 +1,5 @@
/* -*- Mode: Asm -*- */
-;; Copyright (C) 2012-2022 Free Software Foundation, Inc.
+;; Copyright (C) 2012-2023 Free Software Foundation, Inc.
;; Contributed by Sean D'Epagnier (sean@depagnier.com)
;; Georg-Johann Lay (avr@gjlay.de)
diff --git a/libgcc/config/avr/lib1funcs.S b/libgcc/config/avr/lib1funcs.S
index 7a49278..0870595 100644
--- a/libgcc/config/avr/lib1funcs.S
+++ b/libgcc/config/avr/lib1funcs.S
@@ -1,5 +1,5 @@
/* -*- Mode: Asm -*- */
-/* Copyright (C) 1998-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1998-2023 Free Software Foundation, Inc.
Contributed by Denis Chertykov <chertykov@gmail.com>
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/avr/lib2funcs.c b/libgcc/config/avr/lib2funcs.c
index aa03d99..8015de9 100644
--- a/libgcc/config/avr/lib2funcs.c
+++ b/libgcc/config/avr/lib2funcs.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2013-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2013-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/avr/libf7/asm-defs.h b/libgcc/config/avr/libf7/asm-defs.h
index 3cdcce9..4cfd3e6 100644
--- a/libgcc/config/avr/libf7/asm-defs.h
+++ b/libgcc/config/avr/libf7/asm-defs.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2019-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2019-2023 Free Software Foundation, Inc.
This file is part of LIBF7, which is part of GCC.
diff --git a/libgcc/config/avr/libf7/f7-wraps.h b/libgcc/config/avr/libf7/f7-wraps.h
index c138d09..fbb4d6f0 100644
--- a/libgcc/config/avr/libf7/f7-wraps.h
+++ b/libgcc/config/avr/libf7/f7-wraps.h
@@ -1,4 +1,4 @@
-;; Copyright (C) 2019-2022 Free Software Foundation, Inc.
+;; Copyright (C) 2019-2023 Free Software Foundation, Inc.
;;
;; This file is part of LIBF7, which is part of GCC.
;;
diff --git a/libgcc/config/avr/libf7/f7wraps.sh b/libgcc/config/avr/libf7/f7wraps.sh
index 660eb73..c3db6de 100755
--- a/libgcc/config/avr/libf7/f7wraps.sh
+++ b/libgcc/config/avr/libf7/f7wraps.sh
@@ -13,7 +13,7 @@ fi
case ${what} in
header)
cat << EOF
-;; Copyright (C) 2019-2022 Free Software Foundation, Inc.
+;; Copyright (C) 2019-2023 Free Software Foundation, Inc.
;;
;; This file is part of LIBF7, which is part of GCC.
;;
diff --git a/libgcc/config/avr/libf7/libf7-array.def b/libgcc/config/avr/libf7/libf7-array.def
index 763ca8f..5f2086a 100644
--- a/libgcc/config/avr/libf7/libf7-array.def
+++ b/libgcc/config/avr/libf7/libf7-array.def
@@ -1,4 +1,4 @@
-/* Copyright (C) 2019-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2019-2023 Free Software Foundation, Inc.
This file is part of LIBF7, which is part of GCC.
diff --git a/libgcc/config/avr/libf7/libf7-asm.sx b/libgcc/config/avr/libf7/libf7-asm.sx
index 752a939..8fbd66b 100644
--- a/libgcc/config/avr/libf7/libf7-asm.sx
+++ b/libgcc/config/avr/libf7/libf7-asm.sx
@@ -1,4 +1,4 @@
-;; Copyright (C) 2019-2022 Free Software Foundation, Inc.
+;; Copyright (C) 2019-2023 Free Software Foundation, Inc.
;;
;; This file is part of LIBF7, which is part of GCC.
;;
diff --git a/libgcc/config/avr/libf7/libf7-const.def b/libgcc/config/avr/libf7/libf7-const.def
index 157bdf7..8764c81 100644
--- a/libgcc/config/avr/libf7/libf7-const.def
+++ b/libgcc/config/avr/libf7/libf7-const.def
@@ -1,4 +1,4 @@
-/* Copyright (C) 2019-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2019-2023 Free Software Foundation, Inc.
This file is part of LIBF7, which is part of GCC.
diff --git a/libgcc/config/avr/libf7/libf7-constdef.h b/libgcc/config/avr/libf7/libf7-constdef.h
index a6edf2f..7970574 100644
--- a/libgcc/config/avr/libf7/libf7-constdef.h
+++ b/libgcc/config/avr/libf7/libf7-constdef.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2019-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2019-2023 Free Software Foundation, Inc.
This file is part of LIBF7, which is part of GCC.
diff --git a/libgcc/config/avr/libf7/libf7.c b/libgcc/config/avr/libf7/libf7.c
index 53249d3..8fb57ef 100644
--- a/libgcc/config/avr/libf7/libf7.c
+++ b/libgcc/config/avr/libf7/libf7.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2019-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2019-2023 Free Software Foundation, Inc.
This file is part of LIBF7, which is part of GCC.
diff --git a/libgcc/config/avr/libf7/libf7.h b/libgcc/config/avr/libf7/libf7.h
index 02eebdb..03fe6ab 100644
--- a/libgcc/config/avr/libf7/libf7.h
+++ b/libgcc/config/avr/libf7/libf7.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2019-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2019-2023 Free Software Foundation, Inc.
This file is part of LIBF7, which is part of GCC.
diff --git a/libgcc/config/bfin/crti.S b/libgcc/config/bfin/crti.S
index 3bc396a..f88aa1d 100644
--- a/libgcc/config/bfin/crti.S
+++ b/libgcc/config/bfin/crti.S
@@ -1,6 +1,6 @@
/* Specialized code needed to support construction and destruction of
file-scope objects in C++ and Java code, and to support exception handling.
- Copyright (C) 2005-2022 Free Software Foundation, Inc.
+ Copyright (C) 2005-2023 Free Software Foundation, Inc.
Contributed by Analog Devices.
This file is part of GCC.
diff --git a/libgcc/config/bfin/crtlibid.S b/libgcc/config/bfin/crtlibid.S
index a0faf13bb..750200e 100644
--- a/libgcc/config/bfin/crtlibid.S
+++ b/libgcc/config/bfin/crtlibid.S
@@ -1,6 +1,6 @@
/* Provide a weak definition of the library ID, for the benefit of certain
configure scripts.
- Copyright (C) 2005-2022 Free Software Foundation, Inc.
+ Copyright (C) 2005-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/bfin/crtn.S b/libgcc/config/bfin/crtn.S
index c951aa5..345a58a 100644
--- a/libgcc/config/bfin/crtn.S
+++ b/libgcc/config/bfin/crtn.S
@@ -1,6 +1,6 @@
/* Specialized code needed to support construction and destruction of
file-scope objects in C++ and Java code, and to support exception handling.
- Copyright (C) 2005-2022 Free Software Foundation, Inc.
+ Copyright (C) 2005-2023 Free Software Foundation, Inc.
Contributed by Analog Devices.
This file is part of GCC.
diff --git a/libgcc/config/bfin/lib1funcs.S b/libgcc/config/bfin/lib1funcs.S
index 5724389..9d159d8 100644
--- a/libgcc/config/bfin/lib1funcs.S
+++ b/libgcc/config/bfin/lib1funcs.S
@@ -1,5 +1,5 @@
/* libgcc functions for Blackfin.
- Copyright (C) 2005-2022 Free Software Foundation, Inc.
+ Copyright (C) 2005-2023 Free Software Foundation, Inc.
Contributed by Analog Devices.
This file is part of GCC.
diff --git a/libgcc/config/bfin/libgcc-glibc.ver b/libgcc/config/bfin/libgcc-glibc.ver
index 11b02b8..764a56e 100644
--- a/libgcc/config/bfin/libgcc-glibc.ver
+++ b/libgcc/config/bfin/libgcc-glibc.ver
@@ -1,4 +1,4 @@
-# Copyright (C) 2000-2022 Free Software Foundation, Inc.
+# Copyright (C) 2000-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/config/bfin/linux-unwind.h b/libgcc/config/bfin/linux-unwind.h
index 34ab7da..600a4d2 100644
--- a/libgcc/config/bfin/linux-unwind.h
+++ b/libgcc/config/bfin/linux-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for Blackfin.
- Copyright (C) 2007-2022 Free Software Foundation, Inc.
+ Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -68,93 +68,93 @@ bfin_fallback_frame_state (struct _Unwind_Context *context,
fs->regs.cfa_reg = 14;
fs->regs.cfa_offset = new_cfa - (long) context->cfa;
- fs->regs.reg[0].how = REG_SAVED_OFFSET;
+ fs->regs.how[0] = REG_SAVED_OFFSET;
fs->regs.reg[0].loc.offset = (long)&sc->sc_r0 - new_cfa;
- fs->regs.reg[1].how = REG_SAVED_OFFSET;
+ fs->regs.how[1] = REG_SAVED_OFFSET;
fs->regs.reg[1].loc.offset = (long)&sc->sc_r1 - new_cfa;
- fs->regs.reg[2].how = REG_SAVED_OFFSET;
+ fs->regs.how[2] = REG_SAVED_OFFSET;
fs->regs.reg[2].loc.offset = (long)&sc->sc_r2 - new_cfa;
- fs->regs.reg[3].how = REG_SAVED_OFFSET;
+ fs->regs.how[3] = REG_SAVED_OFFSET;
fs->regs.reg[3].loc.offset = (long)&sc->sc_r3 - new_cfa;
- fs->regs.reg[4].how = REG_SAVED_OFFSET;
+ fs->regs.how[4] = REG_SAVED_OFFSET;
fs->regs.reg[4].loc.offset = (long)&sc->sc_r4 - new_cfa;
- fs->regs.reg[5].how = REG_SAVED_OFFSET;
+ fs->regs.how[5] = REG_SAVED_OFFSET;
fs->regs.reg[5].loc.offset = (long)&sc->sc_r5 - new_cfa;
- fs->regs.reg[6].how = REG_SAVED_OFFSET;
+ fs->regs.how[6] = REG_SAVED_OFFSET;
fs->regs.reg[6].loc.offset = (long)&sc->sc_r6 - new_cfa;
- fs->regs.reg[7].how = REG_SAVED_OFFSET;
+ fs->regs.how[7] = REG_SAVED_OFFSET;
fs->regs.reg[7].loc.offset = (long)&sc->sc_r7 - new_cfa;
- fs->regs.reg[8].how = REG_SAVED_OFFSET;
+ fs->regs.how[8] = REG_SAVED_OFFSET;
fs->regs.reg[8].loc.offset = (long)&sc->sc_p0 - new_cfa;
- fs->regs.reg[9].how = REG_SAVED_OFFSET;
+ fs->regs.how[9] = REG_SAVED_OFFSET;
fs->regs.reg[9].loc.offset = (long)&sc->sc_p1 - new_cfa;
- fs->regs.reg[10].how = REG_SAVED_OFFSET;
+ fs->regs.how[10] = REG_SAVED_OFFSET;
fs->regs.reg[10].loc.offset = (long)&sc->sc_p2 - new_cfa;
- fs->regs.reg[11].how = REG_SAVED_OFFSET;
+ fs->regs.how[11] = REG_SAVED_OFFSET;
fs->regs.reg[11].loc.offset = (long)&sc->sc_p3 - new_cfa;
- fs->regs.reg[12].how = REG_SAVED_OFFSET;
+ fs->regs.how[12] = REG_SAVED_OFFSET;
fs->regs.reg[12].loc.offset = (long)&sc->sc_p4 - new_cfa;
- fs->regs.reg[13].how = REG_SAVED_OFFSET;
+ fs->regs.how[13] = REG_SAVED_OFFSET;
fs->regs.reg[13].loc.offset = (long)&sc->sc_p5 - new_cfa;
- fs->regs.reg[15].how = REG_SAVED_OFFSET;
+ fs->regs.how[15] = REG_SAVED_OFFSET;
fs->regs.reg[15].loc.offset = (long)&sc->sc_fp - new_cfa;
- fs->regs.reg[16].how = REG_SAVED_OFFSET;
+ fs->regs.how[16] = REG_SAVED_OFFSET;
fs->regs.reg[16].loc.offset = (long)&sc->sc_i0 - new_cfa;
- fs->regs.reg[17].how = REG_SAVED_OFFSET;
+ fs->regs.how[17] = REG_SAVED_OFFSET;
fs->regs.reg[17].loc.offset = (long)&sc->sc_i1 - new_cfa;
- fs->regs.reg[18].how = REG_SAVED_OFFSET;
+ fs->regs.how[18] = REG_SAVED_OFFSET;
fs->regs.reg[18].loc.offset = (long)&sc->sc_i2 - new_cfa;
- fs->regs.reg[19].how = REG_SAVED_OFFSET;
+ fs->regs.how[19] = REG_SAVED_OFFSET;
fs->regs.reg[19].loc.offset = (long)&sc->sc_i3 - new_cfa;
- fs->regs.reg[20].how = REG_SAVED_OFFSET;
+ fs->regs.how[20] = REG_SAVED_OFFSET;
fs->regs.reg[20].loc.offset = (long)&sc->sc_b0 - new_cfa;
- fs->regs.reg[21].how = REG_SAVED_OFFSET;
+ fs->regs.how[21] = REG_SAVED_OFFSET;
fs->regs.reg[21].loc.offset = (long)&sc->sc_b1 - new_cfa;
- fs->regs.reg[22].how = REG_SAVED_OFFSET;
+ fs->regs.how[22] = REG_SAVED_OFFSET;
fs->regs.reg[22].loc.offset = (long)&sc->sc_b2 - new_cfa;
- fs->regs.reg[23].how = REG_SAVED_OFFSET;
+ fs->regs.how[23] = REG_SAVED_OFFSET;
fs->regs.reg[23].loc.offset = (long)&sc->sc_b3 - new_cfa;
- fs->regs.reg[24].how = REG_SAVED_OFFSET;
+ fs->regs.how[24] = REG_SAVED_OFFSET;
fs->regs.reg[24].loc.offset = (long)&sc->sc_l0 - new_cfa;
- fs->regs.reg[25].how = REG_SAVED_OFFSET;
+ fs->regs.how[25] = REG_SAVED_OFFSET;
fs->regs.reg[25].loc.offset = (long)&sc->sc_l1 - new_cfa;
- fs->regs.reg[26].how = REG_SAVED_OFFSET;
+ fs->regs.how[26] = REG_SAVED_OFFSET;
fs->regs.reg[26].loc.offset = (long)&sc->sc_l2 - new_cfa;
- fs->regs.reg[27].how = REG_SAVED_OFFSET;
+ fs->regs.how[27] = REG_SAVED_OFFSET;
fs->regs.reg[27].loc.offset = (long)&sc->sc_l3 - new_cfa;
- fs->regs.reg[28].how = REG_SAVED_OFFSET;
+ fs->regs.how[28] = REG_SAVED_OFFSET;
fs->regs.reg[28].loc.offset = (long)&sc->sc_m0 - new_cfa;
- fs->regs.reg[29].how = REG_SAVED_OFFSET;
+ fs->regs.how[29] = REG_SAVED_OFFSET;
fs->regs.reg[29].loc.offset = (long)&sc->sc_m1 - new_cfa;
- fs->regs.reg[30].how = REG_SAVED_OFFSET;
+ fs->regs.how[30] = REG_SAVED_OFFSET;
fs->regs.reg[30].loc.offset = (long)&sc->sc_m2 - new_cfa;
- fs->regs.reg[31].how = REG_SAVED_OFFSET;
+ fs->regs.how[31] = REG_SAVED_OFFSET;
fs->regs.reg[31].loc.offset = (long)&sc->sc_m3 - new_cfa;
/* FIXME: Handle A0, A1, CC. */
- fs->regs.reg[35].how = REG_SAVED_OFFSET;
+ fs->regs.how[35] = REG_SAVED_OFFSET;
fs->regs.reg[35].loc.offset = (long)&sc->sc_rets - new_cfa;
- fs->regs.reg[36].how = REG_SAVED_OFFSET;
+ fs->regs.how[36] = REG_SAVED_OFFSET;
fs->regs.reg[36].loc.offset = (long)&sc->sc_pc - new_cfa;
- fs->regs.reg[37].how = REG_SAVED_OFFSET;
+ fs->regs.how[37] = REG_SAVED_OFFSET;
fs->regs.reg[37].loc.offset = (long)&sc->sc_retx - new_cfa;
- fs->regs.reg[40].how = REG_SAVED_OFFSET;
+ fs->regs.how[40] = REG_SAVED_OFFSET;
fs->regs.reg[40].loc.offset = (long)&sc->sc_astat - new_cfa;
- fs->regs.reg[41].how = REG_SAVED_OFFSET;
+ fs->regs.how[41] = REG_SAVED_OFFSET;
fs->regs.reg[41].loc.offset = (long)&sc->sc_seqstat - new_cfa;
- fs->regs.reg[44].how = REG_SAVED_OFFSET;
+ fs->regs.how[44] = REG_SAVED_OFFSET;
fs->regs.reg[44].loc.offset = (long)&sc->sc_lt0 - new_cfa;
- fs->regs.reg[45].how = REG_SAVED_OFFSET;
+ fs->regs.how[45] = REG_SAVED_OFFSET;
fs->regs.reg[45].loc.offset = (long)&sc->sc_lt1 - new_cfa;
- fs->regs.reg[46].how = REG_SAVED_OFFSET;
+ fs->regs.how[46] = REG_SAVED_OFFSET;
fs->regs.reg[46].loc.offset = (long)&sc->sc_lc0 - new_cfa;
- fs->regs.reg[47].how = REG_SAVED_OFFSET;
+ fs->regs.how[47] = REG_SAVED_OFFSET;
fs->regs.reg[47].loc.offset = (long)&sc->sc_lc1 - new_cfa;
- fs->regs.reg[48].how = REG_SAVED_OFFSET;
+ fs->regs.how[48] = REG_SAVED_OFFSET;
fs->regs.reg[48].loc.offset = (long)&sc->sc_lb0 - new_cfa;
- fs->regs.reg[49].how = REG_SAVED_OFFSET;
+ fs->regs.how[49] = REG_SAVED_OFFSET;
fs->regs.reg[49].loc.offset = (long)&sc->sc_lb1 - new_cfa;
fs->retaddr_column = 35;
diff --git a/libgcc/config/c6x/c6x-abi.h b/libgcc/config/c6x/c6x-abi.h
index 24d677f..d5b8960 100644
--- a/libgcc/config/c6x/c6x-abi.h
+++ b/libgcc/config/c6x/c6x-abi.h
@@ -1,5 +1,5 @@
/* Header file for C6X ABI versions of libgcc functions.
- Copyright (C) 2011-2022 Free Software Foundation, Inc.
+ Copyright (C) 2011-2023 Free Software Foundation, Inc.
Contributed by Bernd Schmidt <bernds@codesourcery.com>
This file is part of GCC.
diff --git a/libgcc/config/c6x/crti.S b/libgcc/config/c6x/crti.S
index bfbaee5..636059b 100644
--- a/libgcc/config/c6x/crti.S
+++ b/libgcc/config/c6x/crti.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2010-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2010-2023 Free Software Foundation, Inc.
Contributed by Bernd Schmidt <bernds@codesourcery.com>.
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/c6x/crtn.S b/libgcc/config/c6x/crtn.S
index 03fddf8..08e7d71 100644
--- a/libgcc/config/c6x/crtn.S
+++ b/libgcc/config/c6x/crtn.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2010-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2010-2023 Free Software Foundation, Inc.
Contributed by Bernd Schmidt <bernds@codesourcery.com>.
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/c6x/eqd.c b/libgcc/config/c6x/eqd.c
index 321ca2e..c8481ea 100644
--- a/libgcc/config/c6x/eqd.c
+++ b/libgcc/config/c6x/eqd.c
@@ -1,6 +1,6 @@
/* Software floating-point emulation.
Return 1 iff a == b, 0 otherwise.
- Copyright (C) 1997-2022 Free Software Foundation, Inc.
+ Copyright (C) 1997-2023 Free Software Foundation, Inc.
Contributed by Richard Henderson (rth@cygnus.com) and
Jakub Jelinek (jj@ultra.linux.cz).
diff --git a/libgcc/config/c6x/eqf.c b/libgcc/config/c6x/eqf.c
index c132e1a..ddd6569e 100644
--- a/libgcc/config/c6x/eqf.c
+++ b/libgcc/config/c6x/eqf.c
@@ -1,6 +1,6 @@
/* Software floating-point emulation.
Return 1 iff a == b, 0 otherwise.
- Copyright (C) 1997-2022 Free Software Foundation, Inc.
+ Copyright (C) 1997-2023 Free Software Foundation, Inc.
Contributed by Richard Henderson (rth@cygnus.com) and
Jakub Jelinek (jj@ultra.linux.cz).
diff --git a/libgcc/config/c6x/ged.c b/libgcc/config/c6x/ged.c
index 5ee6637..024dc6a 100644
--- a/libgcc/config/c6x/ged.c
+++ b/libgcc/config/c6x/ged.c
@@ -1,6 +1,6 @@
/* Software floating-point emulation.
Return 1 iff a >= b, 0 otherwise.
- Copyright (C) 1997-2022 Free Software Foundation, Inc.
+ Copyright (C) 1997-2023 Free Software Foundation, Inc.
Contributed by Richard Henderson (rth@cygnus.com) and
Jakub Jelinek (jj@ultra.linux.cz).
diff --git a/libgcc/config/c6x/gef.c b/libgcc/config/c6x/gef.c
index 983053e..5e2d490 100644
--- a/libgcc/config/c6x/gef.c
+++ b/libgcc/config/c6x/gef.c
@@ -1,6 +1,6 @@
/* Software floating-point emulation.
Return 1 iff a >= b, 0 otherwise.
- Copyright (C) 1997-2022 Free Software Foundation, Inc.
+ Copyright (C) 1997-2023 Free Software Foundation, Inc.
Contributed by Richard Henderson (rth@cygnus.com) and
Jakub Jelinek (jj@ultra.linux.cz).
diff --git a/libgcc/config/c6x/gtd.c b/libgcc/config/c6x/gtd.c
index 05a1210..d12dcd9 100644
--- a/libgcc/config/c6x/gtd.c
+++ b/libgcc/config/c6x/gtd.c
@@ -1,6 +1,6 @@
/* Software floating-point emulation.
Return 1 iff a > b, 0 otherwise.
- Copyright (C) 1997-2022 Free Software Foundation, Inc.
+ Copyright (C) 1997-2023 Free Software Foundation, Inc.
Contributed by Richard Henderson (rth@cygnus.com) and
Jakub Jelinek (jj@ultra.linux.cz).
diff --git a/libgcc/config/c6x/gtf.c b/libgcc/config/c6x/gtf.c
index d497ea5..f231cdc 100644
--- a/libgcc/config/c6x/gtf.c
+++ b/libgcc/config/c6x/gtf.c
@@ -1,6 +1,6 @@
/* Software floating-point emulation.
Return 1 iff a > b, 0 otherwise.
- Copyright (C) 1997-2022 Free Software Foundation, Inc.
+ Copyright (C) 1997-2023 Free Software Foundation, Inc.
Contributed by Richard Henderson (rth@cygnus.com) and
Jakub Jelinek (jj@ultra.linux.cz).
diff --git a/libgcc/config/c6x/led.c b/libgcc/config/c6x/led.c
index 10537d0..de123de 100644
--- a/libgcc/config/c6x/led.c
+++ b/libgcc/config/c6x/led.c
@@ -1,6 +1,6 @@
/* Software floating-point emulation.
Return 1 iff a <= b, 0 otherwise.
- Copyright (C) 1997-2022 Free Software Foundation, Inc.
+ Copyright (C) 1997-2023 Free Software Foundation, Inc.
Contributed by Richard Henderson (rth@cygnus.com) and
Jakub Jelinek (jj@ultra.linux.cz).
diff --git a/libgcc/config/c6x/lef.c b/libgcc/config/c6x/lef.c
index a9e6ab4..574b102 100644
--- a/libgcc/config/c6x/lef.c
+++ b/libgcc/config/c6x/lef.c
@@ -1,6 +1,6 @@
/* Software floating-point emulation.
Return 1 iff a <= b, 0 otherwise.
- Copyright (C) 1997-2022 Free Software Foundation, Inc.
+ Copyright (C) 1997-2023 Free Software Foundation, Inc.
Contributed by Richard Henderson (rth@cygnus.com) and
Jakub Jelinek (jj@ultra.linux.cz).
diff --git a/libgcc/config/c6x/lib1funcs.S b/libgcc/config/c6x/lib1funcs.S
index 395cd94..6cd034a 100644
--- a/libgcc/config/c6x/lib1funcs.S
+++ b/libgcc/config/c6x/lib1funcs.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2010-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2010-2023 Free Software Foundation, Inc.
Contributed by Bernd Schmidt <bernds@codesourcery.com>.
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/c6x/libgcc-eabi.ver b/libgcc/config/c6x/libgcc-eabi.ver
index fb48185..e5ef641 100644
--- a/libgcc/config/c6x/libgcc-eabi.ver
+++ b/libgcc/config/c6x/libgcc-eabi.ver
@@ -1,4 +1,4 @@
-# Copyright (C) 2011-2022 Free Software Foundation, Inc.
+# Copyright (C) 2011-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/config/c6x/ltd.c b/libgcc/config/c6x/ltd.c
index f27aabf..798f40b 100644
--- a/libgcc/config/c6x/ltd.c
+++ b/libgcc/config/c6x/ltd.c
@@ -1,6 +1,6 @@
/* Software floating-point emulation.
Return 1 iff a < b, 0 otherwise.
- Copyright (C) 1997-2022 Free Software Foundation, Inc.
+ Copyright (C) 1997-2023 Free Software Foundation, Inc.
Contributed by Richard Henderson (rth@cygnus.com) and
Jakub Jelinek (jj@ultra.linux.cz).
diff --git a/libgcc/config/c6x/ltf.c b/libgcc/config/c6x/ltf.c
index c125acf..4be9ca7 100644
--- a/libgcc/config/c6x/ltf.c
+++ b/libgcc/config/c6x/ltf.c
@@ -1,6 +1,6 @@
/* Software floating-point emulation.
Return 1 iff a < b, 0 otherwise.
- Copyright (C) 1997-2022 Free Software Foundation, Inc.
+ Copyright (C) 1997-2023 Free Software Foundation, Inc.
Contributed by Richard Henderson (rth@cygnus.com) and
Jakub Jelinek (jj@ultra.linux.cz).
diff --git a/libgcc/config/c6x/pr-support.c b/libgcc/config/c6x/pr-support.c
index 33a63b5..23375e4 100644
--- a/libgcc/config/c6x/pr-support.c
+++ b/libgcc/config/c6x/pr-support.c
@@ -1,5 +1,5 @@
/* C6X ABI compliant unwinding routines
- Copyright (C) 2011-2022 Free Software Foundation, Inc.
+ Copyright (C) 2011-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/c6x/sfp-machine.h b/libgcc/config/c6x/sfp-machine.h
index 7de6473..cbdb65a 100644
--- a/libgcc/config/c6x/sfp-machine.h
+++ b/libgcc/config/c6x/sfp-machine.h
@@ -1,5 +1,5 @@
/* Soft-FP definitions for TI C6X.
- Copyright (C) 2010-2022 Free Software Foundation, Inc.
+ Copyright (C) 2010-2023 Free Software Foundation, Inc.
This files is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
diff --git a/libgcc/config/c6x/unwind-c6x.c b/libgcc/config/c6x/unwind-c6x.c
index 65d03ca..57fcbf8 100644
--- a/libgcc/config/c6x/unwind-c6x.c
+++ b/libgcc/config/c6x/unwind-c6x.c
@@ -1,5 +1,5 @@
/* C6X EABI compliant unwinding routines.
- Copyright (C) 2011-2022 Free Software Foundation, Inc.
+ Copyright (C) 2011-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/c6x/unwind-c6x.h b/libgcc/config/c6x/unwind-c6x.h
index 22f229b..7dc0b8e 100644
--- a/libgcc/config/c6x/unwind-c6x.h
+++ b/libgcc/config/c6x/unwind-c6x.h
@@ -1,5 +1,5 @@
/* Header file for the C6X EABI unwinder
- Copyright (C) 2011-2022 Free Software Foundation, Inc.
+ Copyright (C) 2011-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/cris/arit.c b/libgcc/config/cris/arit.c
index ff3aeff..f87ea44 100644
--- a/libgcc/config/cris/arit.c
+++ b/libgcc/config/cris/arit.c
@@ -2,7 +2,7 @@
Contributed by Axis Communications.
Written by Hans-Peter Nilsson <hp@axis.se>, c:a 1992.
- Copyright (C) 1998-2022 Free Software Foundation, Inc.
+ Copyright (C) 1998-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/cris/mulsi3.S b/libgcc/config/cris/mulsi3.S
index 564382e..58df076 100644
--- a/libgcc/config/cris/mulsi3.S
+++ b/libgcc/config/cris/mulsi3.S
@@ -1,4 +1,4 @@
-;; Copyright (C) 2001-2022 Free Software Foundation, Inc.
+;; Copyright (C) 2001-2023 Free Software Foundation, Inc.
;;
;; This file is part of GCC.
;;
diff --git a/libgcc/config/cris/sfp-machine.h b/libgcc/config/cris/sfp-machine.h
index 1cfcb4e..b5c1413 100644
--- a/libgcc/config/cris/sfp-machine.h
+++ b/libgcc/config/cris/sfp-machine.h
@@ -1,5 +1,5 @@
/* Soft-FP definitions for CRIS.
- Copyright (C) 2013-2022 Free Software Foundation, Inc.
+ Copyright (C) 2013-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/cris/umulsidi3.S b/libgcc/config/cris/umulsidi3.S
index 8791a23..34fc7f1 100644
--- a/libgcc/config/cris/umulsidi3.S
+++ b/libgcc/config/cris/umulsidi3.S
@@ -1,4 +1,4 @@
-;; Copyright (C) 2001-2022 Free Software Foundation, Inc.
+;; Copyright (C) 2001-2023 Free Software Foundation, Inc.
;;
;; This file is part of GCC.
;;
diff --git a/libgcc/config/csky/crti.S b/libgcc/config/csky/crti.S
index aeae14d..08c9e43 100644
--- a/libgcc/config/csky/crti.S
+++ b/libgcc/config/csky/crti.S
@@ -1,5 +1,5 @@
# Define _init and _fini entry points for C-SKY.
-# Copyright (C) 2018-2022 Free Software Foundation, Inc.
+# Copyright (C) 2018-2023 Free Software Foundation, Inc.
# Contributed by C-SKY Microsystems and Mentor Graphics.
#
# This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/csky/crtn.S b/libgcc/config/csky/crtn.S
index b336460..4d8f298 100644
--- a/libgcc/config/csky/crtn.S
+++ b/libgcc/config/csky/crtn.S
@@ -1,5 +1,5 @@
# Terminate C-SKY .init and .fini sections.
-# Copyright (C) 2018-2022 Free Software Foundation, Inc.
+# Copyright (C) 2018-2023 Free Software Foundation, Inc.
# Contributed by C-SKY Microsystems and Mentor Graphics.
#
# This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/csky/lib1funcs.S b/libgcc/config/csky/lib1funcs.S
index 259e7cc..422bdcf 100644
--- a/libgcc/config/csky/lib1funcs.S
+++ b/libgcc/config/csky/lib1funcs.S
@@ -1,5 +1,5 @@
/* libgcc routines for C-SKY.
- Copyright (C) 2018-2022 Free Software Foundation, Inc.
+ Copyright (C) 2018-2023 Free Software Foundation, Inc.
Contributed by C-SKY Microsystems and Mentor Graphics.
This file is part of GCC.
diff --git a/libgcc/config/csky/linux-atomic.c b/libgcc/config/csky/linux-atomic.c
index 80ebd43..2e5f87f 100644
--- a/libgcc/config/csky/linux-atomic.c
+++ b/libgcc/config/csky/linux-atomic.c
@@ -1,5 +1,5 @@
/* Linux-specific atomic operations for C-SKY.
- Copyright (C) 2018-2022 Free Software Foundation, Inc.
+ Copyright (C) 2018-2023 Free Software Foundation, Inc.
Contributed by C-SKY Microsystems and Mentor Graphics.
This file is part of GCC.
diff --git a/libgcc/config/csky/linux-unwind.h b/libgcc/config/csky/linux-unwind.h
index a2e4a6d..66b2a44 100644
--- a/libgcc/config/csky/linux-unwind.h
+++ b/libgcc/config/csky/linux-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for C-SKY Linux.
- Copyright (C) 2018-2022 Free Software Foundation, Inc.
+ Copyright (C) 2018-2023 Free Software Foundation, Inc.
Contributed by C-SKY Microsystems and Mentor Graphics.
This file is part of GCC.
@@ -85,28 +85,28 @@ csky_fallback_frame_state (struct _Unwind_Context *context,
fs->regs.cfa_reg = STACK_POINTER_REGNUM;
fs->regs.cfa_offset = new_cfa - (_Unwind_Ptr) context->cfa;
- fs->regs.reg[0].how = REG_SAVED_OFFSET;
+ fs->regs.how[0] = REG_SAVED_OFFSET;
fs->regs.reg[0].loc.offset = (_Unwind_Ptr) & sc_pt_regs (a0) - new_cfa;
- fs->regs.reg[1].how = REG_SAVED_OFFSET;
+ fs->regs.how[1] = REG_SAVED_OFFSET;
fs->regs.reg[1].loc.offset = (_Unwind_Ptr) & sc_pt_regs (a1) - new_cfa;
- fs->regs.reg[2].how = REG_SAVED_OFFSET;
+ fs->regs.how[2] = REG_SAVED_OFFSET;
fs->regs.reg[2].loc.offset = (_Unwind_Ptr) & sc_pt_regs (a2) - new_cfa;
- fs->regs.reg[3].how = REG_SAVED_OFFSET;
+ fs->regs.how[3] = REG_SAVED_OFFSET;
fs->regs.reg[3].loc.offset = (_Unwind_Ptr) & sc_pt_regs (a3) - new_cfa;
for (i = 4; i < 14; i++)
{
- fs->regs.reg[i].how = REG_SAVED_OFFSET;
+ fs->regs.how[i] = REG_SAVED_OFFSET;
fs->regs.reg[i].loc.offset =
(_Unwind_Ptr) & sc_pt_regs (regs[i - 4]) - new_cfa;
}
for (i = 16; i < 31; i++)
{
- fs->regs.reg[i].how = REG_SAVED_OFFSET;
+ fs->regs.how[i] = REG_SAVED_OFFSET;
fs->regs.reg[i].loc.offset =
(_Unwind_Ptr) & sc_pt_regs (exregs[i - 16]) - new_cfa;
}
@@ -114,10 +114,10 @@ csky_fallback_frame_state (struct _Unwind_Context *context,
fs->regs.reg[31].loc.offset =
(_Unwind_Ptr) & sc_pt_regs_tls (tls) - new_cfa;
/* FIXME : hi lo ? */
- fs->regs.reg[15].how = REG_SAVED_OFFSET;
+ fs->regs.how[15] = REG_SAVED_OFFSET;
fs->regs.reg[15].loc.offset = (_Unwind_Ptr) & sc_pt_regs_lr - new_cfa;
- fs->regs.reg[32].how = REG_SAVED_OFFSET;
+ fs->regs.how[32] = REG_SAVED_OFFSET;
fs->regs.reg[32].loc.offset = (_Unwind_Ptr) & sc_pt_regs (pc) - new_cfa;
fs->retaddr_column = 32;
fs->signal_frame = 1;
diff --git a/libgcc/config/csky/t-csky b/libgcc/config/csky/t-csky
index 8065c6f..8e3dda5 100644
--- a/libgcc/config/csky/t-csky
+++ b/libgcc/config/csky/t-csky
@@ -1,5 +1,5 @@
# Makefile fragment for all C-SKY targets.
-# Copyright (C) 2018-2022 Free Software Foundation, Inc.
+# Copyright (C) 2018-2023 Free Software Foundation, Inc.
# Contributed by C-SKY Microsystems and Mentor Graphics.
#
# This file is part of GCC.
diff --git a/libgcc/config/csky/t-linux-csky b/libgcc/config/csky/t-linux-csky
index 7cb0bd0..b490dcb 100644
--- a/libgcc/config/csky/t-linux-csky
+++ b/libgcc/config/csky/t-linux-csky
@@ -1,5 +1,5 @@
# Makefile fragment for C-SKY targets running Linux.
-# Copyright (C) 2018-2022 Free Software Foundation, Inc.
+# Copyright (C) 2018-2023 Free Software Foundation, Inc.
# Contributed by C-SKY Microsystems and Mentor Graphics.
#
# This file is part of GCC.
diff --git a/libgcc/config/darwin-64.c b/libgcc/config/darwin-64.c
index f350ebc..b3b3dc9 100644
--- a/libgcc/config/darwin-64.c
+++ b/libgcc/config/darwin-64.c
@@ -1,6 +1,6 @@
/* Functions shipped in the ppc64 and x86_64 version of libgcc_s.1.dylib
in older Mac OS X versions, preserved for backwards compatibility.
- Copyright (C) 2006-2022 Free Software Foundation, Inc.
+ Copyright (C) 2006-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/darwin-crt-tm.c b/libgcc/config/darwin-crt-tm.c
index c9a7a56..4325ed7 100644
--- a/libgcc/config/darwin-crt-tm.c
+++ b/libgcc/config/darwin-crt-tm.c
@@ -1,5 +1,5 @@
/* Provide the runtime infrastructure for the transactional memory lib.
- Copyright (C) 2011-2022 Free Software Foundation, Inc.
+ Copyright (C) 2011-2023 Free Software Foundation, Inc.
Contributed by Iain Sandoe <iains@gcc.gnu.org>
This file is part of GCC.
diff --git a/libgcc/config/darwin-crt3.c b/libgcc/config/darwin-crt3.c
index 45a31de..524361e 100644
--- a/libgcc/config/darwin-crt3.c
+++ b/libgcc/config/darwin-crt3.c
@@ -1,5 +1,5 @@
/* __cxa_atexit backwards-compatibility support for Darwin.
- Copyright (C) 2006-2022 Free Software Foundation, Inc.
+ Copyright (C) 2006-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/epiphany/crti.S b/libgcc/config/epiphany/crti.S
index e8aa3f3..5eeda39 100644
--- a/libgcc/config/epiphany/crti.S
+++ b/libgcc/config/epiphany/crti.S
@@ -1,5 +1,5 @@
# Start .init and .fini sections.
-# Copyright (C) 2010-2022 Free Software Foundation, Inc.
+# Copyright (C) 2010-2023 Free Software Foundation, Inc.
# Contributed by Embecosm on behalf of Adapteva, Inc.
#
# This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/epiphany/crtint.S b/libgcc/config/epiphany/crtint.S
index 367cfc7..cfe2ffa 100644
--- a/libgcc/config/epiphany/crtint.S
+++ b/libgcc/config/epiphany/crtint.S
@@ -1,5 +1,5 @@
# initialize config for -mfp-mode=int
-# Copyright (C) 2011-2022 Free Software Foundation, Inc.
+# Copyright (C) 2011-2023 Free Software Foundation, Inc.
# Contributed by Embecosm on behalf of Adapteva, Inc.
#
# This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/epiphany/crtm1reg-r43.S b/libgcc/config/epiphany/crtm1reg-r43.S
index 227856a..1d7e004 100644
--- a/libgcc/config/epiphany/crtm1reg-r43.S
+++ b/libgcc/config/epiphany/crtm1reg-r43.S
@@ -1,5 +1,5 @@
# initialize config for -m1reg-r43
-# Copyright (C) 2011-2022 Free Software Foundation, Inc.
+# Copyright (C) 2011-2023 Free Software Foundation, Inc.
# Contributed by Embecosm on behalf of Adapteva, Inc.
#
# This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/epiphany/crtm1reg-r63.S b/libgcc/config/epiphany/crtm1reg-r63.S
index b3cd162..a4b2a62 100644
--- a/libgcc/config/epiphany/crtm1reg-r63.S
+++ b/libgcc/config/epiphany/crtm1reg-r63.S
@@ -1,5 +1,5 @@
# initialize config for -m1reg-r63
-# Copyright (C) 2011-2022 Free Software Foundation, Inc.
+# Copyright (C) 2011-2023 Free Software Foundation, Inc.
# Contributed by Embecosm on behalf of Adapteva, Inc.
#
# This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/epiphany/crtn.S b/libgcc/config/epiphany/crtn.S
index ece4a2b..fbba31a 100644
--- a/libgcc/config/epiphany/crtn.S
+++ b/libgcc/config/epiphany/crtn.S
@@ -1,5 +1,5 @@
# End .init and .fini sections.
-# Copyright (C) 2010-2022 Free Software Foundation, Inc.
+# Copyright (C) 2010-2023 Free Software Foundation, Inc.
# Contributed by Embecosm on behalf of Adapteva, Inc.
#
# This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/epiphany/crtrunc.S b/libgcc/config/epiphany/crtrunc.S
index 7d7a464..6058862 100644
--- a/libgcc/config/epiphany/crtrunc.S
+++ b/libgcc/config/epiphany/crtrunc.S
@@ -1,5 +1,5 @@
# initialize config for -mfp-mode=truncate
-# Copyright (C) 2011-2022 Free Software Foundation, Inc.
+# Copyright (C) 2011-2023 Free Software Foundation, Inc.
# Contributed by Embecosm on behalf of Adapteva, Inc.
#
# This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/epiphany/divsi3-float.S b/libgcc/config/epiphany/divsi3-float.S
index 6831bf2..d5a18fc 100644
--- a/libgcc/config/epiphany/divsi3-float.S
+++ b/libgcc/config/epiphany/divsi3-float.S
@@ -1,5 +1,5 @@
/* Signed 32 bit division optimized for Epiphany.
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
Contributed by Embecosm on behalf of Adapteva, Inc.
This file is part of GCC.
diff --git a/libgcc/config/epiphany/divsi3.S b/libgcc/config/epiphany/divsi3.S
index 80f1da6..bd5668f 100644
--- a/libgcc/config/epiphany/divsi3.S
+++ b/libgcc/config/epiphany/divsi3.S
@@ -1,5 +1,5 @@
/* Signed 32 bit division optimized for Epiphany.
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
Contributed by Embecosm on behalf of Adapteva, Inc.
This file is part of GCC.
diff --git a/libgcc/config/epiphany/divsi3.c b/libgcc/config/epiphany/divsi3.c
index 7f1389c..2085a8f 100644
--- a/libgcc/config/epiphany/divsi3.c
+++ b/libgcc/config/epiphany/divsi3.c
@@ -1,5 +1,5 @@
/* Generic signed 32 bit division implementation.
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
Contributed by Embecosm on behalf of Adapteva, Inc.
This file is part of GCC.
diff --git a/libgcc/config/epiphany/epiphany-asm.h b/libgcc/config/epiphany/epiphany-asm.h
index b42f137..a667386 100644
--- a/libgcc/config/epiphany/epiphany-asm.h
+++ b/libgcc/config/epiphany/epiphany-asm.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1995-2023 Free Software Foundation, Inc.
Contributed by Embecosm on behalf of Adapteva, Inc.
This file is part of GCC.
diff --git a/libgcc/config/epiphany/ieee-754/eqsf2.S b/libgcc/config/epiphany/ieee-754/eqsf2.S
index 665982b..c723d34 100644
--- a/libgcc/config/epiphany/ieee-754/eqsf2.S
+++ b/libgcc/config/epiphany/ieee-754/eqsf2.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributed by Embecosm on behalf of Adapteva, Inc.
This file is part of GCC.
diff --git a/libgcc/config/epiphany/ieee-754/fast_div.S b/libgcc/config/epiphany/ieee-754/fast_div.S
index 17c8c4c..45a6404 100644
--- a/libgcc/config/epiphany/ieee-754/fast_div.S
+++ b/libgcc/config/epiphany/ieee-754/fast_div.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2011-2023 Free Software Foundation, Inc.
Contributed by Embecosm on behalf of Adapteva, Inc.
This file is part of GCC.
diff --git a/libgcc/config/epiphany/ieee-754/gtesf2.S b/libgcc/config/epiphany/ieee-754/gtesf2.S
index 98b5fc8..9fcc610 100644
--- a/libgcc/config/epiphany/ieee-754/gtesf2.S
+++ b/libgcc/config/epiphany/ieee-754/gtesf2.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributed by Embecosm on behalf of Adapteva, Inc.
This file is part of GCC.
diff --git a/libgcc/config/epiphany/ieee-754/ordsf2.S b/libgcc/config/epiphany/ieee-754/ordsf2.S
index 8be0e9d..de146b0 100644
--- a/libgcc/config/epiphany/ieee-754/ordsf2.S
+++ b/libgcc/config/epiphany/ieee-754/ordsf2.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributed by Embecosm on behalf of Adapteva, Inc.
This file is part of GCC.
diff --git a/libgcc/config/epiphany/ieee-754/uneqsf2.S b/libgcc/config/epiphany/ieee-754/uneqsf2.S
index 986e06b..c876265 100644
--- a/libgcc/config/epiphany/ieee-754/uneqsf2.S
+++ b/libgcc/config/epiphany/ieee-754/uneqsf2.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
Contributed by Embecosm on behalf of Adapteva, Inc.
This file is part of GCC.
diff --git a/libgcc/config/epiphany/modsi3-float.S b/libgcc/config/epiphany/modsi3-float.S
index 74a098c..37f86bc 100644
--- a/libgcc/config/epiphany/modsi3-float.S
+++ b/libgcc/config/epiphany/modsi3-float.S
@@ -1,5 +1,5 @@
/* Unsigned 32 bit division optimized for Epiphany.
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
Contributed by Embecosm on behalf of Adapteva, Inc.
This file is part of GCC.
diff --git a/libgcc/config/epiphany/modsi3.S b/libgcc/config/epiphany/modsi3.S
index 9d1f6b3..352852d 100644
--- a/libgcc/config/epiphany/modsi3.S
+++ b/libgcc/config/epiphany/modsi3.S
@@ -1,5 +1,5 @@
/* Signed 32 bit modulo optimized for Epiphany.
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
Contributed by Embecosm on behalf of Adapteva, Inc.
This file is part of GCC.
diff --git a/libgcc/config/epiphany/modsi3.c b/libgcc/config/epiphany/modsi3.c
index 73f1ec5..e45a36a 100644
--- a/libgcc/config/epiphany/modsi3.c
+++ b/libgcc/config/epiphany/modsi3.c
@@ -1,5 +1,5 @@
/* Generic signed 32 bit modulo implementation.
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
Contributed by Embecosm on behalf of Adapteva, Inc.
This file is part of GCC.
diff --git a/libgcc/config/epiphany/mulsi3.c b/libgcc/config/epiphany/mulsi3.c
index 872f668..8fbe5b9 100644
--- a/libgcc/config/epiphany/mulsi3.c
+++ b/libgcc/config/epiphany/mulsi3.c
@@ -1,5 +1,5 @@
/* Generic 32 bit multiply.
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
Contributed by Embecosm on behalf of Adapteva, Inc.
This file is part of GCC.
diff --git a/libgcc/config/epiphany/t-epiphany b/libgcc/config/epiphany/t-epiphany
index 1232cdc..a3b5649 100644
--- a/libgcc/config/epiphany/t-epiphany
+++ b/libgcc/config/epiphany/t-epiphany
@@ -1,4 +1,4 @@
-# Copyright (C) 1997-2022 Free Software Foundation, Inc.
+# Copyright (C) 1997-2023 Free Software Foundation, Inc.
# Contributed by Embecosm on behalf of Adapteva, Inc.
#
# This file is part of GCC.
diff --git a/libgcc/config/epiphany/udivsi3-float.S b/libgcc/config/epiphany/udivsi3-float.S
index dd59c51..756acc8 100644
--- a/libgcc/config/epiphany/udivsi3-float.S
+++ b/libgcc/config/epiphany/udivsi3-float.S
@@ -1,5 +1,5 @@
/* Unsigned 32 bit division optimized for Epiphany.
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
Contributed by Embecosm on behalf of Adapteva, Inc.
This file is part of GCC.
diff --git a/libgcc/config/epiphany/udivsi3-float.c b/libgcc/config/epiphany/udivsi3-float.c
index 9520bab..b4f71d2 100644
--- a/libgcc/config/epiphany/udivsi3-float.c
+++ b/libgcc/config/epiphany/udivsi3-float.c
@@ -1,5 +1,5 @@
/* Generic unsigned 32 bit division implementation.
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
Contributed by Embecosm on behalf of Adapteva, Inc.
This file is part of GCC.
diff --git a/libgcc/config/epiphany/udivsi3.S b/libgcc/config/epiphany/udivsi3.S
index c510e51..0ce7fbe 100644
--- a/libgcc/config/epiphany/udivsi3.S
+++ b/libgcc/config/epiphany/udivsi3.S
@@ -1,5 +1,5 @@
/* Unsigned 32 bit division optimized for Epiphany.
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
Contributed by Embecosm on behalf of Adapteva, Inc.
This file is part of GCC.
diff --git a/libgcc/config/epiphany/udivsi3.c b/libgcc/config/epiphany/udivsi3.c
index ff689dd..e0bdf93 100644
--- a/libgcc/config/epiphany/udivsi3.c
+++ b/libgcc/config/epiphany/udivsi3.c
@@ -1,5 +1,5 @@
/* Generic unsigned 32 bit division implementation.
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
Contributed by Embecosm on behalf of Adapteva, Inc.
This file is part of GCC.
diff --git a/libgcc/config/epiphany/umodsi3-float.S b/libgcc/config/epiphany/umodsi3-float.S
index 8097e72..326860f 100644
--- a/libgcc/config/epiphany/umodsi3-float.S
+++ b/libgcc/config/epiphany/umodsi3-float.S
@@ -1,5 +1,5 @@
/* Unsigned 32 bit division optimized for Epiphany.
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
Contributed by Embecosm on behalf of Adapteva, Inc.
This file is part of GCC.
diff --git a/libgcc/config/epiphany/umodsi3.S b/libgcc/config/epiphany/umodsi3.S
index ac43a8e..b6e806e 100644
--- a/libgcc/config/epiphany/umodsi3.S
+++ b/libgcc/config/epiphany/umodsi3.S
@@ -1,5 +1,5 @@
/* Unsigned 32 bit modulo optimized for Epiphany.
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
Contributed by Embecosm on behalf of Adapteva, Inc.
This file is part of GCC.
diff --git a/libgcc/config/epiphany/umodsi3.c b/libgcc/config/epiphany/umodsi3.c
index 5594d79..daf0a93 100644
--- a/libgcc/config/epiphany/umodsi3.c
+++ b/libgcc/config/epiphany/umodsi3.c
@@ -1,5 +1,5 @@
/* Generic unsigned 32 bit modulo implementation.
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
Contributed by Embecosm on behalf of Adapteva, Inc.
This file is part of GCC.
diff --git a/libgcc/config/fr30/crti.S b/libgcc/config/fr30/crti.S
index 8de2a2b..3d32805 100644
--- a/libgcc/config/fr30/crti.S
+++ b/libgcc/config/fr30/crti.S
@@ -1,6 +1,6 @@
# crti.s for ELF
-# Copyright (C) 1992-2022 Free Software Foundation, Inc.
+# Copyright (C) 1992-2023 Free Software Foundation, Inc.
# Written By David Vinayak Henkel-Wallace, June 1992
#
# This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/fr30/crtn.S b/libgcc/config/fr30/crtn.S
index a9a4cba..3fd4729 100644
--- a/libgcc/config/fr30/crtn.S
+++ b/libgcc/config/fr30/crtn.S
@@ -1,6 +1,6 @@
# crtn.S for ELF
-# Copyright (C) 1992-2022 Free Software Foundation, Inc.
+# Copyright (C) 1992-2023 Free Software Foundation, Inc.
# Written By David Vinayak Henkel-Wallace, June 1992
#
# This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/fr30/lib1funcs.S b/libgcc/config/fr30/lib1funcs.S
index 4fb5dcc..00cda61 100644
--- a/libgcc/config/fr30/lib1funcs.S
+++ b/libgcc/config/fr30/lib1funcs.S
@@ -1,5 +1,5 @@
/* libgcc routines for the FR30.
- Copyright (C) 1998-2022 Free Software Foundation, Inc.
+ Copyright (C) 1998-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/frv/cmovd.c b/libgcc/config/frv/cmovd.c
index 806a0d3..fa11124 100644
--- a/libgcc/config/frv/cmovd.c
+++ b/libgcc/config/frv/cmovd.c
@@ -1,5 +1,5 @@
/* Move double-word library function.
- Copyright (C) 2000-2022 Free Software Foundation, Inc.
+ Copyright (C) 2000-2023 Free Software Foundation, Inc.
Contributed by Red Hat, Inc.
This file is part of GCC.
diff --git a/libgcc/config/frv/cmovh.c b/libgcc/config/frv/cmovh.c
index b822bd9..4c31fb2 100644
--- a/libgcc/config/frv/cmovh.c
+++ b/libgcc/config/frv/cmovh.c
@@ -1,5 +1,5 @@
/* Move half-word library function.
- Copyright (C) 2000-2022 Free Software Foundation, Inc.
+ Copyright (C) 2000-2023 Free Software Foundation, Inc.
Contributed by Red Hat, Inc.
This file is part of GCC.
diff --git a/libgcc/config/frv/cmovw.c b/libgcc/config/frv/cmovw.c
index c6f2c51..034ec6f 100644
--- a/libgcc/config/frv/cmovw.c
+++ b/libgcc/config/frv/cmovw.c
@@ -1,5 +1,5 @@
/* Move word library function.
- Copyright (C) 2000-2022 Free Software Foundation, Inc.
+ Copyright (C) 2000-2023 Free Software Foundation, Inc.
Contributed by Red Hat, Inc.
This file is part of GCC.
diff --git a/libgcc/config/frv/elf-lib.h b/libgcc/config/frv/elf-lib.h
index eafd494..762a146 100644
--- a/libgcc/config/frv/elf-lib.h
+++ b/libgcc/config/frv/elf-lib.h
@@ -1,5 +1,5 @@
/* Target macros for the FRV port of GCC.
- Copyright (C) 2015-2022 Free Software Foundation, Inc.
+ Copyright (C) 2015-2023 Free Software Foundation, Inc.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
diff --git a/libgcc/config/frv/frv-abi.h b/libgcc/config/frv/frv-abi.h
index 0a830b0..da460b4 100644
--- a/libgcc/config/frv/frv-abi.h
+++ b/libgcc/config/frv/frv-abi.h
@@ -1,5 +1,5 @@
/* Frv map GCC names to FR-V ABI.
- Copyright (C) 2000-2022 Free Software Foundation, Inc.
+ Copyright (C) 2000-2023 Free Software Foundation, Inc.
Contributed by Red Hat, Inc.
This file is part of GCC.
diff --git a/libgcc/config/frv/frvbegin.c b/libgcc/config/frv/frvbegin.c
index 618b829..76b40ec 100644
--- a/libgcc/config/frv/frvbegin.c
+++ b/libgcc/config/frv/frvbegin.c
@@ -1,5 +1,5 @@
/* Frv initialization file linked before all user modules
- Copyright (C) 1999-2022 Free Software Foundation, Inc.
+ Copyright (C) 1999-2023 Free Software Foundation, Inc.
Contributed by Red Hat, Inc.
This file is part of GCC.
diff --git a/libgcc/config/frv/frvend.c b/libgcc/config/frv/frvend.c
index 6591f7e..70103ec 100644
--- a/libgcc/config/frv/frvend.c
+++ b/libgcc/config/frv/frvend.c
@@ -1,5 +1,5 @@
/* Frv initialization file linked after all user modules
- Copyright (C) 1999-2022 Free Software Foundation, Inc.
+ Copyright (C) 1999-2023 Free Software Foundation, Inc.
Contributed by Red Hat, Inc.
This file is part of GCC.
diff --git a/libgcc/config/frv/lib1funcs.S b/libgcc/config/frv/lib1funcs.S
index a9f21af..bbd526f 100644
--- a/libgcc/config/frv/lib1funcs.S
+++ b/libgcc/config/frv/lib1funcs.S
@@ -1,5 +1,5 @@
/* Library functions.
- Copyright (C) 2000-2022 Free Software Foundation, Inc.
+ Copyright (C) 2000-2023 Free Software Foundation, Inc.
Contributed by Red Hat, Inc.
This file is part of GCC.
diff --git a/libgcc/config/frv/libgcc-glibc.ver b/libgcc/config/frv/libgcc-glibc.ver
index f5bfb43..a4260f0 100644
--- a/libgcc/config/frv/libgcc-glibc.ver
+++ b/libgcc/config/frv/libgcc-glibc.ver
@@ -1,4 +1,4 @@
-# Copyright (C) 2004-2022 Free Software Foundation, Inc.
+# Copyright (C) 2004-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/config/ft32/crti.S b/libgcc/config/ft32/crti.S
index 5f92432..e2e32b6 100644
--- a/libgcc/config/ft32/crti.S
+++ b/libgcc/config/ft32/crti.S
@@ -1,6 +1,6 @@
# crti.S for FT32
#
-# Copyright (C) 2009-2022 Free Software Foundation, Inc.
+# Copyright (C) 2009-2023 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/ft32/crtn.S b/libgcc/config/ft32/crtn.S
index 7dffd5b..c32f173 100644
--- a/libgcc/config/ft32/crtn.S
+++ b/libgcc/config/ft32/crtn.S
@@ -1,6 +1,6 @@
# crtn.S for FT32
#
-# Copyright (C) 2009-2022 Free Software Foundation, Inc.
+# Copyright (C) 2009-2023 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/ft32/lib1funcs.S b/libgcc/config/ft32/lib1funcs.S
index 7636485..167df0b 100644
--- a/libgcc/config/ft32/lib1funcs.S
+++ b/libgcc/config/ft32/lib1funcs.S
@@ -1,6 +1,6 @@
# ieee754 sf routines for FT32
-/* Copyright (C) 1995-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1995-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/gcn/atomic.c b/libgcc/config/gcn/atomic.c
index cf29fa8..7eec583 100644
--- a/libgcc/config/gcn/atomic.c
+++ b/libgcc/config/gcn/atomic.c
@@ -1,5 +1,5 @@
/* AMD GCN atomic operations
- Copyright (C) 2020-2022 Free Software Foundation, Inc.
+ Copyright (C) 2020-2023 Free Software Foundation, Inc.
Contributed by Mentor Graphics.
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/gcn/crt0.c b/libgcc/config/gcn/crt0.c
index 59c66f4..f93117f 100644
--- a/libgcc/config/gcn/crt0.c
+++ b/libgcc/config/gcn/crt0.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2017-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2017-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/gcn/gthr-gcn.h b/libgcc/config/gcn/gthr-gcn.h
index c434337..a0bfde2 100644
--- a/libgcc/config/gcn/gthr-gcn.h
+++ b/libgcc/config/gcn/gthr-gcn.h
@@ -1,6 +1,6 @@
/* Threads compatibility routines for libgcc2 and libobjc. */
/* Compile this one with gcc. */
-/* Copyright (C) 2019-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2019-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/gcn/lib2-bswapti2.c b/libgcc/config/gcn/lib2-bswapti2.c
index e98e4ee..42eda01 100644
--- a/libgcc/config/gcn/lib2-bswapti2.c
+++ b/libgcc/config/gcn/lib2-bswapti2.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2021-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2021-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/gcn/lib2-divmod-di.c b/libgcc/config/gcn/lib2-divmod-di.c
index 1dc9a6f..a902377 100644
--- a/libgcc/config/gcn/lib2-divmod-di.c
+++ b/libgcc/config/gcn/lib2-divmod-di.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2021-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2021-2023 Free Software Foundation, Inc.
Contributed by Mentor Graphics, Inc.
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/gcn/lib2-divmod-hi.c b/libgcc/config/gcn/lib2-divmod-hi.c
index 53982d9..f4584aab 100644
--- a/libgcc/config/gcn/lib2-divmod-hi.c
+++ b/libgcc/config/gcn/lib2-divmod-hi.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2012-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Altera and Mentor Graphics, Inc.
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/gcn/lib2-divmod.c b/libgcc/config/gcn/lib2-divmod.c
index 0093a4a..c350f78 100644
--- a/libgcc/config/gcn/lib2-divmod.c
+++ b/libgcc/config/gcn/lib2-divmod.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2012-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Altera and Mentor Graphics, Inc.
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/gcn/lib2-gcn.h b/libgcc/config/gcn/lib2-gcn.h
index c824895..645245b 100644
--- a/libgcc/config/gcn/lib2-gcn.h
+++ b/libgcc/config/gcn/lib2-gcn.h
@@ -1,6 +1,6 @@
/* Integer arithmetic support for gcn.
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Altera and Mentor Graphics, Inc.
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/gcn/unwind-gcn.c b/libgcc/config/gcn/unwind-gcn.c
index b070db3..6d05e29 100644
--- a/libgcc/config/gcn/unwind-gcn.c
+++ b/libgcc/config/gcn/unwind-gcn.c
@@ -1,6 +1,6 @@
/* Stub unwinding implementation.
- Copyright (C) 2019-2022 Free Software Foundation, Inc.
+ Copyright (C) 2019-2023 Free Software Foundation, Inc.
Contributed by Mentor Graphics
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/gthr-lynx.h b/libgcc/config/gthr-lynx.h
index 3512702..02c3b95 100644
--- a/libgcc/config/gthr-lynx.h
+++ b/libgcc/config/gthr-lynx.h
@@ -1,7 +1,7 @@
/* Threads compatibility routines for libgcc2 and libobjc for
LynxOS. */
/* Compile this one with gcc. */
-/* Copyright (C) 2004-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2004-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/gthr-rtems.h b/libgcc/config/gthr-rtems.h
index 722c453..af2931f 100644
--- a/libgcc/config/gthr-rtems.h
+++ b/libgcc/config/gthr-rtems.h
@@ -1,7 +1,7 @@
/* RTEMS threads compatibility routines for libgcc2 and libobjc.
by: Rosimildo da Silva( rdasilva@connecttel.com ) */
/* Compile this one with gcc. */
-/* Copyright (C) 1997-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1997-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/gthr-vxworks-cond.c b/libgcc/config/gthr-vxworks-cond.c
index 9464573..4a0e76d 100644
--- a/libgcc/config/gthr-vxworks-cond.c
+++ b/libgcc/config/gthr-vxworks-cond.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/gthr-vxworks-thread.c b/libgcc/config/gthr-vxworks-thread.c
index 3d250e6..90b24bc 100644
--- a/libgcc/config/gthr-vxworks-thread.c
+++ b/libgcc/config/gthr-vxworks-thread.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/gthr-vxworks-tls.c b/libgcc/config/gthr-vxworks-tls.c
index aea0fb9..4961be5 100644
--- a/libgcc/config/gthr-vxworks-tls.c
+++ b/libgcc/config/gthr-vxworks-tls.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2023 Free Software Foundation, Inc.
Contributed by Zack Weinberg <zack@codesourcery.com>
This file is part of GCC.
diff --git a/libgcc/config/gthr-vxworks.c b/libgcc/config/gthr-vxworks.c
index be292c6..8a96e7c 100644
--- a/libgcc/config/gthr-vxworks.c
+++ b/libgcc/config/gthr-vxworks.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2023 Free Software Foundation, Inc.
Contributed by Zack Weinberg <zack@codesourcery.com>
This file is part of GCC.
diff --git a/libgcc/config/gthr-vxworks.h b/libgcc/config/gthr-vxworks.h
index 9861a11..98866a0 100644
--- a/libgcc/config/gthr-vxworks.h
+++ b/libgcc/config/gthr-vxworks.h
@@ -1,6 +1,6 @@
/* Threads compatibility routines for libgcc2 and libobjc for VxWorks. */
/* Compile this one with gcc. */
-/* Copyright (C) 1997-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1997-2023 Free Software Foundation, Inc.
Contributed by Mike Stump <mrs@wrs.com>.
This file is part of GCC.
@@ -38,8 +38,11 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include <_vxworks-versions.h>
/* Some VxWorks headers profusely use typedefs of a pointer to a function with
- undefined number of arguments. */
+ undefined number of arguments. Arrange to ignore declaration errors in C++,
+ which is achievable by ignoring Wstrict-prototypes diagnostics even when the
+ option is registered as only valid for c/objc. */
#pragma GCC diagnostic push
+ #pragma GCC diagnostic ignored "-Wpragmas"
#pragma GCC diagnostic ignored "-Wstrict-prototypes"
#include <semLib.h>
#pragma GCC diagnostic pop
diff --git a/libgcc/config/h8300/clzhi2.c b/libgcc/config/h8300/clzhi2.c
index f887e1a..4998eb0 100644
--- a/libgcc/config/h8300/clzhi2.c
+++ b/libgcc/config/h8300/clzhi2.c
@@ -1,5 +1,5 @@
/* The implementation of __clzhi2.
- Copyright (C) 2003-2022 Free Software Foundation, Inc.
+ Copyright (C) 2003-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/h8300/crti.S b/libgcc/config/h8300/crti.S
index 2fd5700..9b8c70f 100644
--- a/libgcc/config/h8300/crti.S
+++ b/libgcc/config/h8300/crti.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2001-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/h8300/crtn.S b/libgcc/config/h8300/crtn.S
index f7bfeb9..fd0bbe7 100644
--- a/libgcc/config/h8300/crtn.S
+++ b/libgcc/config/h8300/crtn.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2001-2023 Free Software Foundation, Inc.
This file was adapted from glibc sources.
This file is part of GCC.
diff --git a/libgcc/config/h8300/ctzhi2.c b/libgcc/config/h8300/ctzhi2.c
index bcfa029..453db36 100644
--- a/libgcc/config/h8300/ctzhi2.c
+++ b/libgcc/config/h8300/ctzhi2.c
@@ -1,5 +1,5 @@
/* The implementation of __ctzhi2.
- Copyright (C) 2003-2022 Free Software Foundation, Inc.
+ Copyright (C) 2003-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/h8300/fixunssfsi.c b/libgcc/config/h8300/fixunssfsi.c
index 93948ba..426e6cb 100644
--- a/libgcc/config/h8300/fixunssfsi.c
+++ b/libgcc/config/h8300/fixunssfsi.c
@@ -1,6 +1,6 @@
/* More subroutines needed by GCC output code on some machines. */
/* Compile this one with gcc. */
-/* Copyright (C) 1989-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1989-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/h8300/lib1funcs.S b/libgcc/config/h8300/lib1funcs.S
index 0c09e92..d390f8a 100644
--- a/libgcc/config/h8300/lib1funcs.S
+++ b/libgcc/config/h8300/lib1funcs.S
@@ -2,7 +2,7 @@
;; Contributed by Steve Chamberlain <sac@cygnus.com>
;; Optimizations by Toshiyasu Morita <toshiyasu.morita@renesas.com>
-/* Copyright (C) 1994-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1994-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/h8300/parityhi2.c b/libgcc/config/h8300/parityhi2.c
index b1aafd9..0f011c8 100644
--- a/libgcc/config/h8300/parityhi2.c
+++ b/libgcc/config/h8300/parityhi2.c
@@ -1,5 +1,5 @@
/* The implementation of __parityhi2.
- Copyright (C) 2003-2022 Free Software Foundation, Inc.
+ Copyright (C) 2003-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/h8300/popcounthi2.c b/libgcc/config/h8300/popcounthi2.c
index 225fb3c..c876a31 100644
--- a/libgcc/config/h8300/popcounthi2.c
+++ b/libgcc/config/h8300/popcounthi2.c
@@ -1,5 +1,5 @@
/* The implementation of __popcounthi2.
- Copyright (C) 2003-2022 Free Software Foundation, Inc.
+ Copyright (C) 2003-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/h8300/sfp-machine.h b/libgcc/config/h8300/sfp-machine.h
index f5f6003..8454e4e 100644
--- a/libgcc/config/h8300/sfp-machine.h
+++ b/libgcc/config/h8300/sfp-machine.h
@@ -1,5 +1,5 @@
/* Soft-FP definitions for H8/300
- Copyright (C) 2015-2022 Free Software Foundation, Inc.
+ Copyright (C) 2015-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/hardfp.c b/libgcc/config/hardfp.c
index 6713607..aef67b1 100644
--- a/libgcc/config/hardfp.c
+++ b/libgcc/config/hardfp.c
@@ -1,5 +1,5 @@
/* Dummy floating-point routines for hard-float code.
- Copyright (C) 2014-2022 Free Software Foundation, Inc.
+ Copyright (C) 2014-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/i386/32/sfp-machine.h b/libgcc/config/i386/32/sfp-machine.h
index e24cbc8..7b59ff5 100644
--- a/libgcc/config/i386/32/sfp-machine.h
+++ b/libgcc/config/i386/32/sfp-machine.h
@@ -87,6 +87,7 @@
#define _FP_DIV_MEAT_Q(R,X,Y) _FP_DIV_MEAT_4_udiv(Q,R,X,Y)
#define _FP_NANFRAC_H _FP_QNANBIT_H
+#define _FP_NANFRAC_B _FP_QNANBIT_B
#define _FP_NANFRAC_S _FP_QNANBIT_S
#define _FP_NANFRAC_D _FP_QNANBIT_D, 0
/* Even if XFmode is 12byte, we have to pad it to
diff --git a/libgcc/config/i386/32/tf-signs.c b/libgcc/config/i386/32/tf-signs.c
index 7d16bc1..398ea8b 100644
--- a/libgcc/config/i386/32/tf-signs.c
+++ b/libgcc/config/i386/32/tf-signs.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/i386/64/sfp-machine.h b/libgcc/config/i386/64/sfp-machine.h
index e1c6166..1c8e8a5 100644
--- a/libgcc/config/i386/64/sfp-machine.h
+++ b/libgcc/config/i386/64/sfp-machine.h
@@ -14,6 +14,7 @@ typedef unsigned int UTItype __attribute__ ((mode (TI)));
#define _FP_DIV_MEAT_Q(R,X,Y) _FP_DIV_MEAT_2_udiv(Q,R,X,Y)
#define _FP_NANFRAC_H _FP_QNANBIT_H
+#define _FP_NANFRAC_B _FP_QNANBIT_B
#define _FP_NANFRAC_S _FP_QNANBIT_S
#define _FP_NANFRAC_D _FP_QNANBIT_D
#define _FP_NANFRAC_E _FP_QNANBIT_E, 0
diff --git a/libgcc/config/i386/64/t-softfp b/libgcc/config/i386/64/t-softfp
index 3bec464..197fa11 100644
--- a/libgcc/config/i386/64/t-softfp
+++ b/libgcc/config/i386/64/t-softfp
@@ -1,6 +1,9 @@
-softfp_extras := fixhfti fixunshfti floattihf floatuntihf
+softfp_extras := fixhfti fixunshfti floattihf floatuntihf \
+ floattibf floatuntibf
CFLAGS-fixhfti.c += -msse2
CFLAGS-fixunshfti.c += -msse2
CFLAGS-floattihf.c += -msse2
CFLAGS-floatunstihf.c += -msse2
+CFLAGS-floattibf.c += -msse2
+CFLAGS-floatunstibf.c += -msse2
diff --git a/libgcc/config/i386/cpuinfo.c b/libgcc/config/i386/cpuinfo.c
index dab1d98..50b6d82 100644
--- a/libgcc/config/i386/cpuinfo.c
+++ b/libgcc/config/i386/cpuinfo.c
@@ -1,5 +1,5 @@
/* Get CPU type and Features for x86 processors.
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Sriraman Tallam (tmsriram@google.com)
This file is part of GCC.
diff --git a/libgcc/config/i386/crtfastmath.c b/libgcc/config/i386/crtfastmath.c
index 4f5f7c2..045da0d 100644
--- a/libgcc/config/i386/crtfastmath.c
+++ b/libgcc/config/i386/crtfastmath.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2005-2022 Free Software Foundation, Inc.
+ * Copyright (C) 2005-2023 Free Software Foundation, Inc.
*
* This file is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/i386/crti.S b/libgcc/config/i386/crti.S
index 2b9a4b9..87d6862 100644
--- a/libgcc/config/i386/crti.S
+++ b/libgcc/config/i386/crti.S
@@ -1,6 +1,6 @@
/* crti.S for x86.
- Copyright (C) 1993-2022 Free Software Foundation, Inc.
+ Copyright (C) 1993-2023 Free Software Foundation, Inc.
Written By Fred Fish, Nov 1992
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/i386/crtn.S b/libgcc/config/i386/crtn.S
index e121b6be..c9f099b 100644
--- a/libgcc/config/i386/crtn.S
+++ b/libgcc/config/i386/crtn.S
@@ -1,6 +1,6 @@
/* crtn.S for x86.
- Copyright (C) 1993-2022 Free Software Foundation, Inc.
+ Copyright (C) 1993-2023 Free Software Foundation, Inc.
Written By Fred Fish, Nov 1992
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/i386/crtprec.c b/libgcc/config/i386/crtprec.c
index 90fe6da..32447ac 100644
--- a/libgcc/config/i386/crtprec.c
+++ b/libgcc/config/i386/crtprec.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2007-2022 Free Software Foundation, Inc.
+ * Copyright (C) 2007-2023 Free Software Foundation, Inc.
*
* This file is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/i386/cygming-crtbegin.c b/libgcc/config/i386/cygming-crtbegin.c
index ed97b07..df603b9 100644
--- a/libgcc/config/i386/cygming-crtbegin.c
+++ b/libgcc/config/i386/cygming-crtbegin.c
@@ -1,5 +1,5 @@
/* crtbegin object for windows32 targets.
- Copyright (C) 2007-2022 Free Software Foundation, Inc.
+ Copyright (C) 2007-2023 Free Software Foundation, Inc.
Contributed by Danny Smith <dannysmith@users.sourceforge.net>
diff --git a/libgcc/config/i386/cygming-crtend.c b/libgcc/config/i386/cygming-crtend.c
index 095df32..4f96bf0 100644
--- a/libgcc/config/i386/cygming-crtend.c
+++ b/libgcc/config/i386/cygming-crtend.c
@@ -1,5 +1,5 @@
/* crtend object for windows32 targets.
- Copyright (C) 2007-2022 Free Software Foundation, Inc.
+ Copyright (C) 2007-2023 Free Software Foundation, Inc.
Contributed by Danny Smith <dannysmith@users.sourceforge.net>
diff --git a/libgcc/config/i386/cygwin.S b/libgcc/config/i386/cygwin.S
index e6c84d3..8b33821 100644
--- a/libgcc/config/i386/cygwin.S
+++ b/libgcc/config/i386/cygwin.S
@@ -1,6 +1,6 @@
/* stuff needed for libgcc on win32.
*
- * Copyright (C) 1996-2022 Free Software Foundation, Inc.
+ * Copyright (C) 1996-2023 Free Software Foundation, Inc.
* Written By Steve Chamberlain
*
* This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/i386/darwin-lib.h b/libgcc/config/i386/darwin-lib.h
index 1cb8a69..08c45ba 100644
--- a/libgcc/config/i386/darwin-lib.h
+++ b/libgcc/config/i386/darwin-lib.h
@@ -1,5 +1,5 @@
/* Target definitions for x86 running Darwin, library renames.
- Copyright (C) 2011-2022 Free Software Foundation, Inc.
+ Copyright (C) 2011-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/i386/dragonfly-unwind.h b/libgcc/config/i386/dragonfly-unwind.h
index de3e230..c5a06ac 100644
--- a/libgcc/config/i386/dragonfly-unwind.h
+++ b/libgcc/config/i386/dragonfly-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for DragonFly BSD: AMD x86-64 and x86.
- Copyright (C) 2014-2022 Free Software Foundation, Inc.
+ Copyright (C) 2014-2023 Free Software Foundation, Inc.
Contributed by John Marino <gnugcc@marino.st>
This file is part of GCC.
@@ -102,37 +102,37 @@ x86_64_dragonfly_fallback_frame_state
fs->regs.cfa_offset = new_cfa - (long) context->cfa;
/* The SVR4 register numbering macros aren't usable in libgcc. */
- fs->regs.reg[0].how = REG_SAVED_OFFSET;
+ fs->regs.how[0] = REG_SAVED_OFFSET;
fs->regs.reg[0].loc.offset = (long)&sf->REG_NAME(rax) - new_cfa;
- fs->regs.reg[1].how = REG_SAVED_OFFSET;
+ fs->regs.how[1] = REG_SAVED_OFFSET;
fs->regs.reg[1].loc.offset = (long)&sf->REG_NAME(rdx) - new_cfa;
- fs->regs.reg[2].how = REG_SAVED_OFFSET;
+ fs->regs.how[2] = REG_SAVED_OFFSET;
fs->regs.reg[2].loc.offset = (long)&sf->REG_NAME(rcx) - new_cfa;
- fs->regs.reg[3].how = REG_SAVED_OFFSET;
+ fs->regs.how[3] = REG_SAVED_OFFSET;
fs->regs.reg[3].loc.offset = (long)&sf->REG_NAME(rbx) - new_cfa;
- fs->regs.reg[4].how = REG_SAVED_OFFSET;
+ fs->regs.how[4] = REG_SAVED_OFFSET;
fs->regs.reg[4].loc.offset = (long)&sf->REG_NAME(rsi) - new_cfa;
- fs->regs.reg[5].how = REG_SAVED_OFFSET;
+ fs->regs.how[5] = REG_SAVED_OFFSET;
fs->regs.reg[5].loc.offset = (long)&sf->REG_NAME(rdi) - new_cfa;
- fs->regs.reg[6].how = REG_SAVED_OFFSET;
+ fs->regs.how[6] = REG_SAVED_OFFSET;
fs->regs.reg[6].loc.offset = (long)&sf->REG_NAME(rbp) - new_cfa;
- fs->regs.reg[8].how = REG_SAVED_OFFSET;
+ fs->regs.how[8] = REG_SAVED_OFFSET;
fs->regs.reg[8].loc.offset = (long)&sf->REG_NAME(r8) - new_cfa;
- fs->regs.reg[9].how = REG_SAVED_OFFSET;
+ fs->regs.how[9] = REG_SAVED_OFFSET;
fs->regs.reg[9].loc.offset = (long)&sf->REG_NAME(r9) - new_cfa;
- fs->regs.reg[10].how = REG_SAVED_OFFSET;
+ fs->regs.how[10] = REG_SAVED_OFFSET;
fs->regs.reg[10].loc.offset = (long)&sf->REG_NAME(r10) - new_cfa;
- fs->regs.reg[11].how = REG_SAVED_OFFSET;
+ fs->regs.how[11] = REG_SAVED_OFFSET;
fs->regs.reg[11].loc.offset = (long)&sf->REG_NAME(r11) - new_cfa;
- fs->regs.reg[12].how = REG_SAVED_OFFSET;
+ fs->regs.how[12] = REG_SAVED_OFFSET;
fs->regs.reg[12].loc.offset = (long)&sf->REG_NAME(r12) - new_cfa;
- fs->regs.reg[13].how = REG_SAVED_OFFSET;
+ fs->regs.how[13] = REG_SAVED_OFFSET;
fs->regs.reg[13].loc.offset = (long)&sf->REG_NAME(r13) - new_cfa;
- fs->regs.reg[14].how = REG_SAVED_OFFSET;
+ fs->regs.how[14] = REG_SAVED_OFFSET;
fs->regs.reg[14].loc.offset = (long)&sf->REG_NAME(r14) - new_cfa;
- fs->regs.reg[15].how = REG_SAVED_OFFSET;
+ fs->regs.how[15] = REG_SAVED_OFFSET;
fs->regs.reg[15].loc.offset = (long)&sf->REG_NAME(r15) - new_cfa;
- fs->regs.reg[16].how = REG_SAVED_OFFSET;
+ fs->regs.how[16] = REG_SAVED_OFFSET;
fs->regs.reg[16].loc.offset = (long)&sf->REG_NAME(rip) - new_cfa;
fs->retaddr_column = 16;
fs->signal_frame = 1;
@@ -182,21 +182,21 @@ x86_dragonfly_fallback_frame_state
fs->regs.cfa_offset = new_cfa - (long) context->cfa;
/* The SVR4 register numbering macros aren't usable in libgcc. */
- fs->regs.reg[0].how = REG_SAVED_OFFSET;
+ fs->regs.how[0] = REG_SAVED_OFFSET;
fs->regs.reg[0].loc.offset = (long)&sf->REG_NAME(eax) - new_cfa;
- fs->regs.reg[3].how = REG_SAVED_OFFSET;
+ fs->regs.how[3] = REG_SAVED_OFFSET;
fs->regs.reg[3].loc.offset = (long)&sf->REG_NAME(ebx) - new_cfa;
- fs->regs.reg[1].how = REG_SAVED_OFFSET;
+ fs->regs.how[1] = REG_SAVED_OFFSET;
fs->regs.reg[1].loc.offset = (long)&sf->REG_NAME(ecx) - new_cfa;
- fs->regs.reg[2].how = REG_SAVED_OFFSET;
+ fs->regs.how[2] = REG_SAVED_OFFSET;
fs->regs.reg[2].loc.offset = (long)&sf->REG_NAME(edx) - new_cfa;
- fs->regs.reg[6].how = REG_SAVED_OFFSET;
+ fs->regs.how[6] = REG_SAVED_OFFSET;
fs->regs.reg[6].loc.offset = (long)&sf->REG_NAME(esi) - new_cfa;
- fs->regs.reg[7].how = REG_SAVED_OFFSET;
+ fs->regs.how[7] = REG_SAVED_OFFSET;
fs->regs.reg[7].loc.offset = (long)&sf->REG_NAME(edi) - new_cfa;
- fs->regs.reg[5].how = REG_SAVED_OFFSET;
+ fs->regs.how[5] = REG_SAVED_OFFSET;
fs->regs.reg[5].loc.offset = (long)&sf->REG_NAME(ebp) - new_cfa;
- fs->regs.reg[8].how = REG_SAVED_OFFSET;
+ fs->regs.how[8] = REG_SAVED_OFFSET;
fs->regs.reg[8].loc.offset = (long)&sf->REG_NAME(eip) - new_cfa;
fs->retaddr_column = 8;
fs->signal_frame = 1;
diff --git a/libgcc/config/i386/elf-lib.h b/libgcc/config/i386/elf-lib.h
index bb52c2a..a6e9c55 100644
--- a/libgcc/config/i386/elf-lib.h
+++ b/libgcc/config/i386/elf-lib.h
@@ -1,5 +1,5 @@
/* Definitions for Intel 386 ELF systems.
- Copyright (C) 2015-2022 Free Software Foundation, Inc.
+ Copyright (C) 2015-2023 Free Software Foundation, Inc.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
diff --git a/libgcc/config/i386/enable-execute-stack-mingw32.c b/libgcc/config/i386/enable-execute-stack-mingw32.c
index 4615535..bb1869c 100644
--- a/libgcc/config/i386/enable-execute-stack-mingw32.c
+++ b/libgcc/config/i386/enable-execute-stack-mingw32.c
@@ -1,5 +1,5 @@
/* Implement __enable_execute_stack for Windows32.
- Copyright (C) 2011-2022 Free Software Foundation, Inc.
+ Copyright (C) 2011-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -22,6 +22,7 @@
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */
+#define WIN32_LEAN_AND_MEAN
#include <windows.h>
extern void __enable_execute_stack (void *);
diff --git a/libgcc/config/i386/freebsd-unwind.h b/libgcc/config/i386/freebsd-unwind.h
index 777fda8..89ade74 100644
--- a/libgcc/config/i386/freebsd-unwind.h
+++ b/libgcc/config/i386/freebsd-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for FreeBSD: AMD x86-64 and x86.
- Copyright (C) 2015-2022 Free Software Foundation, Inc.
+ Copyright (C) 2015-2023 Free Software Foundation, Inc.
Contributed by John Marino <gnugcc@marino.st>
This file is part of GCC.
@@ -110,37 +110,37 @@ x86_64_freebsd_fallback_frame_state
fs->regs.cfa_offset = new_cfa - (long) context->cfa;
/* The SVR4 register numbering macros aren't usable in libgcc. */
- fs->regs.reg[0].how = REG_SAVED_OFFSET;
+ fs->regs.how[0] = REG_SAVED_OFFSET;
fs->regs.reg[0].loc.offset = (long)&sf->REG_NAME(rax) - new_cfa;
- fs->regs.reg[1].how = REG_SAVED_OFFSET;
+ fs->regs.how[1] = REG_SAVED_OFFSET;
fs->regs.reg[1].loc.offset = (long)&sf->REG_NAME(rdx) - new_cfa;
- fs->regs.reg[2].how = REG_SAVED_OFFSET;
+ fs->regs.how[2] = REG_SAVED_OFFSET;
fs->regs.reg[2].loc.offset = (long)&sf->REG_NAME(rcx) - new_cfa;
- fs->regs.reg[3].how = REG_SAVED_OFFSET;
+ fs->regs.how[3] = REG_SAVED_OFFSET;
fs->regs.reg[3].loc.offset = (long)&sf->REG_NAME(rbx) - new_cfa;
- fs->regs.reg[4].how = REG_SAVED_OFFSET;
+ fs->regs.how[4] = REG_SAVED_OFFSET;
fs->regs.reg[4].loc.offset = (long)&sf->REG_NAME(rsi) - new_cfa;
- fs->regs.reg[5].how = REG_SAVED_OFFSET;
+ fs->regs.how[5] = REG_SAVED_OFFSET;
fs->regs.reg[5].loc.offset = (long)&sf->REG_NAME(rdi) - new_cfa;
- fs->regs.reg[6].how = REG_SAVED_OFFSET;
+ fs->regs.how[6] = REG_SAVED_OFFSET;
fs->regs.reg[6].loc.offset = (long)&sf->REG_NAME(rbp) - new_cfa;
- fs->regs.reg[8].how = REG_SAVED_OFFSET;
+ fs->regs.how[8] = REG_SAVED_OFFSET;
fs->regs.reg[8].loc.offset = (long)&sf->REG_NAME(r8) - new_cfa;
- fs->regs.reg[9].how = REG_SAVED_OFFSET;
+ fs->regs.how[9] = REG_SAVED_OFFSET;
fs->regs.reg[9].loc.offset = (long)&sf->REG_NAME(r9) - new_cfa;
- fs->regs.reg[10].how = REG_SAVED_OFFSET;
+ fs->regs.how[10] = REG_SAVED_OFFSET;
fs->regs.reg[10].loc.offset = (long)&sf->REG_NAME(r10) - new_cfa;
- fs->regs.reg[11].how = REG_SAVED_OFFSET;
+ fs->regs.how[11] = REG_SAVED_OFFSET;
fs->regs.reg[11].loc.offset = (long)&sf->REG_NAME(r11) - new_cfa;
- fs->regs.reg[12].how = REG_SAVED_OFFSET;
+ fs->regs.how[12] = REG_SAVED_OFFSET;
fs->regs.reg[12].loc.offset = (long)&sf->REG_NAME(r12) - new_cfa;
- fs->regs.reg[13].how = REG_SAVED_OFFSET;
+ fs->regs.how[13] = REG_SAVED_OFFSET;
fs->regs.reg[13].loc.offset = (long)&sf->REG_NAME(r13) - new_cfa;
- fs->regs.reg[14].how = REG_SAVED_OFFSET;
+ fs->regs.how[14] = REG_SAVED_OFFSET;
fs->regs.reg[14].loc.offset = (long)&sf->REG_NAME(r14) - new_cfa;
- fs->regs.reg[15].how = REG_SAVED_OFFSET;
+ fs->regs.how[15] = REG_SAVED_OFFSET;
fs->regs.reg[15].loc.offset = (long)&sf->REG_NAME(r15) - new_cfa;
- fs->regs.reg[16].how = REG_SAVED_OFFSET;
+ fs->regs.how[16] = REG_SAVED_OFFSET;
fs->regs.reg[16].loc.offset = (long)&sf->REG_NAME(rip) - new_cfa;
fs->retaddr_column = 16;
fs->signal_frame = 1;
@@ -189,21 +189,21 @@ x86_freebsd_fallback_frame_state
fs->regs.cfa_offset = new_cfa - (long) context->cfa;
/* The SVR4 register numbering macros aren't usable in libgcc. */
- fs->regs.reg[0].how = REG_SAVED_OFFSET;
+ fs->regs.how[0] = REG_SAVED_OFFSET;
fs->regs.reg[0].loc.offset = (long)&sf->REG_NAME(eax) - new_cfa;
- fs->regs.reg[3].how = REG_SAVED_OFFSET;
+ fs->regs.how[3] = REG_SAVED_OFFSET;
fs->regs.reg[3].loc.offset = (long)&sf->REG_NAME(ebx) - new_cfa;
- fs->regs.reg[1].how = REG_SAVED_OFFSET;
+ fs->regs.how[1] = REG_SAVED_OFFSET;
fs->regs.reg[1].loc.offset = (long)&sf->REG_NAME(ecx) - new_cfa;
- fs->regs.reg[2].how = REG_SAVED_OFFSET;
+ fs->regs.how[2] = REG_SAVED_OFFSET;
fs->regs.reg[2].loc.offset = (long)&sf->REG_NAME(edx) - new_cfa;
- fs->regs.reg[6].how = REG_SAVED_OFFSET;
+ fs->regs.how[6] = REG_SAVED_OFFSET;
fs->regs.reg[6].loc.offset = (long)&sf->REG_NAME(esi) - new_cfa;
- fs->regs.reg[7].how = REG_SAVED_OFFSET;
+ fs->regs.how[7] = REG_SAVED_OFFSET;
fs->regs.reg[7].loc.offset = (long)&sf->REG_NAME(edi) - new_cfa;
- fs->regs.reg[5].how = REG_SAVED_OFFSET;
+ fs->regs.how[5] = REG_SAVED_OFFSET;
fs->regs.reg[5].loc.offset = (long)&sf->REG_NAME(ebp) - new_cfa;
- fs->regs.reg[8].how = REG_SAVED_OFFSET;
+ fs->regs.how[8] = REG_SAVED_OFFSET;
fs->regs.reg[8].loc.offset = (long)&sf->REG_NAME(eip) - new_cfa;
fs->retaddr_column = 8;
fs->signal_frame = 1;
diff --git a/libgcc/config/i386/gnu-unwind.h b/libgcc/config/i386/gnu-unwind.h
index 48fbff8..85aa2d6 100644
--- a/libgcc/config/i386/gnu-unwind.h
+++ b/libgcc/config/i386/gnu-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for GNU Hurd: x86.
- Copyright (C) 2020-2022 Free Software Foundation, Inc.
+ Copyright (C) 2020-2023 Free Software Foundation, Inc.
Contributed by Samuel Thibault <samuel.thibault@gnu.org>
This file is part of GCC.
@@ -30,6 +30,14 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include <signal.h>
+#ifdef __x86_64__
+
+/*
+ * TODO: support for 64 bits needs to be implemented.
+ */
+
+#else /* ifdef __x86_64__ */
+
#define MD_FALLBACK_FRAME_STATE_FOR x86_gnu_fallback_frame_state
static _Unwind_Reason_Code
@@ -123,14 +131,14 @@ x86_gnu_fallback_frame_state
fs->regs.cfa_reg = 4;
fs->regs.cfa_offset = usp - (unsigned long) context->cfa;
- fs->regs.reg[0].how = REG_SAVED_OFFSET;
- fs->regs.reg[1].how = REG_SAVED_OFFSET;
- fs->regs.reg[2].how = REG_SAVED_OFFSET;
- fs->regs.reg[3].how = REG_SAVED_OFFSET;
- fs->regs.reg[5].how = REG_SAVED_OFFSET;
- fs->regs.reg[6].how = REG_SAVED_OFFSET;
- fs->regs.reg[7].how = REG_SAVED_OFFSET;
- fs->regs.reg[8].how = REG_SAVED_OFFSET;
+ fs->regs.how[0] = REG_SAVED_OFFSET;
+ fs->regs.how[1] = REG_SAVED_OFFSET;
+ fs->regs.how[2] = REG_SAVED_OFFSET;
+ fs->regs.how[3] = REG_SAVED_OFFSET;
+ fs->regs.how[5] = REG_SAVED_OFFSET;
+ fs->regs.how[6] = REG_SAVED_OFFSET;
+ fs->regs.how[7] = REG_SAVED_OFFSET;
+ fs->regs.how[8] = REG_SAVED_OFFSET;
fs->retaddr_column = 8;
fs->signal_frame = 1;
@@ -138,4 +146,6 @@ x86_gnu_fallback_frame_state
return _URC_NO_REASON;
}
+#endif /* ifdef __x86_64__ */
+
#endif /* ifndef inhibit_libc */
diff --git a/libgcc/config/i386/gthr-mcf.h b/libgcc/config/i386/gthr-mcf.h
new file mode 100644
index 0000000..638fb2f
--- /dev/null
+++ b/libgcc/config/i386/gthr-mcf.h
@@ -0,0 +1,36 @@
+/* Threads compatibility routines for libgcc and libobjc. */
+/* Copyright (C) 2022-2023 Free Software Foundation, Inc.
+
+This file is part of GCC.
+
+GCC is free software; you can redistribute it and/or modify it under
+the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3, or (at your option) any later
+version.
+
+GCC is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or
+FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details.
+
+Under Section 7 of GPL version 3, you are granted additional
+permissions described in the GCC Runtime Library Exception, version
+3.1, as published by the Free Software Foundation.
+
+You should have received a copy of the GNU General Public License and
+a copy of the GCC Runtime Library Exception along with this program;
+see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
+<http://www.gnu.org/licenses/>. */
+
+#ifdef _LIBOBJC
+
+/* libobjc references some internal structures and requires a
+ * dedicated set of functions. */
+#include <mcfgthread/gthr_libobjc.h>
+
+#else /* _LIBOBJC */
+
+/* This is for libgcc and libstdc++. */
+#include <mcfgthread/gthr.h>
+
+#endif /* _LIBOBJC */
diff --git a/libgcc/config/i386/gthr-win32-cond.c b/libgcc/config/i386/gthr-win32-cond.c
new file mode 100644
index 0000000..75fb253
--- /dev/null
+++ b/libgcc/config/i386/gthr-win32-cond.c
@@ -0,0 +1,89 @@
+/* Implementation of threads compatibility routines for libgcc2. */
+
+/* Copyright (C) 1999-2023 Free Software Foundation, Inc.
+
+This file is part of GCC.
+
+GCC is free software; you can redistribute it and/or modify it under
+the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3, or (at your option) any later
+version.
+
+GCC is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or
+FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details.
+
+Under Section 7 of GPL version 3, you are granted additional
+permissions described in the GCC Runtime Library Exception, version
+3.1, as published by the Free Software Foundation.
+
+You should have received a copy of the GNU General Public License and
+a copy of the GCC Runtime Library Exception along with this program;
+see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
+<http://www.gnu.org/licenses/>. */
+
+/* This module is separate from the rest of the implementation because it
+ references symbols in system libraries that are only available on Vista
+ and Server 2008 or later versions. */
+
+/* Get the out-of-line version of the inline routines. */
+
+#if _WIN32_WINNT < 0x0600
+#undef _WIN32_WINNT
+#define _WIN32_WINNT 0x0600
+#endif
+
+#define __GTHREAD_WIN32_COND_INLINE
+
+#define __gthread_cond_init_function __gthr_win32_cond_init_function
+#define __gthread_cond_broadcast __gthr_win32_cond_broadcast
+#define __gthread_cond_signal __gthr_win32_cond_signal
+#define __gthread_cond_wait __gthr_win32_cond_wait
+#define __gthread_cond_timedwait __gthr_win32_cond_timedwait
+
+#include "gthr-win32.h"
+
+/* The number of 100-nanoseconds between 1/1/1601 and 1/1/1970. */
+#define FILETIME_1970 116444736000000000ULL
+
+/* The number of 100-nanoseconds per second. */
+#define NSEC100_PER_SEC (1000000000ULL / 100)
+
+/* The number of 100-nanoseconds per millisecond. */
+#define NSEC100_PER_MSEC (NSEC100_PER_SEC / 1000)
+
+/* The ceiling division of X by Y. */
+#define CEIL_DIV(X, Y) (((X) + (Y) - 1) / (Y))
+
+/* Convert absolute thread time to relative time in millisecond. */
+
+DWORD
+__gthr_win32_abs_to_rel_time (const __gthread_time_t *abs_time)
+{
+ union {
+ ULONGLONG nsec100;
+ FILETIME ft;
+ } now;
+ ULONGLONG abs_time_nsec100;
+
+ /* The Windows epoch is 1/1/1601 while the Unix epoch is 1/1/1970. */
+ GetSystemTimeAsFileTime (&now.ft);
+ now.nsec100 -= FILETIME_1970;
+
+ abs_time_nsec100
+ = (ULONGLONG) abs_time->tv_sec * NSEC100_PER_SEC
+ + CEIL_DIV (abs_time->tv_nsec, 100);
+
+ if (abs_time_nsec100 < now.nsec100)
+ return 0;
+
+ return (DWORD) CEIL_DIV (abs_time_nsec100 - now.nsec100, NSEC100_PER_SEC);
+}
+
+/* Check the sizes of the local version of the Win32 types. */
+
+#define CHECK_SIZE_OF(TYPE) \
+ typedef int assertion[sizeof(__gthr_win32_##TYPE) == sizeof(TYPE) ? 1 : -1];
+
+CHECK_SIZE_OF (CONDITION_VARIABLE)
diff --git a/libgcc/config/i386/gthr-win32-thread.c b/libgcc/config/i386/gthr-win32-thread.c
new file mode 100644
index 0000000..8fd8abe
--- /dev/null
+++ b/libgcc/config/i386/gthr-win32-thread.c
@@ -0,0 +1,162 @@
+/* Implementation of threads compatibility routines for libgcc2. */
+
+/* Copyright (C) 1999-2023 Free Software Foundation, Inc.
+
+This file is part of GCC.
+
+GCC is free software; you can redistribute it and/or modify it under
+the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3, or (at your option) any later
+version.
+
+GCC is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or
+FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details.
+
+Under Section 7 of GPL version 3, you are granted additional
+permissions described in the GCC Runtime Library Exception, version
+3.1, as published by the Free Software Foundation.
+
+You should have received a copy of the GNU General Public License and
+a copy of the GCC Runtime Library Exception along with this program;
+see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
+<http://www.gnu.org/licenses/>. */
+
+/* This module is separate from the rest of the implementation because only
+ one copy of it ought to be linked. */
+
+/* The implementation strategy for the c++0x thread support is as follows.
+
+ A GNU thread is represented by a Win32 HANDLE that is obtained when the
+ Win32 thread is created, except of course for the initial thread. This
+ Win32 HANDLE is stored in a descriptor keyed from TLS memory for every
+ thread, so the self routine can return it instead of having to duplicate
+ the pseudo-handle returned by GetCurrentThread each time it is invoked.
+ For the initial thread, this Win32 HANDLE is created during the first
+ call to the self routine using the aforementioned technique.
+
+ Note that the equal routine compares the identifier of threads instead
+ of their Win32 HANDLE, which will give the correct positive answer even
+ in the case where distinct Win32 HANDLEs have been created for the same
+ thread by multiple instances of libgcc included in the link. */
+
+#include "gthr-win32.h"
+
+/* The thread descriptor keyed from TLS memory. */
+struct __gthr_win32_thr_desc
+{
+ void *(*func) (void*);
+ void *args;
+ HANDLE h;
+};
+
+/* The TLS key used by one instance of the library. */
+static __gthread_key_t __gthr_win32_tls = TLS_OUT_OF_INDEXES;
+
+/* The initialization device for the TLS key. */
+static __gthread_once_t __gthr_win32_tls_once = __GTHREAD_ONCE_INIT;
+
+/* Initialize the TLS key. */
+
+static void
+__gthr_win32_tls_init (void)
+{
+ if (__gthread_key_create (&__gthr_win32_tls, free))
+ abort ();
+}
+
+/* Wrapper routine around thread functions. */
+
+static DWORD
+__gthr_win32_thread_wrapper (void *args)
+{
+ struct __gthr_win32_thr_desc *td = (struct __gthr_win32_thr_desc *) args;
+
+ __gthread_setspecific (__gthr_win32_tls, td);
+
+ DWORD exit_code = (DWORD) (ULONG_PTR) (*td->func) (td->args);
+
+ ExitThread (exit_code);
+ return exit_code;
+}
+
+/* Implement the __gthread_create routine. */
+
+int
+__gthr_win32_create (__gthread_t *thr, void *(*func) (void*), void *args)
+{
+ struct __gthr_win32_thr_desc *td;
+
+ __gthread_once (&__gthr_win32_tls_once, __gthr_win32_tls_init);
+
+ td = malloc (sizeof (struct __gthr_win32_thr_desc));
+ td->func = func;
+ td->args = args;
+ td->h = CreateThread (NULL, 0,
+ (LPTHREAD_START_ROUTINE) __gthr_win32_thread_wrapper,
+ (LPVOID) td, CREATE_SUSPENDED, NULL);
+ if (td->h)
+ {
+ ResumeThread (td->h);
+ *thr = (__gthread_t) td->h;
+ return 0;
+ }
+ else
+ {
+ free (td);
+ return (int) GetLastError ();
+ }
+}
+
+/* Implement the __gthread_join routine. */
+
+int
+__gthr_win32_join (__gthread_t thr, void **value_ptr)
+{
+ int status = 0;
+
+ if (GetThreadId ((HANDLE) thr) == GetCurrentThreadId ())
+ return 1;
+
+ if (WaitForSingleObject ((HANDLE) thr, INFINITE) == WAIT_OBJECT_0)
+ {
+ if (value_ptr)
+ {
+ DWORD exit_code;
+ if (GetExitCodeThread ((HANDLE) thr, &exit_code))
+ *value_ptr = (void *) (ULONG_PTR) exit_code;
+ else
+ status = (int) GetLastError ();
+ }
+ }
+ else
+ status = (int) GetLastError ();
+
+ CloseHandle ((HANDLE) thr);
+ return status;
+}
+
+/* Implement the __gthread_self routine. */
+
+__gthread_t
+__gthr_win32_self (void)
+{
+ struct __gthr_win32_thr_desc *td;
+
+ __gthread_once (&__gthr_win32_tls_once, __gthr_win32_tls_init);
+
+ if (!(td = __gthread_getspecific (__gthr_win32_tls)))
+ {
+ HANDLE proc = GetCurrentProcess ();
+ td = malloc (sizeof (struct __gthr_win32_thr_desc));
+ td->func = NULL;
+ td->args = NULL;
+ if (!DuplicateHandle (proc, GetCurrentThread(), proc, &td->h, 0, FALSE,
+ DUPLICATE_SAME_ACCESS))
+ abort ();
+ __gthread_setspecific (__gthr_win32_tls, td);
+ }
+
+ return td->h;
+}
diff --git a/libgcc/config/i386/gthr-win32.c b/libgcc/config/i386/gthr-win32.c
index fad8f8a..11664d0 100644
--- a/libgcc/config/i386/gthr-win32.c
+++ b/libgcc/config/i386/gthr-win32.c
@@ -1,10 +1,6 @@
-/* Implementation of W32-specific threads compatibility routines for
- libgcc2. */
+/* Implementation of threads compatibility routines for libgcc2. */
-/* Copyright (C) 1999-2022 Free Software Foundation, Inc.
- Contributed by Mumit Khan <khan@xraylith.wisc.edu>.
- Modified and moved to separate file by Danny Smith
- <dannysmith@users.sourceforge.net>.
+/* Copyright (C) 1999-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -27,239 +23,33 @@ a copy of the GCC Runtime Library Exception along with this program;
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */
-#include <windows.h>
-#ifndef __GTHREAD_HIDE_WIN32API
-# define __GTHREAD_HIDE_WIN32API 1
-#endif
-#include "gthr-win32.h"
-
-/* Windows32 threads specific definitions. The windows32 threading model
- does not map well into pthread-inspired gcc's threading model, and so
- there are caveats one needs to be aware of.
-
- 1. The destructor supplied to __gthread_key_create is ignored for
- generic x86-win32 ports. This will certainly cause memory leaks
- due to unreclaimed eh contexts (sizeof (eh_context) is at least
- 24 bytes for x86 currently).
-
- This memory leak may be significant for long-running applications
- that make heavy use of C++ EH.
-
- However, Mingw runtime (version 0.3 or newer) provides a mechanism
- to emulate pthreads key dtors; the runtime provides a special DLL,
- linked in if -mthreads option is specified, that runs the dtors in
- the reverse order of registration when each thread exits. If
- -mthreads option is not given, a stub is linked in instead of the
- DLL, which results in memory leak. Other x86-win32 ports can use
- the same technique of course to avoid the leak.
-
- 2. The error codes returned are non-POSIX like, and cast into ints.
- This may cause incorrect error return due to truncation values on
- hw where sizeof (DWORD) > sizeof (int).
-
- 3. We are currently using a special mutex instead of the Critical
- Sections, since Win9x does not support TryEnterCriticalSection
- (while NT does).
-
- The basic framework should work well enough. In the long term, GCC
- needs to use Structured Exception Handling on Windows32. */
-
-int
-__gthr_win32_once (__gthread_once_t *once, void (*func) (void))
-{
- if (once == NULL || func == NULL)
- return EINVAL;
-
- if (! once->done)
- {
- if (InterlockedIncrement (&(once->started)) == 0)
- {
- (*func) ();
- once->done = TRUE;
- }
- else
- {
- /* Another thread is currently executing the code, so wait for it
- to finish; yield the CPU in the meantime. If performance
- does become an issue, the solution is to use an Event that
- we wait on here (and set above), but that implies a place to
- create the event before this routine is called. */
- while (! once->done)
- Sleep (0);
- }
- }
- return 0;
-}
-
-/* Windows32 thread local keys don't support destructors; this leads to
- leaks, especially in threaded applications making extensive use of
- C++ EH. Mingw uses a thread-support DLL to work-around this problem. */
-
-int
-__gthr_win32_key_create (__gthread_key_t *key,
- void (*dtor) (void *) __attribute__((unused)))
-{
- int status = 0;
- DWORD tls_index = TlsAlloc ();
- if (tls_index != 0xFFFFFFFF)
- {
- *key = tls_index;
-#ifdef MINGW32_SUPPORTS_MT_EH
- /* Mingw runtime will run the dtors in reverse order for each thread
- when the thread exits. */
- status = __mingwthr_key_dtor (*key, dtor);
-#endif
- }
- else
- status = (int) GetLastError ();
- return status;
-}
-
-int
-__gthr_win32_key_delete (__gthread_key_t key)
-{
- return (TlsFree (key) != 0) ? 0 : (int) GetLastError ();
-}
-
-void *
-__gthr_win32_getspecific (__gthread_key_t key)
-{
- DWORD lasterror;
- void *ptr;
- lasterror = GetLastError();
- ptr = TlsGetValue(key);
- SetLastError( lasterror );
- return ptr;
-}
+/* Get the out-of-line version of the inline routines. */
+
+#define __GTHREAD_WIN32_ACTIVE_P() 1
+#define __GTHREAD_WIN32_INLINE
+
+#define __gthread_detach __gthr_win32_detach
+#define __gthread_equal __gthr_win32_equal
+#define __gthread_yield __gthr_win32_yield
+#define __gthread_once __gthr_win32_once
+#define __gthread_key_create __gthr_win32_key_create
+#define __gthread_key_delete __gthr_win32_key_delete
+#define __gthread_getspecific __gthr_win32_getspecific
+#define __gthread_setspecific __gthr_win32_setspecific
+#define __gthread_mutex_init_function __gthr_win32_mutex_init_function
+#define __gthread_mutex_destroy __gthr_win32_mutex_destroy
+#define __gthread_mutex_lock __gthr_win32_mutex_lock
+#define __gthread_mutex_trylock __gthr_win32_mutex_trylock
+#define __gthread_mutex_unlock __gthr_win32_mutex_unlock
+#define __gthread_recursive_mutex_trylock __gthr_win32_recursive_mutex_trylock
-int
-__gthr_win32_setspecific (__gthread_key_t key, const void *ptr)
-{
- if (TlsSetValue (key, CONST_CAST2(void *, const void *, ptr)) != 0)
- return 0;
- else
- return GetLastError ();
-}
-
-void
-__gthr_win32_mutex_init_function (__gthread_mutex_t *mutex)
-{
- mutex->counter = -1;
- mutex->sema = CreateSemaphoreW (NULL, 0, 65535, NULL);
-}
-
-void
-__gthr_win32_mutex_destroy (__gthread_mutex_t *mutex)
-{
- CloseHandle ((HANDLE) mutex->sema);
-}
-
-int
-__gthr_win32_mutex_lock (__gthread_mutex_t *mutex)
-{
- if (InterlockedIncrement (&mutex->counter) == 0 ||
- WaitForSingleObject (mutex->sema, INFINITE) == WAIT_OBJECT_0)
- return 0;
- else
- {
- /* WaitForSingleObject returns WAIT_FAILED, and we can only do
- some best-effort cleanup here. */
- InterlockedDecrement (&mutex->counter);
- return 1;
- }
-}
-
-int
-__gthr_win32_mutex_trylock (__gthread_mutex_t *mutex)
-{
- if (__GTHR_W32_InterlockedCompareExchange (&mutex->counter, 0, -1) < 0)
- return 0;
- else
- return 1;
-}
-
-int
-__gthr_win32_mutex_unlock (__gthread_mutex_t *mutex)
-{
- if (InterlockedDecrement (&mutex->counter) >= 0)
- return ReleaseSemaphore (mutex->sema, 1, NULL) ? 0 : 1;
- else
- return 0;
-}
-
-void
-__gthr_win32_recursive_mutex_init_function (__gthread_recursive_mutex_t *mutex)
-{
- mutex->counter = -1;
- mutex->depth = 0;
- mutex->owner = 0;
- mutex->sema = CreateSemaphoreW (NULL, 0, 65535, NULL);
-}
-
-int
-__gthr_win32_recursive_mutex_lock (__gthread_recursive_mutex_t *mutex)
-{
- DWORD me = GetCurrentThreadId();
- if (InterlockedIncrement (&mutex->counter) == 0)
- {
- mutex->depth = 1;
- mutex->owner = me;
- }
- else if (mutex->owner == me)
- {
- InterlockedDecrement (&mutex->counter);
- ++(mutex->depth);
- }
- else if (WaitForSingleObject (mutex->sema, INFINITE) == WAIT_OBJECT_0)
- {
- mutex->depth = 1;
- mutex->owner = me;
- }
- else
- {
- /* WaitForSingleObject returns WAIT_FAILED, and we can only do
- some best-effort cleanup here. */
- InterlockedDecrement (&mutex->counter);
- return 1;
- }
- return 0;
-}
-
-int
-__gthr_win32_recursive_mutex_trylock (__gthread_recursive_mutex_t *mutex)
-{
- DWORD me = GetCurrentThreadId();
- if (__GTHR_W32_InterlockedCompareExchange (&mutex->counter, 0, -1) < 0)
- {
- mutex->depth = 1;
- mutex->owner = me;
- }
- else if (mutex->owner == me)
- ++(mutex->depth);
- else
- return 1;
-
- return 0;
-}
-
-int
-__gthr_win32_recursive_mutex_unlock (__gthread_recursive_mutex_t *mutex)
-{
- --(mutex->depth);
- if (mutex->depth == 0)
- {
- mutex->owner = 0;
+#include "gthr-win32.h"
- if (InterlockedDecrement (&mutex->counter) >= 0)
- return ReleaseSemaphore (mutex->sema, 1, NULL) ? 0 : 1;
- }
+/* Check the sizes of the local version of the Win32 types. */
- return 0;
-}
+#define CHECK_SIZE_OF(TYPE) \
+ typedef int assertion[sizeof(__gthr_win32_##TYPE) == sizeof(TYPE) ? 1 : -1];
-int
-__gthr_win32_recursive_mutex_destroy (__gthread_recursive_mutex_t *mutex)
-{
- CloseHandle ((HANDLE) mutex->sema);
- return 0;
-}
+CHECK_SIZE_OF (DWORD)
+CHECK_SIZE_OF (HANDLE)
+CHECK_SIZE_OF (CRITICAL_SECTION)
diff --git a/libgcc/config/i386/gthr-win32.h b/libgcc/config/i386/gthr-win32.h
index 6f70e9b..ea47d31 100644
--- a/libgcc/config/i386/gthr-win32.h
+++ b/libgcc/config/i386/gthr-win32.h
@@ -1,7 +1,7 @@
/* Threads compatibility routines for libgcc2 and libobjc. */
/* Compile this one with gcc. */
-/* Copyright (C) 1999-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1999-2023 Free Software Foundation, Inc.
Contributed by Mumit Khan <khan@xraylith.wisc.edu>.
This file is part of GCC.
@@ -28,18 +28,15 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#ifndef GCC_GTHR_WIN32_H
#define GCC_GTHR_WIN32_H
-/* Make sure CONST_CAST2 (origin in system.h) is declared. */
-#ifndef CONST_CAST2
-#define CONST_CAST2(TOTYPE,FROMTYPE,X) ((__extension__(union {FROMTYPE _q; TOTYPE _nq;})(X))._nq)
-#endif
+/* So we can test Windows version numbers. */
+#include <stdlib.h>
-/* Windows32 threads specific definitions. The windows32 threading model
- does not map well into pthread-inspired gcc's threading model, and so
- there are caveats one needs to be aware of.
+/* The Windows threading model does not map well into the POSIX inspired
+ GCC threading model, so there are caveats one needs to be aware of.
1. The destructor supplied to __gthread_key_create is ignored for
- generic x86-win32 ports. This will certainly cause memory leaks
- due to unreclaimed eh contexts (sizeof (eh_context) is at least
+ generic Windows ports. This will certainly cause memory leaks
+ due to unreclaimed EH contexts (sizeof (eh_context) is at least
24 bytes for x86 currently).
This memory leak may be significant for long-running applications
@@ -50,29 +47,41 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
linked in if -mthreads option is specified, that runs the dtors in
the reverse order of registration when each thread exits. If
-mthreads option is not given, a stub is linked in instead of the
- DLL, which results in memory leak. Other x86-win32 ports can use
+ DLL, which results in memory leak. Other Windows ports can use
the same technique of course to avoid the leak.
2. The error codes returned are non-POSIX like, and cast into ints.
This may cause incorrect error return due to truncation values on
hw where sizeof (DWORD) > sizeof (int).
- 3. We are currently using a special mutex instead of the Critical
- Sections, since Win9x does not support TryEnterCriticalSection
- (while NT does).
+ 3. POSIX-like condition variables are supported, but only on Vista and
+ Server 2008 or later versions.
- The basic framework should work well enough. In the long term, GCC
- needs to use Structured Exception Handling on Windows32. */
+ 4. Timed lock primitives are not supported. */
#define __GTHREADS 1
-#include <errno.h>
-#ifdef __MINGW32__
-#include <_mingw.h>
+/* Condition variables are supported on Vista and Server 2008 or later. */
+#if _WIN32_WINNT >= 0x0600
+#define __GTHREAD_HAS_COND 1
+#define __GTHREADS_CXX0X 1
+#endif
+
+#if _GTHREAD_USE_MUTEX_TIMEDLOCK
+#error Timed lock primitives are not supported on Windows targets
+#endif
+
+/* Make sure CONST_CAST2 (origin in system.h) is declared. */
+#ifndef CONST_CAST2
+#ifdef __cplusplus
+#define CONST_CAST2(TOTYPE,FROMTYPE,X) (const_cast<TOTYPE> (X))
+#else
+#define CONST_CAST2(TOTYPE,FROMTYPE,X) ((__extension__(union {FROMTYPE _q; TOTYPE _nq;})(X))._nq)
+#endif
#endif
-#ifndef __UNUSED_PARAM
-#define __UNUSED_PARAM(x) x
+#ifndef ATTRIBUTE_UNUSED
+#define ATTRIBUTE_UNUSED __attribute__ ((__unused__))
#endif
#ifdef _LIBOBJC
@@ -82,12 +91,14 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#ifndef __OBJC__
#define __OBJC__
#endif
+#define WIN32_LEAN_AND_MEAN
#include <windows.h>
-/* Now undef the windows BOOL. */
+/* Now undef the windows BOOL and CC_NONE */
#undef BOOL
+#undef CC_NONE
/* Key structure for maintaining thread specific storage */
-static DWORD __gthread_objc_data_tls = (DWORD) -1;
+static DWORD __gthread_objc_data_tls = TLS_OUT_OF_INDEXES;
/* Backend initialization functions */
@@ -96,7 +107,7 @@ int
__gthread_objc_init_thread_system (void)
{
/* Initialize the thread storage key. */
- if ((__gthread_objc_data_tls = TlsAlloc ()) != (DWORD) -1)
+ if ((__gthread_objc_data_tls = TlsAlloc ()) != TLS_OUT_OF_INDEXES)
return 0;
else
return -1;
@@ -106,7 +117,7 @@ __gthread_objc_init_thread_system (void)
int
__gthread_objc_close_thread_system (void)
{
- if (__gthread_objc_data_tls != (DWORD) -1)
+ if (__gthread_objc_data_tls != TLS_OUT_OF_INDEXES)
TlsFree (__gthread_objc_data_tls);
return 0;
}
@@ -222,15 +233,9 @@ __gthread_objc_thread_set_data (void *value)
void *
__gthread_objc_thread_get_data (void)
{
- DWORD lasterror;
- void *ptr;
-
- lasterror = GetLastError ();
-
- ptr = TlsGetValue (__gthread_objc_data_tls); /* Return thread data. */
-
+ DWORD lasterror = GetLastError ();
+ void * ptr = TlsGetValue (__gthread_objc_data_tls);
SetLastError (lasterror);
-
return ptr;
}
@@ -294,7 +299,7 @@ __gthread_objc_mutex_unlock (objc_mutex_t mutex)
/* Allocate a condition. */
int
-__gthread_objc_condition_allocate (objc_condition_t __UNUSED_PARAM(condition))
+__gthread_objc_condition_allocate (objc_condition_t condition ATTRIBUTE_UNUSED)
{
/* Unimplemented. */
return -1;
@@ -302,7 +307,7 @@ __gthread_objc_condition_allocate (objc_condition_t __UNUSED_PARAM(condition))
/* Deallocate a condition. */
int
-__gthread_objc_condition_deallocate (objc_condition_t __UNUSED_PARAM(condition))
+__gthread_objc_condition_deallocate (objc_condition_t condition ATTRIBUTE_UNUSED)
{
/* Unimplemented. */
return -1;
@@ -310,8 +315,8 @@ __gthread_objc_condition_deallocate (objc_condition_t __UNUSED_PARAM(condition))
/* Wait on the condition */
int
-__gthread_objc_condition_wait (objc_condition_t __UNUSED_PARAM(condition),
- objc_mutex_t __UNUSED_PARAM(mutex))
+__gthread_objc_condition_wait (objc_condition_t condition ATTRIBUTE_UNUSED,
+ objc_mutex_t mutex ATTRIBUTE_UNUSED)
{
/* Unimplemented. */
return -1;
@@ -319,7 +324,7 @@ __gthread_objc_condition_wait (objc_condition_t __UNUSED_PARAM(condition),
/* Wake up all threads waiting on this condition. */
int
-__gthread_objc_condition_broadcast (objc_condition_t __UNUSED_PARAM(condition))
+__gthread_objc_condition_broadcast (objc_condition_t condition ATTRIBUTE_UNUSED)
{
/* Unimplemented. */
return -1;
@@ -327,7 +332,7 @@ __gthread_objc_condition_broadcast (objc_condition_t __UNUSED_PARAM(condition))
/* Wake up one thread waiting on this condition. */
int
-__gthread_objc_condition_signal (objc_condition_t __UNUSED_PARAM(condition))
+__gthread_objc_condition_signal (objc_condition_t condition ATTRIBUTE_UNUSED)
{
/* Unimplemented. */
return -1;
@@ -335,35 +340,54 @@ __gthread_objc_condition_signal (objc_condition_t __UNUSED_PARAM(condition))
#else /* _LIBOBJC */
+/* For struct timespec. Do not include <sys/time.h> here since Gnulib provides
+ its own version which drags the Win32 API definitions. */
+#include <sys/timeb.h>
+
#ifdef __cplusplus
extern "C" {
#endif
-typedef unsigned long __gthread_key_t;
-
-typedef struct {
- int done;
- long started;
-} __gthread_once_t;
+typedef unsigned int __gthr_win32_DWORD;
+typedef void *__gthr_win32_HANDLE;
typedef struct {
- long counter;
- void *sema;
-} __gthread_mutex_t;
+ void *DebugInfo;
+ int LockCount;
+ int RecursionCount;
+ __gthr_win32_HANDLE OwningThread;
+ __gthr_win32_HANDLE LockSemaphore;
+ void *SpinCount;
+} __gthr_win32_CRITICAL_SECTION;
typedef struct {
- long counter;
- long depth;
- unsigned long owner;
- void *sema;
-} __gthread_recursive_mutex_t;
+ void *Ptr;
+} __gthr_win32_CONDITION_VARIABLE;
+
+typedef __gthr_win32_HANDLE __gthread_t;
+typedef __gthr_win32_DWORD __gthread_key_t;
+typedef struct { int done; long started; } __gthread_once_t;
+typedef __gthr_win32_CRITICAL_SECTION __gthread_mutex_t;
+typedef __gthr_win32_CRITICAL_SECTION __gthread_recursive_mutex_t;
+#if __GTHREAD_HAS_COND
+typedef __gthr_win32_CONDITION_VARIABLE __gthread_cond_t;
+#endif
+typedef struct timespec __gthread_time_t;
#define __GTHREAD_ONCE_INIT {0, -1}
#define __GTHREAD_MUTEX_INIT_FUNCTION __gthread_mutex_init_function
-#define __GTHREAD_MUTEX_INIT_DEFAULT {-1, 0}
#define __GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION \
__gthread_recursive_mutex_init_function
-#define __GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT {-1, 0, 0, 0}
+#define __GTHREAD_COND_INIT_FUNCTION __gthread_cond_init_function
+#define __GTHREAD_TIME_INIT {0, 0}
+
+// Libstdc++ std::basic_filebuf needs the old definition of __gthread_mutex_t
+// for layout purposes, but doesn't actually use it.
+typedef struct {
+ long __unused1;
+ void *__unused2;
+} __gthr_win32_legacy_mutex_t;
+#define __GTHREAD_LEGACY_MUTEX_T __gthr_win32_legacy_mutex_t
#if defined (_WIN32) && !defined(__CYGWIN__)
#define MINGW32_SUPPORTS_MT_EH 1
@@ -388,30 +412,74 @@ __gthread_active_p (void)
#endif
}
-#if __GTHREAD_HIDE_WIN32API
-
-/* The implementations are in config/i386/gthr-win32.c in libgcc.a.
- Only stubs are exposed to avoid polluting the C++ namespace with
- windows api definitions. */
-
+extern int __gthr_win32_create (__gthread_t *, void *(*) (void*), void *);
+extern int __gthr_win32_join (__gthread_t, void **);
+extern __gthread_t __gthr_win32_self (void);
extern int __gthr_win32_once (__gthread_once_t *, void (*) (void));
+extern int __gthr_win32_detach (__gthread_t);
+extern int __gthr_win32_equal (__gthread_t, __gthread_t);
+extern int __gthr_win32_yield (void);
extern int __gthr_win32_key_create (__gthread_key_t *, void (*) (void*));
extern int __gthr_win32_key_delete (__gthread_key_t);
extern void * __gthr_win32_getspecific (__gthread_key_t);
extern int __gthr_win32_setspecific (__gthread_key_t, const void *);
extern void __gthr_win32_mutex_init_function (__gthread_mutex_t *);
+extern void __gthr_win32_mutex_destroy (__gthread_mutex_t *);
extern int __gthr_win32_mutex_lock (__gthread_mutex_t *);
extern int __gthr_win32_mutex_trylock (__gthread_mutex_t *);
extern int __gthr_win32_mutex_unlock (__gthread_mutex_t *);
-extern void
- __gthr_win32_recursive_mutex_init_function (__gthread_recursive_mutex_t *);
-extern int __gthr_win32_recursive_mutex_lock (__gthread_recursive_mutex_t *);
-extern int
- __gthr_win32_recursive_mutex_trylock (__gthread_recursive_mutex_t *);
-extern int __gthr_win32_recursive_mutex_unlock (__gthread_recursive_mutex_t *);
-extern void __gthr_win32_mutex_destroy (__gthread_mutex_t *);
-extern int
- __gthr_win32_recursive_mutex_destroy (__gthread_recursive_mutex_t *);
+extern int __gthr_win32_recursive_mutex_trylock (__gthread_recursive_mutex_t *);
+#if __GTHREAD_HAS_COND
+extern void __gthr_win32_cond_init_function (__gthread_cond_t *);
+extern int __gthr_win32_cond_broadcast (__gthread_cond_t *);
+extern int __gthr_win32_cond_signal (__gthread_cond_t *);
+extern int __gthr_win32_cond_wait (__gthread_cond_t *, __gthread_mutex_t *);
+extern int __gthr_win32_cond_timedwait (__gthread_cond_t *, __gthread_mutex_t *,
+ const __gthread_time_t *);
+#endif
+
+static inline int
+__gthread_create (__gthread_t *__thr, void *(*__func) (void*),
+ void *__args)
+{
+ return __gthr_win32_create (__thr, __func, __args);
+}
+
+static inline int
+__gthread_join (__gthread_t __thr, void **__value_ptr)
+{
+ return __gthr_win32_join (__thr, __value_ptr);
+}
+
+static inline __gthread_t
+__gthread_self (void)
+{
+ return __gthr_win32_self ();
+}
+
+#if __GTHREAD_HIDE_WIN32API
+
+/* The implementations are in config/i386/gthr-win32.c in libgcc.a.
+ Only stubs are exposed to avoid polluting the C++ namespace with
+ Win32 API definitions. */
+
+static inline int
+__gthread_detach (__gthread_t __thr)
+{
+ return __gthr_win32_detach (__thr);
+}
+
+static inline int
+__gthread_equal (__gthread_t __thr1, __gthread_t __thr2)
+{
+ return __gthr_win32_equal (__thr1, __thr2);
+}
+
+static inline int
+__gthread_yield (void)
+{
+ return __gthr_win32_yield ();
+}
static inline int
__gthread_once (__gthread_once_t *__once, void (*__func) (void))
@@ -485,279 +553,321 @@ __gthread_mutex_unlock (__gthread_mutex_t *__mutex)
return 0;
}
+static inline int
+__gthread_recursive_mutex_trylock (__gthread_recursive_mutex_t *__mutex)
+{
+ if (__gthread_active_p ())
+ return __gthr_win32_recursive_mutex_trylock (__mutex);
+ else
+ return 0;
+}
+
+#if __GTHREAD_HAS_COND
+
static inline void
-__gthread_recursive_mutex_init_function (__gthread_recursive_mutex_t *__mutex)
+__gthread_cond_init_function (__gthread_cond_t *__cond)
{
- __gthr_win32_recursive_mutex_init_function (__mutex);
+ __gthr_win32_cond_init_function (__cond);
}
static inline int
-__gthread_recursive_mutex_lock (__gthread_recursive_mutex_t *__mutex)
+__gthread_cond_broadcast (__gthread_cond_t *__cond)
{
- if (__gthread_active_p ())
- return __gthr_win32_recursive_mutex_lock (__mutex);
- else
- return 0;
+ return __gthr_win32_cond_broadcast (__cond);
}
static inline int
-__gthread_recursive_mutex_trylock (__gthread_recursive_mutex_t *__mutex)
+__gthread_cond_signal (__gthread_cond_t *__cond)
{
- if (__gthread_active_p ())
- return __gthr_win32_recursive_mutex_trylock (__mutex);
- else
- return 0;
+ return __gthr_win32_cond_signal (__cond);
}
static inline int
-__gthread_recursive_mutex_unlock (__gthread_recursive_mutex_t *__mutex)
+__gthread_cond_wait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex)
{
- if (__gthread_active_p ())
- return __gthr_win32_recursive_mutex_unlock (__mutex);
- else
- return 0;
+ return __gthr_win32_cond_wait (__cond, __mutex);
}
static inline int
-__gthread_recursive_mutex_destroy (__gthread_recursive_mutex_t *__mutex)
+__gthread_cond_timedwait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex,
+ const __gthread_time_t *__abs_time)
{
- return __gthr_win32_recursive_mutex_destroy (__mutex);
+ return __gthr_win32_cond_timedwait (__cond, __mutex, __abs_time);
}
+#endif /* __GTHREAD_HAS_COND */
+
#else /* ! __GTHREAD_HIDE_WIN32API */
-#define NOGDI
+#ifndef __GTHREAD_WIN32_INLINE
+#define __GTHREAD_WIN32_INLINE static inline
+#endif
+
+#ifndef __GTHREAD_WIN32_COND_INLINE
+#define __GTHREAD_WIN32_COND_INLINE static inline
+#endif
+
+#ifndef __GTHREAD_WIN32_ACTIVE_P
+#define __GTHREAD_WIN32_ACTIVE_P __gthread_active_p
+#endif
+
+#define WIN32_LEAN_AND_MEAN
#include <windows.h>
-#include <errno.h>
+#undef CC_NONE
-static inline int
+__GTHREAD_WIN32_INLINE int
+__gthread_detach (__gthread_t __thr)
+{
+ CloseHandle ((HANDLE) __thr);
+ return 0;
+}
+
+__GTHREAD_WIN32_INLINE int
+__gthread_equal (__gthread_t __t1, __gthread_t __t2)
+{
+ return GetThreadId ((HANDLE) __t1) == GetThreadId ((HANDLE) __t2);
+}
+
+__GTHREAD_WIN32_INLINE int
+__gthread_yield (void)
+{
+ Sleep (0);
+ return 0;
+}
+
+__GTHREAD_WIN32_INLINE int
__gthread_once (__gthread_once_t *__once, void (*__func) (void))
{
- if (! __gthread_active_p ())
+ if (!__GTHREAD_WIN32_ACTIVE_P ())
return -1;
- else if (__once == NULL || __func == NULL)
- return EINVAL;
- if (! __once->done)
+ if (__builtin_expect (!__once->done, 0))
{
- if (InterlockedIncrement (&(__once->started)) == 0)
+ /* We rely on the memory model of the x86 architecture where every load
+ has acquire semantics and every store has release semantics. */
+ if (__atomic_add_fetch (&__once->started, 1, __ATOMIC_ACQ_REL) == 0)
{
(*__func) ();
- __once->done = TRUE;
+ __once->done = 1;
}
else
{
/* Another thread is currently executing the code, so wait for it
- to finish; yield the CPU in the meantime. If performance
+ to finish and yield the CPU in the meantime. If performance
does become an issue, the solution is to use an Event that
we wait on here (and set above), but that implies a place to
create the event before this routine is called. */
- while (! __once->done)
- Sleep (0);
+ while (!__once->done)
+ __gthread_yield ();
}
}
return 0;
}
-/* Windows32 thread local keys don't support destructors; this leads to
+/* Windows thread local keys don't support destructors; this leads to
leaks, especially in threaded applications making extensive use of
C++ EH. Mingw uses a thread-support DLL to work-around this problem. */
-static inline int
+__GTHREAD_WIN32_INLINE int
__gthread_key_create (__gthread_key_t *__key,
- void (*__dtor) (void *) __attribute__((__unused__)))
+ void (*__dtor) (void *) ATTRIBUTE_UNUSED)
{
- int __status = 0;
DWORD __tls_index = TlsAlloc ();
- if (__tls_index != 0xFFFFFFFF)
+ if (__tls_index != TLS_OUT_OF_INDEXES)
{
*__key = __tls_index;
#ifdef MINGW32_SUPPORTS_MT_EH
/* Mingw runtime will run the dtors in reverse order for each thread
when the thread exits. */
- __status = __mingwthr_key_dtor (*__key, __dtor);
+ return __mingwthr_key_dtor (*__key, __dtor);
+#else
+ return 0;
#endif
}
else
- __status = (int) GetLastError ();
- return __status;
+ return (int) GetLastError ();
}
-static inline int
+__GTHREAD_WIN32_INLINE int
__gthread_key_delete (__gthread_key_t __key)
{
- return (TlsFree (__key) != 0) ? 0 : (int) GetLastError ();
+ if (TlsFree (__key))
+ return 0;
+ else
+ return (int) GetLastError ();
}
-static inline void *
+__GTHREAD_WIN32_INLINE void *
__gthread_getspecific (__gthread_key_t __key)
{
- DWORD __lasterror;
- void *__ptr;
-
- __lasterror = GetLastError ();
-
- __ptr = TlsGetValue (__key);
-
+ DWORD __lasterror = GetLastError ();
+ void *__ptr = TlsGetValue (__key);
SetLastError (__lasterror);
-
return __ptr;
}
-static inline int
+__GTHREAD_WIN32_INLINE int
__gthread_setspecific (__gthread_key_t __key, const void *__ptr)
{
- if (TlsSetValue (__key, CONST_CAST2(void *, const void *, __ptr)) != 0)
+ if (TlsSetValue (__key, CONST_CAST2(void *, const void *, __ptr)))
return 0;
else
- return GetLastError ();
+ return (int) GetLastError ();
}
-static inline void
+__GTHREAD_WIN32_INLINE void
__gthread_mutex_init_function (__gthread_mutex_t *__mutex)
{
- __mutex->counter = -1;
- __mutex->sema = CreateSemaphoreW (NULL, 0, 65535, NULL);
+ InitializeCriticalSection ((LPCRITICAL_SECTION) __mutex);
}
-static inline void
+__GTHREAD_WIN32_INLINE void
__gthread_mutex_destroy (__gthread_mutex_t *__mutex)
{
- CloseHandle ((HANDLE) __mutex->sema);
+ DeleteCriticalSection ((LPCRITICAL_SECTION) __mutex);
}
-static inline int
+__GTHREAD_WIN32_INLINE int
__gthread_mutex_lock (__gthread_mutex_t *__mutex)
{
- int __status = 0;
+ if (__GTHREAD_WIN32_ACTIVE_P ())
+ EnterCriticalSection ((LPCRITICAL_SECTION) __mutex);
+ return 0;
+}
- if (__gthread_active_p ())
+__GTHREAD_WIN32_INLINE int
+__gthread_mutex_trylock (__gthread_mutex_t *__mutex)
+{
+ if (__GTHREAD_WIN32_ACTIVE_P ())
{
- if (InterlockedIncrement (&__mutex->counter) == 0 ||
- WaitForSingleObject (__mutex->sema, INFINITE) == WAIT_OBJECT_0)
- __status = 0;
- else
+ BOOL __ret = TryEnterCriticalSection ((LPCRITICAL_SECTION) __mutex);
+ if (__ret)
{
- /* WaitForSingleObject returns WAIT_FAILED, and we can only do
- some best-effort cleanup here. */
- InterlockedDecrement (&__mutex->counter);
- __status = 1;
+ if (__mutex->RecursionCount > 1)
+ {
+ LeaveCriticalSection ((LPCRITICAL_SECTION) __mutex);
+ return 1;
+ }
+ else
+ return 0;
}
+ else
+ return 1;
}
- return __status;
+ else
+ return 0;
}
-static inline int
-__gthread_mutex_trylock (__gthread_mutex_t *__mutex)
+__GTHREAD_WIN32_INLINE int
+__gthread_mutex_unlock (__gthread_mutex_t *__mutex)
{
- int __status = 0;
+ if (__GTHREAD_WIN32_ACTIVE_P ())
+ LeaveCriticalSection ((LPCRITICAL_SECTION) __mutex);
+ return 0;
+}
- if (__gthread_active_p ())
- {
- if (__GTHR_W32_InterlockedCompareExchange (&__mutex->counter, 0, -1) < 0)
- __status = 0;
- else
- __status = 1;
- }
- return __status;
+__GTHREAD_WIN32_INLINE int
+__gthread_recursive_mutex_trylock (__gthread_recursive_mutex_t *__mutex)
+{
+ if (__GTHREAD_WIN32_ACTIVE_P ())
+ return TryEnterCriticalSection ((LPCRITICAL_SECTION) __mutex) ? 0 : 1;
+ else
+ return 0;
}
-static inline int
-__gthread_mutex_unlock (__gthread_mutex_t *__mutex)
+#if __GTHREAD_HAS_COND
+
+__GTHREAD_WIN32_COND_INLINE void
+__gthread_cond_init_function (__gthread_cond_t *__cond)
{
- if (__gthread_active_p ())
- {
- if (InterlockedDecrement (&__mutex->counter) >= 0)
- return ReleaseSemaphore (__mutex->sema, 1, NULL) ? 0 : 1;
- }
+ InitializeConditionVariable ((PCONDITION_VARIABLE) __cond);
+}
+
+__GTHREAD_WIN32_COND_INLINE int
+__gthread_cond_broadcast (__gthread_cond_t *__cond)
+{
+ WakeAllConditionVariable ((PCONDITION_VARIABLE) __cond);
return 0;
}
+__GTHREAD_WIN32_COND_INLINE int
+__gthread_cond_signal (__gthread_cond_t *__cond)
+{
+ WakeConditionVariable ((PCONDITION_VARIABLE) __cond);
+ return 0;
+}
+
+__GTHREAD_WIN32_COND_INLINE int
+__gthread_cond_wait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex)
+{
+ if (SleepConditionVariableCS ((PCONDITION_VARIABLE) __cond,
+ (PCRITICAL_SECTION) __mutex,
+ INFINITE))
+ return 0;
+ else
+ return (int) GetLastError ();
+}
+
+extern DWORD __gthr_win32_abs_to_rel_time (const __gthread_time_t *);
+
+__GTHREAD_WIN32_COND_INLINE int
+__gthread_cond_timedwait (__gthread_cond_t *__cond,
+ __gthread_mutex_t *__mutex,
+ const __gthread_time_t *__abs_time)
+{
+ DWORD __rel_time = __gthr_win32_abs_to_rel_time (__abs_time);
+ if (SleepConditionVariableCS ((PCONDITION_VARIABLE) __cond,
+ (PCRITICAL_SECTION) __mutex,
+ __rel_time))
+ return 0;
+ else
+ return (int) GetLastError ();
+}
+
+#endif /* __GTHREAD_HAS_COND */
+
+#endif /* __GTHREAD_HIDE_WIN32API */
+
static inline void
__gthread_recursive_mutex_init_function (__gthread_recursive_mutex_t *__mutex)
{
- __mutex->counter = -1;
- __mutex->depth = 0;
- __mutex->owner = 0;
- __mutex->sema = CreateSemaphoreW (NULL, 0, 65535, NULL);
+ __gthread_mutex_init_function (__mutex);
}
-static inline int
-__gthread_recursive_mutex_lock (__gthread_recursive_mutex_t *__mutex)
+static inline void
+__gthread_recursive_mutex_destroy (__gthread_recursive_mutex_t *__mutex)
{
- if (__gthread_active_p ())
- {
- DWORD __me = GetCurrentThreadId();
- if (InterlockedIncrement (&__mutex->counter) == 0)
- {
- __mutex->depth = 1;
- __mutex->owner = __me;
- }
- else if (__mutex->owner == __me)
- {
- InterlockedDecrement (&__mutex->counter);
- ++(__mutex->depth);
- }
- else if (WaitForSingleObject (__mutex->sema, INFINITE) == WAIT_OBJECT_0)
- {
- __mutex->depth = 1;
- __mutex->owner = __me;
- }
- else
- {
- /* WaitForSingleObject returns WAIT_FAILED, and we can only do
- some best-effort cleanup here. */
- InterlockedDecrement (&__mutex->counter);
- return 1;
- }
- }
- return 0;
+ __gthread_mutex_destroy (__mutex);
}
static inline int
-__gthread_recursive_mutex_trylock (__gthread_recursive_mutex_t *__mutex)
+__gthread_recursive_mutex_lock (__gthread_recursive_mutex_t *__mutex)
{
- if (__gthread_active_p ())
- {
- DWORD __me = GetCurrentThreadId();
- if (__GTHR_W32_InterlockedCompareExchange (&__mutex->counter, 0, -1) < 0)
- {
- __mutex->depth = 1;
- __mutex->owner = __me;
- }
- else if (__mutex->owner == __me)
- ++(__mutex->depth);
- else
- return 1;
- }
- return 0;
+ return __gthread_mutex_lock (__mutex);
}
static inline int
__gthread_recursive_mutex_unlock (__gthread_recursive_mutex_t *__mutex)
{
- if (__gthread_active_p ())
- {
- --(__mutex->depth);
- if (__mutex->depth == 0)
- {
- __mutex->owner = 0;
+ return __gthread_mutex_unlock (__mutex);
+}
- if (InterlockedDecrement (&__mutex->counter) >= 0)
- return ReleaseSemaphore (__mutex->sema, 1, NULL) ? 0 : 1;
- }
- }
+#if __GTHREAD_HAS_COND
+
+static inline int
+__gthread_cond_destroy (__gthread_cond_t *__cond ATTRIBUTE_UNUSED)
+{
return 0;
}
static inline int
-__gthread_recursive_mutex_destroy (__gthread_recursive_mutex_t *__mutex)
+__gthread_cond_wait_recursive (__gthread_cond_t *__cond,
+ __gthread_recursive_mutex_t *__mutex)
{
- CloseHandle ((HANDLE) __mutex->sema);
- return 0;
+ return __gthread_cond_wait (__cond, __mutex);
}
-#endif /* __GTHREAD_HIDE_WIN32API */
+#endif
#ifdef __cplusplus
}
diff --git a/libgcc/config/i386/i386-asm.h b/libgcc/config/i386/i386-asm.h
index 882105847..0c18c19 100644
--- a/libgcc/config/i386/i386-asm.h
+++ b/libgcc/config/i386/i386-asm.h
@@ -1,5 +1,5 @@
/* Defines common perprocessor and assembly macros for use by various stubs.
- Copyright (C) 2016-2022 Free Software Foundation, Inc.
+ Copyright (C) 2016-2023 Free Software Foundation, Inc.
Contributed by Daniel Santos <daniel.santos@pobox.com>
This file is part of GCC.
diff --git a/libgcc/config/i386/libgcc-bsd.ver b/libgcc/config/i386/libgcc-bsd.ver
index 0383f54..0c1a4bc 100644
--- a/libgcc/config/i386/libgcc-bsd.ver
+++ b/libgcc/config/i386/libgcc-bsd.ver
@@ -1,4 +1,4 @@
-# Copyright (C) 2010-2022 Free Software Foundation, Inc.
+# Copyright (C) 2010-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/config/i386/libgcc-cygming.ver b/libgcc/config/i386/libgcc-cygming.ver
index 5eff82b..f6b819d 100644
--- a/libgcc/config/i386/libgcc-cygming.ver
+++ b/libgcc/config/i386/libgcc-cygming.ver
@@ -1,4 +1,4 @@
-# Copyright (C) 2012-2022 Free Software Foundation, Inc.
+# Copyright (C) 2012-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/config/i386/libgcc-glibc.ver b/libgcc/config/i386/libgcc-glibc.ver
index 08ce814..d84d075 100644
--- a/libgcc/config/i386/libgcc-glibc.ver
+++ b/libgcc/config/i386/libgcc-glibc.ver
@@ -1,4 +1,4 @@
-# Copyright (C) 2008-2022 Free Software Foundation, Inc.
+# Copyright (C) 2008-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
@@ -214,3 +214,15 @@ GCC_12.0.0 {
__trunctfhf2
__truncxfhf2
}
+
+%inherit GCC_13.0.0 GCC_12.0.0
+GCC_13.0.0 {
+ __extendbfsf2
+ __floattibf
+ __floatuntibf
+ __truncdfbf2
+ __truncsfbf2
+ __trunctfbf2
+ __truncxfbf2
+ __trunchfbf2
+}
diff --git a/libgcc/config/i386/libgcc-mingw.ver b/libgcc/config/i386/libgcc-mingw.ver
new file mode 100644
index 0000000..71d78e8
--- /dev/null
+++ b/libgcc/config/i386/libgcc-mingw.ver
@@ -0,0 +1,23 @@
+# Copyright (C) 2022-2023 Free Software Foundation, Inc.
+#
+# This file is part of GCC.
+#
+# GCC is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# GCC is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GCC; see the file COPYING3. If not see
+# <http://www.gnu.org/licenses/>.
+
+GCC_13 {
+ __gthr_win32_create
+ __gthr_win32_join
+ __gthr_win32_self
+}
diff --git a/libgcc/config/i386/libgcc-sol2.ver b/libgcc/config/i386/libgcc-sol2.ver
index d5bf093..152cd81 100644
--- a/libgcc/config/i386/libgcc-sol2.ver
+++ b/libgcc/config/i386/libgcc-sol2.ver
@@ -1,4 +1,4 @@
-# Copyright (C) 2010-2022 Free Software Foundation, Inc.
+# Copyright (C) 2010-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/config/i386/linux-unwind.h b/libgcc/config/i386/linux-unwind.h
index 7a9e4dc..5486223 100644
--- a/libgcc/config/i386/linux-unwind.h
+++ b/libgcc/config/i386/linux-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for AMD x86-64 and x86.
- Copyright (C) 2004-2022 Free Software Foundation, Inc.
+ Copyright (C) 2004-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -79,37 +79,37 @@ x86_64_fallback_frame_state (struct _Unwind_Context *context,
fs->regs.cfa_offset = new_cfa - (long) context->cfa;
/* The SVR4 register numbering macros aren't usable in libgcc. */
- fs->regs.reg[0].how = REG_SAVED_OFFSET;
+ fs->regs.how[0] = REG_SAVED_OFFSET;
fs->regs.reg[0].loc.offset = (long)&sc->rax - new_cfa;
- fs->regs.reg[1].how = REG_SAVED_OFFSET;
+ fs->regs.how[1] = REG_SAVED_OFFSET;
fs->regs.reg[1].loc.offset = (long)&sc->rdx - new_cfa;
- fs->regs.reg[2].how = REG_SAVED_OFFSET;
+ fs->regs.how[2] = REG_SAVED_OFFSET;
fs->regs.reg[2].loc.offset = (long)&sc->rcx - new_cfa;
- fs->regs.reg[3].how = REG_SAVED_OFFSET;
+ fs->regs.how[3] = REG_SAVED_OFFSET;
fs->regs.reg[3].loc.offset = (long)&sc->rbx - new_cfa;
- fs->regs.reg[4].how = REG_SAVED_OFFSET;
+ fs->regs.how[4] = REG_SAVED_OFFSET;
fs->regs.reg[4].loc.offset = (long)&sc->rsi - new_cfa;
- fs->regs.reg[5].how = REG_SAVED_OFFSET;
+ fs->regs.how[5] = REG_SAVED_OFFSET;
fs->regs.reg[5].loc.offset = (long)&sc->rdi - new_cfa;
- fs->regs.reg[6].how = REG_SAVED_OFFSET;
+ fs->regs.how[6] = REG_SAVED_OFFSET;
fs->regs.reg[6].loc.offset = (long)&sc->rbp - new_cfa;
- fs->regs.reg[8].how = REG_SAVED_OFFSET;
+ fs->regs.how[8] = REG_SAVED_OFFSET;
fs->regs.reg[8].loc.offset = (long)&sc->r8 - new_cfa;
- fs->regs.reg[9].how = REG_SAVED_OFFSET;
+ fs->regs.how[9] = REG_SAVED_OFFSET;
fs->regs.reg[9].loc.offset = (long)&sc->r9 - new_cfa;
- fs->regs.reg[10].how = REG_SAVED_OFFSET;
+ fs->regs.how[10] = REG_SAVED_OFFSET;
fs->regs.reg[10].loc.offset = (long)&sc->r10 - new_cfa;
- fs->regs.reg[11].how = REG_SAVED_OFFSET;
+ fs->regs.how[11] = REG_SAVED_OFFSET;
fs->regs.reg[11].loc.offset = (long)&sc->r11 - new_cfa;
- fs->regs.reg[12].how = REG_SAVED_OFFSET;
+ fs->regs.how[12] = REG_SAVED_OFFSET;
fs->regs.reg[12].loc.offset = (long)&sc->r12 - new_cfa;
- fs->regs.reg[13].how = REG_SAVED_OFFSET;
+ fs->regs.how[13] = REG_SAVED_OFFSET;
fs->regs.reg[13].loc.offset = (long)&sc->r13 - new_cfa;
- fs->regs.reg[14].how = REG_SAVED_OFFSET;
+ fs->regs.how[14] = REG_SAVED_OFFSET;
fs->regs.reg[14].loc.offset = (long)&sc->r14 - new_cfa;
- fs->regs.reg[15].how = REG_SAVED_OFFSET;
+ fs->regs.how[15] = REG_SAVED_OFFSET;
fs->regs.reg[15].loc.offset = (long)&sc->r15 - new_cfa;
- fs->regs.reg[16].how = REG_SAVED_OFFSET;
+ fs->regs.how[16] = REG_SAVED_OFFSET;
fs->regs.reg[16].loc.offset = (long)&sc->rip - new_cfa;
fs->retaddr_column = 16;
fs->signal_frame = 1;
@@ -159,21 +159,21 @@ x86_fallback_frame_state (struct _Unwind_Context *context,
fs->regs.cfa_offset = new_cfa - (long) context->cfa;
/* The SVR4 register numbering macros aren't usable in libgcc. */
- fs->regs.reg[0].how = REG_SAVED_OFFSET;
+ fs->regs.how[0] = REG_SAVED_OFFSET;
fs->regs.reg[0].loc.offset = (long)&sc->eax - new_cfa;
- fs->regs.reg[3].how = REG_SAVED_OFFSET;
+ fs->regs.how[3] = REG_SAVED_OFFSET;
fs->regs.reg[3].loc.offset = (long)&sc->ebx - new_cfa;
- fs->regs.reg[1].how = REG_SAVED_OFFSET;
+ fs->regs.how[1] = REG_SAVED_OFFSET;
fs->regs.reg[1].loc.offset = (long)&sc->ecx - new_cfa;
- fs->regs.reg[2].how = REG_SAVED_OFFSET;
+ fs->regs.how[2] = REG_SAVED_OFFSET;
fs->regs.reg[2].loc.offset = (long)&sc->edx - new_cfa;
- fs->regs.reg[6].how = REG_SAVED_OFFSET;
+ fs->regs.how[6] = REG_SAVED_OFFSET;
fs->regs.reg[6].loc.offset = (long)&sc->esi - new_cfa;
- fs->regs.reg[7].how = REG_SAVED_OFFSET;
+ fs->regs.how[7] = REG_SAVED_OFFSET;
fs->regs.reg[7].loc.offset = (long)&sc->edi - new_cfa;
- fs->regs.reg[5].how = REG_SAVED_OFFSET;
+ fs->regs.how[5] = REG_SAVED_OFFSET;
fs->regs.reg[5].loc.offset = (long)&sc->ebp - new_cfa;
- fs->regs.reg[8].how = REG_SAVED_OFFSET;
+ fs->regs.how[8] = REG_SAVED_OFFSET;
fs->regs.reg[8].loc.offset = (long)&sc->eip - new_cfa;
fs->retaddr_column = 8;
fs->signal_frame = 1;
diff --git a/libgcc/config/i386/morestack.S b/libgcc/config/i386/morestack.S
index f1cf32d..7ae99b5 100644
--- a/libgcc/config/i386/morestack.S
+++ b/libgcc/config/i386/morestack.S
@@ -1,5 +1,5 @@
# x86/x86_64 support for -fsplit-stack.
-# Copyright (C) 2009-2022 Free Software Foundation, Inc.
+# Copyright (C) 2009-2023 Free Software Foundation, Inc.
# Contributed by Ian Lance Taylor <iant@google.com>.
# This file is part of GCC.
diff --git a/libgcc/config/i386/resms64.h b/libgcc/config/i386/resms64.h
index 55424a3..f445230 100644
--- a/libgcc/config/i386/resms64.h
+++ b/libgcc/config/i386/resms64.h
@@ -1,5 +1,5 @@
/* Epilogue stub for 64-bit ms/sysv clobbers: restore
- Copyright (C) 2016-2022 Free Software Foundation, Inc.
+ Copyright (C) 2016-2023 Free Software Foundation, Inc.
Contributed by Daniel Santos <daniel.santos@pobox.com>
This file is part of GCC.
diff --git a/libgcc/config/i386/resms64f.h b/libgcc/config/i386/resms64f.h
index f0e01eb..f5637d9 100644
--- a/libgcc/config/i386/resms64f.h
+++ b/libgcc/config/i386/resms64f.h
@@ -1,5 +1,5 @@
/* Epilogue stub for 64-bit ms/sysv clobbers: restore (with hard frame pointer)
- Copyright (C) 2016-2022 Free Software Foundation, Inc.
+ Copyright (C) 2016-2023 Free Software Foundation, Inc.
Contributed by Daniel Santos <daniel.santos@pobox.com>
This file is part of GCC.
diff --git a/libgcc/config/i386/resms64fx.h b/libgcc/config/i386/resms64fx.h
index 45a1cfa..79fbeb2 100644
--- a/libgcc/config/i386/resms64fx.h
+++ b/libgcc/config/i386/resms64fx.h
@@ -1,5 +1,5 @@
/* Epilogue stub for 64-bit ms/sysv clobbers: restore, leave and return
- Copyright (C) 2016-2022 Free Software Foundation, Inc.
+ Copyright (C) 2016-2023 Free Software Foundation, Inc.
Contributed by Daniel Santos <daniel.santos@pobox.com>
This file is part of GCC.
diff --git a/libgcc/config/i386/resms64x.h b/libgcc/config/i386/resms64x.h
index e68c7d8..0e3cbed 100644
--- a/libgcc/config/i386/resms64x.h
+++ b/libgcc/config/i386/resms64x.h
@@ -1,5 +1,5 @@
/* Epilogue stub for 64-bit ms/sysv clobbers: restore and return
- Copyright (C) 2016-2022 Free Software Foundation, Inc.
+ Copyright (C) 2016-2023 Free Software Foundation, Inc.
Contributed by Daniel Santos <daniel.santos@pobox.com>
This file is part of GCC.
diff --git a/libgcc/config/i386/savms64.h b/libgcc/config/i386/savms64.h
index 4a113c9..b82cc01 100644
--- a/libgcc/config/i386/savms64.h
+++ b/libgcc/config/i386/savms64.h
@@ -1,5 +1,5 @@
/* Prologue stub for 64-bit ms/sysv clobbers: save
- Copyright (C) 2016-2022 Free Software Foundation, Inc.
+ Copyright (C) 2016-2023 Free Software Foundation, Inc.
Contributed by Daniel Santos <daniel.santos@pobox.com>
This file is part of GCC.
diff --git a/libgcc/config/i386/savms64f.h b/libgcc/config/i386/savms64f.h
index f3c731f..4ea5c57 100644
--- a/libgcc/config/i386/savms64f.h
+++ b/libgcc/config/i386/savms64f.h
@@ -1,5 +1,5 @@
/* Prologue stub for 64-bit ms/sysv clobbers: save (with hard frame pointer)
- Copyright (C) 2016-2022 Free Software Foundation, Inc.
+ Copyright (C) 2016-2023 Free Software Foundation, Inc.
Contributed by Daniel Santos <daniel.santos@pobox.com>
This file is part of GCC.
diff --git a/libgcc/config/i386/sfp-exceptions.c b/libgcc/config/i386/sfp-exceptions.c
index 354683a..a66479f5 100644
--- a/libgcc/config/i386/sfp-exceptions.c
+++ b/libgcc/config/i386/sfp-exceptions.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ * Copyright (C) 2012-2023 Free Software Foundation, Inc.
*
* This file is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/i386/sfp-machine.h b/libgcc/config/i386/sfp-machine.h
index c451ae7..cc20c2c 100644
--- a/libgcc/config/i386/sfp-machine.h
+++ b/libgcc/config/i386/sfp-machine.h
@@ -18,6 +18,7 @@ typedef int __gcc_CMPtype __attribute__ ((mode (__libgcc_cmp_return__)));
#define _FP_QNANNEGATEDP 0
#define _FP_NANSIGN_H 1
+#define _FP_NANSIGN_B 1
#define _FP_NANSIGN_S 1
#define _FP_NANSIGN_D 1
#define _FP_NANSIGN_E 1
diff --git a/libgcc/config/i386/shadow-stack-unwind.h b/libgcc/config/i386/shadow-stack-unwind.h
index 2b02682..e07ab4a 100644
--- a/libgcc/config/i386/shadow-stack-unwind.h
+++ b/libgcc/config/i386/shadow-stack-unwind.h
@@ -1,5 +1,5 @@
/* _Unwind_Frames_Extra with shadow stack for x86-64 and x86.
- Copyright (C) 2017-2022 Free Software Foundation, Inc.
+ Copyright (C) 2017-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -54,10 +54,39 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
aligned. If the original shadow stack is 8 byte aligned, we just
need to pop 2 slots, one restore token, from shadow stack. Otherwise,
we need to pop 3 slots, one restore token + 4 byte padding, from
- shadow stack. */
-#ifndef __x86_64__
+ shadow stack.
+
+ When popping a stack frame, we compare the return address on normal
+ stack against the return address on shadow stack. If they don't match,
+ return _URC_FATAL_PHASE2_ERROR for the corrupted return address on
+ normal stack. Don't check the return address for
+ 1. Non-catchable exception where exception_class == 0. Process will
+ be terminated.
+ 2. Zero return address which marks the outermost stack frame.
+ 3. Signal stack frame since kernel puts a restore token on shadow
+ stack.
+ */
#undef _Unwind_Frames_Increment
-#define _Unwind_Frames_Increment(context, frames) \
+#ifdef __x86_64__
+#define _Unwind_Frames_Increment(exc, context, frames) \
+ { \
+ frames++; \
+ if (exc->exception_class != 0 \
+ && _Unwind_GetIP (context) != 0 \
+ && !_Unwind_IsSignalFrame (context)) \
+ { \
+ _Unwind_Word ssp = _get_ssp (); \
+ if (ssp != 0) \
+ { \
+ ssp += 8 * frames; \
+ _Unwind_Word ra = *(_Unwind_Word *) ssp; \
+ if (ra != _Unwind_GetIP (context)) \
+ return _URC_FATAL_PHASE2_ERROR; \
+ } \
+ } \
+ }
+#else
+#define _Unwind_Frames_Increment(exc, context, frames) \
if (_Unwind_IsSignalFrame (context)) \
do \
{ \
@@ -83,5 +112,19 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
} \
while (0); \
else \
- frames++;
+ { \
+ frames++; \
+ if (exc->exception_class != 0 \
+ && _Unwind_GetIP (context) != 0) \
+ { \
+ _Unwind_Word ssp = _get_ssp (); \
+ if (ssp != 0) \
+ { \
+ ssp += 4 * frames; \
+ _Unwind_Word ra = *(_Unwind_Word *) ssp; \
+ if (ra != _Unwind_GetIP (context)) \
+ return _URC_FATAL_PHASE2_ERROR; \
+ } \
+ } \
+ }
#endif
diff --git a/libgcc/config/i386/sol2-c1.S b/libgcc/config/i386/sol2-c1.S
index 305c6cb..a061096 100644
--- a/libgcc/config/i386/sol2-c1.S
+++ b/libgcc/config/i386/sol2-c1.S
@@ -1,6 +1,6 @@
/* crt1.s for Solaris 2, x86
- Copyright (C) 1993-2022 Free Software Foundation, Inc.
+ Copyright (C) 1993-2023 Free Software Foundation, Inc.
Written By Fred Fish, Nov 1992
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/i386/sol2-unwind.h b/libgcc/config/i386/sol2-unwind.h
index 08c9cd5..268944b 100644
--- a/libgcc/config/i386/sol2-unwind.h
+++ b/libgcc/config/i386/sol2-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for AMD x86-64 and x86.
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -94,37 +94,37 @@ x86_64_fallback_frame_state (struct _Unwind_Context *context,
fs->regs.cfa_offset = new_cfa - (long) context->cfa;
/* The SVR4 register numbering macros aren't usable in libgcc. */
- fs->regs.reg[0].how = REG_SAVED_OFFSET;
+ fs->regs.how[0] = REG_SAVED_OFFSET;
fs->regs.reg[0].loc.offset = (long)&mctx->gregs[REG_RAX] - new_cfa;
- fs->regs.reg[1].how = REG_SAVED_OFFSET;
+ fs->regs.how[1] = REG_SAVED_OFFSET;
fs->regs.reg[1].loc.offset = (long)&mctx->gregs[REG_RDX] - new_cfa;
- fs->regs.reg[2].how = REG_SAVED_OFFSET;
+ fs->regs.how[2] = REG_SAVED_OFFSET;
fs->regs.reg[2].loc.offset = (long)&mctx->gregs[REG_RCX] - new_cfa;
- fs->regs.reg[3].how = REG_SAVED_OFFSET;
+ fs->regs.how[3] = REG_SAVED_OFFSET;
fs->regs.reg[3].loc.offset = (long)&mctx->gregs[REG_RBX] - new_cfa;
- fs->regs.reg[4].how = REG_SAVED_OFFSET;
+ fs->regs.how[4] = REG_SAVED_OFFSET;
fs->regs.reg[4].loc.offset = (long)&mctx->gregs[REG_RSI] - new_cfa;
- fs->regs.reg[5].how = REG_SAVED_OFFSET;
+ fs->regs.how[5] = REG_SAVED_OFFSET;
fs->regs.reg[5].loc.offset = (long)&mctx->gregs[REG_RDI] - new_cfa;
- fs->regs.reg[6].how = REG_SAVED_OFFSET;
+ fs->regs.how[6] = REG_SAVED_OFFSET;
fs->regs.reg[6].loc.offset = (long)&mctx->gregs[REG_RBP] - new_cfa;
- fs->regs.reg[8].how = REG_SAVED_OFFSET;
+ fs->regs.how[8] = REG_SAVED_OFFSET;
fs->regs.reg[8].loc.offset = (long)&mctx->gregs[REG_R8] - new_cfa;
- fs->regs.reg[9].how = REG_SAVED_OFFSET;
+ fs->regs.how[9] = REG_SAVED_OFFSET;
fs->regs.reg[9].loc.offset = (long)&mctx->gregs[REG_R9] - new_cfa;
- fs->regs.reg[10].how = REG_SAVED_OFFSET;
+ fs->regs.how[10] = REG_SAVED_OFFSET;
fs->regs.reg[10].loc.offset = (long)&mctx->gregs[REG_R10] - new_cfa;
- fs->regs.reg[11].how = REG_SAVED_OFFSET;
+ fs->regs.how[11] = REG_SAVED_OFFSET;
fs->regs.reg[11].loc.offset = (long)&mctx->gregs[REG_R11] - new_cfa;
- fs->regs.reg[12].how = REG_SAVED_OFFSET;
+ fs->regs.how[12] = REG_SAVED_OFFSET;
fs->regs.reg[12].loc.offset = (long)&mctx->gregs[REG_R12] - new_cfa;
- fs->regs.reg[13].how = REG_SAVED_OFFSET;
+ fs->regs.how[13] = REG_SAVED_OFFSET;
fs->regs.reg[13].loc.offset = (long)&mctx->gregs[REG_R13] - new_cfa;
- fs->regs.reg[14].how = REG_SAVED_OFFSET;
+ fs->regs.how[14] = REG_SAVED_OFFSET;
fs->regs.reg[14].loc.offset = (long)&mctx->gregs[REG_R14] - new_cfa;
- fs->regs.reg[15].how = REG_SAVED_OFFSET;
+ fs->regs.how[15] = REG_SAVED_OFFSET;
fs->regs.reg[15].loc.offset = (long)&mctx->gregs[REG_R15] - new_cfa;
- fs->regs.reg[16].how = REG_SAVED_OFFSET;
+ fs->regs.how[16] = REG_SAVED_OFFSET;
fs->regs.reg[16].loc.offset = (long)&mctx->gregs[REG_RIP] - new_cfa;
fs->retaddr_column = 16;
fs->signal_frame = 1;
@@ -180,21 +180,21 @@ x86_fallback_frame_state (struct _Unwind_Context *context,
fs->regs.cfa_offset = new_cfa - (long) context->cfa;
/* The SVR4 register numbering macros aren't usable in libgcc. */
- fs->regs.reg[0].how = REG_SAVED_OFFSET;
+ fs->regs.how[0] = REG_SAVED_OFFSET;
fs->regs.reg[0].loc.offset = (long)&mctx->gregs[EAX] - new_cfa;
- fs->regs.reg[3].how = REG_SAVED_OFFSET;
+ fs->regs.how[3] = REG_SAVED_OFFSET;
fs->regs.reg[3].loc.offset = (long)&mctx->gregs[EBX] - new_cfa;
- fs->regs.reg[1].how = REG_SAVED_OFFSET;
+ fs->regs.how[1] = REG_SAVED_OFFSET;
fs->regs.reg[1].loc.offset = (long)&mctx->gregs[ECX] - new_cfa;
- fs->regs.reg[2].how = REG_SAVED_OFFSET;
+ fs->regs.how[2] = REG_SAVED_OFFSET;
fs->regs.reg[2].loc.offset = (long)&mctx->gregs[EDX] - new_cfa;
- fs->regs.reg[6].how = REG_SAVED_OFFSET;
+ fs->regs.how[6] = REG_SAVED_OFFSET;
fs->regs.reg[6].loc.offset = (long)&mctx->gregs[ESI] - new_cfa;
- fs->regs.reg[7].how = REG_SAVED_OFFSET;
+ fs->regs.how[7] = REG_SAVED_OFFSET;
fs->regs.reg[7].loc.offset = (long)&mctx->gregs[EDI] - new_cfa;
- fs->regs.reg[5].how = REG_SAVED_OFFSET;
+ fs->regs.how[5] = REG_SAVED_OFFSET;
fs->regs.reg[5].loc.offset = (long)&mctx->gregs[EBP] - new_cfa;
- fs->regs.reg[8].how = REG_SAVED_OFFSET;
+ fs->regs.how[8] = REG_SAVED_OFFSET;
fs->regs.reg[8].loc.offset = (long)&mctx->gregs[EIP] - new_cfa;
fs->retaddr_column = 8;
diff --git a/libgcc/config/i386/t-gthr-win32 b/libgcc/config/i386/t-gthr-win32
index e7380d6..c2726e2 100644
--- a/libgcc/config/i386/t-gthr-win32
+++ b/libgcc/config/i386/t-gthr-win32
@@ -1,2 +1,6 @@
-# We hide calls to w32api needed for w32 thread support here:
-LIB2ADD = $(srcdir)/config/i386/gthr-win32.c
+# We need a unique module interfacing with the Win32 API for thread support.
+LIB2ADDEH += $(srcdir)/config/i386/gthr-win32-thread.c
+# We hide calls to the Win32 API needed for condition variable support here.
+LIB2ADD_ST += $(srcdir)/config/i386/gthr-win32-cond.c
+# We hide calls to the Win32 API needed for the rest here.
+LIB2ADD_ST += $(srcdir)/config/i386/gthr-win32.c
diff --git a/libgcc/config/i386/t-mingw-mcfgthread b/libgcc/config/i386/t-mingw-mcfgthread
new file mode 100644
index 0000000..c5b817f
--- /dev/null
+++ b/libgcc/config/i386/t-mingw-mcfgthread
@@ -0,0 +1 @@
+SHLIB_MCFGTHREAD_LIBS = -lmcfgthread -lkernel32 -lntdll
diff --git a/libgcc/config/i386/t-slibgcc-cygming b/libgcc/config/i386/t-slibgcc-cygming
index 6236c78..6871498 100644
--- a/libgcc/config/i386/t-slibgcc-cygming
+++ b/libgcc/config/i386/t-slibgcc-cygming
@@ -27,6 +27,9 @@ endif
ifndef SHLIB_PTHREAD_LDFLAG
SHLIB_PTHREAD_LDFLAG =
endif
+ifndef SHLIB_MCFGTHREAD_LIBS
+SHLIB_MCFGTHREAD_LIBS =
+endif
SHLIB_LINK = $(LN_S) -f $(SHLIB_MAP) $(SHLIB_MAP).def && \
if [ ! -d $(SHLIB_DIR) ]; then \
@@ -37,7 +40,8 @@ SHLIB_LINK = $(LN_S) -f $(SHLIB_MAP) $(SHLIB_MAP).def && \
$(SHLIB_MAP).def \
-Wl,--out-implib,$(SHLIB_DIR)/$(SHLIB_IMPLIB).tmp \
-o $(SHLIB_DIR)/$(SHLIB_SONAME).tmp @multilib_flags@ \
- $(SHLIB_OBJS) ${SHLIB_PTHREAD_LDFLAG} $(SHLIB_LC) && \
+ $(SHLIB_OBJS) ${SHLIB_PTHREAD_LDFLAG} $(SHLIB_LC) \
+ $(SHLIB_MCFGTHREAD_LIBS) && \
if [ -f $(SHLIB_DIR)/$(SHLIB_SONAME) ]; then \
mv -f $(SHLIB_DIR)/$(SHLIB_SONAME) \
$(SHLIB_DIR)/$(SHLIB_SONAME).backup; \
diff --git a/libgcc/config/i386/t-slibgcc-mingw b/libgcc/config/i386/t-slibgcc-mingw
new file mode 100644
index 0000000..f4ad0a8
--- /dev/null
+++ b/libgcc/config/i386/t-slibgcc-mingw
@@ -0,0 +1 @@
+SHLIB_MAPFILES += $(srcdir)/config/i386/libgcc-mingw.ver
diff --git a/libgcc/config/i386/t-softfp b/libgcc/config/i386/t-softfp
index fe2ad8a..69d0f81 100644
--- a/libgcc/config/i386/t-softfp
+++ b/libgcc/config/i386/t-softfp
@@ -6,8 +6,9 @@ LIB2FUNCS_EXCLUDE += $(libgcc2-hf-functions)
libgcc2-hf-extras = $(addsuffix .c, $(libgcc2-hf-functions))
LIB2ADD += $(addprefix $(srcdir)/config/i386/, $(libgcc2-hf-extras))
-softfp_extensions := hfsf hfdf hftf hfxf sfdf sftf dftf xftf
-softfp_truncations := tfhf xfhf dfhf sfhf tfsf dfsf tfdf tfxf
+softfp_extensions := hfsf hfdf hftf hfxf sfdf sftf dftf xftf bfsf
+softfp_truncations := tfhf xfhf dfhf sfhf tfsf dfsf tfdf tfxf \
+ tfbf xfbf dfbf sfbf hfbf
softfp_extras += eqhf2
@@ -15,11 +16,17 @@ CFLAGS-extendhfsf2.c += -msse2
CFLAGS-extendhfdf2.c += -msse2
CFLAGS-extendhftf2.c += -msse2
CFLAGS-extendhfxf2.c += -msse2
+CFLAGS-extendbfsf2.c += -msse2
CFLAGS-truncsfhf2.c += -msse2
CFLAGS-truncdfhf2.c += -msse2
CFLAGS-truncxfhf2.c += -msse2
CFLAGS-trunctfhf2.c += -msse2
+CFLAGS-truncsfbf2.c += -msse2
+CFLAGS-truncdfbf2.c += -msse2
+CFLAGS-truncxfbf2.c += -msse2
+CFLAGS-trunctfbf2.c += -msse2
+CFLAGS-trunchfbf2.c += -msse2
CFLAGS-eqhf2.c += -msse2
CFLAGS-_divhc3.c += -msse2
diff --git a/libgcc/config/i386/value-unwind.h b/libgcc/config/i386/value-unwind.h
index fad8080..4d949a0 100644
--- a/libgcc/config/i386/value-unwind.h
+++ b/libgcc/config/i386/value-unwind.h
@@ -1,5 +1,5 @@
/* Store register values as _Unwind_Word type in DWARF2 EH unwind context.
- Copyright (C) 2011-2022 Free Software Foundation, Inc.
+ Copyright (C) 2011-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/i386/w32-unwind.h b/libgcc/config/i386/w32-unwind.h
index 7c5980f..aad8a40 100644
--- a/libgcc/config/i386/w32-unwind.h
+++ b/libgcc/config/i386/w32-unwind.h
@@ -1,5 +1,5 @@
/* Definitions for Dwarf2 EH unwind support for Windows32 targets
- Copyright (C) 2007-2022 Free Software Foundation, Inc.
+ Copyright (C) 2007-2023 Free Software Foundation, Inc.
Contributed by Pascal Obry <obry@adacore.com>
This file is part of GCC.
@@ -153,21 +153,21 @@ i386_w32_fallback_frame_state (struct _Unwind_Context *context,
fs->regs.cfa_offset = new_cfa_ - (long) ctx_cfa_;
/* Restore registers. */
- fs->regs.reg[0].how = REG_SAVED_OFFSET;
+ fs->regs.how[0] = REG_SAVED_OFFSET;
fs->regs.reg[0].loc.offset = (long)&proc_ctx_->Eax - new_cfa_;
- fs->regs.reg[3].how = REG_SAVED_OFFSET;
+ fs->regs.how[3] = REG_SAVED_OFFSET;
fs->regs.reg[3].loc.offset = (long)&proc_ctx_->Ebx - new_cfa_;
- fs->regs.reg[1].how = REG_SAVED_OFFSET;
+ fs->regs.how[1] = REG_SAVED_OFFSET;
fs->regs.reg[1].loc.offset = (long)&proc_ctx_->Ecx - new_cfa_;
- fs->regs.reg[2].how = REG_SAVED_OFFSET;
+ fs->regs.how[2] = REG_SAVED_OFFSET;
fs->regs.reg[2].loc.offset = (long)&proc_ctx_->Edx - new_cfa_;
- fs->regs.reg[6].how = REG_SAVED_OFFSET;
+ fs->regs.how[6] = REG_SAVED_OFFSET;
fs->regs.reg[6].loc.offset = (long)&proc_ctx_->Esi - new_cfa_;
- fs->regs.reg[7].how = REG_SAVED_OFFSET;
+ fs->regs.how[7] = REG_SAVED_OFFSET;
fs->regs.reg[7].loc.offset = (long)&proc_ctx_->Edi - new_cfa_;
- fs->regs.reg[5].how = REG_SAVED_OFFSET;
+ fs->regs.how[5] = REG_SAVED_OFFSET;
fs->regs.reg[5].loc.offset = (long)&proc_ctx_->Ebp - new_cfa_;
- fs->regs.reg[8].how = REG_SAVED_OFFSET;
+ fs->regs.how[8] = REG_SAVED_OFFSET;
fs->regs.reg[8].loc.offset = (long)&proc_ctx_->Eip - new_cfa_;
fs->retaddr_column = 8;
fs->signal_frame = 1;
@@ -189,12 +189,12 @@ i386_w32_fallback_frame_state (struct _Unwind_Context *context,
fs->regs.cfa_offset = new_cfa_ - (long) ctx_cfa_;
/* The saved value of %ecx is at CFA - 4 */
- fs->regs.reg[1].how = REG_SAVED_OFFSET;
+ fs->regs.how[1] = REG_SAVED_OFFSET;
fs->regs.reg[1].loc.offset = -4;
/* and what is stored at the CFA is the return address. */
fs->retaddr_column = 8;
- fs->regs.reg[8].how = REG_SAVED_OFFSET;
+ fs->regs.how[8] = REG_SAVED_OFFSET;
fs->regs.reg[8].loc.offset = 0;
fs->signal_frame = 1;
diff --git a/libgcc/config/ia64/crtbegin.S b/libgcc/config/ia64/crtbegin.S
index c3b7afb..f17306c 100644
--- a/libgcc/config/ia64/crtbegin.S
+++ b/libgcc/config/ia64/crtbegin.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2000-2023 Free Software Foundation, Inc.
Contributed by Jes Sorensen, <Jes.Sorensen@cern.ch>
This file is part of GCC.
diff --git a/libgcc/config/ia64/crtend.S b/libgcc/config/ia64/crtend.S
index 4491bbe..1584319 100644
--- a/libgcc/config/ia64/crtend.S
+++ b/libgcc/config/ia64/crtend.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2000-2023 Free Software Foundation, Inc.
Contributed by Jes Sorensen, <Jes.Sorensen@cern.ch>
This file is part of GCC.
diff --git a/libgcc/config/ia64/crtfastmath.c b/libgcc/config/ia64/crtfastmath.c
index 39be702..cabdc64 100644
--- a/libgcc/config/ia64/crtfastmath.c
+++ b/libgcc/config/ia64/crtfastmath.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2001-2023 Free Software Foundation, Inc.
Contributed by David Mosberger <davidm@hpl.hp.com>.
This file is part of GCC.
diff --git a/libgcc/config/ia64/crti.S b/libgcc/config/ia64/crti.S
index f2a630a..c095426 100644
--- a/libgcc/config/ia64/crti.S
+++ b/libgcc/config/ia64/crti.S
@@ -1,4 +1,4 @@
-# Copyright (C) 2000-2022 Free Software Foundation, Inc.
+# Copyright (C) 2000-2023 Free Software Foundation, Inc.
# Written By Timothy Wall
#
# This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/ia64/crtn.S b/libgcc/config/ia64/crtn.S
index c8d2756..76a94f8 100644
--- a/libgcc/config/ia64/crtn.S
+++ b/libgcc/config/ia64/crtn.S
@@ -1,4 +1,4 @@
-# Copyright (C) 2000-2022 Free Software Foundation, Inc.
+# Copyright (C) 2000-2023 Free Software Foundation, Inc.
# Written By Timothy Wall
#
# This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/ia64/fde-glibc.c b/libgcc/config/ia64/fde-glibc.c
index bd74847..936ae05 100644
--- a/libgcc/config/ia64/fde-glibc.c
+++ b/libgcc/config/ia64/fde-glibc.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2000-2023 Free Software Foundation, Inc.
Contributed by Richard Henderson <rth@cygnus.com>.
This file is part of GCC.
diff --git a/libgcc/config/ia64/fde-vms.c b/libgcc/config/ia64/fde-vms.c
index 714c802..d7b5ea9 100644
--- a/libgcc/config/ia64/fde-vms.c
+++ b/libgcc/config/ia64/fde-vms.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2004-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2004-2023 Free Software Foundation, Inc.
Contributed by Douglas B Rupp <rupp@gnat.com>
This file is part of GCC.
diff --git a/libgcc/config/ia64/lib1funcs.S b/libgcc/config/ia64/lib1funcs.S
index 5aea76b..816c194 100644
--- a/libgcc/config/ia64/lib1funcs.S
+++ b/libgcc/config/ia64/lib1funcs.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2000-2023 Free Software Foundation, Inc.
Contributed by James E. Wilson <wilson@cygnus.com>.
This file is part of GCC.
diff --git a/libgcc/config/ia64/libgcc-glibc.ver b/libgcc/config/ia64/libgcc-glibc.ver
index a31dfd0..19a8afe 100644
--- a/libgcc/config/ia64/libgcc-glibc.ver
+++ b/libgcc/config/ia64/libgcc-glibc.ver
@@ -1,4 +1,4 @@
-# Copyright (C) 2009-2022 Free Software Foundation, Inc.
+# Copyright (C) 2009-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/config/ia64/libgcc-ia64.ver b/libgcc/config/ia64/libgcc-ia64.ver
index 4229412..0e9c2b7 100644
--- a/libgcc/config/ia64/libgcc-ia64.ver
+++ b/libgcc/config/ia64/libgcc-ia64.ver
@@ -1,4 +1,4 @@
-# Copyright (C) 2000-2022 Free Software Foundation, Inc.
+# Copyright (C) 2000-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/config/ia64/linux-unwind.h b/libgcc/config/ia64/linux-unwind.h
index 1bf9cce..f52297c 100644
--- a/libgcc/config/ia64/linux-unwind.h
+++ b/libgcc/config/ia64/linux-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for IA64 Linux.
- Copyright (C) 2004-2022 Free Software Foundation, Inc.
+ Copyright (C) 2004-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/ia64/quadlib.c b/libgcc/config/ia64/quadlib.c
index f4325b0..a2e4df6 100644
--- a/libgcc/config/ia64/quadlib.c
+++ b/libgcc/config/ia64/quadlib.c
@@ -1,5 +1,5 @@
/* Subroutines for long double support.
- Copyright (C) 2000-2022 Free Software Foundation, Inc.
+ Copyright (C) 2000-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/ia64/sfp-exceptions.c b/libgcc/config/ia64/sfp-exceptions.c
index 2854aa4..ed12ffd 100644
--- a/libgcc/config/ia64/sfp-exceptions.c
+++ b/libgcc/config/ia64/sfp-exceptions.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ * Copyright (C) 2012-2023 Free Software Foundation, Inc.
*
* This file is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/ia64/tf-signs.c b/libgcc/config/ia64/tf-signs.c
index 7f1938a..f318c20 100644
--- a/libgcc/config/ia64/tf-signs.c
+++ b/libgcc/config/ia64/tf-signs.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/ia64/unwind-ia64.c b/libgcc/config/ia64/unwind-ia64.c
index e62f6b4..35dc8a2 100644
--- a/libgcc/config/ia64/unwind-ia64.c
+++ b/libgcc/config/ia64/unwind-ia64.c
@@ -1,6 +1,6 @@
/* Subroutines needed for unwinding IA-64 standard format stack frame
info for exception handling.
- Copyright (C) 1997-2022 Free Software Foundation, Inc.
+ Copyright (C) 1997-2023 Free Software Foundation, Inc.
Contributed by Andrew MacLeod <amacleod@cygnus.com>
Andrew Haley <aph@cygnus.com>
David Mosberger-Tang <davidm@hpl.hp.com>
diff --git a/libgcc/config/ia64/unwind-ia64.h b/libgcc/config/ia64/unwind-ia64.h
index eb517fb..ca8403f 100644
--- a/libgcc/config/ia64/unwind-ia64.h
+++ b/libgcc/config/ia64/unwind-ia64.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1999-2023 Free Software Foundation, Inc.
Contributed by Andrew MacLeod <amacleod@cygnus.com>
Andrew Haley <aph@cygnus.com>
diff --git a/libgcc/config/ia64/vms-crtinit.S b/libgcc/config/ia64/vms-crtinit.S
index 5e644ef..579b5cd 100644
--- a/libgcc/config/ia64/vms-crtinit.S
+++ b/libgcc/config/ia64/vms-crtinit.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2009-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2009-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/ia64/vms-unwind.h b/libgcc/config/ia64/vms-unwind.h
index 294bb1a..dd5d2d6 100644
--- a/libgcc/config/ia64/vms-unwind.h
+++ b/libgcc/config/ia64/vms-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for IA64 VMS.
- Copyright (C) 2005-2022 Free Software Foundation, Inc.
+ Copyright (C) 2005-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/iq2000/lib2funcs.c b/libgcc/config/iq2000/lib2funcs.c
index 54844d3..1e2b3c3 100644
--- a/libgcc/config/iq2000/lib2funcs.c
+++ b/libgcc/config/iq2000/lib2funcs.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2003-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/ChangeLog b/libgcc/config/libbid/ChangeLog
index d3cec76..05480dd 100644
--- a/libgcc/config/libbid/ChangeLog
+++ b/libgcc/config/libbid/ChangeLog
@@ -462,7 +462,7 @@
* inline_bid_add.h: Likewise.
* sqrt_macros.h: Likewise.
-Copyright (C) 2007-2022 Free Software Foundation, Inc.
+Copyright (C) 2007-2023 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
diff --git a/libgcc/config/libbid/_addsub_dd.c b/libgcc/config/libbid/_addsub_dd.c
index 9ee9de6..33614f5 100644
--- a/libgcc/config/libbid/_addsub_dd.c
+++ b/libgcc/config/libbid/_addsub_dd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_addsub_sd.c b/libgcc/config/libbid/_addsub_sd.c
index 30dd7de..fd65078 100644
--- a/libgcc/config/libbid/_addsub_sd.c
+++ b/libgcc/config/libbid/_addsub_sd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_addsub_td.c b/libgcc/config/libbid/_addsub_td.c
index b231a09..41d91d6 100644
--- a/libgcc/config/libbid/_addsub_td.c
+++ b/libgcc/config/libbid/_addsub_td.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_dd_to_df.c b/libgcc/config/libbid/_dd_to_df.c
index ebfee7b..8474477 100644
--- a/libgcc/config/libbid/_dd_to_df.c
+++ b/libgcc/config/libbid/_dd_to_df.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_dd_to_di.c b/libgcc/config/libbid/_dd_to_di.c
index e8306f9..6f06ec4 100644
--- a/libgcc/config/libbid/_dd_to_di.c
+++ b/libgcc/config/libbid/_dd_to_di.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_dd_to_hf.c b/libgcc/config/libbid/_dd_to_hf.c
index 5e58288..5e41f22 100644
--- a/libgcc/config/libbid/_dd_to_hf.c
+++ b/libgcc/config/libbid/_dd_to_hf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2022 Free Software Foundation, Inc.
+/* Copyright (C) 2022-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_dd_to_sd.c b/libgcc/config/libbid/_dd_to_sd.c
index 900b0bf..a0631e9 100644
--- a/libgcc/config/libbid/_dd_to_sd.c
+++ b/libgcc/config/libbid/_dd_to_sd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_dd_to_sf.c b/libgcc/config/libbid/_dd_to_sf.c
index 6235986..ca3e3a0 100644
--- a/libgcc/config/libbid/_dd_to_sf.c
+++ b/libgcc/config/libbid/_dd_to_sf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_dd_to_si.c b/libgcc/config/libbid/_dd_to_si.c
index 669c36a..3e52e73 100644
--- a/libgcc/config/libbid/_dd_to_si.c
+++ b/libgcc/config/libbid/_dd_to_si.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_dd_to_td.c b/libgcc/config/libbid/_dd_to_td.c
index 1bb9cdc..7d81617 100644
--- a/libgcc/config/libbid/_dd_to_td.c
+++ b/libgcc/config/libbid/_dd_to_td.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_dd_to_tf.c b/libgcc/config/libbid/_dd_to_tf.c
index 2ae21a7..7c1d2cb 100644
--- a/libgcc/config/libbid/_dd_to_tf.c
+++ b/libgcc/config/libbid/_dd_to_tf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_dd_to_udi.c b/libgcc/config/libbid/_dd_to_udi.c
index 4c8dd86..51a606d 100644
--- a/libgcc/config/libbid/_dd_to_udi.c
+++ b/libgcc/config/libbid/_dd_to_udi.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_dd_to_usi.c b/libgcc/config/libbid/_dd_to_usi.c
index 75e2e78..f5f1b07 100644
--- a/libgcc/config/libbid/_dd_to_usi.c
+++ b/libgcc/config/libbid/_dd_to_usi.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_dd_to_xf.c b/libgcc/config/libbid/_dd_to_xf.c
index e4b12e8..da7e7f1 100644
--- a/libgcc/config/libbid/_dd_to_xf.c
+++ b/libgcc/config/libbid/_dd_to_xf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_df_to_dd.c b/libgcc/config/libbid/_df_to_dd.c
index bce857b..9fbaeff 100644
--- a/libgcc/config/libbid/_df_to_dd.c
+++ b/libgcc/config/libbid/_df_to_dd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_df_to_sd.c b/libgcc/config/libbid/_df_to_sd.c
index c7aaefb..36fac66 100644
--- a/libgcc/config/libbid/_df_to_sd.c
+++ b/libgcc/config/libbid/_df_to_sd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_df_to_td.c b/libgcc/config/libbid/_df_to_td.c
index 62404a4..172943d 100644
--- a/libgcc/config/libbid/_df_to_td.c
+++ b/libgcc/config/libbid/_df_to_td.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_di_to_dd.c b/libgcc/config/libbid/_di_to_dd.c
index 5a2752e..518c5a6 100644
--- a/libgcc/config/libbid/_di_to_dd.c
+++ b/libgcc/config/libbid/_di_to_dd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_di_to_sd.c b/libgcc/config/libbid/_di_to_sd.c
index 41fb80e..b08daf2 100644
--- a/libgcc/config/libbid/_di_to_sd.c
+++ b/libgcc/config/libbid/_di_to_sd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_di_to_td.c b/libgcc/config/libbid/_di_to_td.c
index ce3b1c9..e03e341 100644
--- a/libgcc/config/libbid/_di_to_td.c
+++ b/libgcc/config/libbid/_di_to_td.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_div_dd.c b/libgcc/config/libbid/_div_dd.c
index ebb325e..d0e452b 100644
--- a/libgcc/config/libbid/_div_dd.c
+++ b/libgcc/config/libbid/_div_dd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_div_sd.c b/libgcc/config/libbid/_div_sd.c
index 0472fb3..2af0f01 100644
--- a/libgcc/config/libbid/_div_sd.c
+++ b/libgcc/config/libbid/_div_sd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_div_td.c b/libgcc/config/libbid/_div_td.c
index 65124d0..5b5fde1 100644
--- a/libgcc/config/libbid/_div_td.c
+++ b/libgcc/config/libbid/_div_td.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_eq_dd.c b/libgcc/config/libbid/_eq_dd.c
index 1b0f5a2..ff1f30c 100644
--- a/libgcc/config/libbid/_eq_dd.c
+++ b/libgcc/config/libbid/_eq_dd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_eq_sd.c b/libgcc/config/libbid/_eq_sd.c
index f6ed7db..dafd647 100644
--- a/libgcc/config/libbid/_eq_sd.c
+++ b/libgcc/config/libbid/_eq_sd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_eq_td.c b/libgcc/config/libbid/_eq_td.c
index fe4e7cc..bd599e8 100644
--- a/libgcc/config/libbid/_eq_td.c
+++ b/libgcc/config/libbid/_eq_td.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_ge_dd.c b/libgcc/config/libbid/_ge_dd.c
index 3d9ed20..3b95703 100644
--- a/libgcc/config/libbid/_ge_dd.c
+++ b/libgcc/config/libbid/_ge_dd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_ge_sd.c b/libgcc/config/libbid/_ge_sd.c
index 75baa2c..67f50b4 100644
--- a/libgcc/config/libbid/_ge_sd.c
+++ b/libgcc/config/libbid/_ge_sd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_ge_td.c b/libgcc/config/libbid/_ge_td.c
index f45b2a0..e17471a 100644
--- a/libgcc/config/libbid/_ge_td.c
+++ b/libgcc/config/libbid/_ge_td.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_gt_dd.c b/libgcc/config/libbid/_gt_dd.c
index 4034a7d..c89bbda 100644
--- a/libgcc/config/libbid/_gt_dd.c
+++ b/libgcc/config/libbid/_gt_dd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_gt_sd.c b/libgcc/config/libbid/_gt_sd.c
index 1117f6e..25c8152 100644
--- a/libgcc/config/libbid/_gt_sd.c
+++ b/libgcc/config/libbid/_gt_sd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_gt_td.c b/libgcc/config/libbid/_gt_td.c
index a66b863..30a79b0 100644
--- a/libgcc/config/libbid/_gt_td.c
+++ b/libgcc/config/libbid/_gt_td.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_hf_to_dd.c b/libgcc/config/libbid/_hf_to_dd.c
index f85100e..43b861c 100644
--- a/libgcc/config/libbid/_hf_to_dd.c
+++ b/libgcc/config/libbid/_hf_to_dd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2022 Free Software Foundation, Inc.
+/* Copyright (C) 2022-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_hf_to_sd.c b/libgcc/config/libbid/_hf_to_sd.c
index 285b80c..330b1a4 100644
--- a/libgcc/config/libbid/_hf_to_sd.c
+++ b/libgcc/config/libbid/_hf_to_sd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2022 Free Software Foundation, Inc.
+/* Copyright (C) 2022-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_hf_to_td.c b/libgcc/config/libbid/_hf_to_td.c
index 99b661e..2ed1851 100644
--- a/libgcc/config/libbid/_hf_to_td.c
+++ b/libgcc/config/libbid/_hf_to_td.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2022 Free Software Foundation, Inc.
+/* Copyright (C) 2022-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_isinfd128.c b/libgcc/config/libbid/_isinfd128.c
index 4969ee3..9ad3d3e 100644
--- a/libgcc/config/libbid/_isinfd128.c
+++ b/libgcc/config/libbid/_isinfd128.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_isinfd32.c b/libgcc/config/libbid/_isinfd32.c
index 63e6720..c48f87d 100644
--- a/libgcc/config/libbid/_isinfd32.c
+++ b/libgcc/config/libbid/_isinfd32.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_isinfd64.c b/libgcc/config/libbid/_isinfd64.c
index 18f70c8..fb56c88 100644
--- a/libgcc/config/libbid/_isinfd64.c
+++ b/libgcc/config/libbid/_isinfd64.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_le_dd.c b/libgcc/config/libbid/_le_dd.c
index 458c702..4303759 100644
--- a/libgcc/config/libbid/_le_dd.c
+++ b/libgcc/config/libbid/_le_dd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_le_sd.c b/libgcc/config/libbid/_le_sd.c
index 11b7ac1..82faf55 100644
--- a/libgcc/config/libbid/_le_sd.c
+++ b/libgcc/config/libbid/_le_sd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_le_td.c b/libgcc/config/libbid/_le_td.c
index fe3f3ea..7b278e7 100644
--- a/libgcc/config/libbid/_le_td.c
+++ b/libgcc/config/libbid/_le_td.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_lt_dd.c b/libgcc/config/libbid/_lt_dd.c
index 606b812..cabae9b 100644
--- a/libgcc/config/libbid/_lt_dd.c
+++ b/libgcc/config/libbid/_lt_dd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_lt_sd.c b/libgcc/config/libbid/_lt_sd.c
index ad5554c..7bf8021 100644
--- a/libgcc/config/libbid/_lt_sd.c
+++ b/libgcc/config/libbid/_lt_sd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_lt_td.c b/libgcc/config/libbid/_lt_td.c
index 1ae7db7..361d79d 100644
--- a/libgcc/config/libbid/_lt_td.c
+++ b/libgcc/config/libbid/_lt_td.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_mul_dd.c b/libgcc/config/libbid/_mul_dd.c
index 61fa884..9100558 100644
--- a/libgcc/config/libbid/_mul_dd.c
+++ b/libgcc/config/libbid/_mul_dd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_mul_sd.c b/libgcc/config/libbid/_mul_sd.c
index 89d55f8..00da5fa 100644
--- a/libgcc/config/libbid/_mul_sd.c
+++ b/libgcc/config/libbid/_mul_sd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_mul_td.c b/libgcc/config/libbid/_mul_td.c
index 211b50f..6bac5a9 100644
--- a/libgcc/config/libbid/_mul_td.c
+++ b/libgcc/config/libbid/_mul_td.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_ne_dd.c b/libgcc/config/libbid/_ne_dd.c
index 7b507e0..0b9b9a1 100644
--- a/libgcc/config/libbid/_ne_dd.c
+++ b/libgcc/config/libbid/_ne_dd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_ne_sd.c b/libgcc/config/libbid/_ne_sd.c
index 8570252..447cdd1 100644
--- a/libgcc/config/libbid/_ne_sd.c
+++ b/libgcc/config/libbid/_ne_sd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_ne_td.c b/libgcc/config/libbid/_ne_td.c
index fbeafd6..39282ad 100644
--- a/libgcc/config/libbid/_ne_td.c
+++ b/libgcc/config/libbid/_ne_td.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_sd_to_dd.c b/libgcc/config/libbid/_sd_to_dd.c
index d59dda1..dcdd202 100644
--- a/libgcc/config/libbid/_sd_to_dd.c
+++ b/libgcc/config/libbid/_sd_to_dd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_sd_to_df.c b/libgcc/config/libbid/_sd_to_df.c
index 14ca491..ec1cf28 100644
--- a/libgcc/config/libbid/_sd_to_df.c
+++ b/libgcc/config/libbid/_sd_to_df.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_sd_to_di.c b/libgcc/config/libbid/_sd_to_di.c
index 8b01828..07e1126 100644
--- a/libgcc/config/libbid/_sd_to_di.c
+++ b/libgcc/config/libbid/_sd_to_di.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_sd_to_hf.c b/libgcc/config/libbid/_sd_to_hf.c
index e4e3125..b7f7324 100644
--- a/libgcc/config/libbid/_sd_to_hf.c
+++ b/libgcc/config/libbid/_sd_to_hf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2022 Free Software Foundation, Inc.
+/* Copyright (C) 2022-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_sd_to_sf.c b/libgcc/config/libbid/_sd_to_sf.c
index 435d6ee..e102078 100644
--- a/libgcc/config/libbid/_sd_to_sf.c
+++ b/libgcc/config/libbid/_sd_to_sf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_sd_to_si.c b/libgcc/config/libbid/_sd_to_si.c
index 6c2929f..7526e00 100644
--- a/libgcc/config/libbid/_sd_to_si.c
+++ b/libgcc/config/libbid/_sd_to_si.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_sd_to_td.c b/libgcc/config/libbid/_sd_to_td.c
index f365b44..109e52f 100644
--- a/libgcc/config/libbid/_sd_to_td.c
+++ b/libgcc/config/libbid/_sd_to_td.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_sd_to_tf.c b/libgcc/config/libbid/_sd_to_tf.c
index 4ac14d0..b434edf 100644
--- a/libgcc/config/libbid/_sd_to_tf.c
+++ b/libgcc/config/libbid/_sd_to_tf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_sd_to_udi.c b/libgcc/config/libbid/_sd_to_udi.c
index 6f9ba41..8f723ee 100644
--- a/libgcc/config/libbid/_sd_to_udi.c
+++ b/libgcc/config/libbid/_sd_to_udi.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_sd_to_usi.c b/libgcc/config/libbid/_sd_to_usi.c
index cc90b09..d6b553f 100644
--- a/libgcc/config/libbid/_sd_to_usi.c
+++ b/libgcc/config/libbid/_sd_to_usi.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_sd_to_xf.c b/libgcc/config/libbid/_sd_to_xf.c
index 288ccb2..6da75b6 100644
--- a/libgcc/config/libbid/_sd_to_xf.c
+++ b/libgcc/config/libbid/_sd_to_xf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_sf_to_dd.c b/libgcc/config/libbid/_sf_to_dd.c
index 9da697c..dff03e3 100644
--- a/libgcc/config/libbid/_sf_to_dd.c
+++ b/libgcc/config/libbid/_sf_to_dd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_sf_to_sd.c b/libgcc/config/libbid/_sf_to_sd.c
index 440bc31..57503f9 100644
--- a/libgcc/config/libbid/_sf_to_sd.c
+++ b/libgcc/config/libbid/_sf_to_sd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_sf_to_td.c b/libgcc/config/libbid/_sf_to_td.c
index df5953d..a5e711f 100644
--- a/libgcc/config/libbid/_sf_to_td.c
+++ b/libgcc/config/libbid/_sf_to_td.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_si_to_dd.c b/libgcc/config/libbid/_si_to_dd.c
index 1f38994..9f8052c 100644
--- a/libgcc/config/libbid/_si_to_dd.c
+++ b/libgcc/config/libbid/_si_to_dd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_si_to_sd.c b/libgcc/config/libbid/_si_to_sd.c
index 61d1562..45aee9b 100644
--- a/libgcc/config/libbid/_si_to_sd.c
+++ b/libgcc/config/libbid/_si_to_sd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_si_to_td.c b/libgcc/config/libbid/_si_to_td.c
index d9e4b54..d979e9a 100644
--- a/libgcc/config/libbid/_si_to_td.c
+++ b/libgcc/config/libbid/_si_to_td.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_td_to_dd.c b/libgcc/config/libbid/_td_to_dd.c
index edde0b1..26befec 100644
--- a/libgcc/config/libbid/_td_to_dd.c
+++ b/libgcc/config/libbid/_td_to_dd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_td_to_df.c b/libgcc/config/libbid/_td_to_df.c
index 3c657f5..602355b 100644
--- a/libgcc/config/libbid/_td_to_df.c
+++ b/libgcc/config/libbid/_td_to_df.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_td_to_di.c b/libgcc/config/libbid/_td_to_di.c
index d65944d..9babe6b 100644
--- a/libgcc/config/libbid/_td_to_di.c
+++ b/libgcc/config/libbid/_td_to_di.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_td_to_hf.c b/libgcc/config/libbid/_td_to_hf.c
index c4ebe58..ee51a6b 100644
--- a/libgcc/config/libbid/_td_to_hf.c
+++ b/libgcc/config/libbid/_td_to_hf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2022 Free Software Foundation, Inc.
+/* Copyright (C) 2022-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_td_to_sd.c b/libgcc/config/libbid/_td_to_sd.c
index 73783cb..e4494f9 100644
--- a/libgcc/config/libbid/_td_to_sd.c
+++ b/libgcc/config/libbid/_td_to_sd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_td_to_sf.c b/libgcc/config/libbid/_td_to_sf.c
index 8967ce2..faac729 100644
--- a/libgcc/config/libbid/_td_to_sf.c
+++ b/libgcc/config/libbid/_td_to_sf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_td_to_si.c b/libgcc/config/libbid/_td_to_si.c
index ebf9ff8..87f0866 100644
--- a/libgcc/config/libbid/_td_to_si.c
+++ b/libgcc/config/libbid/_td_to_si.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_td_to_tf.c b/libgcc/config/libbid/_td_to_tf.c
index 09fff3b..94ee9c2 100644
--- a/libgcc/config/libbid/_td_to_tf.c
+++ b/libgcc/config/libbid/_td_to_tf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_td_to_udi.c b/libgcc/config/libbid/_td_to_udi.c
index 6d75f52..c37f752 100644
--- a/libgcc/config/libbid/_td_to_udi.c
+++ b/libgcc/config/libbid/_td_to_udi.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_td_to_usi.c b/libgcc/config/libbid/_td_to_usi.c
index 140d65d..f19707c 100644
--- a/libgcc/config/libbid/_td_to_usi.c
+++ b/libgcc/config/libbid/_td_to_usi.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_td_to_xf.c b/libgcc/config/libbid/_td_to_xf.c
index e990282..38502ac 100644
--- a/libgcc/config/libbid/_td_to_xf.c
+++ b/libgcc/config/libbid/_td_to_xf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_tf_to_dd.c b/libgcc/config/libbid/_tf_to_dd.c
index 8cd575f..60e8e07 100644
--- a/libgcc/config/libbid/_tf_to_dd.c
+++ b/libgcc/config/libbid/_tf_to_dd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_tf_to_sd.c b/libgcc/config/libbid/_tf_to_sd.c
index 10dac42..7d429bb 100644
--- a/libgcc/config/libbid/_tf_to_sd.c
+++ b/libgcc/config/libbid/_tf_to_sd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_tf_to_td.c b/libgcc/config/libbid/_tf_to_td.c
index 8c92290..1977038 100644
--- a/libgcc/config/libbid/_tf_to_td.c
+++ b/libgcc/config/libbid/_tf_to_td.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_udi_to_dd.c b/libgcc/config/libbid/_udi_to_dd.c
index 02b53ad..65000eb 100644
--- a/libgcc/config/libbid/_udi_to_dd.c
+++ b/libgcc/config/libbid/_udi_to_dd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_udi_to_sd.c b/libgcc/config/libbid/_udi_to_sd.c
index 2e145c4..04cde69 100644
--- a/libgcc/config/libbid/_udi_to_sd.c
+++ b/libgcc/config/libbid/_udi_to_sd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_udi_to_td.c b/libgcc/config/libbid/_udi_to_td.c
index f241f82..8bb58e7 100644
--- a/libgcc/config/libbid/_udi_to_td.c
+++ b/libgcc/config/libbid/_udi_to_td.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_unord_dd.c b/libgcc/config/libbid/_unord_dd.c
index fd3e888..bafe774 100644
--- a/libgcc/config/libbid/_unord_dd.c
+++ b/libgcc/config/libbid/_unord_dd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_unord_sd.c b/libgcc/config/libbid/_unord_sd.c
index 66ee88eb..75a1015 100644
--- a/libgcc/config/libbid/_unord_sd.c
+++ b/libgcc/config/libbid/_unord_sd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_unord_td.c b/libgcc/config/libbid/_unord_td.c
index 6f0efef..e5053c8 100644
--- a/libgcc/config/libbid/_unord_td.c
+++ b/libgcc/config/libbid/_unord_td.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_usi_to_dd.c b/libgcc/config/libbid/_usi_to_dd.c
index ccb73ba..501cd1c 100644
--- a/libgcc/config/libbid/_usi_to_dd.c
+++ b/libgcc/config/libbid/_usi_to_dd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_usi_to_sd.c b/libgcc/config/libbid/_usi_to_sd.c
index 135543c..dcb2600 100644
--- a/libgcc/config/libbid/_usi_to_sd.c
+++ b/libgcc/config/libbid/_usi_to_sd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_usi_to_td.c b/libgcc/config/libbid/_usi_to_td.c
index 02edbce..972bd0b 100644
--- a/libgcc/config/libbid/_usi_to_td.c
+++ b/libgcc/config/libbid/_usi_to_td.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_xf_to_dd.c b/libgcc/config/libbid/_xf_to_dd.c
index e3246a1..3cec947 100644
--- a/libgcc/config/libbid/_xf_to_dd.c
+++ b/libgcc/config/libbid/_xf_to_dd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_xf_to_sd.c b/libgcc/config/libbid/_xf_to_sd.c
index 9147e97..6f401c4 100644
--- a/libgcc/config/libbid/_xf_to_sd.c
+++ b/libgcc/config/libbid/_xf_to_sd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/_xf_to_td.c b/libgcc/config/libbid/_xf_to_td.c
index c8d102b..0b7343c 100644
--- a/libgcc/config/libbid/_xf_to_td.c
+++ b/libgcc/config/libbid/_xf_to_td.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid128.c b/libgcc/config/libbid/bid128.c
index da57fa0..c9c1147 100644
--- a/libgcc/config/libbid/bid128.c
+++ b/libgcc/config/libbid/bid128.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid128_2_str.h b/libgcc/config/libbid/bid128_2_str.h
index d91b1de..f0d711b 100644
--- a/libgcc/config/libbid/bid128_2_str.h
+++ b/libgcc/config/libbid/bid128_2_str.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid128_2_str_macros.h b/libgcc/config/libbid/bid128_2_str_macros.h
index 9c597e2..a1424fd 100644
--- a/libgcc/config/libbid/bid128_2_str_macros.h
+++ b/libgcc/config/libbid/bid128_2_str_macros.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid128_2_str_tables.c b/libgcc/config/libbid/bid128_2_str_tables.c
index d153725..0a74a5f 100644
--- a/libgcc/config/libbid/bid128_2_str_tables.c
+++ b/libgcc/config/libbid/bid128_2_str_tables.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid128_add.c b/libgcc/config/libbid/bid128_add.c
index 986ef53..01f0d4d 100644
--- a/libgcc/config/libbid/bid128_add.c
+++ b/libgcc/config/libbid/bid128_add.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid128_compare.c b/libgcc/config/libbid/bid128_compare.c
index 32f6058..785dafb 100644
--- a/libgcc/config/libbid/bid128_compare.c
+++ b/libgcc/config/libbid/bid128_compare.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid128_div.c b/libgcc/config/libbid/bid128_div.c
index 1b7a34f..b5481f5 100644
--- a/libgcc/config/libbid/bid128_div.c
+++ b/libgcc/config/libbid/bid128_div.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid128_fma.c b/libgcc/config/libbid/bid128_fma.c
index 5804115..f660c42 100644
--- a/libgcc/config/libbid/bid128_fma.c
+++ b/libgcc/config/libbid/bid128_fma.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid128_logb.c b/libgcc/config/libbid/bid128_logb.c
index 537f3b1..60fdcf9 100644
--- a/libgcc/config/libbid/bid128_logb.c
+++ b/libgcc/config/libbid/bid128_logb.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid128_minmax.c b/libgcc/config/libbid/bid128_minmax.c
index 7015c38..74de674 100644
--- a/libgcc/config/libbid/bid128_minmax.c
+++ b/libgcc/config/libbid/bid128_minmax.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid128_mul.c b/libgcc/config/libbid/bid128_mul.c
index e9cfd9d..13ce6f6 100644
--- a/libgcc/config/libbid/bid128_mul.c
+++ b/libgcc/config/libbid/bid128_mul.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid128_next.c b/libgcc/config/libbid/bid128_next.c
index ae0f58c..ab84a54 100644
--- a/libgcc/config/libbid/bid128_next.c
+++ b/libgcc/config/libbid/bid128_next.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid128_noncomp.c b/libgcc/config/libbid/bid128_noncomp.c
index ec4973d..603f5ef 100644
--- a/libgcc/config/libbid/bid128_noncomp.c
+++ b/libgcc/config/libbid/bid128_noncomp.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid128_quantize.c b/libgcc/config/libbid/bid128_quantize.c
index f65e20a..fb51734 100644
--- a/libgcc/config/libbid/bid128_quantize.c
+++ b/libgcc/config/libbid/bid128_quantize.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid128_rem.c b/libgcc/config/libbid/bid128_rem.c
index a17fd5f..67c1d23 100644
--- a/libgcc/config/libbid/bid128_rem.c
+++ b/libgcc/config/libbid/bid128_rem.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid128_round_integral.c b/libgcc/config/libbid/bid128_round_integral.c
index eb9bd0e..de55b5f 100644
--- a/libgcc/config/libbid/bid128_round_integral.c
+++ b/libgcc/config/libbid/bid128_round_integral.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid128_scalb.c b/libgcc/config/libbid/bid128_scalb.c
index 6264290..5669e32 100644
--- a/libgcc/config/libbid/bid128_scalb.c
+++ b/libgcc/config/libbid/bid128_scalb.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid128_sqrt.c b/libgcc/config/libbid/bid128_sqrt.c
index a95c1b7..07d3601 100644
--- a/libgcc/config/libbid/bid128_sqrt.c
+++ b/libgcc/config/libbid/bid128_sqrt.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid128_string.c b/libgcc/config/libbid/bid128_string.c
index bc7a8a1..0955874 100644
--- a/libgcc/config/libbid/bid128_string.c
+++ b/libgcc/config/libbid/bid128_string.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid128_to_int16.c b/libgcc/config/libbid/bid128_to_int16.c
index 8617779..c9f572d 100644
--- a/libgcc/config/libbid/bid128_to_int16.c
+++ b/libgcc/config/libbid/bid128_to_int16.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid128_to_int32.c b/libgcc/config/libbid/bid128_to_int32.c
index de11affa..43e07d1 100644
--- a/libgcc/config/libbid/bid128_to_int32.c
+++ b/libgcc/config/libbid/bid128_to_int32.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid128_to_int64.c b/libgcc/config/libbid/bid128_to_int64.c
index 6539798..b30f932 100644
--- a/libgcc/config/libbid/bid128_to_int64.c
+++ b/libgcc/config/libbid/bid128_to_int64.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid128_to_int8.c b/libgcc/config/libbid/bid128_to_int8.c
index 68999ef..b87ef7e 100644
--- a/libgcc/config/libbid/bid128_to_int8.c
+++ b/libgcc/config/libbid/bid128_to_int8.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid128_to_uint16.c b/libgcc/config/libbid/bid128_to_uint16.c
index 772ba41..81de93d 100644
--- a/libgcc/config/libbid/bid128_to_uint16.c
+++ b/libgcc/config/libbid/bid128_to_uint16.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid128_to_uint32.c b/libgcc/config/libbid/bid128_to_uint32.c
index b36d395..ac0bbc8 100644
--- a/libgcc/config/libbid/bid128_to_uint32.c
+++ b/libgcc/config/libbid/bid128_to_uint32.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid128_to_uint64.c b/libgcc/config/libbid/bid128_to_uint64.c
index 1ef5253..d9f0839 100644
--- a/libgcc/config/libbid/bid128_to_uint64.c
+++ b/libgcc/config/libbid/bid128_to_uint64.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid128_to_uint8.c b/libgcc/config/libbid/bid128_to_uint8.c
index 908d791..60ef769 100644
--- a/libgcc/config/libbid/bid128_to_uint8.c
+++ b/libgcc/config/libbid/bid128_to_uint8.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid32_to_bid128.c b/libgcc/config/libbid/bid32_to_bid128.c
index 0c87633..f1c406a 100644
--- a/libgcc/config/libbid/bid32_to_bid128.c
+++ b/libgcc/config/libbid/bid32_to_bid128.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid32_to_bid64.c b/libgcc/config/libbid/bid32_to_bid64.c
index eff4014..8a7c4b1 100644
--- a/libgcc/config/libbid/bid32_to_bid64.c
+++ b/libgcc/config/libbid/bid32_to_bid64.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid64_add.c b/libgcc/config/libbid/bid64_add.c
index 27cc20e..2a4409d 100644
--- a/libgcc/config/libbid/bid64_add.c
+++ b/libgcc/config/libbid/bid64_add.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid64_compare.c b/libgcc/config/libbid/bid64_compare.c
index 24e813e..c5da7d7 100644
--- a/libgcc/config/libbid/bid64_compare.c
+++ b/libgcc/config/libbid/bid64_compare.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid64_div.c b/libgcc/config/libbid/bid64_div.c
index 7e3bddc..ac6647e 100644
--- a/libgcc/config/libbid/bid64_div.c
+++ b/libgcc/config/libbid/bid64_div.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid64_fma.c b/libgcc/config/libbid/bid64_fma.c
index 5de9417..092c639 100644
--- a/libgcc/config/libbid/bid64_fma.c
+++ b/libgcc/config/libbid/bid64_fma.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid64_logb.c b/libgcc/config/libbid/bid64_logb.c
index 6fc474a..9fbfeea 100644
--- a/libgcc/config/libbid/bid64_logb.c
+++ b/libgcc/config/libbid/bid64_logb.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid64_minmax.c b/libgcc/config/libbid/bid64_minmax.c
index eb16912..f1b4b25 100644
--- a/libgcc/config/libbid/bid64_minmax.c
+++ b/libgcc/config/libbid/bid64_minmax.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid64_mul.c b/libgcc/config/libbid/bid64_mul.c
index 2c0c850..b6d54623 100644
--- a/libgcc/config/libbid/bid64_mul.c
+++ b/libgcc/config/libbid/bid64_mul.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid64_next.c b/libgcc/config/libbid/bid64_next.c
index 9bae9ad..00a1c81 100644
--- a/libgcc/config/libbid/bid64_next.c
+++ b/libgcc/config/libbid/bid64_next.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid64_noncomp.c b/libgcc/config/libbid/bid64_noncomp.c
index 35d053f..b325f18 100644
--- a/libgcc/config/libbid/bid64_noncomp.c
+++ b/libgcc/config/libbid/bid64_noncomp.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid64_quantize.c b/libgcc/config/libbid/bid64_quantize.c
index 3588ff7..aafe8d5 100644
--- a/libgcc/config/libbid/bid64_quantize.c
+++ b/libgcc/config/libbid/bid64_quantize.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid64_rem.c b/libgcc/config/libbid/bid64_rem.c
index 346cd6d..90cd938 100644
--- a/libgcc/config/libbid/bid64_rem.c
+++ b/libgcc/config/libbid/bid64_rem.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid64_round_integral.c b/libgcc/config/libbid/bid64_round_integral.c
index 7734f44..86fff4a 100644
--- a/libgcc/config/libbid/bid64_round_integral.c
+++ b/libgcc/config/libbid/bid64_round_integral.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid64_scalb.c b/libgcc/config/libbid/bid64_scalb.c
index 7062a53..b83678d 100644
--- a/libgcc/config/libbid/bid64_scalb.c
+++ b/libgcc/config/libbid/bid64_scalb.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid64_sqrt.c b/libgcc/config/libbid/bid64_sqrt.c
index ace16a7..2bca8d7 100644
--- a/libgcc/config/libbid/bid64_sqrt.c
+++ b/libgcc/config/libbid/bid64_sqrt.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid64_string.c b/libgcc/config/libbid/bid64_string.c
index eb78eb2..863b53d 100644
--- a/libgcc/config/libbid/bid64_string.c
+++ b/libgcc/config/libbid/bid64_string.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid64_to_bid128.c b/libgcc/config/libbid/bid64_to_bid128.c
index b3da756..465c3a8 100644
--- a/libgcc/config/libbid/bid64_to_bid128.c
+++ b/libgcc/config/libbid/bid64_to_bid128.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid64_to_int16.c b/libgcc/config/libbid/bid64_to_int16.c
index 282d04b..c86f431 100644
--- a/libgcc/config/libbid/bid64_to_int16.c
+++ b/libgcc/config/libbid/bid64_to_int16.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid64_to_int32.c b/libgcc/config/libbid/bid64_to_int32.c
index 495556c..9506cdb 100644
--- a/libgcc/config/libbid/bid64_to_int32.c
+++ b/libgcc/config/libbid/bid64_to_int32.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid64_to_int64.c b/libgcc/config/libbid/bid64_to_int64.c
index 4dcd4b3..fc09ede 100644
--- a/libgcc/config/libbid/bid64_to_int64.c
+++ b/libgcc/config/libbid/bid64_to_int64.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid64_to_int8.c b/libgcc/config/libbid/bid64_to_int8.c
index 74edb24..ece0302 100644
--- a/libgcc/config/libbid/bid64_to_int8.c
+++ b/libgcc/config/libbid/bid64_to_int8.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid64_to_uint16.c b/libgcc/config/libbid/bid64_to_uint16.c
index ad4a2f0..32cf327 100644
--- a/libgcc/config/libbid/bid64_to_uint16.c
+++ b/libgcc/config/libbid/bid64_to_uint16.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid64_to_uint32.c b/libgcc/config/libbid/bid64_to_uint32.c
index 84ddc25..36e2674 100644
--- a/libgcc/config/libbid/bid64_to_uint32.c
+++ b/libgcc/config/libbid/bid64_to_uint32.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid64_to_uint64.c b/libgcc/config/libbid/bid64_to_uint64.c
index c3ec305..87039e1 100644
--- a/libgcc/config/libbid/bid64_to_uint64.c
+++ b/libgcc/config/libbid/bid64_to_uint64.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid64_to_uint8.c b/libgcc/config/libbid/bid64_to_uint8.c
index 0542300..ebdd2de 100644
--- a/libgcc/config/libbid/bid64_to_uint8.c
+++ b/libgcc/config/libbid/bid64_to_uint8.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid_b2d.h b/libgcc/config/libbid/bid_b2d.h
index 247c657..7320cf0c 100644
--- a/libgcc/config/libbid/bid_b2d.h
+++ b/libgcc/config/libbid/bid_b2d.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid_binarydecimal.c b/libgcc/config/libbid/bid_binarydecimal.c
index 5413acc..b8ef0eb 100644
--- a/libgcc/config/libbid/bid_binarydecimal.c
+++ b/libgcc/config/libbid/bid_binarydecimal.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid_conf.h b/libgcc/config/libbid/bid_conf.h
index e0918bf..d6a4a9f 100644
--- a/libgcc/config/libbid/bid_conf.h
+++ b/libgcc/config/libbid/bid_conf.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid_convert_data.c b/libgcc/config/libbid/bid_convert_data.c
index 7eb7d4a..fd840b0 100644
--- a/libgcc/config/libbid/bid_convert_data.c
+++ b/libgcc/config/libbid/bid_convert_data.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid_decimal_data.c b/libgcc/config/libbid/bid_decimal_data.c
index 53c38e8..50a4066 100644
--- a/libgcc/config/libbid/bid_decimal_data.c
+++ b/libgcc/config/libbid/bid_decimal_data.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid_decimal_globals.c b/libgcc/config/libbid/bid_decimal_globals.c
index e6e3312..0af0615 100644
--- a/libgcc/config/libbid/bid_decimal_globals.c
+++ b/libgcc/config/libbid/bid_decimal_globals.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid_div_macros.h b/libgcc/config/libbid/bid_div_macros.h
index f2f654b..12c4e90 100644
--- a/libgcc/config/libbid/bid_div_macros.h
+++ b/libgcc/config/libbid/bid_div_macros.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid_dpd.c b/libgcc/config/libbid/bid_dpd.c
index b92b37f..49ccb4c 100644
--- a/libgcc/config/libbid/bid_dpd.c
+++ b/libgcc/config/libbid/bid_dpd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid_flag_operations.c b/libgcc/config/libbid/bid_flag_operations.c
index d84516b..6dc3120 100644
--- a/libgcc/config/libbid/bid_flag_operations.c
+++ b/libgcc/config/libbid/bid_flag_operations.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid_from_int.c b/libgcc/config/libbid/bid_from_int.c
index cfee0ed..793f576 100644
--- a/libgcc/config/libbid/bid_from_int.c
+++ b/libgcc/config/libbid/bid_from_int.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid_functions.h b/libgcc/config/libbid/bid_functions.h
index fc517d6..aa10d39 100644
--- a/libgcc/config/libbid/bid_functions.h
+++ b/libgcc/config/libbid/bid_functions.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid_gcc_intrinsics.h b/libgcc/config/libbid/bid_gcc_intrinsics.h
index 15c0507..310e913 100644
--- a/libgcc/config/libbid/bid_gcc_intrinsics.h
+++ b/libgcc/config/libbid/bid_gcc_intrinsics.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid_inline_add.h b/libgcc/config/libbid/bid_inline_add.h
index 40658a1..62f1975 100644
--- a/libgcc/config/libbid/bid_inline_add.h
+++ b/libgcc/config/libbid/bid_inline_add.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid_internal.h b/libgcc/config/libbid/bid_internal.h
index a41bc0b..e04236f 100644
--- a/libgcc/config/libbid/bid_internal.h
+++ b/libgcc/config/libbid/bid_internal.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid_round.c b/libgcc/config/libbid/bid_round.c
index 0e807f0..5e520f6 100644
--- a/libgcc/config/libbid/bid_round.c
+++ b/libgcc/config/libbid/bid_round.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libbid/bid_sqrt_macros.h b/libgcc/config/libbid/bid_sqrt_macros.h
index 22f17a6..35dc5d6 100644
--- a/libgcc/config/libbid/bid_sqrt_macros.h
+++ b/libgcc/config/libbid/bid_sqrt_macros.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/libgcc-glibc.ver b/libgcc/config/libgcc-glibc.ver
index cfe0462..94c303e2 100644
--- a/libgcc/config/libgcc-glibc.ver
+++ b/libgcc/config/libgcc-glibc.ver
@@ -1,4 +1,4 @@
-# Copyright (C) 2000-2022 Free Software Foundation, Inc.
+# Copyright (C) 2000-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/config/lm32/_ashlsi3.S b/libgcc/config/lm32/_ashlsi3.S
index 2112e11..fc68b1f 100644
--- a/libgcc/config/lm32/_ashlsi3.S
+++ b/libgcc/config/lm32/_ashlsi3.S
@@ -1,7 +1,7 @@
# _ashlsi3.S for Lattice Mico32
# Contributed by Jon Beniston <jon@beniston.com> and Richard Henderson.
#
-# Copyright (C) 2009-2022 Free Software Foundation, Inc.
+# Copyright (C) 2009-2023 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/lm32/_ashrsi3.S b/libgcc/config/lm32/_ashrsi3.S
index 3e9d410..021e7e9 100644
--- a/libgcc/config/lm32/_ashrsi3.S
+++ b/libgcc/config/lm32/_ashrsi3.S
@@ -1,7 +1,7 @@
# _ashrsi3.S for Lattice Mico32
# Contributed by Jon Beniston <jon@beniston.com> and Richard Henderson.
#
-# Copyright (C) 2009-2022 Free Software Foundation, Inc.
+# Copyright (C) 2009-2023 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/lm32/_divsi3.c b/libgcc/config/lm32/_divsi3.c
index acf77bc..027fc38 100644
--- a/libgcc/config/lm32/_divsi3.c
+++ b/libgcc/config/lm32/_divsi3.c
@@ -1,7 +1,7 @@
/* _divsi3 for Lattice Mico32.
Contributed by Jon Beniston <jon@beniston.com>
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/lm32/_lshrsi3.S b/libgcc/config/lm32/_lshrsi3.S
index 2890714..b764653 100644
--- a/libgcc/config/lm32/_lshrsi3.S
+++ b/libgcc/config/lm32/_lshrsi3.S
@@ -1,7 +1,7 @@
# _lshrsi3.S for Lattice Mico32
# Contributed by Jon Beniston <jon@beniston.com> and Richard Henderson.
#
-# Copyright (C) 2009-2022 Free Software Foundation, Inc.
+# Copyright (C) 2009-2023 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/lm32/_modsi3.c b/libgcc/config/lm32/_modsi3.c
index e2dc8da..f1728e8 100644
--- a/libgcc/config/lm32/_modsi3.c
+++ b/libgcc/config/lm32/_modsi3.c
@@ -1,7 +1,7 @@
/* _modsi3 for Lattice Mico32.
Contributed by Jon Beniston <jon@beniston.com>
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/lm32/_mulsi3.c b/libgcc/config/lm32/_mulsi3.c
index 7b13ab6..f574a12 100644
--- a/libgcc/config/lm32/_mulsi3.c
+++ b/libgcc/config/lm32/_mulsi3.c
@@ -1,7 +1,7 @@
/* _mulsi3 for Lattice Mico32.
Contributed by Jon Beniston <jon@beniston.com>
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/lm32/_udivmodsi4.c b/libgcc/config/lm32/_udivmodsi4.c
index dad6d71..f0b42e5 100644
--- a/libgcc/config/lm32/_udivmodsi4.c
+++ b/libgcc/config/lm32/_udivmodsi4.c
@@ -1,7 +1,7 @@
/* _udivmodsi4 for Lattice Mico32.
Contributed by Jon Beniston <jon@beniston.com>
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/lm32/_udivsi3.c b/libgcc/config/lm32/_udivsi3.c
index 80a1f3d..499c9a0 100644
--- a/libgcc/config/lm32/_udivsi3.c
+++ b/libgcc/config/lm32/_udivsi3.c
@@ -1,7 +1,7 @@
/* _udivsi3 for Lattice Mico32.
Contributed by Jon Beniston <jon@beniston.com>
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/lm32/_umodsi3.c b/libgcc/config/lm32/_umodsi3.c
index 23fb815..969f76c 100644
--- a/libgcc/config/lm32/_umodsi3.c
+++ b/libgcc/config/lm32/_umodsi3.c
@@ -1,7 +1,7 @@
/* _umodsi3 for Lattice Mico32.
Contributed by Jon Beniston <jon@beniston.com>
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/lm32/crti.S b/libgcc/config/lm32/crti.S
index b166648..cf518d4 100644
--- a/libgcc/config/lm32/crti.S
+++ b/libgcc/config/lm32/crti.S
@@ -1,7 +1,7 @@
# crti.S for Lattice Mico32
# Contributed by Jon Beniston <jon@beniston.com>
#
-# Copyright (C) 2009-2022 Free Software Foundation, Inc.
+# Copyright (C) 2009-2023 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/lm32/crtn.S b/libgcc/config/lm32/crtn.S
index bddec02..8b16c3a 100644
--- a/libgcc/config/lm32/crtn.S
+++ b/libgcc/config/lm32/crtn.S
@@ -1,7 +1,7 @@
# crtn.S for Lattice Mico32
# Contributed by Jon Beniston <jon@beniston.com>
#
-# Copyright (C) 2009-2022 Free Software Foundation, Inc.
+# Copyright (C) 2009-2023 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/lm32/libgcc_lm32.h b/libgcc/config/lm32/libgcc_lm32.h
index 0c67bca..d330d94 100644
--- a/libgcc/config/lm32/libgcc_lm32.h
+++ b/libgcc/config/lm32/libgcc_lm32.h
@@ -1,7 +1,7 @@
/* Integer arithmetic support for Lattice Mico32.
Contributed by Jon Beniston <jon@beniston.com>
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/loongarch/crtfastmath.c b/libgcc/config/loongarch/crtfastmath.c
index 52b0d6d..9408637 100644
--- a/libgcc/config/loongarch/crtfastmath.c
+++ b/libgcc/config/loongarch/crtfastmath.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2021-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2021-2023 Free Software Foundation, Inc.
Contributed by Loongson Ltd.
Based on MIPS target for GNU compiler.
diff --git a/libgcc/config/loongarch/linux-unwind.h b/libgcc/config/loongarch/linux-unwind.h
index 89c168c..05ca405 100644
--- a/libgcc/config/loongarch/linux-unwind.h
+++ b/libgcc/config/loongarch/linux-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for LoongArch Linux.
- Copyright (C) 2021-2022 Free Software Foundation, Inc.
+ Copyright (C) 2021-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -64,12 +64,12 @@ loongarch_fallback_frame_state (struct _Unwind_Context *context,
for (i = 0; i < 32; i++)
{
- fs->regs.reg[i].how = REG_SAVED_OFFSET;
+ fs->regs.how[i] = REG_SAVED_OFFSET;
fs->regs.reg[i].loc.offset = (_Unwind_Ptr) & (sc->sc_regs[i]) - new_cfa;
}
fs->signal_frame = 1;
- fs->regs.reg[__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__].how
+ fs->regs.how[__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__]
= REG_SAVED_VAL_OFFSET;
fs->regs.reg[__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__].loc.offset
= (_Unwind_Ptr) (sc->sc_pc) - new_cfa;
diff --git a/libgcc/config/loongarch/sfp-machine.h b/libgcc/config/loongarch/sfp-machine.h
index c81be71..c4aa386 100644
--- a/libgcc/config/loongarch/sfp-machine.h
+++ b/libgcc/config/loongarch/sfp-machine.h
@@ -1,5 +1,5 @@
/* softfp machine description for LoongArch.
- Copyright (C) 2021-2022 Free Software Foundation, Inc.
+ Copyright (C) 2021-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/m32c/lib1funcs.S b/libgcc/config/m32c/lib1funcs.S
index cb85261..31f7ff8 100644
--- a/libgcc/config/m32c/lib1funcs.S
+++ b/libgcc/config/m32c/lib1funcs.S
@@ -1,5 +1,5 @@
/* libgcc routines for R8C/M16C/M32C
- Copyright (C) 2005-2022 Free Software Foundation, Inc.
+ Copyright (C) 2005-2023 Free Software Foundation, Inc.
Contributed by Red Hat.
This file is part of GCC.
diff --git a/libgcc/config/m32c/lib2funcs.c b/libgcc/config/m32c/lib2funcs.c
index 15712f7..70941bd 100644
--- a/libgcc/config/m32c/lib2funcs.c
+++ b/libgcc/config/m32c/lib2funcs.c
@@ -1,5 +1,5 @@
/* libgcc routines for R8C/M16C/M32C
- Copyright (C) 2005-2022 Free Software Foundation, Inc.
+ Copyright (C) 2005-2023 Free Software Foundation, Inc.
Contributed by Red Hat.
This file is part of GCC.
diff --git a/libgcc/config/m32c/trapv.c b/libgcc/config/m32c/trapv.c
index 99ca717..b8f74f3 100644
--- a/libgcc/config/m32c/trapv.c
+++ b/libgcc/config/m32c/trapv.c
@@ -1,5 +1,5 @@
/* 16-bit trapping arithmetic routines for R8C/M16C/M32C
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
Contributed by Red Hat.
This file is part of GCC.
diff --git a/libgcc/config/m32r/initfini.c b/libgcc/config/m32r/initfini.c
index 81a3d71..8627c45 100644
--- a/libgcc/config/m32r/initfini.c
+++ b/libgcc/config/m32r/initfini.c
@@ -1,7 +1,7 @@
/* .init/.fini section handling + C++ global constructor/destructor handling.
This file is based on crtstuff.c, sol2-crti.S, sol2-crtn.S.
- Copyright (C) 1996-2022 Free Software Foundation, Inc.
+ Copyright (C) 1996-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/m68k/crti.S b/libgcc/config/m68k/crti.S
index a290058..15e2c13 100644
--- a/libgcc/config/m68k/crti.S
+++ b/libgcc/config/m68k/crti.S
@@ -1,6 +1,6 @@
/* Specialized code needed to support construction and destruction of
file-scope objects in C++ and Java code, and to support exception handling.
- Copyright (C) 1999-2022 Free Software Foundation, Inc.
+ Copyright (C) 1999-2023 Free Software Foundation, Inc.
Contributed by Charles-Antoine Gauthier (charles.gauthier@iit.nrc.ca).
This file is part of GCC.
diff --git a/libgcc/config/m68k/crtn.S b/libgcc/config/m68k/crtn.S
index 8b0f091..8371f84 100644
--- a/libgcc/config/m68k/crtn.S
+++ b/libgcc/config/m68k/crtn.S
@@ -1,6 +1,6 @@
/* Specialized code needed to support construction and destruction of
file-scope objects in C++ and Java code, and to support exception handling.
- Copyright (C) 1999-2022 Free Software Foundation, Inc.
+ Copyright (C) 1999-2023 Free Software Foundation, Inc.
Contributed by Charles-Antoine Gauthier (charles.gauthier@iit.nrc.ca).
This file is part of GCC.
diff --git a/libgcc/config/m68k/lb1sf68.S b/libgcc/config/m68k/lb1sf68.S
index dc6e6dd..8ba85c5 100644
--- a/libgcc/config/m68k/lb1sf68.S
+++ b/libgcc/config/m68k/lb1sf68.S
@@ -1,5 +1,5 @@
/* libgcc routines for 68000 w/o floating-point hardware.
- Copyright (C) 1994-2022 Free Software Foundation, Inc.
+ Copyright (C) 1994-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/m68k/linux-atomic.c b/libgcc/config/m68k/linux-atomic.c
index 866c561..1119d17 100644
--- a/libgcc/config/m68k/linux-atomic.c
+++ b/libgcc/config/m68k/linux-atomic.c
@@ -1,5 +1,5 @@
/* Linux-specific atomic operations for m68k Linux.
- Copyright (C) 2011-2022 Free Software Foundation, Inc.
+ Copyright (C) 2011-2023 Free Software Foundation, Inc.
Based on code contributed by CodeSourcery for ARM EABI Linux.
This file is part of GCC.
diff --git a/libgcc/config/m68k/linux-unwind.h b/libgcc/config/m68k/linux-unwind.h
index 1502ad1..30a7cee 100644
--- a/libgcc/config/m68k/linux-unwind.h
+++ b/libgcc/config/m68k/linux-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for Linux/m68k.
- Copyright (C) 2006-2022 Free Software Foundation, Inc.
+ Copyright (C) 2006-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -68,21 +68,21 @@ m68k_fallback_frame_state (struct _Unwind_Context *context,
fs->regs.cfa_reg = 15;
fs->regs.cfa_offset = cfa - (long) context->cfa;
- fs->regs.reg[0].how = REG_SAVED_OFFSET;
+ fs->regs.how[0] = REG_SAVED_OFFSET;
fs->regs.reg[0].loc.offset = (long) &sc->sc_d0 - cfa;
- fs->regs.reg[1].how = REG_SAVED_OFFSET;
+ fs->regs.how[1] = REG_SAVED_OFFSET;
fs->regs.reg[1].loc.offset = (long) &sc->sc_d1 - cfa;
- fs->regs.reg[8].how = REG_SAVED_OFFSET;
+ fs->regs.how[8] = REG_SAVED_OFFSET;
fs->regs.reg[8].loc.offset = (long) &sc->sc_a0 - cfa;
- fs->regs.reg[9].how = REG_SAVED_OFFSET;
+ fs->regs.how[9] = REG_SAVED_OFFSET;
fs->regs.reg[9].loc.offset = (long) &sc->sc_a1 - cfa;
#ifdef __uClinux__
- fs->regs.reg[13].how = REG_SAVED_OFFSET;
+ fs->regs.how[13] = REG_SAVED_OFFSET;
fs->regs.reg[13].loc.offset = (long) &sc->sc_a5 - cfa;
#endif
- fs->regs.reg[24].how = REG_SAVED_OFFSET;
+ fs->regs.how[24] = REG_SAVED_OFFSET;
fs->regs.reg[24].loc.offset = (long) &sc->sc_pc - cfa;
#ifndef __uClinux__
@@ -90,9 +90,9 @@ m68k_fallback_frame_state (struct _Unwind_Context *context,
{
int *fpregs = (int *) sc->sc_fpregs;
- fs->regs.reg[16].how = REG_SAVED_OFFSET;
+ fs->regs.how[16] = REG_SAVED_OFFSET;
fs->regs.reg[16].loc.offset = (long) &fpregs[0] - cfa;
- fs->regs.reg[17].how = REG_SAVED_OFFSET;
+ fs->regs.how[17] = REG_SAVED_OFFSET;
fs->regs.reg[17].loc.offset = (long) &fpregs[M68K_FP_SIZE/4] - cfa;
}
#elif defined __mcffpu__
@@ -124,12 +124,12 @@ m68k_fallback_frame_state (struct _Unwind_Context *context,
/* register %d0-%d7/%a0-%a6 */
for (i = 0; i <= 14; i++)
{
- fs->regs.reg[i].how = REG_SAVED_OFFSET;
+ fs->regs.how[i] = REG_SAVED_OFFSET;
fs->regs.reg[i].loc.offset = (long) &gregs[i] - cfa;
}
/* return address */
- fs->regs.reg[24].how = REG_SAVED_OFFSET;
+ fs->regs.how[24] = REG_SAVED_OFFSET;
fs->regs.reg[24].loc.offset = (long) &gregs[16] - cfa;
#define uc_fpstate uc_filler[0]
@@ -141,7 +141,7 @@ m68k_fallback_frame_state (struct _Unwind_Context *context,
/* register %fp0-%fp7 */
for (i = 16; i <= 23; i++)
{
- fs->regs.reg[i].how = REG_SAVED_OFFSET;
+ fs->regs.how[i] = REG_SAVED_OFFSET;
fs->regs.reg[i].loc.offset = fpregs - cfa;
fpregs += M68K_FP_SIZE;
}
diff --git a/libgcc/config/mcore/crti.S b/libgcc/config/mcore/crti.S
index c43c966..4165db7 100644
--- a/libgcc/config/mcore/crti.S
+++ b/libgcc/config/mcore/crti.S
@@ -1,6 +1,6 @@
# crti.S for ELF based systems
-# Copyright (C) 1992-2022 Free Software Foundation, Inc.
+# Copyright (C) 1992-2023 Free Software Foundation, Inc.
# Written By David Vinayak Henkel-Wallace, June 1992
#
# This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/mcore/crtn.S b/libgcc/config/mcore/crtn.S
index ebf3499..21b3abd 100644
--- a/libgcc/config/mcore/crtn.S
+++ b/libgcc/config/mcore/crtn.S
@@ -1,6 +1,6 @@
# crtn.S for ELF based systems
-# Copyright (C) 1992-2022 Free Software Foundation, Inc.
+# Copyright (C) 1992-2023 Free Software Foundation, Inc.
# Written By David Vinayak Henkel-Wallace, June 1992
#
# This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/mcore/lib1funcs.S b/libgcc/config/mcore/lib1funcs.S
index 01d3626..983ef2f 100644
--- a/libgcc/config/mcore/lib1funcs.S
+++ b/libgcc/config/mcore/lib1funcs.S
@@ -1,5 +1,5 @@
/* libgcc routines for the MCore.
- Copyright (C) 1993-2022 Free Software Foundation, Inc.
+ Copyright (C) 1993-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/microblaze/crti.S b/libgcc/config/microblaze/crti.S
index cbbe32d..0f24adb 100644
--- a/libgcc/config/microblaze/crti.S
+++ b/libgcc/config/microblaze/crti.S
@@ -1,7 +1,7 @@
/* crti.s for __init, __fini
This file supplies the prologue for __init and __fini routines
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
Contributed by Michael Eager <eager@eagercon.com>.
diff --git a/libgcc/config/microblaze/crtn.S b/libgcc/config/microblaze/crtn.S
index cb8d8ef..d38d7ab 100644
--- a/libgcc/config/microblaze/crtn.S
+++ b/libgcc/config/microblaze/crtn.S
@@ -1,7 +1,7 @@
/* crtn.s for __init, __fini
This file supplies the epilogue for __init and __fini routines
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
Contributed by Michael Eager <eager@eagercon.com>.
diff --git a/libgcc/config/microblaze/divsi3.S b/libgcc/config/microblaze/divsi3.S
index 14829ec..a449fedd 100644
--- a/libgcc/config/microblaze/divsi3.S
+++ b/libgcc/config/microblaze/divsi3.S
@@ -1,6 +1,6 @@
###################################-
#
-# Copyright (C) 2009-2022 Free Software Foundation, Inc.
+# Copyright (C) 2009-2023 Free Software Foundation, Inc.
#
# Contributed by Michael Eager <eager@eagercon.com>.
#
diff --git a/libgcc/config/microblaze/divsi3_table.c b/libgcc/config/microblaze/divsi3_table.c
index e6a0eb7..e79ca31 100644
--- a/libgcc/config/microblaze/divsi3_table.c
+++ b/libgcc/config/microblaze/divsi3_table.c
@@ -1,6 +1,6 @@
/* Table for software lookup divide for Xilinx MicroBlaze.
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
Contributed by Michael Eager <eager@eagercon.com>.
diff --git a/libgcc/config/microblaze/moddi3.S b/libgcc/config/microblaze/moddi3.S
index 9b77865..b3e4bf6 100644
--- a/libgcc/config/microblaze/moddi3.S
+++ b/libgcc/config/microblaze/moddi3.S
@@ -1,6 +1,6 @@
###################################
#
-# Copyright (C) 2009-2022 Free Software Foundation, Inc.
+# Copyright (C) 2009-2023 Free Software Foundation, Inc.
#
# Contributed by Michael Eager <eager@eagercon.com>.
#
diff --git a/libgcc/config/microblaze/modsi3.S b/libgcc/config/microblaze/modsi3.S
index b8f2e37..282fabf 100644
--- a/libgcc/config/microblaze/modsi3.S
+++ b/libgcc/config/microblaze/modsi3.S
@@ -1,6 +1,6 @@
###################################
#
-# Copyright (C) 2009-2022 Free Software Foundation, Inc.
+# Copyright (C) 2009-2023 Free Software Foundation, Inc.
#
# Contributed by Michael Eager <eager@eagercon.com>.
#
diff --git a/libgcc/config/microblaze/muldi3_hard.S b/libgcc/config/microblaze/muldi3_hard.S
index 4ecf555..3a41b6c 100644
--- a/libgcc/config/microblaze/muldi3_hard.S
+++ b/libgcc/config/microblaze/muldi3_hard.S
@@ -1,6 +1,6 @@
###################################-
#
-# Copyright (C) 2009-2022 Free Software Foundation, Inc.
+# Copyright (C) 2009-2023 Free Software Foundation, Inc.
#
# Contributed by Michael Eager <eager@eagercon.com>.
#
diff --git a/libgcc/config/microblaze/mulsi3.S b/libgcc/config/microblaze/mulsi3.S
index f48fcf8..3da5541 100644
--- a/libgcc/config/microblaze/mulsi3.S
+++ b/libgcc/config/microblaze/mulsi3.S
@@ -1,6 +1,6 @@
###################################-*-asm*-
#
-# Copyright (C) 2009-2022 Free Software Foundation, Inc.
+# Copyright (C) 2009-2023 Free Software Foundation, Inc.
#
# Contributed by Michael Eager <eager@eagercon.com>.
#
diff --git a/libgcc/config/microblaze/stack_overflow_exit.S b/libgcc/config/microblaze/stack_overflow_exit.S
index f1511e9..2b23fd9 100644
--- a/libgcc/config/microblaze/stack_overflow_exit.S
+++ b/libgcc/config/microblaze/stack_overflow_exit.S
@@ -1,6 +1,6 @@
###################################-*-asm*-
#
-# Copyright (C) 2009-2022 Free Software Foundation, Inc.
+# Copyright (C) 2009-2023 Free Software Foundation, Inc.
#
#
# Contributed by Michael Eager <eager@eagercon.com>.
diff --git a/libgcc/config/microblaze/udivsi3.S b/libgcc/config/microblaze/udivsi3.S
index 2c321f9..7f3fe99 100644
--- a/libgcc/config/microblaze/udivsi3.S
+++ b/libgcc/config/microblaze/udivsi3.S
@@ -1,6 +1,6 @@
###################################-
#
-# Copyright (C) 2009-2022 Free Software Foundation, Inc.
+# Copyright (C) 2009-2023 Free Software Foundation, Inc.
#
# Contributed by Michael Eager <eager@eagercon.com>.
#
diff --git a/libgcc/config/microblaze/umodsi3.S b/libgcc/config/microblaze/umodsi3.S
index fbe942d..6c7f2b3 100644
--- a/libgcc/config/microblaze/umodsi3.S
+++ b/libgcc/config/microblaze/umodsi3.S
@@ -1,6 +1,6 @@
###################################
#
-# Copyright (C) 2009-2022 Free Software Foundation, Inc.
+# Copyright (C) 2009-2023 Free Software Foundation, Inc.
#
# Contributed by Michael Eager <eager@eagercon.com>.
#
diff --git a/libgcc/config/mips/crtfastmath.c b/libgcc/config/mips/crtfastmath.c
index 82373e4..6198ffa 100644
--- a/libgcc/config/mips/crtfastmath.c
+++ b/libgcc/config/mips/crtfastmath.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2010-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2010-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/mips/crti.S b/libgcc/config/mips/crti.S
index f704972..a236af4 100644
--- a/libgcc/config/mips/crti.S
+++ b/libgcc/config/mips/crti.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2001-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/mips/crtn.S b/libgcc/config/mips/crtn.S
index 667d564..10706e2 100644
--- a/libgcc/config/mips/crtn.S
+++ b/libgcc/config/mips/crtn.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2001-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/mips/gthr-mipssde.h b/libgcc/config/mips/gthr-mipssde.h
index 482692f..9c0a3dc 100644
--- a/libgcc/config/mips/gthr-mipssde.h
+++ b/libgcc/config/mips/gthr-mipssde.h
@@ -1,6 +1,6 @@
/* MIPS SDE threads compatibility routines for libgcc2 and libobjc. */
/* Compile this one with gcc. */
-/* Copyright (C) 2006-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2006-2023 Free Software Foundation, Inc.
Contributed by Nigel Stephens <nigel@mips.com>
This file is part of GCC.
diff --git a/libgcc/config/mips/lib2funcs.c b/libgcc/config/mips/lib2funcs.c
index e06491d..469427b 100644
--- a/libgcc/config/mips/lib2funcs.c
+++ b/libgcc/config/mips/lib2funcs.c
@@ -1,5 +1,5 @@
/* libgcc routines for MIPS
- Copyright (C) 2013-2022 Free Software Foundation, Inc.
+ Copyright (C) 2013-2023 Free Software Foundation, Inc.
DMULT/DDIV replacement support by Juergen Urban, JuergenUrban@gmx.de.
This file is part of GCC.
diff --git a/libgcc/config/mips/libgcc-mips16.ver b/libgcc/config/mips/libgcc-mips16.ver
index 27df678..e969258 100644
--- a/libgcc/config/mips/libgcc-mips16.ver
+++ b/libgcc/config/mips/libgcc-mips16.ver
@@ -1,4 +1,4 @@
-# Copyright (C) 2008-2022 Free Software Foundation, Inc.
+# Copyright (C) 2008-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/config/mips/linux-unwind.h b/libgcc/config/mips/linux-unwind.h
index e113f52..d42d54b 100644
--- a/libgcc/config/mips/linux-unwind.h
+++ b/libgcc/config/mips/linux-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for MIPS Linux.
- Copyright (C) 2004-2022 Free Software Foundation, Inc.
+ Copyright (C) 2004-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -103,7 +103,7 @@ mips_fallback_frame_state (struct _Unwind_Context *context,
#endif
for (i = 0; i < 32; i++) {
- fs->regs.reg[i].how = REG_SAVED_OFFSET;
+ fs->regs.how[i] = REG_SAVED_OFFSET;
fs->regs.reg[i].loc.offset
= (_Unwind_Ptr)&(sc->sc_regs[i]) + reg_offset - new_cfa;
}
@@ -115,7 +115,7 @@ mips_fallback_frame_state (struct _Unwind_Context *context,
Note that setting fs->signal_frame would not work. As the comment
above MASK_RETURN_ADDR explains, MIPS unwinders must earch for an
odd-valued address. */
- fs->regs.reg[__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__].how
+ fs->regs.how[__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__]
= REG_SAVED_VAL_OFFSET;
fs->regs.reg[__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__].loc.offset
= (_Unwind_Ptr)(sc->sc_pc) + 2 - new_cfa;
diff --git a/libgcc/config/mips/mips16.S b/libgcc/config/mips/mips16.S
index dfd215f..ed56963 100644
--- a/libgcc/config/mips/mips16.S
+++ b/libgcc/config/mips/mips16.S
@@ -1,5 +1,5 @@
/* mips16 floating point support code
- Copyright (C) 1996-2022 Free Software Foundation, Inc.
+ Copyright (C) 1996-2023 Free Software Foundation, Inc.
Contributed by Cygnus Support
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/mips/sfp-machine.h b/libgcc/config/mips/sfp-machine.h
index 2b5f74f..e810f5a 100644
--- a/libgcc/config/mips/sfp-machine.h
+++ b/libgcc/config/mips/sfp-machine.h
@@ -1,5 +1,5 @@
/* softfp machine description for MIPS.
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/mips/t-mips16 b/libgcc/config/mips/t-mips16
index 4ff491b..2bad511 100644
--- a/libgcc/config/mips/t-mips16
+++ b/libgcc/config/mips/t-mips16
@@ -1,4 +1,4 @@
-# Copyright (C) 2007-2022 Free Software Foundation, Inc.
+# Copyright (C) 2007-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/config/mips/vr4120-div.S b/libgcc/config/mips/vr4120-div.S
index b69ee3c..f5480fe 100644
--- a/libgcc/config/mips/vr4120-div.S
+++ b/libgcc/config/mips/vr4120-div.S
@@ -1,5 +1,5 @@
/* Support file for -mfix-vr4120.
- Copyright (C) 2002-2022 Free Software Foundation, Inc.
+ Copyright (C) 2002-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/mmix/crti.S b/libgcc/config/mmix/crti.S
index b5b98ab..89bc3db 100644
--- a/libgcc/config/mmix/crti.S
+++ b/libgcc/config/mmix/crti.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2001-2023 Free Software Foundation, Inc.
Contributed by Hans-Peter Nilsson <hp@bitrange.com>
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/mmix/crtn.S b/libgcc/config/mmix/crtn.S
index b8b0466..8082462 100644
--- a/libgcc/config/mmix/crtn.S
+++ b/libgcc/config/mmix/crtn.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2001-2023 Free Software Foundation, Inc.
Contributed by Hans-Peter Nilsson <hp@bitrange.com>
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/moxie/crti.S b/libgcc/config/moxie/crti.S
index 15d265b..d95e162 100644
--- a/libgcc/config/moxie/crti.S
+++ b/libgcc/config/moxie/crti.S
@@ -1,6 +1,6 @@
# crti.S for moxie
#
-# Copyright (C) 2009-2022 Free Software Foundation, Inc.
+# Copyright (C) 2009-2023 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/moxie/crtn.S b/libgcc/config/moxie/crtn.S
index 286fa59..b842cce 100644
--- a/libgcc/config/moxie/crtn.S
+++ b/libgcc/config/moxie/crtn.S
@@ -1,6 +1,6 @@
# crtn.S for moxie
#
-# Copyright (C) 2009-2022 Free Software Foundation, Inc.
+# Copyright (C) 2009-2023 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/msp430/cmpsi2.S b/libgcc/config/msp430/cmpsi2.S
index 4050386..6b4cca7 100644
--- a/libgcc/config/msp430/cmpsi2.S
+++ b/libgcc/config/msp430/cmpsi2.S
@@ -1,4 +1,4 @@
-; Copyright (C) 2012-2022 Free Software Foundation, Inc.
+; Copyright (C) 2012-2023 Free Software Foundation, Inc.
; Contributed by Red Hat.
;
; This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/msp430/epilogue.S b/libgcc/config/msp430/epilogue.S
index a1c15ff..d319c83 100644
--- a/libgcc/config/msp430/epilogue.S
+++ b/libgcc/config/msp430/epilogue.S
@@ -1,4 +1,4 @@
-; Copyright (C) 2012-2022 Free Software Foundation, Inc.
+; Copyright (C) 2012-2023 Free Software Foundation, Inc.
; Contributed by Red Hat.
;
; This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/msp430/lib2bitcountHI.c b/libgcc/config/msp430/lib2bitcountHI.c
index 5264d30..21a2e55 100644
--- a/libgcc/config/msp430/lib2bitcountHI.c
+++ b/libgcc/config/msp430/lib2bitcountHI.c
@@ -1,5 +1,5 @@
/* libgcc routines for MSP430
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Red Hat.
This file is part of GCC.
diff --git a/libgcc/config/msp430/lib2divHI.c b/libgcc/config/msp430/lib2divHI.c
index 57ecbf0..cf41ae4 100644
--- a/libgcc/config/msp430/lib2divHI.c
+++ b/libgcc/config/msp430/lib2divHI.c
@@ -1,5 +1,5 @@
/* HI mode divide routines for libgcc for MSP430
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Red Hat.
This file is part of GCC.
diff --git a/libgcc/config/msp430/lib2divQI.c b/libgcc/config/msp430/lib2divQI.c
index 4e9e874..8223f1c 100644
--- a/libgcc/config/msp430/lib2divQI.c
+++ b/libgcc/config/msp430/lib2divQI.c
@@ -1,5 +1,5 @@
/* QI mode divide routines for libgcc for MSP430
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Red Hat.
This file is part of GCC.
diff --git a/libgcc/config/msp430/lib2divSI.c b/libgcc/config/msp430/lib2divSI.c
index 179fc3a..5e08a5c 100644
--- a/libgcc/config/msp430/lib2divSI.c
+++ b/libgcc/config/msp430/lib2divSI.c
@@ -1,5 +1,5 @@
/* SI mode divide routines for libgcc for MSP430
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Red Hat.
This file is part of GCC.
diff --git a/libgcc/config/msp430/lib2hw_mul.S b/libgcc/config/msp430/lib2hw_mul.S
index 936b339..d0e0d20 100644
--- a/libgcc/config/msp430/lib2hw_mul.S
+++ b/libgcc/config/msp430/lib2hw_mul.S
@@ -1,4 +1,4 @@
-; Copyright (C) 2014-2022 Free Software Foundation, Inc.
+; Copyright (C) 2014-2023 Free Software Foundation, Inc.
; Contributed by Red Hat.
;
; This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/msp430/lib2mul.c b/libgcc/config/msp430/lib2mul.c
index 51d92c8..86c57f6 100644
--- a/libgcc/config/msp430/lib2mul.c
+++ b/libgcc/config/msp430/lib2mul.c
@@ -1,5 +1,5 @@
/* libgcc routines for MSP430
- Copyright (C) 2005-2022 Free Software Foundation, Inc.
+ Copyright (C) 2005-2023 Free Software Foundation, Inc.
Contributed by Red Hat.
This file is part of GCC.
diff --git a/libgcc/config/msp430/lib2shift.c b/libgcc/config/msp430/lib2shift.c
index a35351c..f20de41 100644
--- a/libgcc/config/msp430/lib2shift.c
+++ b/libgcc/config/msp430/lib2shift.c
@@ -1,5 +1,5 @@
/* Shift functions for the GCC support library for the MSP430
- Copyright (C) 2011-2022 Free Software Foundation, Inc.
+ Copyright (C) 2011-2023 Free Software Foundation, Inc.
Contributed by Red Hat.
This file is part of GCC.
diff --git a/libgcc/config/msp430/msp430-divmod.h b/libgcc/config/msp430/msp430-divmod.h
index 6aec49f..afe3234 100644
--- a/libgcc/config/msp430/msp430-divmod.h
+++ b/libgcc/config/msp430/msp430-divmod.h
@@ -1,5 +1,5 @@
/* libgcc routines for MSP430
- Copyright (C) 2005-2022 Free Software Foundation, Inc.
+ Copyright (C) 2005-2023 Free Software Foundation, Inc.
Contributed by Red Hat.
This file is part of GCC.
diff --git a/libgcc/config/msp430/msp430-mul.h b/libgcc/config/msp430/msp430-mul.h
index 36e1a51..7db957c 100644
--- a/libgcc/config/msp430/msp430-mul.h
+++ b/libgcc/config/msp430/msp430-mul.h
@@ -1,5 +1,5 @@
/* libgcc routines for RL78
- Copyright (C) 2005-2022 Free Software Foundation, Inc.
+ Copyright (C) 2005-2023 Free Software Foundation, Inc.
Contributed by Red Hat.
This file is part of GCC.
diff --git a/libgcc/config/msp430/slli.S b/libgcc/config/msp430/slli.S
index 1717846..d41cfae 100644
--- a/libgcc/config/msp430/slli.S
+++ b/libgcc/config/msp430/slli.S
@@ -1,4 +1,4 @@
-; Copyright (C) 2012-2022 Free Software Foundation, Inc.
+; Copyright (C) 2012-2023 Free Software Foundation, Inc.
; Contributed by Red Hat.
;
; This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/msp430/srai.S b/libgcc/config/msp430/srai.S
index d0c213e..3ce1c13 100644
--- a/libgcc/config/msp430/srai.S
+++ b/libgcc/config/msp430/srai.S
@@ -1,4 +1,4 @@
-; Copyright (C) 2012-2022 Free Software Foundation, Inc.
+; Copyright (C) 2012-2023 Free Software Foundation, Inc.
; Contributed by Red Hat.
;
; This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/msp430/srli.S b/libgcc/config/msp430/srli.S
index c2c6aa9..11deec2 100644
--- a/libgcc/config/msp430/srli.S
+++ b/libgcc/config/msp430/srli.S
@@ -1,4 +1,4 @@
-; Copyright (C) 2012-2022 Free Software Foundation, Inc.
+; Copyright (C) 2012-2023 Free Software Foundation, Inc.
; Contributed by Red Hat.
;
; This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/msp430/t-msp430 b/libgcc/config/msp430/t-msp430
index 599997b..b246bfa 100644
--- a/libgcc/config/msp430/t-msp430
+++ b/libgcc/config/msp430/t-msp430
@@ -1,5 +1,5 @@
# Makefile fragment for building LIBGCC for the TI MSP430 processor.
-# Copyright (C) 2011-2022 Free Software Foundation, Inc.
+# Copyright (C) 2011-2023 Free Software Foundation, Inc.
# Contributed by Red Hat.
#
# This file is part of GCC.
diff --git a/libgcc/config/nds32/crtzero.S b/libgcc/config/nds32/crtzero.S
index 4c0dcfb..0c565e5 100644
--- a/libgcc/config/nds32/crtzero.S
+++ b/libgcc/config/nds32/crtzero.S
@@ -1,5 +1,5 @@
/* The startup code sample of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/initfini.c b/libgcc/config/nds32/initfini.c
index 9e89b2a..23ece9d 100644
--- a/libgcc/config/nds32/initfini.c
+++ b/libgcc/config/nds32/initfini.c
@@ -1,7 +1,7 @@
/* .init/.fini section handling + C++ global constructor/destructor
handling of Andes NDS32 cpu for GNU compiler.
This file is based on crtstuff.c, sol2-crti.asm, sol2-crtn.asm.
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/adj_intr_lvl.inc b/libgcc/config/nds32/isr-library/adj_intr_lvl.inc
index e55a139..eaea425 100644
--- a/libgcc/config/nds32/isr-library/adj_intr_lvl.inc
+++ b/libgcc/config/nds32/isr-library/adj_intr_lvl.inc
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/excp_isr.S b/libgcc/config/nds32/isr-library/excp_isr.S
index 3b2ea96..3b96d52 100644
--- a/libgcc/config/nds32/isr-library/excp_isr.S
+++ b/libgcc/config/nds32/isr-library/excp_isr.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/excp_isr_4b.S b/libgcc/config/nds32/isr-library/excp_isr_4b.S
index 9c6a68d..42bb761 100644
--- a/libgcc/config/nds32/isr-library/excp_isr_4b.S
+++ b/libgcc/config/nds32/isr-library/excp_isr_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/intr_isr.S b/libgcc/config/nds32/isr-library/intr_isr.S
index 9cb2b6f..5b48b56 100644
--- a/libgcc/config/nds32/isr-library/intr_isr.S
+++ b/libgcc/config/nds32/isr-library/intr_isr.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/intr_isr_4b.S b/libgcc/config/nds32/isr-library/intr_isr_4b.S
index 00d82d7..17182e9 100644
--- a/libgcc/config/nds32/isr-library/intr_isr_4b.S
+++ b/libgcc/config/nds32/isr-library/intr_isr_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid00.S b/libgcc/config/nds32/isr-library/jmptbl_vid00.S
index 32b68fd..47878e2 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid00.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid00.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid01.S b/libgcc/config/nds32/isr-library/jmptbl_vid01.S
index 5ea1179..deb8bb8 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid01.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid01.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid02.S b/libgcc/config/nds32/isr-library/jmptbl_vid02.S
index 693dd21..53cb7c3 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid02.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid02.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid03.S b/libgcc/config/nds32/isr-library/jmptbl_vid03.S
index e5080cf..0a9d892 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid03.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid03.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid04.S b/libgcc/config/nds32/isr-library/jmptbl_vid04.S
index 50052ac..3facde6 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid04.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid04.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid05.S b/libgcc/config/nds32/isr-library/jmptbl_vid05.S
index 65e363c3..1a127f6 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid05.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid05.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid06.S b/libgcc/config/nds32/isr-library/jmptbl_vid06.S
index b4cdbc1..29a8019 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid06.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid06.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid07.S b/libgcc/config/nds32/isr-library/jmptbl_vid07.S
index aa888f9..ab7ebcc 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid07.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid07.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid08.S b/libgcc/config/nds32/isr-library/jmptbl_vid08.S
index 15e2d83..38e05cf 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid08.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid08.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid09.S b/libgcc/config/nds32/isr-library/jmptbl_vid09.S
index efc5f31..88805bc 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid09.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid09.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid10.S b/libgcc/config/nds32/isr-library/jmptbl_vid10.S
index db0a769..0383a84 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid10.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid10.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid11.S b/libgcc/config/nds32/isr-library/jmptbl_vid11.S
index 5a70501..91a78a9 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid11.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid11.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid12.S b/libgcc/config/nds32/isr-library/jmptbl_vid12.S
index 4588fe6..92597ea 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid12.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid12.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid13.S b/libgcc/config/nds32/isr-library/jmptbl_vid13.S
index 8450230..a986f51 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid13.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid13.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid14.S b/libgcc/config/nds32/isr-library/jmptbl_vid14.S
index c447faa..b7fd4d7 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid14.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid14.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid15.S b/libgcc/config/nds32/isr-library/jmptbl_vid15.S
index dd60c9d..2862f64 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid15.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid15.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid16.S b/libgcc/config/nds32/isr-library/jmptbl_vid16.S
index 4c064dc..aa1407d 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid16.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid16.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid17.S b/libgcc/config/nds32/isr-library/jmptbl_vid17.S
index efcfa25..922ccda 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid17.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid17.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid18.S b/libgcc/config/nds32/isr-library/jmptbl_vid18.S
index 199d879..0f16c96 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid18.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid18.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid19.S b/libgcc/config/nds32/isr-library/jmptbl_vid19.S
index 96c4c7f..589b084 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid19.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid19.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid20.S b/libgcc/config/nds32/isr-library/jmptbl_vid20.S
index a36cd17..74042d8 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid20.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid20.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid21.S b/libgcc/config/nds32/isr-library/jmptbl_vid21.S
index b62a9fc..250785e 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid21.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid21.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid22.S b/libgcc/config/nds32/isr-library/jmptbl_vid22.S
index 576f6ab..53cc5cd 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid22.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid22.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid23.S b/libgcc/config/nds32/isr-library/jmptbl_vid23.S
index 45de5c7..89c2365 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid23.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid23.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid24.S b/libgcc/config/nds32/isr-library/jmptbl_vid24.S
index f519933..beebdf8 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid24.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid24.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid25.S b/libgcc/config/nds32/isr-library/jmptbl_vid25.S
index b6f91fe..eea647f 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid25.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid25.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid26.S b/libgcc/config/nds32/isr-library/jmptbl_vid26.S
index 0263967..a81ed1d 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid26.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid26.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid27.S b/libgcc/config/nds32/isr-library/jmptbl_vid27.S
index ef2b7a3..0e986c3 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid27.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid27.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid28.S b/libgcc/config/nds32/isr-library/jmptbl_vid28.S
index 921c9c0..3743411 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid28.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid28.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid29.S b/libgcc/config/nds32/isr-library/jmptbl_vid29.S
index c6cb490..c172057 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid29.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid29.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid30.S b/libgcc/config/nds32/isr-library/jmptbl_vid30.S
index 700c844..edb4c65 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid30.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid30.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid31.S b/libgcc/config/nds32/isr-library/jmptbl_vid31.S
index 1306c24..4f54934 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid31.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid31.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid32.S b/libgcc/config/nds32/isr-library/jmptbl_vid32.S
index 04f9b18..1a92f25 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid32.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid32.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid33.S b/libgcc/config/nds32/isr-library/jmptbl_vid33.S
index 08436c2..39bca43 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid33.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid33.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid34.S b/libgcc/config/nds32/isr-library/jmptbl_vid34.S
index 625730a..d79b770 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid34.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid34.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid35.S b/libgcc/config/nds32/isr-library/jmptbl_vid35.S
index 56ba0e3..6b309d7 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid35.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid35.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid36.S b/libgcc/config/nds32/isr-library/jmptbl_vid36.S
index c523d23..733165e 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid36.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid36.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid37.S b/libgcc/config/nds32/isr-library/jmptbl_vid37.S
index 5aac168..e8eed50 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid37.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid37.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid38.S b/libgcc/config/nds32/isr-library/jmptbl_vid38.S
index 463af57..785d017 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid38.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid38.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid39.S b/libgcc/config/nds32/isr-library/jmptbl_vid39.S
index f9734d4..a0baaeb 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid39.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid39.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid40.S b/libgcc/config/nds32/isr-library/jmptbl_vid40.S
index 9a23e13..7a203ab 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid40.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid40.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid41.S b/libgcc/config/nds32/isr-library/jmptbl_vid41.S
index faf7499..8df9105 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid41.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid41.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid42.S b/libgcc/config/nds32/isr-library/jmptbl_vid42.S
index 68f0caf..6e74806 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid42.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid42.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid43.S b/libgcc/config/nds32/isr-library/jmptbl_vid43.S
index 747cd48..b66d9fe 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid43.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid43.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid44.S b/libgcc/config/nds32/isr-library/jmptbl_vid44.S
index 9710825..fac7083 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid44.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid44.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid45.S b/libgcc/config/nds32/isr-library/jmptbl_vid45.S
index ed0f2c8..84b88a7 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid45.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid45.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid46.S b/libgcc/config/nds32/isr-library/jmptbl_vid46.S
index f8a04a0..1ac21f8 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid46.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid46.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid47.S b/libgcc/config/nds32/isr-library/jmptbl_vid47.S
index b4175e1..b2e2213 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid47.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid47.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid48.S b/libgcc/config/nds32/isr-library/jmptbl_vid48.S
index c9e4463..7d05bc1 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid48.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid48.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid49.S b/libgcc/config/nds32/isr-library/jmptbl_vid49.S
index 0d10117..34f6a9c 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid49.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid49.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid50.S b/libgcc/config/nds32/isr-library/jmptbl_vid50.S
index f62e5a0..9630b5e 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid50.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid50.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid51.S b/libgcc/config/nds32/isr-library/jmptbl_vid51.S
index 665af68..ef4901a 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid51.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid51.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid52.S b/libgcc/config/nds32/isr-library/jmptbl_vid52.S
index 5956f98..e98e942 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid52.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid52.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid53.S b/libgcc/config/nds32/isr-library/jmptbl_vid53.S
index 388eb6d..e5e9904 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid53.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid53.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid54.S b/libgcc/config/nds32/isr-library/jmptbl_vid54.S
index ba63725..73d9a94 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid54.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid54.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid55.S b/libgcc/config/nds32/isr-library/jmptbl_vid55.S
index 08af9bf..a3e905c 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid55.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid55.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid56.S b/libgcc/config/nds32/isr-library/jmptbl_vid56.S
index e669c0c..34ba23c 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid56.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid56.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid57.S b/libgcc/config/nds32/isr-library/jmptbl_vid57.S
index d8f2b2e..0d1fa16 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid57.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid57.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid58.S b/libgcc/config/nds32/isr-library/jmptbl_vid58.S
index 69067c7..ac91e3d 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid58.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid58.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid59.S b/libgcc/config/nds32/isr-library/jmptbl_vid59.S
index 4c501b5..3c38f9e 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid59.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid59.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid60.S b/libgcc/config/nds32/isr-library/jmptbl_vid60.S
index adce01e..8c4a73f 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid60.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid60.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid61.S b/libgcc/config/nds32/isr-library/jmptbl_vid61.S
index 9dbd5d2..456f1b7 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid61.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid61.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid62.S b/libgcc/config/nds32/isr-library/jmptbl_vid62.S
index 146407d..58b0be3 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid62.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid62.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid63.S b/libgcc/config/nds32/isr-library/jmptbl_vid63.S
index dc69b53..49998d9 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid63.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid63.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid64.S b/libgcc/config/nds32/isr-library/jmptbl_vid64.S
index 187aa6a..3fcb1d1 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid64.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid64.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid65.S b/libgcc/config/nds32/isr-library/jmptbl_vid65.S
index 3fd020a..a633dc8 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid65.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid65.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid66.S b/libgcc/config/nds32/isr-library/jmptbl_vid66.S
index 7d9ff1f..36cc2bf 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid66.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid66.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid67.S b/libgcc/config/nds32/isr-library/jmptbl_vid67.S
index 54d08d7..8e529e7 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid67.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid67.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid68.S b/libgcc/config/nds32/isr-library/jmptbl_vid68.S
index 2ac5de1..b0ab7f8 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid68.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid68.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid69.S b/libgcc/config/nds32/isr-library/jmptbl_vid69.S
index efebc36..cbd8537 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid69.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid69.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid70.S b/libgcc/config/nds32/isr-library/jmptbl_vid70.S
index ffc321d..278ecae 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid70.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid70.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid71.S b/libgcc/config/nds32/isr-library/jmptbl_vid71.S
index 64ab673..96730da 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid71.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid71.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/jmptbl_vid72.S b/libgcc/config/nds32/isr-library/jmptbl_vid72.S
index d0693c3..e1b17f4 100644
--- a/libgcc/config/nds32/isr-library/jmptbl_vid72.S
+++ b/libgcc/config/nds32/isr-library/jmptbl_vid72.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/nmih.S b/libgcc/config/nds32/isr-library/nmih.S
index d071905..8caf311 100644
--- a/libgcc/config/nds32/isr-library/nmih.S
+++ b/libgcc/config/nds32/isr-library/nmih.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/reset.S b/libgcc/config/nds32/isr-library/reset.S
index cb3912a..6a984a6 100644
--- a/libgcc/config/nds32/isr-library/reset.S
+++ b/libgcc/config/nds32/isr-library/reset.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/reset_4b.S b/libgcc/config/nds32/isr-library/reset_4b.S
index f9ac0e9..5db3c98 100644
--- a/libgcc/config/nds32/isr-library/reset_4b.S
+++ b/libgcc/config/nds32/isr-library/reset_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/restore_all.inc b/libgcc/config/nds32/isr-library/restore_all.inc
index 7fe3f5e..dd002a1 100644
--- a/libgcc/config/nds32/isr-library/restore_all.inc
+++ b/libgcc/config/nds32/isr-library/restore_all.inc
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/restore_fpu_regs.inc b/libgcc/config/nds32/isr-library/restore_fpu_regs.inc
index 418b036..bf0a333 100644
--- a/libgcc/config/nds32/isr-library/restore_fpu_regs.inc
+++ b/libgcc/config/nds32/isr-library/restore_fpu_regs.inc
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/restore_fpu_regs_00.inc b/libgcc/config/nds32/isr-library/restore_fpu_regs_00.inc
index 7af2651..c97c949 100644
--- a/libgcc/config/nds32/isr-library/restore_fpu_regs_00.inc
+++ b/libgcc/config/nds32/isr-library/restore_fpu_regs_00.inc
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/restore_fpu_regs_01.inc b/libgcc/config/nds32/isr-library/restore_fpu_regs_01.inc
index 80c9ec2..4722d74 100644
--- a/libgcc/config/nds32/isr-library/restore_fpu_regs_01.inc
+++ b/libgcc/config/nds32/isr-library/restore_fpu_regs_01.inc
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/restore_fpu_regs_02.inc b/libgcc/config/nds32/isr-library/restore_fpu_regs_02.inc
index 74b511a..9b42364 100644
--- a/libgcc/config/nds32/isr-library/restore_fpu_regs_02.inc
+++ b/libgcc/config/nds32/isr-library/restore_fpu_regs_02.inc
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/restore_fpu_regs_03.inc b/libgcc/config/nds32/isr-library/restore_fpu_regs_03.inc
index 853fe5a..5a7c927 100644
--- a/libgcc/config/nds32/isr-library/restore_fpu_regs_03.inc
+++ b/libgcc/config/nds32/isr-library/restore_fpu_regs_03.inc
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/restore_mac_regs.inc b/libgcc/config/nds32/isr-library/restore_mac_regs.inc
index 0384c4d..ff818e9 100644
--- a/libgcc/config/nds32/isr-library/restore_mac_regs.inc
+++ b/libgcc/config/nds32/isr-library/restore_mac_regs.inc
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/restore_partial.inc b/libgcc/config/nds32/isr-library/restore_partial.inc
index c8ffb8f..c4f5c94 100644
--- a/libgcc/config/nds32/isr-library/restore_partial.inc
+++ b/libgcc/config/nds32/isr-library/restore_partial.inc
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/restore_usr_regs.inc b/libgcc/config/nds32/isr-library/restore_usr_regs.inc
index b039df5..e8c5a36 100644
--- a/libgcc/config/nds32/isr-library/restore_usr_regs.inc
+++ b/libgcc/config/nds32/isr-library/restore_usr_regs.inc
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/save_all.inc b/libgcc/config/nds32/isr-library/save_all.inc
index ce543e6..04c8622 100644
--- a/libgcc/config/nds32/isr-library/save_all.inc
+++ b/libgcc/config/nds32/isr-library/save_all.inc
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/save_fpu_regs.inc b/libgcc/config/nds32/isr-library/save_fpu_regs.inc
index 644b1b7..b71234d 100644
--- a/libgcc/config/nds32/isr-library/save_fpu_regs.inc
+++ b/libgcc/config/nds32/isr-library/save_fpu_regs.inc
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/save_fpu_regs_00.inc b/libgcc/config/nds32/isr-library/save_fpu_regs_00.inc
index e007ca1..da2164f 100644
--- a/libgcc/config/nds32/isr-library/save_fpu_regs_00.inc
+++ b/libgcc/config/nds32/isr-library/save_fpu_regs_00.inc
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/save_fpu_regs_01.inc b/libgcc/config/nds32/isr-library/save_fpu_regs_01.inc
index 90dd4e2..2249010 100644
--- a/libgcc/config/nds32/isr-library/save_fpu_regs_01.inc
+++ b/libgcc/config/nds32/isr-library/save_fpu_regs_01.inc
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/save_fpu_regs_02.inc b/libgcc/config/nds32/isr-library/save_fpu_regs_02.inc
index 0a13120..71294fa 100644
--- a/libgcc/config/nds32/isr-library/save_fpu_regs_02.inc
+++ b/libgcc/config/nds32/isr-library/save_fpu_regs_02.inc
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/save_fpu_regs_03.inc b/libgcc/config/nds32/isr-library/save_fpu_regs_03.inc
index 5a33759..75c6104 100644
--- a/libgcc/config/nds32/isr-library/save_fpu_regs_03.inc
+++ b/libgcc/config/nds32/isr-library/save_fpu_regs_03.inc
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/save_mac_regs.inc b/libgcc/config/nds32/isr-library/save_mac_regs.inc
index 115ac54..d531fde 100644
--- a/libgcc/config/nds32/isr-library/save_mac_regs.inc
+++ b/libgcc/config/nds32/isr-library/save_mac_regs.inc
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/save_partial.inc b/libgcc/config/nds32/isr-library/save_partial.inc
index 74797ed..c93341f 100644
--- a/libgcc/config/nds32/isr-library/save_partial.inc
+++ b/libgcc/config/nds32/isr-library/save_partial.inc
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/save_usr_regs.inc b/libgcc/config/nds32/isr-library/save_usr_regs.inc
index d446000..cd6a7f4 100644
--- a/libgcc/config/nds32/isr-library/save_usr_regs.inc
+++ b/libgcc/config/nds32/isr-library/save_usr_regs.inc
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid00.S b/libgcc/config/nds32/isr-library/vec_vid00.S
index 353f6bb..acc26c8 100644
--- a/libgcc/config/nds32/isr-library/vec_vid00.S
+++ b/libgcc/config/nds32/isr-library/vec_vid00.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid00_4b.S b/libgcc/config/nds32/isr-library/vec_vid00_4b.S
index 60fb330..52b9aeb 100644
--- a/libgcc/config/nds32/isr-library/vec_vid00_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid00_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid01.S b/libgcc/config/nds32/isr-library/vec_vid01.S
index 83e6710..d6d6652 100644
--- a/libgcc/config/nds32/isr-library/vec_vid01.S
+++ b/libgcc/config/nds32/isr-library/vec_vid01.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid01_4b.S b/libgcc/config/nds32/isr-library/vec_vid01_4b.S
index c97acd1..0ffbbbc 100644
--- a/libgcc/config/nds32/isr-library/vec_vid01_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid01_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid02.S b/libgcc/config/nds32/isr-library/vec_vid02.S
index 17d08d6..597978c 100644
--- a/libgcc/config/nds32/isr-library/vec_vid02.S
+++ b/libgcc/config/nds32/isr-library/vec_vid02.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid02_4b.S b/libgcc/config/nds32/isr-library/vec_vid02_4b.S
index 2ded11b..8db606f 100644
--- a/libgcc/config/nds32/isr-library/vec_vid02_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid02_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid03.S b/libgcc/config/nds32/isr-library/vec_vid03.S
index 4d5be24..dfeb53d 100644
--- a/libgcc/config/nds32/isr-library/vec_vid03.S
+++ b/libgcc/config/nds32/isr-library/vec_vid03.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid03_4b.S b/libgcc/config/nds32/isr-library/vec_vid03_4b.S
index bad01c6..56e1d9f 100644
--- a/libgcc/config/nds32/isr-library/vec_vid03_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid03_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid04.S b/libgcc/config/nds32/isr-library/vec_vid04.S
index d1f90f9..c2db6d6 100644
--- a/libgcc/config/nds32/isr-library/vec_vid04.S
+++ b/libgcc/config/nds32/isr-library/vec_vid04.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid04_4b.S b/libgcc/config/nds32/isr-library/vec_vid04_4b.S
index 708f58e..efd29ae 100644
--- a/libgcc/config/nds32/isr-library/vec_vid04_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid04_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid05.S b/libgcc/config/nds32/isr-library/vec_vid05.S
index 8ac1629..152eb3f 100644
--- a/libgcc/config/nds32/isr-library/vec_vid05.S
+++ b/libgcc/config/nds32/isr-library/vec_vid05.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid05_4b.S b/libgcc/config/nds32/isr-library/vec_vid05_4b.S
index 54a43dd..bcd0e76 100644
--- a/libgcc/config/nds32/isr-library/vec_vid05_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid05_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid06.S b/libgcc/config/nds32/isr-library/vec_vid06.S
index c31fc9b..839e9ee 100644
--- a/libgcc/config/nds32/isr-library/vec_vid06.S
+++ b/libgcc/config/nds32/isr-library/vec_vid06.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid06_4b.S b/libgcc/config/nds32/isr-library/vec_vid06_4b.S
index 1b0d6e7..21ed4a4 100644
--- a/libgcc/config/nds32/isr-library/vec_vid06_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid06_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid07.S b/libgcc/config/nds32/isr-library/vec_vid07.S
index 6693154..cd09fc7 100644
--- a/libgcc/config/nds32/isr-library/vec_vid07.S
+++ b/libgcc/config/nds32/isr-library/vec_vid07.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid07_4b.S b/libgcc/config/nds32/isr-library/vec_vid07_4b.S
index 01ec3d5..b583da8 100644
--- a/libgcc/config/nds32/isr-library/vec_vid07_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid07_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid08.S b/libgcc/config/nds32/isr-library/vec_vid08.S
index 5935ae8..45a681e 100644
--- a/libgcc/config/nds32/isr-library/vec_vid08.S
+++ b/libgcc/config/nds32/isr-library/vec_vid08.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid08_4b.S b/libgcc/config/nds32/isr-library/vec_vid08_4b.S
index d303a6e..b4c8d9c 100644
--- a/libgcc/config/nds32/isr-library/vec_vid08_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid08_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid09.S b/libgcc/config/nds32/isr-library/vec_vid09.S
index c0f0d94..b3375a7 100644
--- a/libgcc/config/nds32/isr-library/vec_vid09.S
+++ b/libgcc/config/nds32/isr-library/vec_vid09.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid09_4b.S b/libgcc/config/nds32/isr-library/vec_vid09_4b.S
index 9ab94c5..b5db5fc 100644
--- a/libgcc/config/nds32/isr-library/vec_vid09_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid09_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid10.S b/libgcc/config/nds32/isr-library/vec_vid10.S
index c3fc45c..008f0fc 100644
--- a/libgcc/config/nds32/isr-library/vec_vid10.S
+++ b/libgcc/config/nds32/isr-library/vec_vid10.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid10_4b.S b/libgcc/config/nds32/isr-library/vec_vid10_4b.S
index 247bd2b..00fc891 100644
--- a/libgcc/config/nds32/isr-library/vec_vid10_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid10_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid11.S b/libgcc/config/nds32/isr-library/vec_vid11.S
index 9bc1e71..e888d06 100644
--- a/libgcc/config/nds32/isr-library/vec_vid11.S
+++ b/libgcc/config/nds32/isr-library/vec_vid11.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid11_4b.S b/libgcc/config/nds32/isr-library/vec_vid11_4b.S
index 234da3a..16a1b0f 100644
--- a/libgcc/config/nds32/isr-library/vec_vid11_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid11_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid12.S b/libgcc/config/nds32/isr-library/vec_vid12.S
index 0e167a9..51c0b98 100644
--- a/libgcc/config/nds32/isr-library/vec_vid12.S
+++ b/libgcc/config/nds32/isr-library/vec_vid12.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid12_4b.S b/libgcc/config/nds32/isr-library/vec_vid12_4b.S
index ff7670c..cecf96d 100644
--- a/libgcc/config/nds32/isr-library/vec_vid12_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid12_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid13.S b/libgcc/config/nds32/isr-library/vec_vid13.S
index 77c7560..0094ac0 100644
--- a/libgcc/config/nds32/isr-library/vec_vid13.S
+++ b/libgcc/config/nds32/isr-library/vec_vid13.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid13_4b.S b/libgcc/config/nds32/isr-library/vec_vid13_4b.S
index 39414e3..b638eb4 100644
--- a/libgcc/config/nds32/isr-library/vec_vid13_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid13_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid14.S b/libgcc/config/nds32/isr-library/vec_vid14.S
index 59f73fe..21ddb9d 100644
--- a/libgcc/config/nds32/isr-library/vec_vid14.S
+++ b/libgcc/config/nds32/isr-library/vec_vid14.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid14_4b.S b/libgcc/config/nds32/isr-library/vec_vid14_4b.S
index 09334b8..85d5104 100644
--- a/libgcc/config/nds32/isr-library/vec_vid14_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid14_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid15.S b/libgcc/config/nds32/isr-library/vec_vid15.S
index 1f78c05..7acb9bf 100644
--- a/libgcc/config/nds32/isr-library/vec_vid15.S
+++ b/libgcc/config/nds32/isr-library/vec_vid15.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid15_4b.S b/libgcc/config/nds32/isr-library/vec_vid15_4b.S
index b9efddc..cf7f488 100644
--- a/libgcc/config/nds32/isr-library/vec_vid15_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid15_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid16.S b/libgcc/config/nds32/isr-library/vec_vid16.S
index 59e63fc..8f8ef15 100644
--- a/libgcc/config/nds32/isr-library/vec_vid16.S
+++ b/libgcc/config/nds32/isr-library/vec_vid16.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid16_4b.S b/libgcc/config/nds32/isr-library/vec_vid16_4b.S
index 11e593b..565e4f1 100644
--- a/libgcc/config/nds32/isr-library/vec_vid16_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid16_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid17.S b/libgcc/config/nds32/isr-library/vec_vid17.S
index a9547b1..8f63ddd 100644
--- a/libgcc/config/nds32/isr-library/vec_vid17.S
+++ b/libgcc/config/nds32/isr-library/vec_vid17.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid17_4b.S b/libgcc/config/nds32/isr-library/vec_vid17_4b.S
index 03367a4..7a9cc02 100644
--- a/libgcc/config/nds32/isr-library/vec_vid17_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid17_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid18.S b/libgcc/config/nds32/isr-library/vec_vid18.S
index 800e86b..bf9da22 100644
--- a/libgcc/config/nds32/isr-library/vec_vid18.S
+++ b/libgcc/config/nds32/isr-library/vec_vid18.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid18_4b.S b/libgcc/config/nds32/isr-library/vec_vid18_4b.S
index 4d946fa..b4c6e9d 100644
--- a/libgcc/config/nds32/isr-library/vec_vid18_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid18_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid19.S b/libgcc/config/nds32/isr-library/vec_vid19.S
index e1b732e..91e6412 100644
--- a/libgcc/config/nds32/isr-library/vec_vid19.S
+++ b/libgcc/config/nds32/isr-library/vec_vid19.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid19_4b.S b/libgcc/config/nds32/isr-library/vec_vid19_4b.S
index dd76c9d..388b475 100644
--- a/libgcc/config/nds32/isr-library/vec_vid19_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid19_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid20.S b/libgcc/config/nds32/isr-library/vec_vid20.S
index 6967550..ffa3ee9 100644
--- a/libgcc/config/nds32/isr-library/vec_vid20.S
+++ b/libgcc/config/nds32/isr-library/vec_vid20.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid20_4b.S b/libgcc/config/nds32/isr-library/vec_vid20_4b.S
index 2953792..76cff13 100644
--- a/libgcc/config/nds32/isr-library/vec_vid20_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid20_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid21.S b/libgcc/config/nds32/isr-library/vec_vid21.S
index 6faddad..9a9a8eb 100644
--- a/libgcc/config/nds32/isr-library/vec_vid21.S
+++ b/libgcc/config/nds32/isr-library/vec_vid21.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid21_4b.S b/libgcc/config/nds32/isr-library/vec_vid21_4b.S
index 16e3589..07b366d 100644
--- a/libgcc/config/nds32/isr-library/vec_vid21_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid21_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid22.S b/libgcc/config/nds32/isr-library/vec_vid22.S
index f9dfa51..2228026 100644
--- a/libgcc/config/nds32/isr-library/vec_vid22.S
+++ b/libgcc/config/nds32/isr-library/vec_vid22.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid22_4b.S b/libgcc/config/nds32/isr-library/vec_vid22_4b.S
index ad38021..f3aa5fe 100644
--- a/libgcc/config/nds32/isr-library/vec_vid22_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid22_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid23.S b/libgcc/config/nds32/isr-library/vec_vid23.S
index bd5ac1f..2509bdc 100644
--- a/libgcc/config/nds32/isr-library/vec_vid23.S
+++ b/libgcc/config/nds32/isr-library/vec_vid23.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid23_4b.S b/libgcc/config/nds32/isr-library/vec_vid23_4b.S
index 7dff253..e5c55fa 100644
--- a/libgcc/config/nds32/isr-library/vec_vid23_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid23_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid24.S b/libgcc/config/nds32/isr-library/vec_vid24.S
index 9483b9b..fde007b 100644
--- a/libgcc/config/nds32/isr-library/vec_vid24.S
+++ b/libgcc/config/nds32/isr-library/vec_vid24.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid24_4b.S b/libgcc/config/nds32/isr-library/vec_vid24_4b.S
index 7843d16..f26a706 100644
--- a/libgcc/config/nds32/isr-library/vec_vid24_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid24_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid25.S b/libgcc/config/nds32/isr-library/vec_vid25.S
index 977ca39..a0efee9 100644
--- a/libgcc/config/nds32/isr-library/vec_vid25.S
+++ b/libgcc/config/nds32/isr-library/vec_vid25.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid25_4b.S b/libgcc/config/nds32/isr-library/vec_vid25_4b.S
index 06dcede..504d074 100644
--- a/libgcc/config/nds32/isr-library/vec_vid25_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid25_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid26.S b/libgcc/config/nds32/isr-library/vec_vid26.S
index be75d48..d0e47e9 100644
--- a/libgcc/config/nds32/isr-library/vec_vid26.S
+++ b/libgcc/config/nds32/isr-library/vec_vid26.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid26_4b.S b/libgcc/config/nds32/isr-library/vec_vid26_4b.S
index 9d4c7dd..a28dfcc 100644
--- a/libgcc/config/nds32/isr-library/vec_vid26_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid26_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid27.S b/libgcc/config/nds32/isr-library/vec_vid27.S
index 6afe5b8..4cca893 100644
--- a/libgcc/config/nds32/isr-library/vec_vid27.S
+++ b/libgcc/config/nds32/isr-library/vec_vid27.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid27_4b.S b/libgcc/config/nds32/isr-library/vec_vid27_4b.S
index 2a4e588..675308b 100644
--- a/libgcc/config/nds32/isr-library/vec_vid27_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid27_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid28.S b/libgcc/config/nds32/isr-library/vec_vid28.S
index d3eb41f..50ac97c 100644
--- a/libgcc/config/nds32/isr-library/vec_vid28.S
+++ b/libgcc/config/nds32/isr-library/vec_vid28.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid28_4b.S b/libgcc/config/nds32/isr-library/vec_vid28_4b.S
index 5f1a509..2c575d3 100644
--- a/libgcc/config/nds32/isr-library/vec_vid28_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid28_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid29.S b/libgcc/config/nds32/isr-library/vec_vid29.S
index 3b5a820..0457c8b 100644
--- a/libgcc/config/nds32/isr-library/vec_vid29.S
+++ b/libgcc/config/nds32/isr-library/vec_vid29.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid29_4b.S b/libgcc/config/nds32/isr-library/vec_vid29_4b.S
index 33d6f38..8cc53fb 100644
--- a/libgcc/config/nds32/isr-library/vec_vid29_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid29_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid30.S b/libgcc/config/nds32/isr-library/vec_vid30.S
index 61e6e53..0e16362 100644
--- a/libgcc/config/nds32/isr-library/vec_vid30.S
+++ b/libgcc/config/nds32/isr-library/vec_vid30.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid30_4b.S b/libgcc/config/nds32/isr-library/vec_vid30_4b.S
index 16737a8..f987a0e 100644
--- a/libgcc/config/nds32/isr-library/vec_vid30_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid30_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid31.S b/libgcc/config/nds32/isr-library/vec_vid31.S
index 52127ee..47c8efd 100644
--- a/libgcc/config/nds32/isr-library/vec_vid31.S
+++ b/libgcc/config/nds32/isr-library/vec_vid31.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid31_4b.S b/libgcc/config/nds32/isr-library/vec_vid31_4b.S
index 29c5880..a6dbb33 100644
--- a/libgcc/config/nds32/isr-library/vec_vid31_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid31_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid32.S b/libgcc/config/nds32/isr-library/vec_vid32.S
index 329f1e3..eb77d9b 100644
--- a/libgcc/config/nds32/isr-library/vec_vid32.S
+++ b/libgcc/config/nds32/isr-library/vec_vid32.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid32_4b.S b/libgcc/config/nds32/isr-library/vec_vid32_4b.S
index 0623733..eb34218 100644
--- a/libgcc/config/nds32/isr-library/vec_vid32_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid32_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid33.S b/libgcc/config/nds32/isr-library/vec_vid33.S
index f354080..2dbce7b 100644
--- a/libgcc/config/nds32/isr-library/vec_vid33.S
+++ b/libgcc/config/nds32/isr-library/vec_vid33.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid33_4b.S b/libgcc/config/nds32/isr-library/vec_vid33_4b.S
index c641c1c..e417fd0 100644
--- a/libgcc/config/nds32/isr-library/vec_vid33_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid33_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid34.S b/libgcc/config/nds32/isr-library/vec_vid34.S
index d2a1248..7cf6091 100644
--- a/libgcc/config/nds32/isr-library/vec_vid34.S
+++ b/libgcc/config/nds32/isr-library/vec_vid34.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid34_4b.S b/libgcc/config/nds32/isr-library/vec_vid34_4b.S
index 42ec75f..f019176f 100644
--- a/libgcc/config/nds32/isr-library/vec_vid34_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid34_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid35.S b/libgcc/config/nds32/isr-library/vec_vid35.S
index 5b5c79f..eee9947 100644
--- a/libgcc/config/nds32/isr-library/vec_vid35.S
+++ b/libgcc/config/nds32/isr-library/vec_vid35.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid35_4b.S b/libgcc/config/nds32/isr-library/vec_vid35_4b.S
index ccbe8fd..5a0595b 100644
--- a/libgcc/config/nds32/isr-library/vec_vid35_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid35_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid36.S b/libgcc/config/nds32/isr-library/vec_vid36.S
index cddb8d4..162d501 100644
--- a/libgcc/config/nds32/isr-library/vec_vid36.S
+++ b/libgcc/config/nds32/isr-library/vec_vid36.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid36_4b.S b/libgcc/config/nds32/isr-library/vec_vid36_4b.S
index 7c36038..ff4a3da 100644
--- a/libgcc/config/nds32/isr-library/vec_vid36_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid36_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid37.S b/libgcc/config/nds32/isr-library/vec_vid37.S
index 0382e55..880c277 100644
--- a/libgcc/config/nds32/isr-library/vec_vid37.S
+++ b/libgcc/config/nds32/isr-library/vec_vid37.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid37_4b.S b/libgcc/config/nds32/isr-library/vec_vid37_4b.S
index 011f204..6e6e572 100644
--- a/libgcc/config/nds32/isr-library/vec_vid37_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid37_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid38.S b/libgcc/config/nds32/isr-library/vec_vid38.S
index df8a4a6..9857f4c 100644
--- a/libgcc/config/nds32/isr-library/vec_vid38.S
+++ b/libgcc/config/nds32/isr-library/vec_vid38.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid38_4b.S b/libgcc/config/nds32/isr-library/vec_vid38_4b.S
index 69de23f..5fa0303 100644
--- a/libgcc/config/nds32/isr-library/vec_vid38_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid38_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid39.S b/libgcc/config/nds32/isr-library/vec_vid39.S
index 8f470b7..33ab7f4 100644
--- a/libgcc/config/nds32/isr-library/vec_vid39.S
+++ b/libgcc/config/nds32/isr-library/vec_vid39.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid39_4b.S b/libgcc/config/nds32/isr-library/vec_vid39_4b.S
index 88f6a4c..bad4752 100644
--- a/libgcc/config/nds32/isr-library/vec_vid39_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid39_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid40.S b/libgcc/config/nds32/isr-library/vec_vid40.S
index 0104b87..ee0580d 100644
--- a/libgcc/config/nds32/isr-library/vec_vid40.S
+++ b/libgcc/config/nds32/isr-library/vec_vid40.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid40_4b.S b/libgcc/config/nds32/isr-library/vec_vid40_4b.S
index 9a07054..74f95e4 100644
--- a/libgcc/config/nds32/isr-library/vec_vid40_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid40_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid41.S b/libgcc/config/nds32/isr-library/vec_vid41.S
index dd25f91..3f772fa 100644
--- a/libgcc/config/nds32/isr-library/vec_vid41.S
+++ b/libgcc/config/nds32/isr-library/vec_vid41.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid41_4b.S b/libgcc/config/nds32/isr-library/vec_vid41_4b.S
index af7a7a2..6284ec5 100644
--- a/libgcc/config/nds32/isr-library/vec_vid41_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid41_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid42.S b/libgcc/config/nds32/isr-library/vec_vid42.S
index 52750da..c6df841 100644
--- a/libgcc/config/nds32/isr-library/vec_vid42.S
+++ b/libgcc/config/nds32/isr-library/vec_vid42.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid42_4b.S b/libgcc/config/nds32/isr-library/vec_vid42_4b.S
index 800c018..4957185 100644
--- a/libgcc/config/nds32/isr-library/vec_vid42_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid42_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid43.S b/libgcc/config/nds32/isr-library/vec_vid43.S
index 45516dc..c79bf0c 100644
--- a/libgcc/config/nds32/isr-library/vec_vid43.S
+++ b/libgcc/config/nds32/isr-library/vec_vid43.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid43_4b.S b/libgcc/config/nds32/isr-library/vec_vid43_4b.S
index 19ddeb0..a4a60a5 100644
--- a/libgcc/config/nds32/isr-library/vec_vid43_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid43_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid44.S b/libgcc/config/nds32/isr-library/vec_vid44.S
index 06d55c5..e6c6aba 100644
--- a/libgcc/config/nds32/isr-library/vec_vid44.S
+++ b/libgcc/config/nds32/isr-library/vec_vid44.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid44_4b.S b/libgcc/config/nds32/isr-library/vec_vid44_4b.S
index 4489c61..6764a2b 100644
--- a/libgcc/config/nds32/isr-library/vec_vid44_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid44_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid45.S b/libgcc/config/nds32/isr-library/vec_vid45.S
index b21d2e9..1c2dea0 100644
--- a/libgcc/config/nds32/isr-library/vec_vid45.S
+++ b/libgcc/config/nds32/isr-library/vec_vid45.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid45_4b.S b/libgcc/config/nds32/isr-library/vec_vid45_4b.S
index 4106090..538bd5f 100644
--- a/libgcc/config/nds32/isr-library/vec_vid45_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid45_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid46.S b/libgcc/config/nds32/isr-library/vec_vid46.S
index 5be1411..e44952d 100644
--- a/libgcc/config/nds32/isr-library/vec_vid46.S
+++ b/libgcc/config/nds32/isr-library/vec_vid46.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid46_4b.S b/libgcc/config/nds32/isr-library/vec_vid46_4b.S
index c3dbd82..a317202 100644
--- a/libgcc/config/nds32/isr-library/vec_vid46_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid46_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid47.S b/libgcc/config/nds32/isr-library/vec_vid47.S
index c239ae0..d421ac1 100644
--- a/libgcc/config/nds32/isr-library/vec_vid47.S
+++ b/libgcc/config/nds32/isr-library/vec_vid47.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid47_4b.S b/libgcc/config/nds32/isr-library/vec_vid47_4b.S
index e40bbca..08cece3 100644
--- a/libgcc/config/nds32/isr-library/vec_vid47_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid47_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid48.S b/libgcc/config/nds32/isr-library/vec_vid48.S
index fa42c43..53c2cb1 100644
--- a/libgcc/config/nds32/isr-library/vec_vid48.S
+++ b/libgcc/config/nds32/isr-library/vec_vid48.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid48_4b.S b/libgcc/config/nds32/isr-library/vec_vid48_4b.S
index e58d37f..3f4e336 100644
--- a/libgcc/config/nds32/isr-library/vec_vid48_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid48_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid49.S b/libgcc/config/nds32/isr-library/vec_vid49.S
index 098091a..e60294e 100644
--- a/libgcc/config/nds32/isr-library/vec_vid49.S
+++ b/libgcc/config/nds32/isr-library/vec_vid49.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid49_4b.S b/libgcc/config/nds32/isr-library/vec_vid49_4b.S
index ef9c258..c233707 100644
--- a/libgcc/config/nds32/isr-library/vec_vid49_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid49_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid50.S b/libgcc/config/nds32/isr-library/vec_vid50.S
index 10d516c..8d911b7 100644
--- a/libgcc/config/nds32/isr-library/vec_vid50.S
+++ b/libgcc/config/nds32/isr-library/vec_vid50.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid50_4b.S b/libgcc/config/nds32/isr-library/vec_vid50_4b.S
index 4fd30c5..89564d4 100644
--- a/libgcc/config/nds32/isr-library/vec_vid50_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid50_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid51.S b/libgcc/config/nds32/isr-library/vec_vid51.S
index f3fdde9..9dce7f8 100644
--- a/libgcc/config/nds32/isr-library/vec_vid51.S
+++ b/libgcc/config/nds32/isr-library/vec_vid51.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid51_4b.S b/libgcc/config/nds32/isr-library/vec_vid51_4b.S
index a71398c..b3932dc 100644
--- a/libgcc/config/nds32/isr-library/vec_vid51_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid51_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid52.S b/libgcc/config/nds32/isr-library/vec_vid52.S
index b333d72..bc418ff 100644
--- a/libgcc/config/nds32/isr-library/vec_vid52.S
+++ b/libgcc/config/nds32/isr-library/vec_vid52.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid52_4b.S b/libgcc/config/nds32/isr-library/vec_vid52_4b.S
index 631fd2b..5e54ee1 100644
--- a/libgcc/config/nds32/isr-library/vec_vid52_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid52_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid53.S b/libgcc/config/nds32/isr-library/vec_vid53.S
index 2fdddb1..b27b508 100644
--- a/libgcc/config/nds32/isr-library/vec_vid53.S
+++ b/libgcc/config/nds32/isr-library/vec_vid53.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid53_4b.S b/libgcc/config/nds32/isr-library/vec_vid53_4b.S
index 8f9a65c..12385a0 100644
--- a/libgcc/config/nds32/isr-library/vec_vid53_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid53_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid54.S b/libgcc/config/nds32/isr-library/vec_vid54.S
index 9ae218b..19c81b8 100644
--- a/libgcc/config/nds32/isr-library/vec_vid54.S
+++ b/libgcc/config/nds32/isr-library/vec_vid54.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid54_4b.S b/libgcc/config/nds32/isr-library/vec_vid54_4b.S
index 71854df..4db1c87 100644
--- a/libgcc/config/nds32/isr-library/vec_vid54_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid54_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid55.S b/libgcc/config/nds32/isr-library/vec_vid55.S
index 1e0a28d..42f605c 100644
--- a/libgcc/config/nds32/isr-library/vec_vid55.S
+++ b/libgcc/config/nds32/isr-library/vec_vid55.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid55_4b.S b/libgcc/config/nds32/isr-library/vec_vid55_4b.S
index 1106c7e..6015260 100644
--- a/libgcc/config/nds32/isr-library/vec_vid55_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid55_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid56.S b/libgcc/config/nds32/isr-library/vec_vid56.S
index 64cf1b6..0b71305 100644
--- a/libgcc/config/nds32/isr-library/vec_vid56.S
+++ b/libgcc/config/nds32/isr-library/vec_vid56.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid56_4b.S b/libgcc/config/nds32/isr-library/vec_vid56_4b.S
index f1d11c1..a235f01 100644
--- a/libgcc/config/nds32/isr-library/vec_vid56_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid56_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid57.S b/libgcc/config/nds32/isr-library/vec_vid57.S
index ee11848..3e7ba49 100644
--- a/libgcc/config/nds32/isr-library/vec_vid57.S
+++ b/libgcc/config/nds32/isr-library/vec_vid57.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid57_4b.S b/libgcc/config/nds32/isr-library/vec_vid57_4b.S
index 73b13f6..1acb7ab 100644
--- a/libgcc/config/nds32/isr-library/vec_vid57_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid57_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid58.S b/libgcc/config/nds32/isr-library/vec_vid58.S
index bfdebb6..400ffe8 100644
--- a/libgcc/config/nds32/isr-library/vec_vid58.S
+++ b/libgcc/config/nds32/isr-library/vec_vid58.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid58_4b.S b/libgcc/config/nds32/isr-library/vec_vid58_4b.S
index 03214f3..34ea641 100644
--- a/libgcc/config/nds32/isr-library/vec_vid58_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid58_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid59.S b/libgcc/config/nds32/isr-library/vec_vid59.S
index 5cf8364..5d078c2 100644
--- a/libgcc/config/nds32/isr-library/vec_vid59.S
+++ b/libgcc/config/nds32/isr-library/vec_vid59.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid59_4b.S b/libgcc/config/nds32/isr-library/vec_vid59_4b.S
index d2fd4bb..bbfbff0 100644
--- a/libgcc/config/nds32/isr-library/vec_vid59_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid59_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid60.S b/libgcc/config/nds32/isr-library/vec_vid60.S
index 70fd90f..620f0ec 100644
--- a/libgcc/config/nds32/isr-library/vec_vid60.S
+++ b/libgcc/config/nds32/isr-library/vec_vid60.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid60_4b.S b/libgcc/config/nds32/isr-library/vec_vid60_4b.S
index 772054e..4bf2b26 100644
--- a/libgcc/config/nds32/isr-library/vec_vid60_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid60_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid61.S b/libgcc/config/nds32/isr-library/vec_vid61.S
index 2dc7757..ef3b952 100644
--- a/libgcc/config/nds32/isr-library/vec_vid61.S
+++ b/libgcc/config/nds32/isr-library/vec_vid61.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid61_4b.S b/libgcc/config/nds32/isr-library/vec_vid61_4b.S
index e6f9c43..78eaa14 100644
--- a/libgcc/config/nds32/isr-library/vec_vid61_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid61_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid62.S b/libgcc/config/nds32/isr-library/vec_vid62.S
index 02f654d..5f3c94c 100644
--- a/libgcc/config/nds32/isr-library/vec_vid62.S
+++ b/libgcc/config/nds32/isr-library/vec_vid62.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid62_4b.S b/libgcc/config/nds32/isr-library/vec_vid62_4b.S
index 6940d63..a5645c2 100644
--- a/libgcc/config/nds32/isr-library/vec_vid62_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid62_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid63.S b/libgcc/config/nds32/isr-library/vec_vid63.S
index 3c3c0bf..85dbc14 100644
--- a/libgcc/config/nds32/isr-library/vec_vid63.S
+++ b/libgcc/config/nds32/isr-library/vec_vid63.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid63_4b.S b/libgcc/config/nds32/isr-library/vec_vid63_4b.S
index 85ef6f9..0af53e3 100644
--- a/libgcc/config/nds32/isr-library/vec_vid63_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid63_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid64.S b/libgcc/config/nds32/isr-library/vec_vid64.S
index 77cbeea..1d80b43 100644
--- a/libgcc/config/nds32/isr-library/vec_vid64.S
+++ b/libgcc/config/nds32/isr-library/vec_vid64.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid64_4b.S b/libgcc/config/nds32/isr-library/vec_vid64_4b.S
index 520f6f9..6b84fb2 100644
--- a/libgcc/config/nds32/isr-library/vec_vid64_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid64_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid65.S b/libgcc/config/nds32/isr-library/vec_vid65.S
index 77a8324..503f5ae 100644
--- a/libgcc/config/nds32/isr-library/vec_vid65.S
+++ b/libgcc/config/nds32/isr-library/vec_vid65.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid65_4b.S b/libgcc/config/nds32/isr-library/vec_vid65_4b.S
index 934d1f1..8cd2f03 100644
--- a/libgcc/config/nds32/isr-library/vec_vid65_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid65_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid66.S b/libgcc/config/nds32/isr-library/vec_vid66.S
index c7cf333..7b7908f 100644
--- a/libgcc/config/nds32/isr-library/vec_vid66.S
+++ b/libgcc/config/nds32/isr-library/vec_vid66.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid66_4b.S b/libgcc/config/nds32/isr-library/vec_vid66_4b.S
index 12da491..80aed9b 100644
--- a/libgcc/config/nds32/isr-library/vec_vid66_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid66_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid67.S b/libgcc/config/nds32/isr-library/vec_vid67.S
index 85ac29b..3d10946a 100644
--- a/libgcc/config/nds32/isr-library/vec_vid67.S
+++ b/libgcc/config/nds32/isr-library/vec_vid67.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid67_4b.S b/libgcc/config/nds32/isr-library/vec_vid67_4b.S
index 0ce2093..99a0acf 100644
--- a/libgcc/config/nds32/isr-library/vec_vid67_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid67_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid68.S b/libgcc/config/nds32/isr-library/vec_vid68.S
index f97ec8e..ed9411b 100644
--- a/libgcc/config/nds32/isr-library/vec_vid68.S
+++ b/libgcc/config/nds32/isr-library/vec_vid68.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid68_4b.S b/libgcc/config/nds32/isr-library/vec_vid68_4b.S
index a878502..1536838 100644
--- a/libgcc/config/nds32/isr-library/vec_vid68_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid68_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid69.S b/libgcc/config/nds32/isr-library/vec_vid69.S
index 35d0c04..6ca3544 100644
--- a/libgcc/config/nds32/isr-library/vec_vid69.S
+++ b/libgcc/config/nds32/isr-library/vec_vid69.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid69_4b.S b/libgcc/config/nds32/isr-library/vec_vid69_4b.S
index 388d97e..cae96aa 100644
--- a/libgcc/config/nds32/isr-library/vec_vid69_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid69_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid70.S b/libgcc/config/nds32/isr-library/vec_vid70.S
index 5f7383a..6183281 100644
--- a/libgcc/config/nds32/isr-library/vec_vid70.S
+++ b/libgcc/config/nds32/isr-library/vec_vid70.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid70_4b.S b/libgcc/config/nds32/isr-library/vec_vid70_4b.S
index 1146420..9183756 100644
--- a/libgcc/config/nds32/isr-library/vec_vid70_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid70_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid71.S b/libgcc/config/nds32/isr-library/vec_vid71.S
index 790a353..609bfd0 100644
--- a/libgcc/config/nds32/isr-library/vec_vid71.S
+++ b/libgcc/config/nds32/isr-library/vec_vid71.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid71_4b.S b/libgcc/config/nds32/isr-library/vec_vid71_4b.S
index 23a175f..854c484 100644
--- a/libgcc/config/nds32/isr-library/vec_vid71_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid71_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid72.S b/libgcc/config/nds32/isr-library/vec_vid72.S
index 713ad0b..c449c57 100644
--- a/libgcc/config/nds32/isr-library/vec_vid72.S
+++ b/libgcc/config/nds32/isr-library/vec_vid72.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/vec_vid72_4b.S b/libgcc/config/nds32/isr-library/vec_vid72_4b.S
index b736e56..ca292e0 100644
--- a/libgcc/config/nds32/isr-library/vec_vid72_4b.S
+++ b/libgcc/config/nds32/isr-library/vec_vid72_4b.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/isr-library/wrh.S b/libgcc/config/nds32/isr-library/wrh.S
index e3bfa92..876397a 100644
--- a/libgcc/config/nds32/isr-library/wrh.S
+++ b/libgcc/config/nds32/isr-library/wrh.S
@@ -1,5 +1,5 @@
/* c-isr library stuff of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/lib1asmsrc-mculib.S b/libgcc/config/nds32/lib1asmsrc-mculib.S
index bc500a6..fbe3e91 100644
--- a/libgcc/config/nds32/lib1asmsrc-mculib.S
+++ b/libgcc/config/nds32/lib1asmsrc-mculib.S
@@ -1,5 +1,5 @@
/* mculib libgcc routines of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/lib1asmsrc-newlib.S b/libgcc/config/nds32/lib1asmsrc-newlib.S
index 416e6dc..0424b95 100644
--- a/libgcc/config/nds32/lib1asmsrc-newlib.S
+++ b/libgcc/config/nds32/lib1asmsrc-newlib.S
@@ -1,5 +1,5 @@
/* newlib libgcc routines of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/lib2csrc-mculib/_clzdi2.c b/libgcc/config/nds32/lib2csrc-mculib/_clzdi2.c
index b6d2869..27397d6 100644
--- a/libgcc/config/nds32/lib2csrc-mculib/_clzdi2.c
+++ b/libgcc/config/nds32/lib2csrc-mculib/_clzdi2.c
@@ -1,5 +1,5 @@
/* mculib libgcc routines of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/lib2csrc-mculib/_clzsi2.c b/libgcc/config/nds32/lib2csrc-mculib/_clzsi2.c
index d664478..aafa035 100644
--- a/libgcc/config/nds32/lib2csrc-mculib/_clzsi2.c
+++ b/libgcc/config/nds32/lib2csrc-mculib/_clzsi2.c
@@ -1,5 +1,5 @@
/* mculib libgcc routines of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
diff --git a/libgcc/config/nds32/linux-atomic.c b/libgcc/config/nds32/linux-atomic.c
index 6237ec7..129610c 100644
--- a/libgcc/config/nds32/linux-atomic.c
+++ b/libgcc/config/nds32/linux-atomic.c
@@ -1,5 +1,5 @@
/* Linux-specific atomic operations for NDS32 Linux.
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/nds32/linux-unwind.h b/libgcc/config/nds32/linux-unwind.h
index 7a12d3a..8841987 100644
--- a/libgcc/config/nds32/linux-unwind.h
+++ b/libgcc/config/nds32/linux-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for NDS32 Linux signal frame.
- Copyright (C) 2014-2022 Free Software Foundation, Inc.
+ Copyright (C) 2014-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GCC.
@@ -92,7 +92,7 @@ nds32_fallback_frame_state (struct _Unwind_Context *context,
fs->regs.cfa_offset = new_cfa - (_Unwind_Ptr) context->cfa;
#define NDS32_PUT_FS_REG(NUM, NAME) \
- (fs->regs.reg[NUM].how = REG_SAVED_OFFSET, \
+ (fs->regs.how[NUM] = REG_SAVED_OFFSET, \
fs->regs.reg[NUM].loc.offset = (_Unwind_Ptr) &(sc_->NAME) - new_cfa)
/* Restore all registers value. */
diff --git a/libgcc/config/nds32/sfp-machine.h b/libgcc/config/nds32/sfp-machine.h
index 1620f80..bcc4c6a 100644
--- a/libgcc/config/nds32/sfp-machine.h
+++ b/libgcc/config/nds32/sfp-machine.h
@@ -1,6 +1,6 @@
/* Machine settings for software floating-point emulation
of Andes NDS32 cpu for GNU compiler
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of GNU C Library.
diff --git a/libgcc/config/nds32/t-nds32 b/libgcc/config/nds32/t-nds32
index 4271c83..db93e7c 100644
--- a/libgcc/config/nds32/t-nds32
+++ b/libgcc/config/nds32/t-nds32
@@ -1,5 +1,5 @@
# Rules of libgcc and crtstuff of Andes NDS32 cpu for GNU compiler
-# Copyright (C) 2012-2022 Free Software Foundation, Inc.
+# Copyright (C) 2012-2023 Free Software Foundation, Inc.
# Contributed by Andes Technology Corporation.
#
# This file is part of GCC.
diff --git a/libgcc/config/nds32/t-nds32-glibc b/libgcc/config/nds32/t-nds32-glibc
index 55d7795..3d222b9 100644
--- a/libgcc/config/nds32/t-nds32-glibc
+++ b/libgcc/config/nds32/t-nds32-glibc
@@ -1,5 +1,5 @@
# Rules of glibc library makefile of Andes NDS32 cpu for GNU compiler
-# Copyright (C) 2012-2022 Free Software Foundation, Inc.
+# Copyright (C) 2012-2023 Free Software Foundation, Inc.
# Contributed by Andes Technology Corporation.
#
# This file is part of GCC.
diff --git a/libgcc/config/nds32/t-nds32-isr b/libgcc/config/nds32/t-nds32-isr
index fc2bcba..951bc21 100644
--- a/libgcc/config/nds32/t-nds32-isr
+++ b/libgcc/config/nds32/t-nds32-isr
@@ -1,5 +1,5 @@
# Rules of c-isr library stuff of Andes NDS32 cpu for GNU compiler
-# Copyright (C) 2012-2022 Free Software Foundation, Inc.
+# Copyright (C) 2012-2023 Free Software Foundation, Inc.
# Contributed by Andes Technology Corporation.
#
# This file is part of GCC.
diff --git a/libgcc/config/nds32/t-nds32-mculib b/libgcc/config/nds32/t-nds32-mculib
index afde446..4e48e7a 100644
--- a/libgcc/config/nds32/t-nds32-mculib
+++ b/libgcc/config/nds32/t-nds32-mculib
@@ -1,5 +1,5 @@
# Rules of mculib library makefile of Andes NDS32 cpu for GNU compiler
-# Copyright (C) 2012-2022 Free Software Foundation, Inc.
+# Copyright (C) 2012-2023 Free Software Foundation, Inc.
# Contributed by Andes Technology Corporation.
#
# This file is part of GCC.
diff --git a/libgcc/config/nds32/t-nds32-newlib b/libgcc/config/nds32/t-nds32-newlib
index 2b737aa..209a724 100644
--- a/libgcc/config/nds32/t-nds32-newlib
+++ b/libgcc/config/nds32/t-nds32-newlib
@@ -1,5 +1,5 @@
# Rules of newlib library makefile of Andes NDS32 cpu for GNU compiler
-# Copyright (C) 2012-2022 Free Software Foundation, Inc.
+# Copyright (C) 2012-2023 Free Software Foundation, Inc.
# Contributed by Andes Technology Corporation.
#
# This file is part of GCC.
diff --git a/libgcc/config/nios2/crti.S b/libgcc/config/nios2/crti.S
index 646d196..aa4f34b 100644
--- a/libgcc/config/nios2/crti.S
+++ b/libgcc/config/nios2/crti.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2012-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Jonah Graham (jgraham@altera.com).
Contributed by Mentor Graphics, Inc.
diff --git a/libgcc/config/nios2/crtn.S b/libgcc/config/nios2/crtn.S
index 8125df0..752b6db 100644
--- a/libgcc/config/nios2/crtn.S
+++ b/libgcc/config/nios2/crtn.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2012-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Jonah Graham (jgraham@altera.com).
Contributed by Mentor Graphics, Inc.
diff --git a/libgcc/config/nios2/elf-lib.h b/libgcc/config/nios2/elf-lib.h
index 0532c22..a36f736 100644
--- a/libgcc/config/nios2/elf-lib.h
+++ b/libgcc/config/nios2/elf-lib.h
@@ -1,5 +1,5 @@
/* Target macros for the Nios II port of GCC.
- Copyright (C) 2015-2022 Free Software Foundation, Inc.
+ Copyright (C) 2015-2023 Free Software Foundation, Inc.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
diff --git a/libgcc/config/nios2/lib2-divmod-hi.c b/libgcc/config/nios2/lib2-divmod-hi.c
index 102e53f..a757a1f 100644
--- a/libgcc/config/nios2/lib2-divmod-hi.c
+++ b/libgcc/config/nios2/lib2-divmod-hi.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2012-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Altera and Mentor Graphics, Inc.
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/nios2/lib2-divmod.c b/libgcc/config/nios2/lib2-divmod.c
index 25874ba..991b6b0 100644
--- a/libgcc/config/nios2/lib2-divmod.c
+++ b/libgcc/config/nios2/lib2-divmod.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2012-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Altera and Mentor Graphics, Inc.
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/nios2/lib2-divtable.c b/libgcc/config/nios2/lib2-divtable.c
index 2063ed7..dbebc9a 100644
--- a/libgcc/config/nios2/lib2-divtable.c
+++ b/libgcc/config/nios2/lib2-divtable.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2012-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Altera and Mentor Graphics, Inc.
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/nios2/lib2-mul.c b/libgcc/config/nios2/lib2-mul.c
index f027ad1..a35521d 100644
--- a/libgcc/config/nios2/lib2-mul.c
+++ b/libgcc/config/nios2/lib2-mul.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2012-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Altera and Mentor Graphics, Inc.
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/nios2/lib2-nios2.h b/libgcc/config/nios2/lib2-nios2.h
index e52bd46..c9296cf 100644
--- a/libgcc/config/nios2/lib2-nios2.h
+++ b/libgcc/config/nios2/lib2-nios2.h
@@ -1,6 +1,6 @@
/* Integer arithmetic support for Altera Nios II.
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Altera and Mentor Graphics, Inc.
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/nios2/linux-atomic.c b/libgcc/config/nios2/linux-atomic.c
index a8f50e9..237693b 100644
--- a/libgcc/config/nios2/linux-atomic.c
+++ b/libgcc/config/nios2/linux-atomic.c
@@ -1,5 +1,5 @@
/* Linux-specific atomic operations for Nios II Linux.
- Copyright (C) 2008-2022 Free Software Foundation, Inc.
+ Copyright (C) 2008-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/nios2/linux-unwind.h b/libgcc/config/nios2/linux-unwind.h
index 4a8fca4..e0dde7a 100644
--- a/libgcc/config/nios2/linux-unwind.h
+++ b/libgcc/config/nios2/linux-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for Nios II Linux.
- Copyright (C) 2008-2022 Free Software Foundation, Inc.
+ Copyright (C) 2008-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
@@ -61,7 +61,7 @@ nios2_fallback_frame_state (struct _Unwind_Context *context,
return _URC_END_OF_STACK;
#define NIOS2_REG(NUM,NAME) \
- (fs->regs.reg[NUM].how = REG_SAVED_OFFSET, \
+ (fs->regs.how[NUM] = REG_SAVED_OFFSET, \
fs->regs.reg[NUM].loc.offset = (_Unwind_Ptr)&(regs->NAME) - new_cfa)
if (pc[0] == (0x00800004 | (__NR_rt_sigreturn << 6)))
diff --git a/libgcc/config/nios2/sfp-machine.h b/libgcc/config/nios2/sfp-machine.h
index 7b4a906..d259680 100644
--- a/libgcc/config/nios2/sfp-machine.h
+++ b/libgcc/config/nios2/sfp-machine.h
@@ -1,5 +1,5 @@
/* Soft-FP definitions for Altera Nios II.
- Copyright (C) 2013-2022 Free Software Foundation, Inc.
+ Copyright (C) 2013-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/nios2/tramp.c b/libgcc/config/nios2/tramp.c
index 20956ce..2818e42 100644
--- a/libgcc/config/nios2/tramp.c
+++ b/libgcc/config/nios2/tramp.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2013-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2013-2023 Free Software Foundation, Inc.
Contributed by Altera and Mentor Graphics, Inc.
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/nvptx/atomic.c b/libgcc/config/nvptx/atomic.c
index a6f3550..f0de6ee 100644
--- a/libgcc/config/nvptx/atomic.c
+++ b/libgcc/config/nvptx/atomic.c
@@ -1,5 +1,5 @@
/* NVPTX atomic operations
- Copyright (C) 2020-2022 Free Software Foundation, Inc.
+ Copyright (C) 2020-2023 Free Software Foundation, Inc.
Contributed by Mentor Graphics.
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/nvptx/crt0.c b/libgcc/config/nvptx/crt0.c
index abf0473..60e9474 100644
--- a/libgcc/config/nvptx/crt0.c
+++ b/libgcc/config/nvptx/crt0.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2014-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2014-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/nvptx/mgomp.c b/libgcc/config/nvptx/mgomp.c
index 89edb39..e6940e5 100644
--- a/libgcc/config/nvptx/mgomp.c
+++ b/libgcc/config/nvptx/mgomp.c
@@ -1,6 +1,6 @@
/* Define shared memory arrays for -msoft-stack and -muniform-simt.
- Copyright (C) 2015-2022 Free Software Foundation, Inc.
+ Copyright (C) 2015-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/nvptx/nvptx-malloc.h b/libgcc/config/nvptx/nvptx-malloc.h
index 1de3b61..4a63540 100644
--- a/libgcc/config/nvptx/nvptx-malloc.h
+++ b/libgcc/config/nvptx/nvptx-malloc.h
@@ -1,6 +1,6 @@
/* Declarations for the malloc wrappers.
- Copyright (C) 2014-2022 Free Software Foundation, Inc.
+ Copyright (C) 2014-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/nvptx/reduction.c b/libgcc/config/nvptx/reduction.c
index c08fb6b..7590bf5 100644
--- a/libgcc/config/nvptx/reduction.c
+++ b/libgcc/config/nvptx/reduction.c
@@ -1,5 +1,5 @@
/* Oversized reductions lock variable
- Copyright (C) 2015-2022 Free Software Foundation, Inc.
+ Copyright (C) 2015-2023 Free Software Foundation, Inc.
Contributed by Mentor Graphics.
This file is part of GCC.
diff --git a/libgcc/config/or1k/lib1funcs.S b/libgcc/config/or1k/lib1funcs.S
index b0f2a35..a954902 100644
--- a/libgcc/config/or1k/lib1funcs.S
+++ b/libgcc/config/or1k/lib1funcs.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2018-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2018-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/or1k/linux-unwind.h b/libgcc/config/or1k/linux-unwind.h
index 3cf9137..aa87379 100644
--- a/libgcc/config/or1k/linux-unwind.h
+++ b/libgcc/config/or1k/linux-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for OpenRISC Linux.
- Copyright (C) 2018-2022 Free Software Foundation, Inc.
+ Copyright (C) 2018-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -59,10 +59,10 @@ or1k_fallback_frame_state (struct _Unwind_Context *context,
fs->regs.cfa_offset = new_cfa - (long) context->cfa;
for (i = 2; i < 32; ++i)
{
- fs->regs.reg[i].how = REG_SAVED_OFFSET;
+ fs->regs.how[i] = REG_SAVED_OFFSET;
fs->regs.reg[i].loc.offset = (long) &sc->regs.gpr[i] - new_cfa;
}
- fs->regs.reg[32].how = REG_SAVED_OFFSET;
+ fs->regs.how[32] = REG_SAVED_OFFSET;
fs->regs.reg[32].loc.offset = (long)&sc->regs.pc - new_cfa;
fs->retaddr_column = 32;
fs->signal_frame = 1;
diff --git a/libgcc/config/or1k/sfp-machine.h b/libgcc/config/or1k/sfp-machine.h
index 162c6bc..c804270 100644
--- a/libgcc/config/or1k/sfp-machine.h
+++ b/libgcc/config/or1k/sfp-machine.h
@@ -73,7 +73,6 @@ do { \
do { \
if (__builtin_expect (_fex, 0)) \
{ \
- _fpcsr &= ~FP_EX_ALL; \
_fpcsr |= _fex; \
__asm__ volatile ("l.mtspr r0,%0,20" : : "r" (_fpcsr)); \
} \
diff --git a/libgcc/config/or1k/t-or1k b/libgcc/config/or1k/t-or1k
index 4bc5129..2029b60 100644
--- a/libgcc/config/or1k/t-or1k
+++ b/libgcc/config/or1k/t-or1k
@@ -1,5 +1,5 @@
# Libgcc Makefile fragment for OpenRISC
-# Copyright (C) 2018-2022 Free Software Foundation, Inc.
+# Copyright (C) 2018-2023 Free Software Foundation, Inc.
# Contributed by Stafford Horne.
#
# This file is part of GCC.
diff --git a/libgcc/config/pa/fptr.c b/libgcc/config/pa/fptr.c
index 8de8c23..ed62385 100644
--- a/libgcc/config/pa/fptr.c
+++ b/libgcc/config/pa/fptr.c
@@ -1,5 +1,5 @@
/* Subroutine for function pointer canonicalization on PA-RISC with ELF32.
- Copyright (C) 2002-2022 Free Software Foundation, Inc.
+ Copyright (C) 2002-2023 Free Software Foundation, Inc.
Contributed by John David Anglin (dave.anglin@nrc.ca).
This file is part of GCC.
diff --git a/libgcc/config/pa/gthr-dce.h b/libgcc/config/pa/gthr-dce.h
index 2b9bc1a..c34cf8b 100644
--- a/libgcc/config/pa/gthr-dce.h
+++ b/libgcc/config/pa/gthr-dce.h
@@ -1,6 +1,6 @@
/* Threads compatibility routines for libgcc2 and libobjc. */
/* Compile this one with gcc. */
-/* Copyright (C) 1997-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1997-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/pa/hpux-unwind.h b/libgcc/config/pa/hpux-unwind.h
index f14812a..6174d20 100644
--- a/libgcc/config/pa/hpux-unwind.h
+++ b/libgcc/config/pa/hpux-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for PA HP-UX.
- Copyright (C) 2005-2022 Free Software Foundation, Inc.
+ Copyright (C) 2005-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -57,19 +57,19 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#endif
#define UPDATE_FS_FOR_SAR(FS, N) \
- (FS)->regs.reg[N].how = REG_SAVED_OFFSET; \
+ (FS)->regs.how[N] = REG_SAVED_OFFSET; \
(FS)->regs.reg[N].loc.offset = GetSSRegAddr (mc, ss_cr11) - new_cfa
#define UPDATE_FS_FOR_GR(FS, GRN, N) \
- (FS)->regs.reg[N].how = REG_SAVED_OFFSET; \
+ (FS)->regs.how[N] = REG_SAVED_OFFSET; \
(FS)->regs.reg[N].loc.offset = GetSSRegAddr (mc, ss_gr##GRN) - new_cfa
#define UPDATE_FS_FOR_FR(FS, FRN, N) \
- (FS)->regs.reg[N].how = REG_SAVED_OFFSET; \
+ (FS)->regs.how[N] = REG_SAVED_OFFSET; \
(FS)->regs.reg[N].loc.offset = (long) &(mc->ss_fr##FRN) - new_cfa;
#define UPDATE_FS_FOR_PC(FS, N) \
- (FS)->regs.reg[N].how = REG_SAVED_OFFSET; \
+ (FS)->regs.how[N] = REG_SAVED_OFFSET; \
(FS)->regs.reg[N].loc.offset = GetSSRegAddr (mc, ss_pcoq_head) - new_cfa
/* Extract bit field from word using HP's numbering (MSB = 0). */
@@ -151,7 +151,7 @@ pa_fallback_frame_state (struct _Unwind_Context *context,
fs->regs.cfa_offset = 0;
fs->retaddr_column = 0;
- fs->regs.reg[0].how = REG_SAVED_OFFSET;
+ fs->regs.how[0] = REG_SAVED_OFFSET;
fs->regs.reg[0].loc.offset = -24;
/* Update context to describe the stub frame. */
@@ -171,7 +171,7 @@ pa_fallback_frame_state (struct _Unwind_Context *context,
fs->regs.cfa_offset = 0;
fs->retaddr_column = 0;
- fs->regs.reg[0].how = REG_SAVED_OFFSET;
+ fs->regs.how[0] = REG_SAVED_OFFSET;
fs->regs.reg[0].loc.offset = -8;
/* Update context to describe the stub frame. */
diff --git a/libgcc/config/pa/lib2funcs.S b/libgcc/config/pa/lib2funcs.S
index 14ace41..1daefea 100644
--- a/libgcc/config/pa/lib2funcs.S
+++ b/libgcc/config/pa/lib2funcs.S
@@ -1,6 +1,6 @@
; Subroutines for calling unbound dynamic functions from within GDB for HPPA.
; Subroutines for out of line prologues and epilogues on for the HPPA
-; Copyright (C) 1994-2022 Free Software Foundation, Inc.
+; Copyright (C) 1994-2023 Free Software Foundation, Inc.
; This file is part of GCC.
diff --git a/libgcc/config/pa/linux-atomic.c b/libgcc/config/pa/linux-atomic.c
index 10d7f42..a5360d5 100644
--- a/libgcc/config/pa/linux-atomic.c
+++ b/libgcc/config/pa/linux-atomic.c
@@ -1,5 +1,5 @@
/* Linux-specific atomic operations for PA Linux.
- Copyright (C) 2008-2022 Free Software Foundation, Inc.
+ Copyright (C) 2008-2023 Free Software Foundation, Inc.
Based on code contributed by CodeSourcery for ARM EABI Linux.
Modifications for PA Linux by Helge Deller <deller@gmx.de>
@@ -32,6 +32,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
typedef unsigned char u8;
typedef short unsigned int u16;
+typedef unsigned int u32;
#ifdef __LP64__
typedef long unsigned int u64;
#else
@@ -115,6 +116,36 @@ __kernel_cmpxchg2 (volatile void *mem, const void *oldval, const void *newval,
#define MASK_1 0xffu
#define MASK_2 0xffffu
+/* Load value with an atomic processor load if possible. */
+#define ATOMIC_LOAD(TYPE, WIDTH) \
+ static inline TYPE \
+ atomic_load_##WIDTH (volatile void *ptr) \
+ { \
+ return *(volatile TYPE *)ptr; \
+ }
+
+#if defined(__LP64__) || defined(__SOFTFP__)
+ATOMIC_LOAD (u64, 8)
+#else
+static inline u64
+atomic_load_8 (volatile void *ptr)
+{
+ u64 result;
+ double tmp;
+
+ asm volatile ("{fldds|fldd} 0(%2),%1\n\t"
+ "{fstds|fstd} %1,-16(%%sp)\n\t"
+ "{ldws|ldw} -16(%%sp),%0\n\t"
+ "{ldws|ldw} -12(%%sp),%R0"
+ : "=r" (result), "=f" (tmp) : "r" (ptr): "memory");
+ return result;
+}
+#endif
+
+ATOMIC_LOAD (u32, 4)
+ATOMIC_LOAD (u16, 2)
+ATOMIC_LOAD (u8, 1)
+
#define FETCH_AND_OP_2(OP, PFX_OP, INF_OP, TYPE, WIDTH, INDEX) \
TYPE HIDDEN \
__sync_fetch_and_##OP##_##WIDTH (volatile void *ptr, TYPE val) \
@@ -123,7 +154,7 @@ __kernel_cmpxchg2 (volatile void *mem, const void *oldval, const void *newval,
long failure; \
\
do { \
- tmp = __atomic_load_n ((volatile TYPE *)ptr, __ATOMIC_RELAXED); \
+ tmp = atomic_load_##WIDTH ((volatile TYPE *)ptr); \
newval = PFX_OP (tmp INF_OP val); \
failure = __kernel_cmpxchg2 (ptr, &tmp, &newval, INDEX); \
} while (failure != 0); \
@@ -160,7 +191,7 @@ FETCH_AND_OP_2 (nand, ~, &, u8, 1, 0)
long failure; \
\
do { \
- tmp = __atomic_load_n ((volatile TYPE *)ptr, __ATOMIC_RELAXED); \
+ tmp = atomic_load_##WIDTH ((volatile TYPE *)ptr); \
newval = PFX_OP (tmp INF_OP val); \
failure = __kernel_cmpxchg2 (ptr, &tmp, &newval, INDEX); \
} while (failure != 0); \
@@ -197,8 +228,7 @@ OP_AND_FETCH_2 (nand, ~, &, u8, 1, 0)
long failure; \
\
do { \
- tmp = __atomic_load_n ((volatile unsigned int *)ptr, \
- __ATOMIC_RELAXED); \
+ tmp = atomic_load_4 ((volatile unsigned int *)ptr); \
failure = __kernel_cmpxchg (ptr, tmp, PFX_OP (tmp INF_OP val)); \
} while (failure != 0); \
\
@@ -220,8 +250,7 @@ FETCH_AND_OP_WORD (nand, ~, &)
long failure; \
\
do { \
- tmp = __atomic_load_n ((volatile unsigned int *)ptr, \
- __ATOMIC_RELAXED); \
+ tmp = atomic_load_4 ((volatile unsigned int *)ptr); \
failure = __kernel_cmpxchg (ptr, tmp, PFX_OP (tmp INF_OP val)); \
} while (failure != 0); \
\
@@ -247,8 +276,7 @@ typedef unsigned char bool;
\
while (1) \
{ \
- actual_oldval = __atomic_load_n ((volatile TYPE *)ptr, \
- __ATOMIC_RELAXED); \
+ actual_oldval = atomic_load_##WIDTH ((volatile TYPE *)ptr); \
\
if (__builtin_expect (oldval != actual_oldval, 0)) \
return actual_oldval; \
@@ -281,8 +309,7 @@ __sync_val_compare_and_swap_4 (volatile void *ptr, unsigned int oldval,
while (1)
{
- actual_oldval = __atomic_load_n ((volatile unsigned int *)ptr,
- __ATOMIC_RELAXED);
+ actual_oldval = atomic_load_4 ((volatile unsigned int *)ptr);
if (__builtin_expect (oldval != actual_oldval, 0))
return actual_oldval;
@@ -310,8 +337,7 @@ TYPE HIDDEN \
long failure; \
\
do { \
- oldval = __atomic_load_n ((volatile TYPE *)ptr, \
- __ATOMIC_RELAXED); \
+ oldval = atomic_load_##WIDTH ((volatile TYPE *)ptr); \
failure = __kernel_cmpxchg2 (ptr, &oldval, &val, INDEX); \
} while (failure != 0); \
\
@@ -322,14 +348,14 @@ SYNC_LOCK_TEST_AND_SET_2 (u64, 8, 3)
SYNC_LOCK_TEST_AND_SET_2 (u16, 2, 1)
SYNC_LOCK_TEST_AND_SET_2 (u8, 1, 0)
-unsigned int HIDDEN
+u32 HIDDEN
__sync_lock_test_and_set_4 (volatile void *ptr, unsigned int val)
{
long failure;
unsigned int oldval;
do {
- oldval = __atomic_load_n ((volatile unsigned int *)ptr, __ATOMIC_RELAXED);
+ oldval = atomic_load_4 ((volatile unsigned int *)ptr);
failure = __kernel_cmpxchg (ptr, oldval, val);
} while (failure != 0);
@@ -344,8 +370,7 @@ __sync_lock_test_and_set_4 (volatile void *ptr, unsigned int val)
long failure; \
\
do { \
- oldval = __atomic_load_n ((volatile TYPE *)ptr, \
- __ATOMIC_RELAXED); \
+ oldval = atomic_load_##WIDTH ((volatile TYPE *)ptr); \
failure = __kernel_cmpxchg2 (ptr, &oldval, &val, INDEX); \
} while (failure != 0); \
}
@@ -361,7 +386,27 @@ __sync_lock_release_4 (volatile void *ptr)
unsigned int oldval;
do {
- oldval = __atomic_load_n ((volatile unsigned int *)ptr, __ATOMIC_RELAXED);
+ oldval = atomic_load_4 ((volatile unsigned int *)ptr);
failure = __kernel_cmpxchg (ptr, oldval, 0);
} while (failure != 0);
}
+
+#ifndef __LP64__
+#define SYNC_LOCK_LOAD_2(TYPE, WIDTH, INDEX) \
+ TYPE __sync_lock_load_##WIDTH (volatile void *) HIDDEN; \
+ TYPE \
+ __sync_lock_load_##WIDTH (volatile void *ptr) \
+ { \
+ TYPE oldval; \
+ long failure; \
+ \
+ do { \
+ oldval = atomic_load_##WIDTH ((volatile TYPE *)ptr); \
+ failure = __kernel_cmpxchg2 (ptr, &oldval, &oldval, INDEX); \
+ } while (failure != 0); \
+ \
+ return oldval; \
+ }
+
+SYNC_LOCK_LOAD_2 (u64, 8, 3)
+#endif
diff --git a/libgcc/config/pa/linux-unwind.h b/libgcc/config/pa/linux-unwind.h
index 7e424c5..5bd71b8 100644
--- a/libgcc/config/pa/linux-unwind.h
+++ b/libgcc/config/pa/linux-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for PA Linux.
- Copyright (C) 2004-2022 Free Software Foundation, Inc.
+ Copyright (C) 2004-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -138,22 +138,22 @@ pa32_fallback_frame_state (struct _Unwind_Context *context,
fs->regs.cfa_offset = new_cfa - (long) context->cfa;
for (i = 1; i <= 31; i++)
{
- fs->regs.reg[i].how = REG_SAVED_OFFSET;
+ fs->regs.how[i] = REG_SAVED_OFFSET;
fs->regs.reg[i].loc.offset = (long)&sc->sc_gr[i] - new_cfa;
}
for (i = 4; i <= 31; i++)
{
/* FP regs have left and right halves */
- fs->regs.reg[2*i+24].how = REG_SAVED_OFFSET;
+ fs->regs.how[2*i+24] = REG_SAVED_OFFSET;
fs->regs.reg[2*i+24].loc.offset
= (long)&sc->sc_fr[i] - new_cfa;
- fs->regs.reg[2*i+24+1].how = REG_SAVED_OFFSET;
+ fs->regs.how[2*i+24+1] = REG_SAVED_OFFSET;
fs->regs.reg[2*i+24+1].loc.offset
= (long)&sc->sc_fr[i] + 4 - new_cfa;
}
- fs->regs.reg[88].how = REG_SAVED_OFFSET;
+ fs->regs.how[88] = REG_SAVED_OFFSET;
fs->regs.reg[88].loc.offset = (long) &sc->sc_sar - new_cfa;
- fs->regs.reg[__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__].how
+ fs->regs.how[__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__]
= REG_SAVED_OFFSET;
fs->regs.reg[__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__].loc.offset
= (long) &sc->sc_iaoq[0] - new_cfa;
diff --git a/libgcc/config/pa/milli64.S b/libgcc/config/pa/milli64.S
index 74e8987..2316f79 100644
--- a/libgcc/config/pa/milli64.S
+++ b/libgcc/config/pa/milli64.S
@@ -2,7 +2,7 @@
adapted for gcc by Paul Bame <bame@debian.org>
and Alan Modra <alan@linuxcare.com.au>.
- Copyright (C) 2001-2022 Free Software Foundation, Inc.
+ Copyright (C) 2001-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/pa/pa64-hpux-lib.h b/libgcc/config/pa/pa64-hpux-lib.h
index 2530e9e..1c73db5 100644
--- a/libgcc/config/pa/pa64-hpux-lib.h
+++ b/libgcc/config/pa/pa64-hpux-lib.h
@@ -1,6 +1,6 @@
/* Definitions of target machine for GNU compiler, for HPs running
HP-UX using the 64bit runtime model.
- Copyright (C) 1999-2022 Free Software Foundation, Inc.
+ Copyright (C) 1999-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/pa/quadlib.c b/libgcc/config/pa/quadlib.c
index 41ebf24..4da6b45 100644
--- a/libgcc/config/pa/quadlib.c
+++ b/libgcc/config/pa/quadlib.c
@@ -1,5 +1,5 @@
/* Subroutines for long double support.
- Copyright (C) 2000-2022 Free Software Foundation, Inc.
+ Copyright (C) 2000-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/pa/sfp-exceptions.c b/libgcc/config/pa/sfp-exceptions.c
index 9c203d6..e276f68 100644
--- a/libgcc/config/pa/sfp-exceptions.c
+++ b/libgcc/config/pa/sfp-exceptions.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 1997-2022 Free Software Foundation, Inc.
+ * Copyright (C) 1997-2023 Free Software Foundation, Inc.
*
* This file is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/pa/sfp-machine.h b/libgcc/config/pa/sfp-machine.h
index fef9314..22501e2 100644
--- a/libgcc/config/pa/sfp-machine.h
+++ b/libgcc/config/pa/sfp-machine.h
@@ -1,5 +1,5 @@
/* softfp machine description for PA-RISC.
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/pa/stublib.c b/libgcc/config/pa/stublib.c
index 91d7595..f977edc 100644
--- a/libgcc/config/pa/stublib.c
+++ b/libgcc/config/pa/stublib.c
@@ -1,5 +1,5 @@
/* Stub functions.
- Copyright (C) 2006-2022 Free Software Foundation, Inc.
+ Copyright (C) 2006-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/pa/sync-libfuncs.c b/libgcc/config/pa/sync-libfuncs.c
new file mode 100644
index 0000000..c70be0f
--- /dev/null
+++ b/libgcc/config/pa/sync-libfuncs.c
@@ -0,0 +1,324 @@
+/* PA-RISC sync libfunc support.
+ Copyright (C) 2008-2023 Free Software Foundation, Inc.
+ Based on code contributed by CodeSourcery for ARM EABI Linux.
+ Modifications for PA Linux by Helge Deller <deller@gmx.de>
+ Revised for general use by John David Anglin <danglin@gcc.gnu.org>
+
+This file is part of GCC.
+
+GCC is free software; you can redistribute it and/or modify it under
+the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3, or (at your option) any later
+version.
+
+GCC is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or
+FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details.
+
+Under Section 7 of GPL version 3, you are granted additional
+permissions described in the GCC Runtime Library Exception, version
+3.1, as published by the Free Software Foundation.
+
+You should have received a copy of the GNU General Public License and
+a copy of the GCC Runtime Library Exception along with this program;
+see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
+<http://www.gnu.org/licenses/>. */
+
+typedef unsigned char u8;
+typedef short unsigned int u16;
+typedef unsigned int u32;
+#ifdef __LP64__
+typedef long unsigned int u64;
+#else
+typedef long long unsigned int u64;
+#endif
+
+/* PA-RISC 2.0 supports out-of-order execution for loads and stores.
+ Thus, we need to synchonize memory accesses. For more info, see:
+ "Advanced Performance Features of the 64-bit PA-8000" by Doug Hunt. */
+
+typedef volatile int __attribute__((aligned (16))) ldcw_t;
+static ldcw_t __atomicity_lock = 1;
+
+/* We want default visibility for the sync routines. */
+#undef VISIBILITY
+#if defined(__hpux__) && !defined(__LP64__)
+#define VISIBILITY
+#else
+#define VISIBILITY __attribute__ ((visibility ("default")))
+#endif
+
+/* Perform ldcw operation in cache when possible. The ldcw instruction
+ is a full barrier. */
+#ifndef _PA_LDCW_INSN
+# ifdef _PA_RISC2_0
+# define _PA_LDCW_INSN "ldcw,co"
+# else
+# define _PA_LDCW_INSN "ldcw"
+# endif
+#endif
+
+static inline void
+__sync_spin_lock (void)
+{
+ ldcw_t *lock = &__atomicity_lock;
+ int tmp;
+
+ __asm__ __volatile__ (_PA_LDCW_INSN " 0(%1),%0\n\t"
+ "cmpib,<>,n 0,%0,.+20\n\t"
+ "ldw,ma 0(%1),%0\n\t"
+ "cmpib,<> 0,%0,.-12\n\t"
+ "nop\n\t"
+ "b,n .-12"
+ : "=&r" (tmp)
+ : "r" (lock)
+ : "memory");
+}
+
+static inline void
+__sync_spin_unlock (void)
+{
+ ldcw_t *lock = &__atomicity_lock;
+ int tmp = 1;
+
+ /* Use ordered store for release. */
+ __asm__ __volatile__ ("stw,ma %1,0(%0)"
+ : : "r" (lock), "r" (tmp) : "memory");
+}
+
+/* Load value with an atomic processor load if possible. */
+#define ATOMIC_LOAD(TYPE, WIDTH) \
+ static inline TYPE \
+ atomic_load_##WIDTH (volatile void *ptr) \
+ { \
+ return *(volatile TYPE *)ptr; \
+ }
+
+#if defined(__LP64__) || defined(__SOFTFP__)
+ATOMIC_LOAD (u64, 8)
+#else
+static inline u64
+atomic_load_8 (volatile void *ptr)
+{
+ u64 result;
+ double tmp;
+
+ asm volatile ("{fldds|fldd} 0(%2),%1\n\t"
+ "{fstds|fstd} %1,-16(%%sp)\n\t"
+ "{ldws|ldw} -16(%%sp),%0\n\t"
+ "{ldws|ldw} -12(%%sp),%R0"
+ : "=r" (result), "=f" (tmp) : "r" (ptr): "memory");
+ return result;
+}
+#endif
+
+ATOMIC_LOAD (u32, 4)
+ATOMIC_LOAD (u16, 2)
+ATOMIC_LOAD (u8, 1)
+
+/* Store value with an atomic processor store if possible. */
+#define ATOMIC_STORE(TYPE, WIDTH) \
+ static inline void \
+ atomic_store_##WIDTH (volatile void *ptr, TYPE value) \
+ { \
+ *(volatile TYPE *)ptr = value; \
+ }
+
+#if defined(__LP64__) || defined(__SOFTFP__)
+ATOMIC_STORE (u64, 8)
+#else
+static inline void
+atomic_store_8 (volatile void *ptr, u64 value)
+{
+ double tmp;
+
+ asm volatile ("stws|stw} %2,-16(%%sp)\n\t"
+ "{stws|stw} %R2,-12(%%sp)\n\t"
+ "{fldds|fldd} -16(%%sp),%1\n\t"
+ "{fstds|fstd} %1,0(%0)"
+ : "=m" (ptr), "=&f" (tmp) : "r" (value): "memory");
+}
+#endif
+
+ATOMIC_STORE (u32, 4)
+ATOMIC_STORE (u16, 2)
+ATOMIC_STORE (u8, 1)
+
+#define FETCH_AND_OP(OP, PFX_OP, INF_OP, TYPE, WIDTH) \
+ TYPE VISIBILITY \
+ __sync_fetch_and_##OP##_##WIDTH (volatile void *ptr, TYPE val) \
+ { \
+ TYPE tmp, newval; \
+ \
+ __sync_spin_lock(); \
+ tmp = atomic_load_##WIDTH (ptr); \
+ newval = PFX_OP (tmp INF_OP val); \
+ atomic_store_##WIDTH (ptr, newval); \
+ __sync_spin_unlock(); \
+ \
+ return tmp; \
+ }
+
+FETCH_AND_OP (add, , +, u64, 8)
+FETCH_AND_OP (sub, , -, u64, 8)
+FETCH_AND_OP (or, , |, u64, 8)
+FETCH_AND_OP (and, , &, u64, 8)
+FETCH_AND_OP (xor, , ^, u64, 8)
+FETCH_AND_OP (nand, ~, &, u64, 8)
+
+FETCH_AND_OP (add, , +, u32, 4)
+FETCH_AND_OP (sub, , -, u32, 4)
+FETCH_AND_OP (or, , |, u32, 4)
+FETCH_AND_OP (and, , &, u32, 4)
+FETCH_AND_OP (xor, , ^, u32, 4)
+FETCH_AND_OP (nand, ~, &, u32, 4)
+
+FETCH_AND_OP (add, , +, u16, 2)
+FETCH_AND_OP (sub, , -, u16, 2)
+FETCH_AND_OP (or, , |, u16, 2)
+FETCH_AND_OP (and, , &, u16, 2)
+FETCH_AND_OP (xor, , ^, u16, 2)
+FETCH_AND_OP (nand, ~, &, u16, 2)
+
+FETCH_AND_OP (add, , +, u8, 1)
+FETCH_AND_OP (sub, , -, u8, 1)
+FETCH_AND_OP (or, , |, u8, 1)
+FETCH_AND_OP (and, , &, u8, 1)
+FETCH_AND_OP (xor, , ^, u8, 1)
+FETCH_AND_OP (nand, ~, &, u8, 1)
+
+#define OP_AND_FETCH(OP, PFX_OP, INF_OP, TYPE, WIDTH) \
+ TYPE VISIBILITY \
+ __sync_##OP##_and_fetch_##WIDTH (volatile void *ptr, TYPE val) \
+ { \
+ TYPE tmp, newval; \
+ \
+ __sync_spin_lock(); \
+ tmp = atomic_load_##WIDTH (ptr); \
+ newval = PFX_OP (tmp INF_OP val); \
+ atomic_store_##WIDTH (ptr, newval); \
+ __sync_spin_unlock(); \
+ \
+ return newval; \
+ }
+
+OP_AND_FETCH (add, , +, u64, 8)
+OP_AND_FETCH (sub, , -, u64, 8)
+OP_AND_FETCH (or, , |, u64, 8)
+OP_AND_FETCH (and, , &, u64, 8)
+OP_AND_FETCH (xor, , ^, u64, 8)
+OP_AND_FETCH (nand, ~, &, u64, 8)
+
+OP_AND_FETCH (add, , +, u32, 4)
+OP_AND_FETCH (sub, , -, u32, 4)
+OP_AND_FETCH (or, , |, u32, 4)
+OP_AND_FETCH (and, , &, u32, 4)
+OP_AND_FETCH (xor, , ^, u32, 4)
+OP_AND_FETCH (nand, ~, &, u32, 4)
+
+OP_AND_FETCH (add, , +, u16, 2)
+OP_AND_FETCH (sub, , -, u16, 2)
+OP_AND_FETCH (or, , |, u16, 2)
+OP_AND_FETCH (and, , &, u16, 2)
+OP_AND_FETCH (xor, , ^, u16, 2)
+OP_AND_FETCH (nand, ~, &, u16, 2)
+
+OP_AND_FETCH (add, , +, u8, 1)
+OP_AND_FETCH (sub, , -, u8, 1)
+OP_AND_FETCH (or, , |, u8, 1)
+OP_AND_FETCH (and, , &, u8, 1)
+OP_AND_FETCH (xor, , ^, u8, 1)
+OP_AND_FETCH (nand, ~, &, u8, 1)
+
+#define COMPARE_AND_SWAP(TYPE, WIDTH) \
+ TYPE VISIBILITY \
+ __sync_val_compare_and_swap_##WIDTH (volatile void *ptr, TYPE oldval, \
+ TYPE newval) \
+ { \
+ TYPE actual_oldval; \
+ \
+ __sync_spin_lock(); \
+ actual_oldval = atomic_load_##WIDTH (ptr); \
+ if (actual_oldval == oldval) \
+ atomic_store_##WIDTH (ptr, newval); \
+ __sync_spin_unlock(); \
+ \
+ return actual_oldval; \
+ } \
+ \
+ _Bool VISIBILITY \
+ __sync_bool_compare_and_swap_##WIDTH (volatile void *ptr, \
+ TYPE oldval, TYPE newval) \
+ { \
+ TYPE actual_oldval; \
+ _Bool result; \
+ \
+ __sync_spin_lock(); \
+ actual_oldval = atomic_load_##WIDTH (ptr); \
+ result = (actual_oldval == oldval); \
+ if (result) \
+ atomic_store_##WIDTH (ptr, newval); \
+ __sync_spin_unlock(); \
+ \
+ return result; \
+ }
+
+COMPARE_AND_SWAP (u64, 8)
+COMPARE_AND_SWAP (u32, 4)
+COMPARE_AND_SWAP (u16, 2)
+COMPARE_AND_SWAP (u8, 1)
+
+#define SYNC_LOCK_TEST_AND_SET(TYPE, WIDTH) \
+TYPE VISIBILITY \
+ __sync_lock_test_and_set_##WIDTH (volatile void *ptr, TYPE val) \
+ { \
+ TYPE oldval; \
+ \
+ __sync_spin_lock(); \
+ oldval = atomic_load_##WIDTH (ptr); \
+ atomic_store_##WIDTH (ptr, val); \
+ __sync_spin_unlock(); \
+ \
+ return oldval; \
+ }
+
+SYNC_LOCK_TEST_AND_SET (u64, 8)
+SYNC_LOCK_TEST_AND_SET (u32, 4)
+SYNC_LOCK_TEST_AND_SET (u16, 2)
+SYNC_LOCK_TEST_AND_SET (u8, 1)
+
+#define SYNC_LOCK_RELEASE(TYPE, WIDTH) \
+ void VISIBILITY \
+ __sync_lock_release_##WIDTH (volatile void *ptr) \
+ { \
+ TYPE val = 0; \
+ \
+ __sync_spin_lock(); \
+ atomic_store_##WIDTH (ptr, val); \
+ __sync_spin_unlock(); \
+ }
+
+SYNC_LOCK_RELEASE (u64, 8)
+SYNC_LOCK_RELEASE (u32, 4)
+SYNC_LOCK_RELEASE (u16, 2)
+SYNC_LOCK_RELEASE (u8, 1)
+
+#define SYNC_LOCK_LOAD(TYPE, WIDTH) \
+TYPE VISIBILITY __sync_lock_load_##WIDTH (volatile void *); \
+TYPE VISIBILITY \
+ __sync_lock_load_##WIDTH (volatile void *ptr) \
+ { \
+ TYPE oldval; \
+ \
+ __sync_spin_lock(); \
+ oldval = atomic_load_##WIDTH (ptr); \
+ __sync_spin_unlock(); \
+ \
+ return oldval; \
+ }
+
+SYNC_LOCK_LOAD (u64, 8)
+SYNC_LOCK_LOAD (u32, 4)
+SYNC_LOCK_LOAD (u16, 2)
+SYNC_LOCK_LOAD (u8, 1)
diff --git a/libgcc/config/pa/t-netbsd b/libgcc/config/pa/t-netbsd
index 8b99068..1394394 100644
--- a/libgcc/config/pa/t-netbsd
+++ b/libgcc/config/pa/t-netbsd
@@ -7,3 +7,4 @@ LIB1ASMFUNCS = _divI _divU _remI _remU _div_const _mulI _dyncall
HOST_LIBGCC2_CFLAGS += -DELF=1 -DLINUX=1
LIB2ADD = $(srcdir)/config/pa/fptr.c
+LIB2ADD_ST = $(srcdir)/config/pa/sync-libfuncs.c
diff --git a/libgcc/config/pa/t-openbsd b/libgcc/config/pa/t-openbsd
index 8b99068..1394394 100644
--- a/libgcc/config/pa/t-openbsd
+++ b/libgcc/config/pa/t-openbsd
@@ -7,3 +7,4 @@ LIB1ASMFUNCS = _divI _divU _remI _remU _div_const _mulI _dyncall
HOST_LIBGCC2_CFLAGS += -DELF=1 -DLINUX=1
LIB2ADD = $(srcdir)/config/pa/fptr.c
+LIB2ADD_ST = $(srcdir)/config/pa/sync-libfuncs.c
diff --git a/libgcc/config/pa/t-pa64-hpux b/libgcc/config/pa/t-pa64-hpux
new file mode 100644
index 0000000..55194e8
--- /dev/null
+++ b/libgcc/config/pa/t-pa64-hpux
@@ -0,0 +1,4 @@
+LIB2ADD = $(srcdir)/config/pa/quadlib.c
+LIB2ADD_ST = $(srcdir)/config/pa/sync-libfuncs.c
+
+HOST_LIBGCC2_CFLAGS += -frandom-seed=fixed-seed -Dpa64=1 -DELF=1 -mlong-calls
diff --git a/libgcc/config/pa/t-pa64-linux b/libgcc/config/pa/t-pa64-linux
new file mode 100644
index 0000000..026b48b
--- /dev/null
+++ b/libgcc/config/pa/t-pa64-linux
@@ -0,0 +1,8 @@
+# Plug millicode routines into libgcc.a We want these on both native and
+# cross compiles.
+LIB1ASMSRC = pa/milli64.S
+LIB1ASMFUNCS = _divI _divU _remI _remU _div_const _mulI
+
+HOST_LIBGCC2_CFLAGS += -Dpa64=1 -DELF=1 -DLINUX=1
+
+LIB2ADD_ST = $(srcdir)/config/pa/linux-atomic.c
diff --git a/libgcc/config/pa/t-slibgcc-hpux b/libgcc/config/pa/t-slibgcc-hpux
index 2e2b269..7980b72 100644
--- a/libgcc/config/pa/t-slibgcc-hpux
+++ b/libgcc/config/pa/t-slibgcc-hpux
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2022 Free Software Foundation, Inc.
+# Copyright (C) 2001-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/config/pru/asri.c b/libgcc/config/pru/asri.c
index 4e0a969..86973a8 100644
--- a/libgcc/config/pru/asri.c
+++ b/libgcc/config/pru/asri.c
@@ -1,6 +1,6 @@
/* PRU ABI compatibility functions
Arithmetic right shift
- Copyright (C) 2017-2022 Free Software Foundation, Inc.
+ Copyright (C) 2017-2023 Free Software Foundation, Inc.
Contributed by Dimitar Dimitrov <dimitar@dinux.eu>
This file is free software; you can redistribute it and/or
diff --git a/libgcc/config/pru/eqd.c b/libgcc/config/pru/eqd.c
index add4cd1..50feb33 100644
--- a/libgcc/config/pru/eqd.c
+++ b/libgcc/config/pru/eqd.c
@@ -1,6 +1,6 @@
/* Software floating-point emulation.
Return 1 iff a == b, 0 otherwise.
- Copyright (C) 1997-2022 Free Software Foundation, Inc.
+ Copyright (C) 1997-2023 Free Software Foundation, Inc.
Contributed by Richard Henderson (rth@cygnus.com) and
Jakub Jelinek (jj@ultra.linux.cz).
diff --git a/libgcc/config/pru/eqf.c b/libgcc/config/pru/eqf.c
index ce8c22e..124c35f 100644
--- a/libgcc/config/pru/eqf.c
+++ b/libgcc/config/pru/eqf.c
@@ -1,6 +1,6 @@
/* Software floating-point emulation.
Return 1 iff a == b, 0 otherwise.
- Copyright (C) 1997-2022 Free Software Foundation, Inc.
+ Copyright (C) 1997-2023 Free Software Foundation, Inc.
Contributed by Richard Henderson (rth@cygnus.com) and
Jakub Jelinek (jj@ultra.linux.cz).
diff --git a/libgcc/config/pru/ged.c b/libgcc/config/pru/ged.c
index 2900750..e607849 100644
--- a/libgcc/config/pru/ged.c
+++ b/libgcc/config/pru/ged.c
@@ -1,6 +1,6 @@
/* Software floating-point emulation.
Return 1 iff a >= b, 0 otherwise.
- Copyright (C) 1997-2022 Free Software Foundation, Inc.
+ Copyright (C) 1997-2023 Free Software Foundation, Inc.
Contributed by Richard Henderson (rth@cygnus.com) and
Jakub Jelinek (jj@ultra.linux.cz).
diff --git a/libgcc/config/pru/gef.c b/libgcc/config/pru/gef.c
index e1c04d3..04f0d6a 100644
--- a/libgcc/config/pru/gef.c
+++ b/libgcc/config/pru/gef.c
@@ -1,6 +1,6 @@
/* Software floating-point emulation.
Return 1 iff a >= b, 0 otherwise.
- Copyright (C) 1997-2022 Free Software Foundation, Inc.
+ Copyright (C) 1997-2023 Free Software Foundation, Inc.
Contributed by Richard Henderson (rth@cygnus.com) and
Jakub Jelinek (jj@ultra.linux.cz).
diff --git a/libgcc/config/pru/gtd.c b/libgcc/config/pru/gtd.c
index cb3ddc0..9dc585b 100644
--- a/libgcc/config/pru/gtd.c
+++ b/libgcc/config/pru/gtd.c
@@ -1,6 +1,6 @@
/* Software floating-point emulation.
Return 1 iff a > b, 0 otherwise.
- Copyright (C) 1997-2022 Free Software Foundation, Inc.
+ Copyright (C) 1997-2023 Free Software Foundation, Inc.
Contributed by Richard Henderson (rth@cygnus.com) and
Jakub Jelinek (jj@ultra.linux.cz).
diff --git a/libgcc/config/pru/gtf.c b/libgcc/config/pru/gtf.c
index 31c3618..4f28f3f 100644
--- a/libgcc/config/pru/gtf.c
+++ b/libgcc/config/pru/gtf.c
@@ -1,6 +1,6 @@
/* Software floating-point emulation.
Return 1 iff a > b, 0 otherwise.
- Copyright (C) 1997-2022 Free Software Foundation, Inc.
+ Copyright (C) 1997-2023 Free Software Foundation, Inc.
Contributed by Richard Henderson (rth@cygnus.com) and
Jakub Jelinek (jj@ultra.linux.cz).
diff --git a/libgcc/config/pru/led.c b/libgcc/config/pru/led.c
index 046aac5..aafdbce 100644
--- a/libgcc/config/pru/led.c
+++ b/libgcc/config/pru/led.c
@@ -1,6 +1,6 @@
/* Software floating-point emulation.
Return 1 iff a <= b, 0 otherwise.
- Copyright (C) 1997-2022 Free Software Foundation, Inc.
+ Copyright (C) 1997-2023 Free Software Foundation, Inc.
Contributed by Richard Henderson (rth@cygnus.com) and
Jakub Jelinek (jj@ultra.linux.cz).
diff --git a/libgcc/config/pru/lef.c b/libgcc/config/pru/lef.c
index 7cdc1bd..634bf21 100644
--- a/libgcc/config/pru/lef.c
+++ b/libgcc/config/pru/lef.c
@@ -1,6 +1,6 @@
/* Software floating-point emulation.
Return 1 iff a <= b, 0 otherwise.
- Copyright (C) 1997-2022 Free Software Foundation, Inc.
+ Copyright (C) 1997-2023 Free Software Foundation, Inc.
Contributed by Richard Henderson (rth@cygnus.com) and
Jakub Jelinek (jj@ultra.linux.cz).
diff --git a/libgcc/config/pru/lib2bitcountHI.c b/libgcc/config/pru/lib2bitcountHI.c
index 4fff2b4..c29ada7 100644
--- a/libgcc/config/pru/lib2bitcountHI.c
+++ b/libgcc/config/pru/lib2bitcountHI.c
@@ -1,5 +1,5 @@
/* libgcc routines for PRU
- Copyright (C) 2014-2022 Free Software Foundation, Inc.
+ Copyright (C) 2014-2023 Free Software Foundation, Inc.
Based on lib2bitcountHI.c from MSP430 port.
This file is part of GCC.
diff --git a/libgcc/config/pru/lib2divHI.c b/libgcc/config/pru/lib2divHI.c
index 8145186..592e1a1 100644
--- a/libgcc/config/pru/lib2divHI.c
+++ b/libgcc/config/pru/lib2divHI.c
@@ -1,5 +1,5 @@
/* HI mode divide routines for libgcc for PRU
- Copyright (C) 2014-2022 Free Software Foundation, Inc.
+ Copyright (C) 2014-2023 Free Software Foundation, Inc.
Based on lib2divHI.c from MSP430 port.
This file is part of GCC.
diff --git a/libgcc/config/pru/lib2divQI.c b/libgcc/config/pru/lib2divQI.c
index c4b3210..d6a8735 100644
--- a/libgcc/config/pru/lib2divQI.c
+++ b/libgcc/config/pru/lib2divQI.c
@@ -1,5 +1,5 @@
/* QI mode divide routines for libgcc for PRU
- Copyright (C) 2014-2022 Free Software Foundation, Inc.
+ Copyright (C) 2014-2023 Free Software Foundation, Inc.
Based on lib2divQI.c from MSP430 port.
This file is part of GCC.
diff --git a/libgcc/config/pru/lib2divSI.c b/libgcc/config/pru/lib2divSI.c
index 00084a8..6cac008 100644
--- a/libgcc/config/pru/lib2divSI.c
+++ b/libgcc/config/pru/lib2divSI.c
@@ -1,5 +1,5 @@
/* SI mode divide routines for libgcc for PRU
- Copyright (C) 2014-2022 Free Software Foundation, Inc.
+ Copyright (C) 2014-2023 Free Software Foundation, Inc.
Based on lib2divSI.c from MSP430 port.
This file is part of GCC.
diff --git a/libgcc/config/pru/libgcc-eabi.ver b/libgcc/config/pru/libgcc-eabi.ver
index 953cfc8..3cf90c7 100644
--- a/libgcc/config/pru/libgcc-eabi.ver
+++ b/libgcc/config/pru/libgcc-eabi.ver
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2022 Free Software Foundation, Inc.
+# Copyright (C) 2017-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/config/pru/ltd.c b/libgcc/config/pru/ltd.c
index 0327ea4..ab9b2a9 100644
--- a/libgcc/config/pru/ltd.c
+++ b/libgcc/config/pru/ltd.c
@@ -1,6 +1,6 @@
/* Software floating-point emulation.
Return 1 iff a < b, 0 otherwise.
- Copyright (C) 1997-2022 Free Software Foundation, Inc.
+ Copyright (C) 1997-2023 Free Software Foundation, Inc.
Contributed by Richard Henderson (rth@cygnus.com) and
Jakub Jelinek (jj@ultra.linux.cz).
diff --git a/libgcc/config/pru/ltf.c b/libgcc/config/pru/ltf.c
index 371a0e0..e600187 100644
--- a/libgcc/config/pru/ltf.c
+++ b/libgcc/config/pru/ltf.c
@@ -1,6 +1,6 @@
/* Software floating-point emulation.
Return 1 iff a < b, 0 otherwise.
- Copyright (C) 1997-2022 Free Software Foundation, Inc.
+ Copyright (C) 1997-2023 Free Software Foundation, Inc.
Contributed by Richard Henderson (rth@cygnus.com) and
Jakub Jelinek (jj@ultra.linux.cz).
diff --git a/libgcc/config/pru/mpyll.S b/libgcc/config/pru/mpyll.S
index 12b5d8f..26ce287 100644
--- a/libgcc/config/pru/mpyll.S
+++ b/libgcc/config/pru/mpyll.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2014-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2014-2023 Free Software Foundation, Inc.
Contributed by Dimitar Dimitrov <dimitar@dinux.eu>
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/pru/pru-abi.h b/libgcc/config/pru/pru-abi.h
index be8d7ce..b985f9a 100644
--- a/libgcc/config/pru/pru-abi.h
+++ b/libgcc/config/pru/pru-abi.h
@@ -1,5 +1,5 @@
/* Header file for PRU ABI versions of libgcc functions.
- Copyright (C) 2011-2022 Free Software Foundation, Inc.
+ Copyright (C) 2011-2023 Free Software Foundation, Inc.
Contributed by Dimitar Dimitrov <dimitar@dinux.eu>
Based on c6x/c6x-abi.h
diff --git a/libgcc/config/pru/pru-asm.h b/libgcc/config/pru/pru-asm.h
index 4c0f48b..8de22cb 100644
--- a/libgcc/config/pru/pru-asm.h
+++ b/libgcc/config/pru/pru-asm.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2014-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2014-2023 Free Software Foundation, Inc.
Contributed by Dimitar Dimitrov <dimitar@dinux.eu>
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/pru/pru-divmod.h b/libgcc/config/pru/pru-divmod.h
index 9dfabd9..1f0a79f 100644
--- a/libgcc/config/pru/pru-divmod.h
+++ b/libgcc/config/pru/pru-divmod.h
@@ -1,5 +1,5 @@
/* libgcc routines for PRU
- Copyright (C) 2014-2022 Free Software Foundation, Inc.
+ Copyright (C) 2014-2023 Free Software Foundation, Inc.
Based on msp430-divmod.h from MSP430 port.
This file is part of GCC.
diff --git a/libgcc/config/pru/sfp-machine.h b/libgcc/config/pru/sfp-machine.h
index 4623f79..6ddf1e1 100644
--- a/libgcc/config/pru/sfp-machine.h
+++ b/libgcc/config/pru/sfp-machine.h
@@ -1,5 +1,5 @@
/* Soft-FP definitions for TI PRU.
- Copyright (C) 2010-2022 Free Software Foundation, Inc.
+ Copyright (C) 2010-2023 Free Software Foundation, Inc.
Based on C6X soft-fp header.
This files is free software; you can redistribute it and/or
diff --git a/libgcc/config/pru/t-pru b/libgcc/config/pru/t-pru
index 7c2ae5d..a5b1871 100644
--- a/libgcc/config/pru/t-pru
+++ b/libgcc/config/pru/t-pru
@@ -1,5 +1,5 @@
# Makefile fragment for building LIBGCC for the TI PRU processor.
-# Copyright (C) 2014-2022 Free Software Foundation, Inc.
+# Copyright (C) 2014-2023 Free Software Foundation, Inc.
# Contributed by Dimitar Dimitrov <dimitar@dinux.eu>
#
# This file is part of GCC.
diff --git a/libgcc/config/riscv/atomic.c b/libgcc/config/riscv/atomic.c
index 7007e7a..69f5362 100644
--- a/libgcc/config/riscv/atomic.c
+++ b/libgcc/config/riscv/atomic.c
@@ -1,6 +1,6 @@
/* Legacy sub-word atomics for RISC-V.
- Copyright (C) 2016-2022 Free Software Foundation, Inc.
+ Copyright (C) 2016-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/riscv/div.S b/libgcc/config/riscv/div.S
index d941a90..7d83f57 100644
--- a/libgcc/config/riscv/div.S
+++ b/libgcc/config/riscv/div.S
@@ -1,6 +1,6 @@
/* Integer division routines for RISC-V.
- Copyright (C) 2016-2022 Free Software Foundation, Inc.
+ Copyright (C) 2016-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/riscv/linux-unwind.h b/libgcc/config/riscv/linux-unwind.h
index c86df2f..931c2f2 100644
--- a/libgcc/config/riscv/linux-unwind.h
+++ b/libgcc/config/riscv/linux-unwind.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2016-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2016-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
@@ -73,13 +73,13 @@ riscv_fallback_frame_state (struct _Unwind_Context *context,
for (i = 0; i < 32; i++)
{
- fs->regs.reg[i].how = REG_SAVED_OFFSET;
+ fs->regs.how[i] = REG_SAVED_OFFSET;
fs->regs.reg[i].loc.offset = (_Unwind_Ptr) &sc->gregs[i] - new_cfa;
}
fs->signal_frame = 1;
fs->retaddr_column = __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__;
- fs->regs.reg[fs->retaddr_column].how = REG_SAVED_VAL_OFFSET;
+ fs->regs.how[fs->retaddr_column] = REG_SAVED_VAL_OFFSET;
fs->regs.reg[fs->retaddr_column].loc.offset =
(_Unwind_Ptr) sc->gregs[0] - new_cfa;
diff --git a/libgcc/config/riscv/muldi3.S b/libgcc/config/riscv/muldi3.S
index 16166d0..96cb9a0 100644
--- a/libgcc/config/riscv/muldi3.S
+++ b/libgcc/config/riscv/muldi3.S
@@ -1,6 +1,6 @@
/* Integer multiplication routines for RISC-V.
- Copyright (C) 2016-2022 Free Software Foundation, Inc.
+ Copyright (C) 2016-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/riscv/multi3.c b/libgcc/config/riscv/multi3.c
index f2e1c15..b826347 100644
--- a/libgcc/config/riscv/multi3.c
+++ b/libgcc/config/riscv/multi3.c
@@ -1,6 +1,6 @@
/* Multiplication two double word integers for RISC-V.
- Copyright (C) 2016-2022 Free Software Foundation, Inc.
+ Copyright (C) 2016-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/riscv/riscv-asm.h b/libgcc/config/riscv/riscv-asm.h
index b70930e..6b882fc 100644
--- a/libgcc/config/riscv/riscv-asm.h
+++ b/libgcc/config/riscv/riscv-asm.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2017-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2017-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/riscv/save-restore.S b/libgcc/config/riscv/save-restore.S
index d028a09..878b12c 100644
--- a/libgcc/config/riscv/save-restore.S
+++ b/libgcc/config/riscv/save-restore.S
@@ -1,6 +1,6 @@
/* Callee-saved register spill and fill routines for RISC-V.
- Copyright (C) 2016-2022 Free Software Foundation, Inc.
+ Copyright (C) 2016-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/riscv/sfp-machine.h b/libgcc/config/riscv/sfp-machine.h
index b2901f0..ded594d 100644
--- a/libgcc/config/riscv/sfp-machine.h
+++ b/libgcc/config/riscv/sfp-machine.h
@@ -1,6 +1,6 @@
/* Software floating-point machine description for RISC-V.
- Copyright (C) 2016-2022 Free Software Foundation, Inc.
+ Copyright (C) 2016-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/riscv/value-unwind.h b/libgcc/config/riscv/value-unwind.h
new file mode 100644
index 0000000..d7efdc1
--- /dev/null
+++ b/libgcc/config/riscv/value-unwind.h
@@ -0,0 +1,39 @@
+/* Store register values as _Unwind_Word type in DWARF2 EH unwind context.
+ Copyright (C) 2023 Free Software Foundation, Inc.
+
+ This file is part of GCC.
+
+ GCC is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published
+ by the Free Software Foundation; either version 3, or (at your
+ option) any later version.
+
+ GCC is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+ License for more details.
+
+ Under Section 7 of GPL version 3, you are granted additional
+ permissions described in the GCC Runtime Library Exception, version
+ 3.1, as published by the Free Software Foundation.
+
+ You should have received a copy of the GNU General Public License and
+ a copy of the GCC Runtime Library Exception along with this program;
+ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
+ <http://www.gnu.org/licenses/>. */
+
+/* Return the value of the VLENB register. This should only be
+ called if we know this is an vector extension enabled RISC-V host. */
+static inline long
+riscv_vlenb (void)
+{
+ register long vlenb asm ("a0");
+ /* 0xc2202573 == csrr a0, 0xc22 */
+ asm (".insn 0xc2202573" : "=r"(vlenb));
+ return vlenb;
+}
+
+/* Lazily provide a value for VLENB, so that we don't try to execute RVV
+ instructions unless we know they're needed. */
+#define DWARF_LAZY_REGISTER_VALUE(REGNO, VALUE) \
+ ((REGNO) == RISCV_DWARF_VLENB && ((*VALUE) = riscv_vlenb (), 1))
diff --git a/libgcc/config/rl78/adddi3.S b/libgcc/config/rl78/adddi3.S
index 54ac3bc..6dc1e3e 100644
--- a/libgcc/config/rl78/adddi3.S
+++ b/libgcc/config/rl78/adddi3.S
@@ -1,4 +1,4 @@
-; Copyright (C) 2017-2022 Free Software Foundation, Inc.
+; Copyright (C) 2017-2023 Free Software Foundation, Inc.
; Contributed by Sebastian Perta.
;
; This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rl78/anddi3.S b/libgcc/config/rl78/anddi3.S
index dd399b3..cf7a47e 100644
--- a/libgcc/config/rl78/anddi3.S
+++ b/libgcc/config/rl78/anddi3.S
@@ -1,4 +1,4 @@
-; Copyright (C) 2017-2022 Free Software Foundation, Inc.
+; Copyright (C) 2017-2023 Free Software Foundation, Inc.
; Contributed by Sebastian Perta.
;
; This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rl78/bit-count.S b/libgcc/config/rl78/bit-count.S
index 75f5cec..39962ad 100644
--- a/libgcc/config/rl78/bit-count.S
+++ b/libgcc/config/rl78/bit-count.S
@@ -1,4 +1,4 @@
-; Copyright (C) 2012-2022 Free Software Foundation, Inc.
+; Copyright (C) 2012-2023 Free Software Foundation, Inc.
; Contributed by Red Hat.
;
; This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rl78/cmpsi2.S b/libgcc/config/rl78/cmpsi2.S
index d60a890..888643a 100644
--- a/libgcc/config/rl78/cmpsi2.S
+++ b/libgcc/config/rl78/cmpsi2.S
@@ -1,4 +1,4 @@
-; Copyright (C) 2011-2022 Free Software Foundation, Inc.
+; Copyright (C) 2011-2023 Free Software Foundation, Inc.
; Contributed by Red Hat.
;
; This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rl78/divmodhi.S b/libgcc/config/rl78/divmodhi.S
index 4e68f77..fbc2686 100644
--- a/libgcc/config/rl78/divmodhi.S
+++ b/libgcc/config/rl78/divmodhi.S
@@ -1,5 +1,5 @@
/* HImode div/mod functions for the GCC support library for the Renesas RL78 processors.
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Red Hat.
This file is part of GCC.
diff --git a/libgcc/config/rl78/divmodqi.S b/libgcc/config/rl78/divmodqi.S
index 2943b4e..b66a05f 100644
--- a/libgcc/config/rl78/divmodqi.S
+++ b/libgcc/config/rl78/divmodqi.S
@@ -1,5 +1,5 @@
/* QImode div/mod functions for the GCC support library for the Renesas RL78 processors.
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Red Hat.
This file is part of GCC.
diff --git a/libgcc/config/rl78/divmodsi.S b/libgcc/config/rl78/divmodsi.S
index 35203c4..b5ae33c 100644
--- a/libgcc/config/rl78/divmodsi.S
+++ b/libgcc/config/rl78/divmodsi.S
@@ -1,5 +1,5 @@
/* SImode div/mod functions for the GCC support library for the Renesas RL78 processors.
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Contributed by Red Hat.
This file is part of GCC.
diff --git a/libgcc/config/rl78/lib2div.c b/libgcc/config/rl78/lib2div.c
index c01ae8c..40a88df 100644
--- a/libgcc/config/rl78/lib2div.c
+++ b/libgcc/config/rl78/lib2div.c
@@ -1,5 +1,5 @@
/* libgcc routines for RL78
- Copyright (C) 2005-2022 Free Software Foundation, Inc.
+ Copyright (C) 2005-2023 Free Software Foundation, Inc.
Contributed by Red Hat.
This file is part of GCC.
diff --git a/libgcc/config/rl78/lib2mul.c b/libgcc/config/rl78/lib2mul.c
index a9b106a..0922c42 100644
--- a/libgcc/config/rl78/lib2mul.c
+++ b/libgcc/config/rl78/lib2mul.c
@@ -1,5 +1,5 @@
/* libgcc routines for RL78
- Copyright (C) 2005-2022 Free Software Foundation, Inc.
+ Copyright (C) 2005-2023 Free Software Foundation, Inc.
Contributed by Red Hat.
This file is part of GCC.
diff --git a/libgcc/config/rl78/lib2shift.c b/libgcc/config/rl78/lib2shift.c
index 5a290e5..5bcd13c 100644
--- a/libgcc/config/rl78/lib2shift.c
+++ b/libgcc/config/rl78/lib2shift.c
@@ -1,5 +1,5 @@
/* Shift functions for the GCC support library for the Renesas RL78 processors.
- Copyright (C) 2011-2022 Free Software Foundation, Inc.
+ Copyright (C) 2011-2023 Free Software Foundation, Inc.
Contributed by Red Hat.
This file is part of GCC.
diff --git a/libgcc/config/rl78/lshrsi3.S b/libgcc/config/rl78/lshrsi3.S
index a81bc78..1551cd7 100644
--- a/libgcc/config/rl78/lshrsi3.S
+++ b/libgcc/config/rl78/lshrsi3.S
@@ -1,4 +1,4 @@
-; Copyright (C) 2011-2022 Free Software Foundation, Inc.
+; Copyright (C) 2011-2023 Free Software Foundation, Inc.
; Contributed by Red Hat.
;
; This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rl78/mulsi3.S b/libgcc/config/rl78/mulsi3.S
index f75f21c..78304ec 100644
--- a/libgcc/config/rl78/mulsi3.S
+++ b/libgcc/config/rl78/mulsi3.S
@@ -1,4 +1,4 @@
-; Copyright (C) 2011-2022 Free Software Foundation, Inc.
+; Copyright (C) 2011-2023 Free Software Foundation, Inc.
; Contributed by Red Hat.
;
; This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rl78/rl78-divmod.h b/libgcc/config/rl78/rl78-divmod.h
index 58bd785..0d830e5 100644
--- a/libgcc/config/rl78/rl78-divmod.h
+++ b/libgcc/config/rl78/rl78-divmod.h
@@ -1,5 +1,5 @@
/* libgcc routines for RL78
- Copyright (C) 2005-2022 Free Software Foundation, Inc.
+ Copyright (C) 2005-2023 Free Software Foundation, Inc.
Contributed by Red Hat.
This file is part of GCC.
diff --git a/libgcc/config/rl78/rl78-mul.h b/libgcc/config/rl78/rl78-mul.h
index 36e1a51..7db957c 100644
--- a/libgcc/config/rl78/rl78-mul.h
+++ b/libgcc/config/rl78/rl78-mul.h
@@ -1,5 +1,5 @@
/* libgcc routines for RL78
- Copyright (C) 2005-2022 Free Software Foundation, Inc.
+ Copyright (C) 2005-2023 Free Software Foundation, Inc.
Contributed by Red Hat.
This file is part of GCC.
diff --git a/libgcc/config/rl78/signbit.S b/libgcc/config/rl78/signbit.S
index 9a97de8..a1dee8e 100644
--- a/libgcc/config/rl78/signbit.S
+++ b/libgcc/config/rl78/signbit.S
@@ -1,4 +1,4 @@
-; Copyright (C) 2012-2022 Free Software Foundation, Inc.
+; Copyright (C) 2012-2023 Free Software Foundation, Inc.
; Contributed by Red Hat.
;
; This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rl78/smaxdi3.S b/libgcc/config/rl78/smaxdi3.S
index 94c2751..93ed6fb 100644
--- a/libgcc/config/rl78/smaxdi3.S
+++ b/libgcc/config/rl78/smaxdi3.S
@@ -1,4 +1,4 @@
-; Copyright (C) 2017-2022 Free Software Foundation, Inc.
+; Copyright (C) 2017-2023 Free Software Foundation, Inc.
; Contributed by Sebastian Perta.
;
; This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rl78/smindi3.S b/libgcc/config/rl78/smindi3.S
index fe157f8..1f5445a 100644
--- a/libgcc/config/rl78/smindi3.S
+++ b/libgcc/config/rl78/smindi3.S
@@ -1,4 +1,4 @@
-; Copyright (C) 2017-2022 Free Software Foundation, Inc.
+; Copyright (C) 2017-2023 Free Software Foundation, Inc.
; Contributed by Sebastian Perta.
;
; This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rl78/subdi3.S b/libgcc/config/rl78/subdi3.S
index 5f4be6a..3597f88 100644
--- a/libgcc/config/rl78/subdi3.S
+++ b/libgcc/config/rl78/subdi3.S
@@ -1,4 +1,4 @@
-; Copyright (C) 2017-2022 Free Software Foundation, Inc.
+; Copyright (C) 2017-2023 Free Software Foundation, Inc.
; Contributed by Sebastian Perta.
;
; This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rl78/t-rl78 b/libgcc/config/rl78/t-rl78
index e98d115..dce1ea2 100644
--- a/libgcc/config/rl78/t-rl78
+++ b/libgcc/config/rl78/t-rl78
@@ -1,5 +1,5 @@
# Makefile fragment for building LIBGCC for the Renesas RL78 target.
-# Copyright (C) 2011-2022 Free Software Foundation, Inc.
+# Copyright (C) 2011-2023 Free Software Foundation, Inc.
# Contributed by Red Hat.
#
# This file is part of GCC.
diff --git a/libgcc/config/rl78/trampoline.S b/libgcc/config/rl78/trampoline.S
index 44221d8..1194dad 100644
--- a/libgcc/config/rl78/trampoline.S
+++ b/libgcc/config/rl78/trampoline.S
@@ -1,5 +1,5 @@
/* libgcc routines for RL78
- Copyright (C) 2011-2022 Free Software Foundation, Inc.
+ Copyright (C) 2011-2023 Free Software Foundation, Inc.
Contributed by Red Hat.
This file is part of GCC.
diff --git a/libgcc/config/rl78/umaxdi3.S b/libgcc/config/rl78/umaxdi3.S
index 48a2c83..9f44037 100644
--- a/libgcc/config/rl78/umaxdi3.S
+++ b/libgcc/config/rl78/umaxdi3.S
@@ -1,4 +1,4 @@
-; Copyright (C) 2017-2022 Free Software Foundation, Inc.
+; Copyright (C) 2017-2023 Free Software Foundation, Inc.
; Contributed by Sebastian Perta.
;
; This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rl78/umindi3.S b/libgcc/config/rl78/umindi3.S
index 7b84fb7..68de196 100644
--- a/libgcc/config/rl78/umindi3.S
+++ b/libgcc/config/rl78/umindi3.S
@@ -1,4 +1,4 @@
-; Copyright (C) 2017-2022 Free Software Foundation, Inc.
+; Copyright (C) 2017-2023 Free Software Foundation, Inc.
; Contributed by Sebastian Perta.
;
; This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rs6000/_dd_to_kf.c b/libgcc/config/rs6000/_dd_to_kf.c
index a9b4c5d..5670314 100644
--- a/libgcc/config/rs6000/_dd_to_kf.c
+++ b/libgcc/config/rs6000/_dd_to_kf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2021-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2021-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/rs6000/_divkc3.c b/libgcc/config/rs6000/_divkc3.c
index 59ab213..b5f9e59 100644
--- a/libgcc/config/rs6000/_divkc3.c
+++ b/libgcc/config/rs6000/_divkc3.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1989-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1989-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -26,9 +26,19 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "soft-fp.h"
#include "quad-float128.h"
+/* Use the correct built-in function based on whether TFmode is _Float128 or
+ long double. See quad-float128.h for more details. */
+#ifndef __LONG_DOUBLE_IEEE128__
#define COPYSIGN(x,y) __builtin_copysignf128 (x, y)
#define INFINITY __builtin_inff128 ()
#define FABS __builtin_fabsf128
+
+#else
+#define COPYSIGN(x,y) __builtin_copysignl (x, y)
+#define INFINITY __builtin_infl ()
+#define FABS __builtin_fabsl
+#endif
+
#define isnan __builtin_isnan
#define isinf __builtin_isinf
#define isfinite __builtin_isfinite
diff --git a/libgcc/config/rs6000/_kf_to_dd.c b/libgcc/config/rs6000/_kf_to_dd.c
index 286f304..aa339e0 100644
--- a/libgcc/config/rs6000/_kf_to_dd.c
+++ b/libgcc/config/rs6000/_kf_to_dd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2021-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2021-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/rs6000/_kf_to_sd.c b/libgcc/config/rs6000/_kf_to_sd.c
index a9e19a7..8a9dff7 100644
--- a/libgcc/config/rs6000/_kf_to_sd.c
+++ b/libgcc/config/rs6000/_kf_to_sd.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2021-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2021-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/rs6000/_kf_to_td.c b/libgcc/config/rs6000/_kf_to_td.c
index 71b96e0..48db33f 100644
--- a/libgcc/config/rs6000/_kf_to_td.c
+++ b/libgcc/config/rs6000/_kf_to_td.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2021-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2021-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/rs6000/_mulkc3.c b/libgcc/config/rs6000/_mulkc3.c
index cfae81f..a01cb05 100644
--- a/libgcc/config/rs6000/_mulkc3.c
+++ b/libgcc/config/rs6000/_mulkc3.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1989-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1989-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -26,8 +26,17 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "soft-fp.h"
#include "quad-float128.h"
+/* Use the correct built-in function based on whether TFmode is _Float128 or
+ long double. See quad-float128.h for more details. */
+#ifndef __LONG_DOUBLE_IEEE128__
#define COPYSIGN(x,y) __builtin_copysignf128 (x, y)
#define INFINITY __builtin_inff128 ()
+
+#else
+#define COPYSIGN(x,y) __builtin_copysignl (x, y)
+#define INFINITY __builtin_infl ()
+#endif
+
#define isnan __builtin_isnan
#define isinf __builtin_isinf
diff --git a/libgcc/config/rs6000/_powikf2.c b/libgcc/config/rs6000/_powikf2.c
index 2113c29..82586b7 100644
--- a/libgcc/config/rs6000/_powikf2.c
+++ b/libgcc/config/rs6000/_powikf2.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1989-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1989-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/rs6000/_sd_to_kf.c b/libgcc/config/rs6000/_sd_to_kf.c
index 8f56e2e..d523b29 100644
--- a/libgcc/config/rs6000/_sd_to_kf.c
+++ b/libgcc/config/rs6000/_sd_to_kf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2021-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2021-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/rs6000/_td_to_kf.c b/libgcc/config/rs6000/_td_to_kf.c
index 9557c12..3135759 100644
--- a/libgcc/config/rs6000/_td_to_kf.c
+++ b/libgcc/config/rs6000/_td_to_kf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2021-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2021-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/rs6000/aix-unwind.h b/libgcc/config/rs6000/aix-unwind.h
index d7e5f59..8f93801 100644
--- a/libgcc/config/rs6000/aix-unwind.h
+++ b/libgcc/config/rs6000/aix-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for AIX.
- Copyright (C) 2011-2022 Free Software Foundation, Inc.
+ Copyright (C) 2011-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -40,7 +40,7 @@
#ifdef __64BIT__
#define MD_FROB_UPDATE_CONTEXT(CTX, FS) \
do { \
- if ((FS)->regs.reg[2].how == REG_UNSAVED) \
+ if ((FS)->regs.how[2] == REG_UNSAVED) \
{ \
unsigned int *insn \
= (unsigned int *) \
@@ -52,7 +52,7 @@
#else
#define MD_FROB_UPDATE_CONTEXT(CTX, FS) \
do { \
- if ((FS)->regs.reg[2].how == REG_UNSAVED) \
+ if ((FS)->regs.how[2] == REG_UNSAVED) \
{ \
unsigned int *insn \
= (unsigned int *) \
@@ -207,7 +207,7 @@ ucontext_for (struct _Unwind_Context *context)
#define REGISTER_CFA_OFFSET_FOR(FS,REGNO,ADDR,CFA)\
do { \
-(FS)->regs.reg[REGNO].how = REG_SAVED_OFFSET; \
+(FS)->regs.how[REGNO] = REG_SAVED_OFFSET; \
(FS)->regs.reg[REGNO].loc.offset = (long) (ADDR) - (CFA); \
} while (0)
diff --git a/libgcc/config/rs6000/atexit.c b/libgcc/config/rs6000/atexit.c
index 433d216..cc1a3e1 100644
--- a/libgcc/config/rs6000/atexit.c
+++ b/libgcc/config/rs6000/atexit.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1999-2023 Free Software Foundation, Inc.
NOTE: This source is derived from an old version taken from the GNU C
Library (glibc).
diff --git a/libgcc/config/rs6000/crtcxa.c b/libgcc/config/rs6000/crtcxa.c
index 99c069e..3c0975e 100644
--- a/libgcc/config/rs6000/crtcxa.c
+++ b/libgcc/config/rs6000/crtcxa.c
@@ -1,5 +1,5 @@
/* __dso_handle initialization for AIX.
- Copyright (C) 2013-2022 Free Software Foundation, Inc.
+ Copyright (C) 2013-2023 Free Software Foundation, Inc.
Written by David Edelsohn, IBM.
This file is part of GCC.
diff --git a/libgcc/config/rs6000/crtdbase.S b/libgcc/config/rs6000/crtdbase.S
index 5370713..b0516ee 100644
--- a/libgcc/config/rs6000/crtdbase.S
+++ b/libgcc/config/rs6000/crtdbase.S
@@ -1,6 +1,6 @@
/* Defines __gcc_unwind_dbase
- Copyright (C) 2014-2022 Free Software Foundation, Inc.
+ Copyright (C) 2014-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/rs6000/crtresfpr.S b/libgcc/config/rs6000/crtresfpr.S
index 590de2d..ab64419 100644
--- a/libgcc/config/rs6000/crtresfpr.S
+++ b/libgcc/config/rs6000/crtresfpr.S
@@ -1,7 +1,7 @@
/*
* Special support for eabi and SVR4
*
- * Copyright (C) 1995-2022 Free Software Foundation, Inc.
+ * Copyright (C) 1995-2023 Free Software Foundation, Inc.
* Written By Michael Meissner
* 64-bit support written by David Edelsohn
*
diff --git a/libgcc/config/rs6000/crtresgpr.S b/libgcc/config/rs6000/crtresgpr.S
index bbcb733..6cd274e 100644
--- a/libgcc/config/rs6000/crtresgpr.S
+++ b/libgcc/config/rs6000/crtresgpr.S
@@ -1,7 +1,7 @@
/*
* Special support for eabi and SVR4
*
- * Copyright (C) 1995-2022 Free Software Foundation, Inc.
+ * Copyright (C) 1995-2023 Free Software Foundation, Inc.
* Written By Michael Meissner
* 64-bit support written by David Edelsohn
*
diff --git a/libgcc/config/rs6000/crtrestvr.S b/libgcc/config/rs6000/crtrestvr.S
index cf22465..cf7f71a 100644
--- a/libgcc/config/rs6000/crtrestvr.S
+++ b/libgcc/config/rs6000/crtrestvr.S
@@ -1,6 +1,6 @@
/* Routines for restoring vector registers.
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Written by Alan Modra, IBM
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rs6000/crtresxfpr.S b/libgcc/config/rs6000/crtresxfpr.S
index b55ebd4..ffaa043 100644
--- a/libgcc/config/rs6000/crtresxfpr.S
+++ b/libgcc/config/rs6000/crtresxfpr.S
@@ -1,7 +1,7 @@
/*
* Special support for eabi and SVR4
*
- * Copyright (C) 1995-2022 Free Software Foundation, Inc.
+ * Copyright (C) 1995-2023 Free Software Foundation, Inc.
* Written By Michael Meissner
* 64-bit support written by David Edelsohn
*
diff --git a/libgcc/config/rs6000/crtresxgpr.S b/libgcc/config/rs6000/crtresxgpr.S
index 32eb007..2314dac 100644
--- a/libgcc/config/rs6000/crtresxgpr.S
+++ b/libgcc/config/rs6000/crtresxgpr.S
@@ -1,7 +1,7 @@
/*
* Special support for eabi and SVR4
*
- * Copyright (C) 1995-2022 Free Software Foundation, Inc.
+ * Copyright (C) 1995-2023 Free Software Foundation, Inc.
* Written By Michael Meissner
* 64-bit support written by David Edelsohn
*
diff --git a/libgcc/config/rs6000/crtsavevr.S b/libgcc/config/rs6000/crtsavevr.S
index 65e7917..19de212 100644
--- a/libgcc/config/rs6000/crtsavevr.S
+++ b/libgcc/config/rs6000/crtsavevr.S
@@ -1,6 +1,6 @@
/* Routines for saving vector registers.
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
Written by Alan Modra, IBM
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rs6000/crtsavfpr.S b/libgcc/config/rs6000/crtsavfpr.S
index 51fb65c..f4629ce 100644
--- a/libgcc/config/rs6000/crtsavfpr.S
+++ b/libgcc/config/rs6000/crtsavfpr.S
@@ -1,7 +1,7 @@
/*
* Special support for eabi and SVR4
*
- * Copyright (C) 1995-2022 Free Software Foundation, Inc.
+ * Copyright (C) 1995-2023 Free Software Foundation, Inc.
* Written By Michael Meissner
* 64-bit support written by David Edelsohn
*
diff --git a/libgcc/config/rs6000/crtsavgpr.S b/libgcc/config/rs6000/crtsavgpr.S
index c54aaee..2e830ec 100644
--- a/libgcc/config/rs6000/crtsavgpr.S
+++ b/libgcc/config/rs6000/crtsavgpr.S
@@ -1,7 +1,7 @@
/*
* Special support for eabi and SVR4
*
- * Copyright (C) 1995-2022 Free Software Foundation, Inc.
+ * Copyright (C) 1995-2023 Free Software Foundation, Inc.
* Written By Michael Meissner
* 64-bit support written by David Edelsohn
*
diff --git a/libgcc/config/rs6000/cxa_atexit.c b/libgcc/config/rs6000/cxa_atexit.c
index 1a92178..541109f 100644
--- a/libgcc/config/rs6000/cxa_atexit.c
+++ b/libgcc/config/rs6000/cxa_atexit.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1999-2023 Free Software Foundation, Inc.
NOTE: This source is derived from an old version taken from the GNU C
Library (glibc).
diff --git a/libgcc/config/rs6000/cxa_finalize.c b/libgcc/config/rs6000/cxa_finalize.c
index d7babc2..50a3ccd 100644
--- a/libgcc/config/rs6000/cxa_finalize.c
+++ b/libgcc/config/rs6000/cxa_finalize.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1999-2023 Free Software Foundation, Inc.
NOTE: This source is derived from an old version taken from the GNU C
Library (glibc).
diff --git a/libgcc/config/rs6000/darwin-asm.h b/libgcc/config/rs6000/darwin-asm.h
index d2cb3f4..bcd17e9 100644
--- a/libgcc/config/rs6000/darwin-asm.h
+++ b/libgcc/config/rs6000/darwin-asm.h
@@ -1,7 +1,7 @@
/* Macro definitions to used to support 32/64-bit code in Darwin's
* assembly files.
*
- * Copyright (C) 2004-2022 Free Software Foundation, Inc.
+ * Copyright (C) 2004-2023 Free Software Foundation, Inc.
*
* This file is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/rs6000/darwin-crt2.c b/libgcc/config/rs6000/darwin-crt2.c
index df8a5e0..c41721d 100644
--- a/libgcc/config/rs6000/darwin-crt2.c
+++ b/libgcc/config/rs6000/darwin-crt2.c
@@ -1,5 +1,5 @@
/* KeyMgr backwards-compatibility support for Darwin.
- Copyright (C) 2001-2022 Free Software Foundation, Inc.
+ Copyright (C) 2001-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/rs6000/darwin-fallback.c b/libgcc/config/rs6000/darwin-fallback.c
index c6bc69c..413d8d3 100644
--- a/libgcc/config/rs6000/darwin-fallback.c
+++ b/libgcc/config/rs6000/darwin-fallback.c
@@ -1,5 +1,5 @@
/* Fallback frame-state unwinder for Darwin.
- Copyright (C) 2004-2022 Free Software Foundation, Inc.
+ Copyright (C) 2004-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -368,7 +368,7 @@ handle_syscall (_Unwind_FrameState *fs, const reg_unit gprs[32],
return false;
#define set_offset(r, addr) \
- (fs->regs.reg[r].how = REG_SAVED_OFFSET, \
+ (fs->regs.how[r] = REG_SAVED_OFFSET, \
fs->regs.reg[r].loc.offset = (_Unwind_Ptr)(addr) - new_cfa)
/* Restore even the registers that are not call-saved, since they
diff --git a/libgcc/config/rs6000/darwin-fpsave.S b/libgcc/config/rs6000/darwin-fpsave.S
index 419ca7c..4315fde 100644
--- a/libgcc/config/rs6000/darwin-fpsave.S
+++ b/libgcc/config/rs6000/darwin-fpsave.S
@@ -1,6 +1,6 @@
/* This file contains the floating-point save and restore routines.
*
- * Copyright (C) 2004-2022 Free Software Foundation, Inc.
+ * Copyright (C) 2004-2023 Free Software Foundation, Inc.
*
* This file is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/rs6000/darwin-gpsave.S b/libgcc/config/rs6000/darwin-gpsave.S
index 8d8a359..b926048 100644
--- a/libgcc/config/rs6000/darwin-gpsave.S
+++ b/libgcc/config/rs6000/darwin-gpsave.S
@@ -1,6 +1,6 @@
/* This file contains the GPR save and restore routines for Darwin.
*
- * Copyright (C) 2011-2022 Free Software Foundation, Inc.
+ * Copyright (C) 2011-2023 Free Software Foundation, Inc.
*
* This file is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/rs6000/darwin-tramp.S b/libgcc/config/rs6000/darwin-tramp.S
index 0f31f9c..156a9ad 100644
--- a/libgcc/config/rs6000/darwin-tramp.S
+++ b/libgcc/config/rs6000/darwin-tramp.S
@@ -1,6 +1,6 @@
/* Special support for trampolines
*
- * Copyright (C) 1996-2022 Free Software Foundation, Inc.
+ * Copyright (C) 1996-2023 Free Software Foundation, Inc.
* Written By Michael Meissner
*
* This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rs6000/darwin-unwind.h b/libgcc/config/rs6000/darwin-unwind.h
index bee37a8..33c267c 100644
--- a/libgcc/config/rs6000/darwin-unwind.h
+++ b/libgcc/config/rs6000/darwin-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for 32-bit PowerPC Darwin.
- Copyright (C) 2004-2022 Free Software Foundation, Inc.
+ Copyright (C) 2004-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/rs6000/darwin-vecsave.S b/libgcc/config/rs6000/darwin-vecsave.S
index 29367ae..a60e45d 100644
--- a/libgcc/config/rs6000/darwin-vecsave.S
+++ b/libgcc/config/rs6000/darwin-vecsave.S
@@ -1,6 +1,6 @@
/* This file contains the vector save and restore routines.
*
- * Copyright (C) 2004-2022 Free Software Foundation, Inc.
+ * Copyright (C) 2004-2023 Free Software Foundation, Inc.
*
* This file is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/rs6000/darwin-world.S b/libgcc/config/rs6000/darwin-world.S
index ec49498..89b8c3a 100644
--- a/libgcc/config/rs6000/darwin-world.S
+++ b/libgcc/config/rs6000/darwin-world.S
@@ -2,7 +2,7 @@
* restore_world routines, which need to do a run-time check to see if
* they should save and restore the vector registers.
*
- * Copyright (C) 2004-2022 Free Software Foundation, Inc.
+ * Copyright (C) 2004-2023 Free Software Foundation, Inc.
*
* This file is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/rs6000/e500crtres32gpr.S b/libgcc/config/rs6000/e500crtres32gpr.S
index b532cbc..b361ffa 100644
--- a/libgcc/config/rs6000/e500crtres32gpr.S
+++ b/libgcc/config/rs6000/e500crtres32gpr.S
@@ -1,7 +1,7 @@
/*
* Special support for e500 eabi and SVR4
*
- * Copyright (C) 2008-2022 Free Software Foundation, Inc.
+ * Copyright (C) 2008-2023 Free Software Foundation, Inc.
* Written by Nathan Froyd
*
* This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rs6000/e500crtres64gpr.S b/libgcc/config/rs6000/e500crtres64gpr.S
index 063f9b0..de7b171 100644
--- a/libgcc/config/rs6000/e500crtres64gpr.S
+++ b/libgcc/config/rs6000/e500crtres64gpr.S
@@ -1,7 +1,7 @@
/*
* Special support for e500 eabi and SVR4
*
- * Copyright (C) 2008-2022 Free Software Foundation, Inc.
+ * Copyright (C) 2008-2023 Free Software Foundation, Inc.
* Written by Nathan Froyd
*
* This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rs6000/e500crtres64gprctr.S b/libgcc/config/rs6000/e500crtres64gprctr.S
index 0993259..5e787ad 100644
--- a/libgcc/config/rs6000/e500crtres64gprctr.S
+++ b/libgcc/config/rs6000/e500crtres64gprctr.S
@@ -1,7 +1,7 @@
/*
* Special support for e500 eabi and SVR4
*
- * Copyright (C) 2008-2022 Free Software Foundation, Inc.
+ * Copyright (C) 2008-2023 Free Software Foundation, Inc.
* Written by Nathan Froyd
*
* This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rs6000/e500crtrest32gpr.S b/libgcc/config/rs6000/e500crtrest32gpr.S
index c6ce79c..bc1dd04 100644
--- a/libgcc/config/rs6000/e500crtrest32gpr.S
+++ b/libgcc/config/rs6000/e500crtrest32gpr.S
@@ -1,7 +1,7 @@
/*
* Special support for e500 eabi and SVR4
*
- * Copyright (C) 2008-2022 Free Software Foundation, Inc.
+ * Copyright (C) 2008-2023 Free Software Foundation, Inc.
* Written by Nathan Froyd
*
* This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rs6000/e500crtrest64gpr.S b/libgcc/config/rs6000/e500crtrest64gpr.S
index fe9e136..9e4e99f 100644
--- a/libgcc/config/rs6000/e500crtrest64gpr.S
+++ b/libgcc/config/rs6000/e500crtrest64gpr.S
@@ -1,7 +1,7 @@
/*
* Special support for e500 eabi and SVR4
*
- * Copyright (C) 2008-2022 Free Software Foundation, Inc.
+ * Copyright (C) 2008-2023 Free Software Foundation, Inc.
* Written by Nathan Froyd
*
* This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rs6000/e500crtresx32gpr.S b/libgcc/config/rs6000/e500crtresx32gpr.S
index 0728310..73cbe09 100644
--- a/libgcc/config/rs6000/e500crtresx32gpr.S
+++ b/libgcc/config/rs6000/e500crtresx32gpr.S
@@ -1,7 +1,7 @@
/*
* Special support for e500 eabi and SVR4
*
- * Copyright (C) 2008-2022 Free Software Foundation, Inc.
+ * Copyright (C) 2008-2023 Free Software Foundation, Inc.
* Written by Nathan Froyd
*
* This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rs6000/e500crtresx64gpr.S b/libgcc/config/rs6000/e500crtresx64gpr.S
index a848f28..efb39d1 100644
--- a/libgcc/config/rs6000/e500crtresx64gpr.S
+++ b/libgcc/config/rs6000/e500crtresx64gpr.S
@@ -1,7 +1,7 @@
/*
* Special support for e500 eabi and SVR4
*
- * Copyright (C) 2008-2022 Free Software Foundation, Inc.
+ * Copyright (C) 2008-2023 Free Software Foundation, Inc.
* Written by Nathan Froyd
*
* This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rs6000/e500crtsav32gpr.S b/libgcc/config/rs6000/e500crtsav32gpr.S
index 8648bbf..6c7b32b 100644
--- a/libgcc/config/rs6000/e500crtsav32gpr.S
+++ b/libgcc/config/rs6000/e500crtsav32gpr.S
@@ -1,7 +1,7 @@
/*
* Special support for e500 eabi and SVR4
*
- * Copyright (C) 2008-2022 Free Software Foundation, Inc.
+ * Copyright (C) 2008-2023 Free Software Foundation, Inc.
* Written by Nathan Froyd
*
* This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rs6000/e500crtsav64gpr.S b/libgcc/config/rs6000/e500crtsav64gpr.S
index 62ce4f6..db143963 100644
--- a/libgcc/config/rs6000/e500crtsav64gpr.S
+++ b/libgcc/config/rs6000/e500crtsav64gpr.S
@@ -1,7 +1,7 @@
/*
* Special support for e500 eabi and SVR4
*
- * Copyright (C) 2008-2022 Free Software Foundation, Inc.
+ * Copyright (C) 2008-2023 Free Software Foundation, Inc.
* Written by Nathan Froyd
*
* This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rs6000/e500crtsav64gprctr.S b/libgcc/config/rs6000/e500crtsav64gprctr.S
index e6d2f68..f7085fc 100644
--- a/libgcc/config/rs6000/e500crtsav64gprctr.S
+++ b/libgcc/config/rs6000/e500crtsav64gprctr.S
@@ -1,7 +1,7 @@
/*
* Special support for e500 eabi and SVR4
*
- * Copyright (C) 2008-2022 Free Software Foundation, Inc.
+ * Copyright (C) 2008-2023 Free Software Foundation, Inc.
* Written by Nathan Froyd
*
* This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rs6000/e500crtsavg32gpr.S b/libgcc/config/rs6000/e500crtsavg32gpr.S
index e542874..fc9edd7 100644
--- a/libgcc/config/rs6000/e500crtsavg32gpr.S
+++ b/libgcc/config/rs6000/e500crtsavg32gpr.S
@@ -1,7 +1,7 @@
/*
* Special support for e500 eabi and SVR4
*
- * Copyright (C) 2008-2022 Free Software Foundation, Inc.
+ * Copyright (C) 2008-2023 Free Software Foundation, Inc.
* Written by Nathan Froyd
*
* This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rs6000/e500crtsavg64gpr.S b/libgcc/config/rs6000/e500crtsavg64gpr.S
index ead2a8f..2f3a5da 100644
--- a/libgcc/config/rs6000/e500crtsavg64gpr.S
+++ b/libgcc/config/rs6000/e500crtsavg64gpr.S
@@ -1,7 +1,7 @@
/*
* Special support for e500 eabi and SVR4
*
- * Copyright (C) 2008-2022 Free Software Foundation, Inc.
+ * Copyright (C) 2008-2023 Free Software Foundation, Inc.
* Written by Nathan Froyd
*
* This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rs6000/e500crtsavg64gprctr.S b/libgcc/config/rs6000/e500crtsavg64gprctr.S
index 6480a37..3077f6d 100644
--- a/libgcc/config/rs6000/e500crtsavg64gprctr.S
+++ b/libgcc/config/rs6000/e500crtsavg64gprctr.S
@@ -1,7 +1,7 @@
/*
* Special support for e500 eabi and SVR4
*
- * Copyright (C) 2008-2022 Free Software Foundation, Inc.
+ * Copyright (C) 2008-2023 Free Software Foundation, Inc.
* Written by Nathan Froyd
*
* This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rs6000/eabi-ci.S b/libgcc/config/rs6000/eabi-ci.S
index 20514e3..0371d13 100644
--- a/libgcc/config/rs6000/eabi-ci.S
+++ b/libgcc/config/rs6000/eabi-ci.S
@@ -1,5 +1,5 @@
/* crti.s for eabi
- Copyright (C) 1996-2022 Free Software Foundation, Inc.
+ Copyright (C) 1996-2023 Free Software Foundation, Inc.
Written By Michael Meissner
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rs6000/eabi-cn.S b/libgcc/config/rs6000/eabi-cn.S
index 473a7f4..4e0bc14 100644
--- a/libgcc/config/rs6000/eabi-cn.S
+++ b/libgcc/config/rs6000/eabi-cn.S
@@ -1,5 +1,5 @@
/* crtn.s for eabi
- Copyright (C) 1996-2022 Free Software Foundation, Inc.
+ Copyright (C) 1996-2023 Free Software Foundation, Inc.
Written By Michael Meissner
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rs6000/eabi.S b/libgcc/config/rs6000/eabi.S
index b46f5d9..298eb6c 100644
--- a/libgcc/config/rs6000/eabi.S
+++ b/libgcc/config/rs6000/eabi.S
@@ -1,7 +1,7 @@
/*
* Special support for eabi and SVR4
*
- * Copyright (C) 1995-2022 Free Software Foundation, Inc.
+ * Copyright (C) 1995-2023 Free Software Foundation, Inc.
* Written By Michael Meissner
*
* This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rs6000/exit.h b/libgcc/config/rs6000/exit.h
index 2f05a58..93eab05 100644
--- a/libgcc/config/rs6000/exit.h
+++ b/libgcc/config/rs6000/exit.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2023 Free Software Foundation, Inc.
Derived from exit.h in GNU C Library.
diff --git a/libgcc/config/rs6000/extendkftf2-sw.c b/libgcc/config/rs6000/extendkftf2-sw.c
index 56d573d..748a574 100644
--- a/libgcc/config/rs6000/extendkftf2-sw.c
+++ b/libgcc/config/rs6000/extendkftf2-sw.c
@@ -1,6 +1,6 @@
/* Software IEEE 128-bit floating-point emulation for PowerPC.
- Copyright (C) 2016-2022 Free Software Foundation, Inc.
+ Copyright (C) 2016-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Michael Meissner (meissner@linux.vnet.ibm.com)
Code is based on the main soft-fp library written by:
diff --git a/libgcc/config/rs6000/fixkfti-sw.c b/libgcc/config/rs6000/fixkfti-sw.c
index 9ddff3c..0a62d46 100644
--- a/libgcc/config/rs6000/fixkfti-sw.c
+++ b/libgcc/config/rs6000/fixkfti-sw.c
@@ -1,7 +1,7 @@
/* Software floating-point emulation, convert IEEE quad to 128bit signed
integer.
- Copyright (C) 2016-2022 Free Software Foundation, Inc.
+ Copyright (C) 2016-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Steven Munroe (munroesj@linux.vnet.ibm.com)
Code is based on the main soft-fp library written by:
diff --git a/libgcc/config/rs6000/fixunskfti-sw.c b/libgcc/config/rs6000/fixunskfti-sw.c
index b089c69..8d828e9 100644
--- a/libgcc/config/rs6000/fixunskfti-sw.c
+++ b/libgcc/config/rs6000/fixunskfti-sw.c
@@ -1,7 +1,7 @@
/* Software floating-point emulation, convert IEEE quad to 128bit unsigned
integer.
- Copyright (C) 2016-2022 Free Software Foundation, Inc.
+ Copyright (C) 2016-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Steven Munroe (munroesj@linux.vnet.ibm.com)
Code is based on the main soft-fp library written by:
diff --git a/libgcc/config/rs6000/float128-hw.c b/libgcc/config/rs6000/float128-hw.c
index e8ef682..8a60e00 100644
--- a/libgcc/config/rs6000/float128-hw.c
+++ b/libgcc/config/rs6000/float128-hw.c
@@ -1,7 +1,7 @@
/* Automatic switching between software and hardware IEEE 128-bit
floating-point emulation for PowerPC.
- Copyright (C) 2016-2022 Free Software Foundation, Inc.
+ Copyright (C) 2016-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Michael Meissner (meissner@linux.vnet.ibm.com)
Code is based on the main soft-fp library written by:
diff --git a/libgcc/config/rs6000/float128-ifunc.c b/libgcc/config/rs6000/float128-ifunc.c
index 73cbca2..9b47dd3 100644
--- a/libgcc/config/rs6000/float128-ifunc.c
+++ b/libgcc/config/rs6000/float128-ifunc.c
@@ -1,7 +1,7 @@
/* Automatic switching between software and hardware IEEE 128-bit
floating-point emulation for PowerPC.
- Copyright (C) 2016-2022 Free Software Foundation, Inc.
+ Copyright (C) 2016-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Michael Meissner (meissner@linux.vnet.ibm.com)
Code is based on the main soft-fp library written by:
diff --git a/libgcc/config/rs6000/float128-p10.c b/libgcc/config/rs6000/float128-p10.c
index b98b587..60ee135 100644
--- a/libgcc/config/rs6000/float128-p10.c
+++ b/libgcc/config/rs6000/float128-p10.c
@@ -1,7 +1,7 @@
/* Automatic switching between software and hardware IEEE 128-bit
ISA 3.1 floating-point emulation for PowerPC.
- Copyright (C) 2016-2022 Free Software Foundation, Inc.
+ Copyright (C) 2016-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Carl Love (cel@us.ibm.com)
Code is based on the main soft-fp library written by:
diff --git a/libgcc/config/rs6000/floattikf-sw.c b/libgcc/config/rs6000/floattikf-sw.c
index 96e14a4..66809a6 100644
--- a/libgcc/config/rs6000/floattikf-sw.c
+++ b/libgcc/config/rs6000/floattikf-sw.c
@@ -1,7 +1,7 @@
/* Software floating-point emulation, convert a 128bit signed integer to IEEE
quad.
- Copyright (C) 2016-2022 Free Software Foundation, Inc.
+ Copyright (C) 2016-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Steven Munroe (munroesj@linux.vnet.ibm.com)
Code is based on the main soft-fp library written by:
diff --git a/libgcc/config/rs6000/floatuntikf-sw.c b/libgcc/config/rs6000/floatuntikf-sw.c
index ae7420d..9e31564 100644
--- a/libgcc/config/rs6000/floatuntikf-sw.c
+++ b/libgcc/config/rs6000/floatuntikf-sw.c
@@ -1,7 +1,7 @@
/* Software floating-point emulation, convert a 128bit unsigned integer to IEEE
quad.
- Copyright (C) 2016-2022 Free Software Foundation, Inc.
+ Copyright (C) 2016-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Steven Munroe (munroesj@linux.vnet.ibm.com)
Code is based on the main soft-fp library written by:
diff --git a/libgcc/config/rs6000/freebsd-unwind.h b/libgcc/config/rs6000/freebsd-unwind.h
index af96135..78d304a 100644
--- a/libgcc/config/rs6000/freebsd-unwind.h
+++ b/libgcc/config/rs6000/freebsd-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for PowerPC64 FreeBSD.
- Copyright (C) 2012-2022 Free Software Foundation, Inc.
+ Copyright (C) 2012-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -33,7 +33,7 @@ frob_update_context (struct _Unwind_Context *context,
const unsigned int *pc = (const unsigned int *) context->ra;
#ifdef __powerpc64__
- if (fs->regs.reg[2].how == REG_UNSAVED)
+ if (fs->regs.how[2] == REG_UNSAVED)
{
/* If the current unwind info (FS) does not contain explicit info
saving R2, then we have to do a minor amount of code reading to
diff --git a/libgcc/config/rs6000/gthr-aix.h b/libgcc/config/rs6000/gthr-aix.h
index 7f61153..c1deebc 100644
--- a/libgcc/config/rs6000/gthr-aix.h
+++ b/libgcc/config/rs6000/gthr-aix.h
@@ -1,6 +1,6 @@
/* Threads compatibility routines for libgcc2 and libobjc. */
/* Compile this one with gcc. */
-/* Copyright (C) 2000-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2000-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/rs6000/ibm-ldouble-format b/libgcc/config/rs6000/ibm-ldouble-format
index c6e4ae7..6eeb9bf 100644
--- a/libgcc/config/rs6000/ibm-ldouble-format
+++ b/libgcc/config/rs6000/ibm-ldouble-format
@@ -84,7 +84,7 @@ Division is also performed using a library routine. Its result will
be within 3ulp of the correct result.
-Copyright (C) 2004-2022 Free Software Foundation, Inc.
+Copyright (C) 2004-2023 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
diff --git a/libgcc/config/rs6000/ibm-ldouble.c b/libgcc/config/rs6000/ibm-ldouble.c
index c207083..c4ec842 100644
--- a/libgcc/config/rs6000/ibm-ldouble.c
+++ b/libgcc/config/rs6000/ibm-ldouble.c
@@ -1,5 +1,5 @@
/* 128-bit long double support routines for Darwin.
- Copyright (C) 1993-2022 Free Software Foundation, Inc.
+ Copyright (C) 1993-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/rs6000/libgcc-glibc.ver b/libgcc/config/rs6000/libgcc-glibc.ver
index af1eec0..3b66a6e 100644
--- a/libgcc/config/rs6000/libgcc-glibc.ver
+++ b/libgcc/config/rs6000/libgcc-glibc.ver
@@ -1,4 +1,4 @@
-# Copyright (C) 2006-2022 Free Software Foundation, Inc.
+# Copyright (C) 2006-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/config/rs6000/linux-unwind.h b/libgcc/config/rs6000/linux-unwind.h
index 6a7c07f..a87669a 100644
--- a/libgcc/config/rs6000/linux-unwind.h
+++ b/libgcc/config/rs6000/linux-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for PowerPC and PowerPC64 Linux.
- Copyright (C) 2004-2022 Free Software Foundation, Inc.
+ Copyright (C) 2004-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -215,12 +215,12 @@ ppc_fallback_frame_state (struct _Unwind_Context *context,
fs->regs.cfa_offset = new_cfa - (long) context->cfa;
#ifdef __powerpc64__
- fs->regs.reg[2].how = REG_SAVED_OFFSET;
+ fs->regs.how[2] = REG_SAVED_OFFSET;
fs->regs.reg[2].loc.offset = (long) &regs->gpr[2] - new_cfa;
#endif
for (i = 14; i < 32; i++)
{
- fs->regs.reg[i].how = REG_SAVED_OFFSET;
+ fs->regs.how[i] = REG_SAVED_OFFSET;
fs->regs.reg[i].loc.offset = (long) &regs->gpr[i] - new_cfa;
}
@@ -230,20 +230,20 @@ ppc_fallback_frame_state (struct _Unwind_Context *context,
cr_offset += sizeof (long) - 4;
#endif
/* In the ELFv1 ABI, CR2 stands in for the whole CR. */
- fs->regs.reg[R_CR2].how = REG_SAVED_OFFSET;
+ fs->regs.how[R_CR2] = REG_SAVED_OFFSET;
fs->regs.reg[R_CR2].loc.offset = cr_offset;
#if _CALL_ELF == 2
/* In the ELFv2 ABI, every CR field has a separate CFI entry. */
- fs->regs.reg[R_CR3].how = REG_SAVED_OFFSET;
+ fs->regs.how[R_CR3] = REG_SAVED_OFFSET;
fs->regs.reg[R_CR3].loc.offset = cr_offset;
- fs->regs.reg[R_CR4].how = REG_SAVED_OFFSET;
+ fs->regs.how[R_CR4] = REG_SAVED_OFFSET;
fs->regs.reg[R_CR4].loc.offset = cr_offset;
#endif
- fs->regs.reg[R_LR].how = REG_SAVED_OFFSET;
+ fs->regs.how[R_LR] = REG_SAVED_OFFSET;
fs->regs.reg[R_LR].loc.offset = (long) &regs->link - new_cfa;
- fs->regs.reg[ARG_POINTER_REGNUM].how = REG_SAVED_OFFSET;
+ fs->regs.how[ARG_POINTER_REGNUM] = REG_SAVED_OFFSET;
fs->regs.reg[ARG_POINTER_REGNUM].loc.offset = (long) &regs->nip - new_cfa;
fs->retaddr_column = ARG_POINTER_REGNUM;
fs->signal_frame = 1;
@@ -251,7 +251,7 @@ ppc_fallback_frame_state (struct _Unwind_Context *context,
/* If we have a FPU... */
for (i = 14; i < 32; i++)
{
- fs->regs.reg[i + 32].how = REG_SAVED_OFFSET;
+ fs->regs.how[i + 32] = REG_SAVED_OFFSET;
fs->regs.reg[i + 32].loc.offset = (long) &regs->fpr[i] - new_cfa;
}
@@ -265,12 +265,12 @@ ppc_fallback_frame_state (struct _Unwind_Context *context,
{
for (i = 20; i < 32; i++)
{
- fs->regs.reg[i + R_VR0].how = REG_SAVED_OFFSET;
+ fs->regs.how[i + R_VR0] = REG_SAVED_OFFSET;
fs->regs.reg[i + R_VR0].loc.offset = (long) &vregs->vr[i] - new_cfa;
}
}
- fs->regs.reg[R_VRSAVE].how = REG_SAVED_OFFSET;
+ fs->regs.how[R_VRSAVE] = REG_SAVED_OFFSET;
fs->regs.reg[R_VRSAVE].loc.offset = (long) &vregs->vsave - new_cfa;
/* If we have SPE register high-parts... we check at compile-time to
@@ -278,7 +278,7 @@ ppc_fallback_frame_state (struct _Unwind_Context *context,
#ifdef __SPE__
for (i = 14; i < 32; i++)
{
- fs->regs.reg[i + FIRST_SPE_HIGH_REGNO - 4].how = REG_SAVED_OFFSET;
+ fs->regs.how[i + FIRST_SPE_HIGH_REGNO - 4] = REG_SAVED_OFFSET;
fs->regs.reg[i + FIRST_SPE_HIGH_REGNO - 4].loc.offset
= (long) &regs->vregs - new_cfa + 4 * i;
}
@@ -315,7 +315,7 @@ frob_update_context (struct _Unwind_Context *context, _Unwind_FrameState *fs ATT
#endif
#ifdef __powerpc64__
- if (fs->regs.reg[2].how == REG_UNSAVED)
+ if (fs->regs.how[2] == REG_UNSAVED)
{
/* If the current unwind info (FS) does not contain explicit info
saving R2, then we have to do a minor amount of code reading to
diff --git a/libgcc/config/rs6000/morestack.S b/libgcc/config/rs6000/morestack.S
index 680ec4a..f2fea6a 100644
--- a/libgcc/config/rs6000/morestack.S
+++ b/libgcc/config/rs6000/morestack.S
@@ -1,6 +1,6 @@
#ifdef __powerpc64__
# PowerPC64 support for -fsplit-stack.
-# Copyright (C) 2009-2022 Free Software Foundation, Inc.
+# Copyright (C) 2009-2023 Free Software Foundation, Inc.
# Contributed by Alan Modra <amodra@gmail.com>.
# This file is part of GCC.
@@ -205,12 +205,12 @@ ENTRY0(__morestack)
bl JUMP_TARGET(__generic_morestack)
# Start using new stack
- stdu %r29,-32(%r3) # back-chain
+ stdu %r29,-PARAMS(%r3) # back-chain
mr %r1,%r3
# Set __private_ss stack guard for the new stack.
ld %r12,NEWSTACKSIZE_SAVE(%r29) # modified size
- addi %r3,%r3,BACKOFF-32
+ addi %r3,%r3,BACKOFF-PARAMS
sub %r3,%r3,%r12
# Note that a signal frame has $pc pointing at the instruction
# where the signal occurred. For something like a timer
diff --git a/libgcc/config/rs6000/on_exit.c b/libgcc/config/rs6000/on_exit.c
index f2e3a14..c9351a7 100644
--- a/libgcc/config/rs6000/on_exit.c
+++ b/libgcc/config/rs6000/on_exit.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1999-2023 Free Software Foundation, Inc.
NOTE: This source is derived from an old version taken from the GNU C
Library (glibc).
diff --git a/libgcc/config/rs6000/quad-float128.h b/libgcc/config/rs6000/quad-float128.h
index ae0622c..9749123 100644
--- a/libgcc/config/rs6000/quad-float128.h
+++ b/libgcc/config/rs6000/quad-float128.h
@@ -1,6 +1,6 @@
/* Software floating-point emulation.
Definitions for IEEE Quad Precision on the PowerPC.
- Copyright (C) 2016-2022 Free Software Foundation, Inc.
+ Copyright (C) 2016-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Michael Meissner (meissner@linux.vnet.ibm.com).
@@ -27,21 +27,37 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-/* quad.h defines the TFtype type by:
- typedef float TFtype __attribute__ ((mode (TF)));
+/* Override the types for IEEE 128-bit scalar and complex. We need to use the
+ same IEEE 128-bit type (either long double or _Float128) for both the
+ 128-bit scalar type and for the base type in _Complex. Otherwise, if
+ different types are used, there may be problems in mixing _Complex values
+ with the scalar value.
- This define forces it to use KFmode (aka, ieee 128-bit floating point).
- However, when the compiler's default is changed so that long double is IEEE
- 128-bit floating point, we need to go back to using TFmode and TCmode. */
-#ifndef __LONG_DOUBLE_IEEE128__
-#define TF KF
+ We can't use _Compelx _float128 since GCC doesn't allow it. It only allows
+ _Complex for _Float128 or for long double.
-/* We also need TCtype to represent complex ieee 128-bit float for
- __mulkc3 and __divkc3. */
-typedef __complex float TCtype __attribute__ ((mode (KC)));
+ We use _Float128 when long double is IBM double-double or 64-bit, and long
+ double when long double uses the IEEE 128-bit type. We need to do this
+ because the compiler has a built-in prototype for __mulkc3 and __divkc3
+ using those types. Since we are declaring these functions here, we need to
+ use the same type that the compiler uses (i.e. we can't just always use
+ _Float128).
+
+ Even though the type _Float128 and long double (when long double uses IEEE
+ 128-bits) both hold IEEE 128-bit values, the front ends treat these as two
+ separate types.
+
+ The extension keyword __float128 is currently problematical because it can
+ either be a synonym for _Float128 (when long double is IBM) or for long
+ double (when long double is IEEE). */
+
+#ifdef __LONG_DOUBLE_IEEE128__
+#define TFtype long double
+#define TCtype _Complex long double
#else
-typedef __complex float TCtype __attribute__ ((mode (TC)));
+#define TFtype _Float128
+#define TCtype _Complex _Float128
#endif
/* Force the use of the VSX instruction set. */
diff --git a/libgcc/config/rs6000/sfp-exceptions.c b/libgcc/config/rs6000/sfp-exceptions.c
index e14975c..ad98c71 100644
--- a/libgcc/config/rs6000/sfp-exceptions.c
+++ b/libgcc/config/rs6000/sfp-exceptions.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2016-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2016-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/rs6000/sol-ci.S b/libgcc/config/rs6000/sol-ci.S
index c37b3a1..eae1461 100644
--- a/libgcc/config/rs6000/sol-ci.S
+++ b/libgcc/config/rs6000/sol-ci.S
@@ -1,6 +1,6 @@
# crti.s for sysv4
-# Copyright (C) 1996-2022 Free Software Foundation, Inc.
+# Copyright (C) 1996-2023 Free Software Foundation, Inc.
# Written By Michael Meissner
#
# This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rs6000/sol-cn.S b/libgcc/config/rs6000/sol-cn.S
index a1901ad..ab280bb 100644
--- a/libgcc/config/rs6000/sol-cn.S
+++ b/libgcc/config/rs6000/sol-cn.S
@@ -1,6 +1,6 @@
# crtn.s for sysv4
-# Copyright (C) 1996-2022 Free Software Foundation, Inc.
+# Copyright (C) 1996-2023 Free Software Foundation, Inc.
# Written By Michael Meissner
#
# This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rs6000/t-e500v1-fp b/libgcc/config/rs6000/t-e500v1-fp
index b4f916a..c41296e 100644
--- a/libgcc/config/rs6000/t-e500v1-fp
+++ b/libgcc/config/rs6000/t-e500v1-fp
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2022 Free Software Foundation, Inc.
+# Copyright (C) 2014-2023 Free Software Foundation, Inc.
# This file is part of GCC.
diff --git a/libgcc/config/rs6000/t-e500v2-fp b/libgcc/config/rs6000/t-e500v2-fp
index 5a58197..42a7c51 100644
--- a/libgcc/config/rs6000/t-e500v2-fp
+++ b/libgcc/config/rs6000/t-e500v2-fp
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2022 Free Software Foundation, Inc.
+# Copyright (C) 2014-2023 Free Software Foundation, Inc.
# This file is part of GCC.
diff --git a/libgcc/config/rs6000/t-freebsd b/libgcc/config/rs6000/t-freebsd
index 013d27b..80ee72e 100644
--- a/libgcc/config/rs6000/t-freebsd
+++ b/libgcc/config/rs6000/t-freebsd
@@ -1,6 +1,6 @@
# Overrides for FreeBSD PowerPC
#
-# Copyright (C) 2011-2022 Free Software Foundation, Inc.
+# Copyright (C) 2011-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/config/rs6000/t-slibgcc-aix b/libgcc/config/rs6000/t-slibgcc-aix
index 81b53a0..ef9dc22 100644
--- a/libgcc/config/rs6000/t-slibgcc-aix
+++ b/libgcc/config/rs6000/t-slibgcc-aix
@@ -1,4 +1,4 @@
-# Copyright (C) 2002-2022 Free Software Foundation, Inc.
+# Copyright (C) 2002-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/config/rs6000/tramp.S b/libgcc/config/rs6000/tramp.S
index ffd6979..cff2929 100644
--- a/libgcc/config/rs6000/tramp.S
+++ b/libgcc/config/rs6000/tramp.S
@@ -1,6 +1,6 @@
/* Special support for trampolines
*
- * Copyright (C) 1996-2022 Free Software Foundation, Inc.
+ * Copyright (C) 1996-2023 Free Software Foundation, Inc.
* Written By Michael Meissner
*
* This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/rs6000/trunctfkf2-sw.c b/libgcc/config/rs6000/trunctfkf2-sw.c
index a3bf11f..ced92d8 100644
--- a/libgcc/config/rs6000/trunctfkf2-sw.c
+++ b/libgcc/config/rs6000/trunctfkf2-sw.c
@@ -1,6 +1,6 @@
/* Software IEEE 128-bit floating-point emulation for PowerPC.
- Copyright (C) 2016-2022 Free Software Foundation, Inc.
+ Copyright (C) 2016-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Michael Meissner (meissner@linux.vnet.ibm.com)
Code is based on the main soft-fp library written by:
diff --git a/libgcc/config/rx/rx-abi-functions.c b/libgcc/config/rx/rx-abi-functions.c
index 945e13b..f505d7d 100644
--- a/libgcc/config/rx/rx-abi-functions.c
+++ b/libgcc/config/rx/rx-abi-functions.c
@@ -1,5 +1,5 @@
/* RX C ABI functions
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
Contributed by Red Hat.
This file is part of GCC.
diff --git a/libgcc/config/rx/rx-abi.h b/libgcc/config/rx/rx-abi.h
index 2f0571e..bfb35f8 100644
--- a/libgcc/config/rx/rx-abi.h
+++ b/libgcc/config/rx/rx-abi.h
@@ -1,5 +1,5 @@
/* Header file for RX ABI versions of libgcc functions.
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
Contributed by Red Hat.
This file is part of GCC.
diff --git a/libgcc/config/rx/t-rx b/libgcc/config/rx/t-rx
index 8953966..7adaebb 100644
--- a/libgcc/config/rx/t-rx
+++ b/libgcc/config/rx/t-rx
@@ -1,5 +1,5 @@
# Makefile fragment for building LIBGCC for the Renesas RX target.
-# Copyright (C) 2008-2022 Free Software Foundation, Inc.
+# Copyright (C) 2008-2023 Free Software Foundation, Inc.
# Contributed by Red Hat.
#
# This file is part of GCC.
diff --git a/libgcc/config/s390/32/_fixdfdi.c b/libgcc/config/s390/32/_fixdfdi.c
index 1678ab6..c918929 100644
--- a/libgcc/config/s390/32/_fixdfdi.c
+++ b/libgcc/config/s390/32/_fixdfdi.c
@@ -1,5 +1,5 @@
/* Definitions of target machine for GNU compiler, for IBM S/390
- Copyright (C) 1999-2022 Free Software Foundation, Inc.
+ Copyright (C) 1999-2023 Free Software Foundation, Inc.
Contributed by Hartmut Penner (hpenner@de.ibm.com) and
Ulrich Weigand (uweigand@de.ibm.com).
diff --git a/libgcc/config/s390/32/_fixsfdi.c b/libgcc/config/s390/32/_fixsfdi.c
index 8888f0d..d138526 100644
--- a/libgcc/config/s390/32/_fixsfdi.c
+++ b/libgcc/config/s390/32/_fixsfdi.c
@@ -1,5 +1,5 @@
/* Definitions of target machine for GNU compiler, for IBM S/390
- Copyright (C) 1999-2022 Free Software Foundation, Inc.
+ Copyright (C) 1999-2023 Free Software Foundation, Inc.
Contributed by Hartmut Penner (hpenner@de.ibm.com) and
Ulrich Weigand (uweigand@de.ibm.com).
diff --git a/libgcc/config/s390/32/_fixtfdi.c b/libgcc/config/s390/32/_fixtfdi.c
index ea7d717..b6e27cc 100644
--- a/libgcc/config/s390/32/_fixtfdi.c
+++ b/libgcc/config/s390/32/_fixtfdi.c
@@ -1,5 +1,5 @@
/* Definitions of target machine for GNU compiler, for IBM S/390
- Copyright (C) 1999-2022 Free Software Foundation, Inc.
+ Copyright (C) 1999-2023 Free Software Foundation, Inc.
Contributed by Hartmut Penner (hpenner@de.ibm.com) and
Ulrich Weigand (uweigand@de.ibm.com).
diff --git a/libgcc/config/s390/32/_fixunsdfdi.c b/libgcc/config/s390/32/_fixunsdfdi.c
index 06b450a..9c9a42f 100644
--- a/libgcc/config/s390/32/_fixunsdfdi.c
+++ b/libgcc/config/s390/32/_fixunsdfdi.c
@@ -1,5 +1,5 @@
/* Definitions of target machine for GNU compiler, for IBM S/390
- Copyright (C) 1999-2022 Free Software Foundation, Inc.
+ Copyright (C) 1999-2023 Free Software Foundation, Inc.
Contributed by Hartmut Penner (hpenner@de.ibm.com) and
Ulrich Weigand (uweigand@de.ibm.com).
diff --git a/libgcc/config/s390/32/_fixunssfdi.c b/libgcc/config/s390/32/_fixunssfdi.c
index ccd16d1..ecf7eac 100644
--- a/libgcc/config/s390/32/_fixunssfdi.c
+++ b/libgcc/config/s390/32/_fixunssfdi.c
@@ -1,5 +1,5 @@
/* Definitions of target machine for GNU compiler, for IBM S/390
- Copyright (C) 1999-2022 Free Software Foundation, Inc.
+ Copyright (C) 1999-2023 Free Software Foundation, Inc.
Contributed by Hartmut Penner (hpenner@de.ibm.com) and
Ulrich Weigand (uweigand@de.ibm.com).
diff --git a/libgcc/config/s390/32/_fixunstfdi.c b/libgcc/config/s390/32/_fixunstfdi.c
index 0e9f44a..81abbfd 100644
--- a/libgcc/config/s390/32/_fixunstfdi.c
+++ b/libgcc/config/s390/32/_fixunstfdi.c
@@ -1,5 +1,5 @@
/* Definitions of target machine for GNU compiler, for IBM S/390
- Copyright (C) 1999-2022 Free Software Foundation, Inc.
+ Copyright (C) 1999-2023 Free Software Foundation, Inc.
Contributed by Hartmut Penner (hpenner@de.ibm.com) and
Ulrich Weigand (uweigand@de.ibm.com).
diff --git a/libgcc/config/s390/gthr-tpf.h b/libgcc/config/s390/gthr-tpf.h
index 70a4639..5bcdbe0 100644
--- a/libgcc/config/s390/gthr-tpf.h
+++ b/libgcc/config/s390/gthr-tpf.h
@@ -1,6 +1,6 @@
/* Threads compatibility routines for libgcc2 and libobjc.
Compile this one with gcc.
- Copyright (C) 2004-2022 Free Software Foundation, Inc.
+ Copyright (C) 2004-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/s390/libgcc-glibc.ver b/libgcc/config/s390/libgcc-glibc.ver
index 5b3ffcf..6a2107b 100644
--- a/libgcc/config/s390/libgcc-glibc.ver
+++ b/libgcc/config/s390/libgcc-glibc.ver
@@ -1,4 +1,4 @@
-# Copyright (C) 2002-2022 Free Software Foundation, Inc.
+# Copyright (C) 2002-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/config/s390/linux-unwind.h b/libgcc/config/s390/linux-unwind.h
index f3f1337..d96cb22 100644
--- a/libgcc/config/s390/linux-unwind.h
+++ b/libgcc/config/s390/linux-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for S/390 Linux.
- Copyright (C) 2004-2022 Free Software Foundation, Inc.
+ Copyright (C) 2004-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -106,20 +106,20 @@ s390_fallback_frame_state (struct _Unwind_Context *context,
for (i = 0; i < 16; i++)
{
- fs->regs.reg[i].how = REG_SAVED_OFFSET;
+ fs->regs.how[i] = REG_SAVED_OFFSET;
fs->regs.reg[i].loc.offset =
(long)&regs->gprs[i] - new_cfa;
}
for (i = 0; i < 16; i++)
{
- fs->regs.reg[16+i].how = REG_SAVED_OFFSET;
+ fs->regs.how[16+i] = REG_SAVED_OFFSET;
fs->regs.reg[16+i].loc.offset =
(long)&regs->fprs[dwarf_to_fpr_map[i]] - new_cfa;
}
/* Load return addr from PSW into dummy register 32. */
- fs->regs.reg[32].how = REG_SAVED_OFFSET;
+ fs->regs.how[32] = REG_SAVED_OFFSET;
fs->regs.reg[32].loc.offset = (long)&regs->psw_addr - new_cfa;
fs->retaddr_column = 32;
/* SIGILL, SIGFPE and SIGTRAP are delivered with psw_addr
diff --git a/libgcc/config/s390/morestack.S b/libgcc/config/s390/morestack.S
index db50e60..09a49bb 100644
--- a/libgcc/config/s390/morestack.S
+++ b/libgcc/config/s390/morestack.S
@@ -1,5 +1,5 @@
# s390 support for -fsplit-stack.
-# Copyright (C) 2015-2022 Free Software Foundation, Inc.
+# Copyright (C) 2015-2023 Free Software Foundation, Inc.
# Contributed by Marcin Kościelnicki <koriakin@0x04.net>.
# This file is part of GCC.
diff --git a/libgcc/config/s390/tpf-unwind.h b/libgcc/config/s390/tpf-unwind.h
index 526bdba..e65275e 100644
--- a/libgcc/config/s390/tpf-unwind.h
+++ b/libgcc/config/s390/tpf-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for TPF OS.
- Copyright (C) 2004-2022 Free Software Foundation, Inc.
+ Copyright (C) 2004-2023 Free Software Foundation, Inc.
Contributed by P.J. Darcy (darcypj@us.ibm.com).
This file is part of GCC.
@@ -88,18 +88,18 @@ s390_fallback_frame_state (struct _Unwind_Context *context,
/* All registers remain unchanged ... */
for (i = 0; i < 32; i++)
{
- fs->regs.reg[i].how = REG_SAVED_REG;
+ fs->regs.how[i] = REG_SAVED_REG;
fs->regs.reg[i].loc.reg = i;
}
/* ... except for %r14, which is stored at CFA+offset where offset
is displacment of ICST_CRET or ICST_SRET from CFA */
if ( __isPATrange(context->ra) ) {
- fs->regs.reg[14].how = REG_SAVED_OFFSET;
+ fs->regs.how[14] = REG_SAVED_OFFSET;
fs->regs.reg[14].loc.offset = ICST_CRET - STACK_POINTER_OFFSET;
fs->retaddr_column = 14;
} else {
- fs->regs.reg[14].how = REG_SAVED_OFFSET;
+ fs->regs.how[14] = REG_SAVED_OFFSET;
fs->regs.reg[14].loc.offset = ICST_SRET - STACK_POINTER_OFFSET;
fs->retaddr_column = 14;
@@ -119,13 +119,13 @@ s390_fallback_frame_state (struct _Unwind_Context *context,
for (i = 0; i < 16; i++)
{
- fs->regs.reg[i].how = REG_SAVED_OFFSET;
+ fs->regs.how[i] = REG_SAVED_OFFSET;
fs->regs.reg[i].loc.offset = regs + i*8 - new_cfa;
}
for (i = 0; i < 4; i++)
{
- fs->regs.reg[16 + i].how = REG_SAVED_OFFSET;
+ fs->regs.how[16 + i] = REG_SAVED_OFFSET;
fs->regs.reg[16 + i].loc.offset = regs + 16*8 + i*8 - new_cfa;
}
diff --git a/libgcc/config/score/crti.S b/libgcc/config/score/crti.S
index 57c6235..efa7307 100644
--- a/libgcc/config/score/crti.S
+++ b/libgcc/config/score/crti.S
@@ -1,6 +1,6 @@
# crti.S for Sunplus S+CORE
#
-# Copyright (C) 2005-2022 Free Software Foundation, Inc.
+# Copyright (C) 2005-2023 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/score/crtn.S b/libgcc/config/score/crtn.S
index cd9b54f..f502174 100644
--- a/libgcc/config/score/crtn.S
+++ b/libgcc/config/score/crtn.S
@@ -1,6 +1,6 @@
# crtn.S for Sunplus S+CORE
-# Copyright (C) 2005-2022 Free Software Foundation, Inc.
+# Copyright (C) 2005-2023 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/sh/crt.h b/libgcc/config/sh/crt.h
index 08e540e..3c8dd9c 100644
--- a/libgcc/config/sh/crt.h
+++ b/libgcc/config/sh/crt.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2014-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2014-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/sh/crt1.S b/libgcc/config/sh/crt1.S
index 60cdea6..0a4a452 100644
--- a/libgcc/config/sh/crt1.S
+++ b/libgcc/config/sh/crt1.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2000-2023 Free Software Foundation, Inc.
This file was pretty much copied from newlib.
This file is part of GCC.
diff --git a/libgcc/config/sh/crti.S b/libgcc/config/sh/crti.S
index 418b491..6722cb3 100644
--- a/libgcc/config/sh/crti.S
+++ b/libgcc/config/sh/crti.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2000-2023 Free Software Foundation, Inc.
This file was adapted from glibc sources.
This file is part of GCC.
diff --git a/libgcc/config/sh/crtn.S b/libgcc/config/sh/crtn.S
index c81452a..6b012df 100644
--- a/libgcc/config/sh/crtn.S
+++ b/libgcc/config/sh/crtn.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2000-2023 Free Software Foundation, Inc.
This file was adapted from glibc sources.
This file is part of GCC.
diff --git a/libgcc/config/sh/lib1funcs-4-300.S b/libgcc/config/sh/lib1funcs-4-300.S
index 123fed5..ea2db22 100644
--- a/libgcc/config/sh/lib1funcs-4-300.S
+++ b/libgcc/config/sh/lib1funcs-4-300.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2004-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2004-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/sh/lib1funcs-Os-4-200.S b/libgcc/config/sh/lib1funcs-Os-4-200.S
index d5083fc..870eccc 100644
--- a/libgcc/config/sh/lib1funcs-Os-4-200.S
+++ b/libgcc/config/sh/lib1funcs-Os-4-200.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2006-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2006-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/sh/lib1funcs.S b/libgcc/config/sh/lib1funcs.S
index 2805841..1ca250e 100644
--- a/libgcc/config/sh/lib1funcs.S
+++ b/libgcc/config/sh/lib1funcs.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1994-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/sh/lib1funcs.h b/libgcc/config/sh/lib1funcs.h
index 393e192..8a304d9 100644
--- a/libgcc/config/sh/lib1funcs.h
+++ b/libgcc/config/sh/lib1funcs.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1994-2023 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff --git a/libgcc/config/sh/libgcc-glibc.ver b/libgcc/config/sh/libgcc-glibc.ver
index e3391a1..ae3a079c 100644
--- a/libgcc/config/sh/libgcc-glibc.ver
+++ b/libgcc/config/sh/libgcc-glibc.ver
@@ -1,4 +1,4 @@
-# Copyright (C) 2002-2022 Free Software Foundation, Inc.
+# Copyright (C) 2002-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/config/sh/linux-atomic.c b/libgcc/config/sh/linux-atomic.c
index 5b5749a..6ce3ede 100644
--- a/libgcc/config/sh/linux-atomic.c
+++ b/libgcc/config/sh/linux-atomic.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2012-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2012-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/sh/linux-unwind.h b/libgcc/config/sh/linux-unwind.h
index 8cd30f4..fa85531 100644
--- a/libgcc/config/sh/linux-unwind.h
+++ b/libgcc/config/sh/linux-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for SH Linux.
- Copyright (C) 2004-2022 Free Software Foundation, Inc.
+ Copyright (C) 2004-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -99,24 +99,24 @@ sh_fallback_frame_state (struct _Unwind_Context *context,
for (i = 0; i < 15; i++)
{
- fs->regs.reg[i].how = REG_SAVED_OFFSET;
+ fs->regs.how[i] = REG_SAVED_OFFSET;
fs->regs.reg[i].loc.offset
= (long)&(sc->sc_regs[i]) - new_cfa;
}
- fs->regs.reg[SH_DWARF_FRAME_PR].how = REG_SAVED_OFFSET;
+ fs->regs.how[SH_DWARF_FRAME_PR] = REG_SAVED_OFFSET;
fs->regs.reg[SH_DWARF_FRAME_PR].loc.offset
= (long)&(sc->sc_pr) - new_cfa;
- fs->regs.reg[SH_DWARF_FRAME_SR].how = REG_SAVED_OFFSET;
+ fs->regs.how[SH_DWARF_FRAME_SR] = REG_SAVED_OFFSET;
fs->regs.reg[SH_DWARF_FRAME_SR].loc.offset
= (long)&(sc->sc_sr) - new_cfa;
- fs->regs.reg[SH_DWARF_FRAME_GBR].how = REG_SAVED_OFFSET;
+ fs->regs.how[SH_DWARF_FRAME_GBR] = REG_SAVED_OFFSET;
fs->regs.reg[SH_DWARF_FRAME_GBR].loc.offset
= (long)&(sc->sc_gbr) - new_cfa;
- fs->regs.reg[SH_DWARF_FRAME_MACH].how = REG_SAVED_OFFSET;
+ fs->regs.how[SH_DWARF_FRAME_MACH] = REG_SAVED_OFFSET;
fs->regs.reg[SH_DWARF_FRAME_MACH].loc.offset
= (long)&(sc->sc_mach) - new_cfa;
- fs->regs.reg[SH_DWARF_FRAME_MACL].how = REG_SAVED_OFFSET;
+ fs->regs.how[SH_DWARF_FRAME_MACL] = REG_SAVED_OFFSET;
fs->regs.reg[SH_DWARF_FRAME_MACL].loc.offset
= (long)&(sc->sc_macl) - new_cfa;
@@ -124,7 +124,7 @@ sh_fallback_frame_state (struct _Unwind_Context *context,
r = SH_DWARF_FRAME_FP0;
for (i = 0; i < 16; i++)
{
- fs->regs.reg[r+i].how = REG_SAVED_OFFSET;
+ fs->regs.how[r+i] = REG_SAVED_OFFSET;
fs->regs.reg[r+i].loc.offset
= (long)&(sc->sc_fpregs[i]) - new_cfa;
}
@@ -132,20 +132,20 @@ sh_fallback_frame_state (struct _Unwind_Context *context,
r = SH_DWARF_FRAME_XD0;
for (i = 0; i < 8; i++)
{
- fs->regs.reg[r+i].how = REG_SAVED_OFFSET;
+ fs->regs.how[r+i] = REG_SAVED_OFFSET;
fs->regs.reg[r+i].loc.offset
= (long)&(sc->sc_xfpregs[2*i]) - new_cfa;
}
- fs->regs.reg[SH_DWARF_FRAME_FPUL].how = REG_SAVED_OFFSET;
+ fs->regs.how[SH_DWARF_FRAME_FPUL] = REG_SAVED_OFFSET;
fs->regs.reg[SH_DWARF_FRAME_FPUL].loc.offset
= (long)&(sc->sc_fpul) - new_cfa;
- fs->regs.reg[SH_DWARF_FRAME_FPSCR].how = REG_SAVED_OFFSET;
+ fs->regs.how[SH_DWARF_FRAME_FPSCR] = REG_SAVED_OFFSET;
fs->regs.reg[SH_DWARF_FRAME_FPSCR].loc.offset
= (long)&(sc->sc_fpscr) - new_cfa;
#endif
- fs->regs.reg[SH_DWARF_FRAME_PC].how = REG_SAVED_OFFSET;
+ fs->regs.how[SH_DWARF_FRAME_PC] = REG_SAVED_OFFSET;
fs->regs.reg[SH_DWARF_FRAME_PC].loc.offset
= (long)&(sc->sc_pc) - new_cfa;
fs->retaddr_column = SH_DWARF_FRAME_PC;
diff --git a/libgcc/config/sh/t-sh b/libgcc/config/sh/t-sh
index 910b9c2..f43ec5d 100644
--- a/libgcc/config/sh/t-sh
+++ b/libgcc/config/sh/t-sh
@@ -1,4 +1,4 @@
-# Copyright (C) 1993-2022 Free Software Foundation, Inc.
+# Copyright (C) 1993-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/config/sol2/crtp.c b/libgcc/config/sol2/crtp.c
index 1e530fc..daa9377 100644
--- a/libgcc/config/sol2/crtp.c
+++ b/libgcc/config/sol2/crtp.c
@@ -1,5 +1,5 @@
/* Dummy _mcount when mixing profiling and non-profiling objects.
- Copyright (C) 2015-2022 Free Software Foundation, Inc.
+ Copyright (C) 2015-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/sol2/crtpg.c b/libgcc/config/sol2/crtpg.c
index e22e9f8..551abe8 100644
--- a/libgcc/config/sol2/crtpg.c
+++ b/libgcc/config/sol2/crtpg.c
@@ -1,5 +1,5 @@
/* Register profiling startup and cleanup with Solaris CRTs.
- Copyright (C) 2015-2022 Free Software Foundation, Inc.
+ Copyright (C) 2015-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/sol2/t-sol2 b/libgcc/config/sol2/t-sol2
index b2ab115..f6a04b2 100644
--- a/libgcc/config/sol2/t-sol2
+++ b/libgcc/config/sol2/t-sol2
@@ -1,4 +1,4 @@
-# Copyright (C) 2004-2022 Free Software Foundation, Inc.
+# Copyright (C) 2004-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/config/sparc/crtfastmath.c b/libgcc/config/sparc/crtfastmath.c
index db31c9b..79caa7f 100644
--- a/libgcc/config/sparc/crtfastmath.c
+++ b/libgcc/config/sparc/crtfastmath.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2001-2022 Free Software Foundation, Inc.
+ * Copyright (C) 2001-2023 Free Software Foundation, Inc.
* Contributed by David S. Miller (davem@redhat.com)
*
* This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/sparc/crti.S b/libgcc/config/sparc/crti.S
index f23ebe4..9cb4b20 100644
--- a/libgcc/config/sparc/crti.S
+++ b/libgcc/config/sparc/crti.S
@@ -1,6 +1,6 @@
! crti.S for SPARC
-! Copyright (C) 1992-2022 Free Software Foundation, Inc.
+! Copyright (C) 1992-2023 Free Software Foundation, Inc.
! Written By David Vinayak Henkel-Wallace, June 1992
!
! This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/sparc/crtn.S b/libgcc/config/sparc/crtn.S
index 0db20fd..c7bfa85 100644
--- a/libgcc/config/sparc/crtn.S
+++ b/libgcc/config/sparc/crtn.S
@@ -1,6 +1,6 @@
! crtn.S for SPARC
-! Copyright (C) 1992-2022 Free Software Foundation, Inc.
+! Copyright (C) 1992-2023 Free Software Foundation, Inc.
! Written By David Vinayak Henkel-Wallace, June 1992
!
! This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/sparc/libgcc-glibc.ver b/libgcc/config/sparc/libgcc-glibc.ver
index 3e9cd77..c6b7d59 100644
--- a/libgcc/config/sparc/libgcc-glibc.ver
+++ b/libgcc/config/sparc/libgcc-glibc.ver
@@ -1,4 +1,4 @@
-# Copyright (C) 2002-2022 Free Software Foundation, Inc.
+# Copyright (C) 2002-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/config/sparc/linux-unwind.h b/libgcc/config/sparc/linux-unwind.h
index 001429e..324bc45 100644
--- a/libgcc/config/sparc/linux-unwind.h
+++ b/libgcc/config/sparc/linux-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for SPARC Linux.
- Copyright (C) 2004-2022 Free Software Foundation, Inc.
+ Copyright (C) 2004-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -65,13 +65,13 @@ sparc64_fallback_frame_state (struct _Unwind_Context *context,
if ((unsigned int) i == __builtin_dwarf_sp_column ())
continue;
- fs->regs.reg[i].how = REG_SAVED_OFFSET;
+ fs->regs.how[i] = REG_SAVED_OFFSET;
fs->regs.reg[i].loc.offset
= this_cfa + regs_off + (i * 8) - new_cfa;
}
for (i = 0; i < 16; i++)
{
- fs->regs.reg[i + 16].how = REG_SAVED_OFFSET;
+ fs->regs.how[i + 16] = REG_SAVED_OFFSET;
fs->regs.reg[i + 16].loc.offset
= this_cfa + (i * 8) - new_cfa;
}
@@ -81,7 +81,7 @@ sparc64_fallback_frame_state (struct _Unwind_Context *context,
{
if (i > 32 && (i & 0x1))
continue;
- fs->regs.reg[i + 32].how = REG_SAVED_OFFSET;
+ fs->regs.how[i + 32] = REG_SAVED_OFFSET;
fs->regs.reg[i + 32].loc.offset
= fpu_save + (i * 4) - new_cfa;
}
@@ -95,7 +95,7 @@ sparc64_fallback_frame_state (struct _Unwind_Context *context,
shifted_ra_location = this_cfa + regs_off + 19 * 8; /* Y register */
*(long *)shifted_ra_location = *(long *)ra_location - 8;
fs->retaddr_column = 0;
- fs->regs.reg[0].how = REG_SAVED_OFFSET;
+ fs->regs.how[0] = REG_SAVED_OFFSET;
fs->regs.reg[0].loc.offset = shifted_ra_location - new_cfa;
fs->signal_frame = 1;
@@ -122,7 +122,7 @@ sparc64_frob_update_context (struct _Unwind_Context *context,
context->cfa -= STACK_BIAS;
for (i = 0; i < __LIBGCC_DWARF_FRAME_REGISTERS__ + 1; ++i)
- if (fs->regs.reg[i].how == REG_SAVED_OFFSET)
+ if (fs->regs.how[i] == REG_SAVED_OFFSET)
_Unwind_SetGRPtr (context, i,
_Unwind_GetGRPtr (context, i) - STACK_BIAS);
}
@@ -177,13 +177,13 @@ sparc_fallback_frame_state (struct _Unwind_Context *context,
if ((unsigned int) i == __builtin_dwarf_sp_column ())
continue;
- fs->regs.reg[i].how = REG_SAVED_OFFSET;
+ fs->regs.how[i] = REG_SAVED_OFFSET;
fs->regs.reg[i].loc.offset
= this_cfa + regs_off + (4 * 4) + (i * 4) - new_cfa;
}
for (i = 0; i < 16; i++)
{
- fs->regs.reg[i + 16].how = REG_SAVED_OFFSET;
+ fs->regs.how[i + 16] = REG_SAVED_OFFSET;
fs->regs.reg[i + 16].loc.offset
= this_cfa + (i * 4) - new_cfa;
}
@@ -191,7 +191,7 @@ sparc_fallback_frame_state (struct _Unwind_Context *context,
{
for (i = 0; i < 32; i++)
{
- fs->regs.reg[i + 32].how = REG_SAVED_OFFSET;
+ fs->regs.how[i + 32] = REG_SAVED_OFFSET;
fs->regs.reg[i + 32].loc.offset
= fpu_save + (i * 4) - new_cfa;
}
@@ -205,7 +205,7 @@ sparc_fallback_frame_state (struct _Unwind_Context *context,
shifted_ra_location = this_cfa + regs_off + 3 * 4; /* Y register */
*(int *)shifted_ra_location = *(int *)ra_location - 8;
fs->retaddr_column = 0;
- fs->regs.reg[0].how = REG_SAVED_OFFSET;
+ fs->regs.how[0] = REG_SAVED_OFFSET;
fs->regs.reg[0].loc.offset = shifted_ra_location - new_cfa;
fs->signal_frame = 1;
diff --git a/libgcc/config/sparc/sol2-c1.S b/libgcc/config/sparc/sol2-c1.S
index 0efc0fa..e0f5ce9 100644
--- a/libgcc/config/sparc/sol2-c1.S
+++ b/libgcc/config/sparc/sol2-c1.S
@@ -1,6 +1,6 @@
! crt1.s for sparc & sparcv9 (SunOS 5)
-! Copyright (C) 1992-2022 Free Software Foundation, Inc.
+! Copyright (C) 1992-2023 Free Software Foundation, Inc.
! Written By David Vinayak Henkel-Wallace, June 1992
!
! This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/config/sparc/sol2-unwind.h b/libgcc/config/sparc/sol2-unwind.h
index 06cc538..365fa88 100644
--- a/libgcc/config/sparc/sol2-unwind.h
+++ b/libgcc/config/sparc/sol2-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for SPARC Solaris.
- Copyright (C) 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2009-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -96,7 +96,7 @@ sparc64_frob_update_context (struct _Unwind_Context *context,
context->cfa -= STACK_BIAS;
for (i = 0; i < __LIBGCC_DWARF_FRAME_REGISTERS__ + 1; ++i)
- if (fs->regs.reg[i].how == REG_SAVED_OFFSET)
+ if (fs->regs.how[i] == REG_SAVED_OFFSET)
_Unwind_SetGRPtr (context, i,
_Unwind_GetGRPtr (context, i) - STACK_BIAS);
}
@@ -221,7 +221,7 @@ MD_FALLBACK_FRAME_STATE_FOR (struct _Unwind_Context *context,
continue;
/* First the global registers and then the out registers. */
- fs->regs.reg[i].how = REG_SAVED_OFFSET;
+ fs->regs.how[i] = REG_SAVED_OFFSET;
fs->regs.reg[i].loc.offset = (long)&mctx->gregs[REG_Y + i] - new_cfa;
}
@@ -229,7 +229,7 @@ MD_FALLBACK_FRAME_STATE_FOR (struct _Unwind_Context *context,
the register window (in and local registers) was saved. */
for (i = 0; i < 16; i++)
{
- fs->regs.reg[i + 16].how = REG_SAVED_OFFSET;
+ fs->regs.how[i + 16] = REG_SAVED_OFFSET;
fs->regs.reg[i + 16].loc.offset = i * sizeof(long);
}
@@ -238,7 +238,7 @@ MD_FALLBACK_FRAME_STATE_FOR (struct _Unwind_Context *context,
{
for (i = 0; i < 32; i++)
{
- fs->regs.reg[i + 32].how = REG_SAVED_OFFSET;
+ fs->regs.how[i + 32] = REG_SAVED_OFFSET;
fs->regs.reg[i + 32].loc.offset
= (long)&mctx->fpregs.fpu_fr.fpu_regs[i] - new_cfa;
}
@@ -250,7 +250,7 @@ MD_FALLBACK_FRAME_STATE_FOR (struct _Unwind_Context *context,
if (i > 32 && (i & 1))
continue;
- fs->regs.reg[i + 32].how = REG_SAVED_OFFSET;
+ fs->regs.how[i + 32] = REG_SAVED_OFFSET;
fs->regs.reg[i + 32].loc.offset
= (long)&mctx->fpregs.fpu_fr.fpu_dregs[i/2] - new_cfa;
}
@@ -265,7 +265,7 @@ MD_FALLBACK_FRAME_STATE_FOR (struct _Unwind_Context *context,
shifted_ra_location = &mctx->gregs[REG_Y];
*(void **)shifted_ra_location = *(void **)ra_location - 8;
fs->retaddr_column = 0;
- fs->regs.reg[0].how = REG_SAVED_OFFSET;
+ fs->regs.how[0] = REG_SAVED_OFFSET;
fs->regs.reg[0].loc.offset = (long)shifted_ra_location - new_cfa;
/* SIGFPE for IEEE-754 exceptions is delivered after the faulting insn
diff --git a/libgcc/config/stormy16/lib2funcs.c b/libgcc/config/stormy16/lib2funcs.c
index d077e9a..1c8dd4e 100644
--- a/libgcc/config/stormy16/lib2funcs.c
+++ b/libgcc/config/stormy16/lib2funcs.c
@@ -4,7 +4,7 @@
files. On this glorious day maybe this code can be integrated into
it too. */
-/* Copyright (C) 2005-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2005-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/stormy16/t-stormy16 b/libgcc/config/stormy16/t-stormy16
index cf7b680..73c3731 100644
--- a/libgcc/config/stormy16/t-stormy16
+++ b/libgcc/config/stormy16/t-stormy16
@@ -1,6 +1,6 @@
# -*- makefile -*-
#
-# Copyright (C) 2001-2022 Free Software Foundation, Inc.
+# Copyright (C) 2001-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/config/t-hardfp b/libgcc/config/t-hardfp
index c4ba28b..61b7899 100644
--- a/libgcc/config/t-hardfp
+++ b/libgcc/config/t-hardfp
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2022 Free Software Foundation, Inc.
+# Copyright (C) 2014-2023 Free Software Foundation, Inc.
# This file is part of GCC.
diff --git a/libgcc/config/t-hardfp-sfdf b/libgcc/config/t-hardfp-sfdf
index 46c8fec..18ac628 100644
--- a/libgcc/config/t-hardfp-sfdf
+++ b/libgcc/config/t-hardfp-sfdf
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2022 Free Software Foundation, Inc.
+# Copyright (C) 2014-2023 Free Software Foundation, Inc.
# This file is part of GCC.
diff --git a/libgcc/config/t-libunwind-elf b/libgcc/config/t-libunwind-elf
index 09856b9..06cc6cc 100644
--- a/libgcc/config/t-libunwind-elf
+++ b/libgcc/config/t-libunwind-elf
@@ -1,4 +1,4 @@
-# Copyright (C) 2004-2022 Free Software Foundation, Inc.
+# Copyright (C) 2004-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/config/t-slibgcc b/libgcc/config/t-slibgcc
index 4efd7b4..29765bc 100644
--- a/libgcc/config/t-slibgcc
+++ b/libgcc/config/t-slibgcc
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2022 Free Software Foundation, Inc.
+# Copyright (C) 2001-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/config/t-slibgcc-darwin b/libgcc/config/t-slibgcc-darwin
index a8f6966..cb0cbbd 100644
--- a/libgcc/config/t-slibgcc-darwin
+++ b/libgcc/config/t-slibgcc-darwin
@@ -72,14 +72,15 @@ all: libgcc_ehs$(SHLIB_EXT)
LGCC_FILES += libgcc_ehs.$(SHLIB_SOVERSION)$(SHLIB_EXT)
endif
-
-# Provide libgcc_s.1 for backwards compatibility.
-LGCC_FILES += libgcc_s.1.dylib
-
endif
INSTALL_FILES=$(LGCC_FILES)
+ifeq ($(BUILD_LIBGCCS1),YES)
+# Provide libgcc_s.1 for backwards compatibility.
+INSTALL_FILES += libgcc_s.1.dylib
+endif
+
# For the toplevel multilib, build FAT dylibs including all the multilibs.
ifeq ($(MULTIBUILDTOP),)
@@ -158,9 +159,15 @@ endif
install-darwin-libgcc-stubs :
$(mkinstalldirs) $(DESTDIR)$(slibdir)
- for d in $(INSTALL_FILES) ; do \
- $(INSTALL_DATA) $$d $(DESTDIR)$(slibdir)/$$d || exit 1 ; \
- done
+ if test x$(slibdir) = x; then \
+ for d in $(LGCC_FILES) ; do \
+ $(INSTALL_DATA) $$d $(DESTDIR)$(slibdir)/$$d || exit 1 ; \
+ done; \
+ else \
+ for d in $(INSTALL_FILES) ; do \
+ $(INSTALL_DATA) $$d $(DESTDIR)$(slibdir)/$$d || exit 1 ; \
+ done; \
+ fi
else
diff --git a/libgcc/config/t-slibgcc-fuchsia b/libgcc/config/t-slibgcc-fuchsia
index 4039eba..66b8fce 100644
--- a/libgcc/config/t-slibgcc-fuchsia
+++ b/libgcc/config/t-slibgcc-fuchsia
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2022 Free Software Foundation, Inc.
+# Copyright (C) 2017-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/config/t-slibgcc-libgcc b/libgcc/config/t-slibgcc-libgcc
index 8484839..4cd3fff 100644
--- a/libgcc/config/t-slibgcc-libgcc
+++ b/libgcc/config/t-slibgcc-libgcc
@@ -1,4 +1,4 @@
-# Copyright (C) 2009-2022 Free Software Foundation, Inc.
+# Copyright (C) 2009-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/config/t-softfp b/libgcc/config/t-softfp
index 9e3886b..51707f70 100644
--- a/libgcc/config/t-softfp
+++ b/libgcc/config/t-softfp
@@ -1,4 +1,4 @@
-# Copyright (C) 2006-2022 Free Software Foundation, Inc.
+# Copyright (C) 2006-2023 Free Software Foundation, Inc.
# This file is part of GCC.
diff --git a/libgcc/config/t-vxworks b/libgcc/config/t-vxworks
index 18a0b1e..81a4dea 100644
--- a/libgcc/config/t-vxworks
+++ b/libgcc/config/t-vxworks
@@ -5,17 +5,37 @@ LIBGCC2_DEBUG_CFLAGS =
# VxWorks specific entry point.
LIB2FUNCS_EXCLUDE += _clear_cache
-# This ensures that the correct target headers are used; some VxWorks
-# system headers have names that collide with GCC's internal (host)
-# headers, e.g. regs.h. Make sure the local libgcc headers still
-# prevail (e.g. unwind.h), and that gcc provided header files intended
-# to be user visible eventually are visible as well.
+# Arrange to have the correct target headers used when compiling
+# libgcc. We specifically need to handle VxWorks system headers
+# having names that collide with GCC's internal headers.
+#
+# For example, compiling gthr-vxworks.c #includes <taskLib.h>
+# which in turn #includes <regs.h>, which exists both in the gcc
+# source tree and as a VxWorks system header. We need that
+# #include to get the VxWorks version, not the compiler one.
+#
+# We still need to make sure that the local libgcc headers prevail
+# (e.g. ./unwind.h), and that gcc provided header files intended
+# to be user visible eventually are visible as well (gcc/include
+# and gcc/include-fixed).
+#
+# The latter are added unconditionally as -isystem during regular
+# cross builds via the %I spec processing and search paths introduced
+# by -B options. These take priority over whatever we can add here,
+# even with -nostdinc, and end up at the tail of the search chain.
+#
+# We keep explicit options nevertheless, to accommodate canadian
+# setups where the libraries are built with an installed cross compiler,
+# without -B. Also note, incidentally, that the detection of duplicate
+# paths differs between Windows and Linux hosts as the latter can perform
+# inode based checks while the former may only rely on name comparisons.
+
LIBGCC2_INCLUDES = -nostdinc -I. \
- -I$(MULTIBUILDTOP)../../gcc/include-fixed$(MULTISUBDIR) \
- -I$(MULTIBUILDTOP)../../gcc/include \
$(if $(findstring vxworks7, $(target_noncanonical)), \
-I$(VSB_DIR)/h -I$(VSB_DIR)/share/h -I=/system -I=/public, \
- -I=/ -I=/wrn/coreip)
+ -I=/ -I=/wrn/coreip) \
+ -isystem $(MULTIBUILDTOP)../../gcc/include-fixed$(MULTISUBDIR) \
+ -isystem $(MULTIBUILDTOP)../../gcc/include
# Use these also for the vxcrstuff objects (.e.g for version.h), on top of
# the options possibly already set specifically for the target:
diff --git a/libgcc/config/unwind-dw2-fde-darwin.c b/libgcc/config/unwind-dw2-fde-darwin.c
index 174aec95..3a8a98d 100644
--- a/libgcc/config/unwind-dw2-fde-darwin.c
+++ b/libgcc/config/unwind-dw2-fde-darwin.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2001-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/v850/lib1funcs.S b/libgcc/config/v850/lib1funcs.S
index 00dd61d..20fa499 100644
--- a/libgcc/config/v850/lib1funcs.S
+++ b/libgcc/config/v850/lib1funcs.S
@@ -1,5 +1,5 @@
/* libgcc routines for NEC V850.
- Copyright (C) 1996-2022 Free Software Foundation, Inc.
+ Copyright (C) 1996-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/vax/lib1funcs.S b/libgcc/config/vax/lib1funcs.S
index a4bf268..7529160 100644
--- a/libgcc/config/vax/lib1funcs.S
+++ b/libgcc/config/vax/lib1funcs.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2009-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2009-2023 Free Software Foundation, Inc.
This file is part of GCC.
Contributed by Maciej W. Rozycki <macro@linux-mips.org>.
diff --git a/libgcc/config/visium/crti.S b/libgcc/config/visium/crti.S
index a1151c5..f55c546 100644
--- a/libgcc/config/visium/crti.S
+++ b/libgcc/config/visium/crti.S
@@ -1,5 +1,5 @@
/* crti.S for Visium.
- Copyright (C) 2005-2022 Free Software Foundation, Inc.
+ Copyright (C) 2005-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/visium/crtn.S b/libgcc/config/visium/crtn.S
index 05ecd1b..abeaa1b 100644
--- a/libgcc/config/visium/crtn.S
+++ b/libgcc/config/visium/crtn.S
@@ -1,5 +1,5 @@
/* crtn.S for Visium.
- Copyright (C) 2005-2022 Free Software Foundation, Inc.
+ Copyright (C) 2005-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/visium/divdi3.c b/libgcc/config/visium/divdi3.c
index db1d0fa..7a777e8 100644
--- a/libgcc/config/visium/divdi3.c
+++ b/libgcc/config/visium/divdi3.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2014-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2014-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/visium/lib2funcs.c b/libgcc/config/visium/lib2funcs.c
index d079d65..dbab9be 100644
--- a/libgcc/config/visium/lib2funcs.c
+++ b/libgcc/config/visium/lib2funcs.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2014-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2014-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/visium/memcpy.c b/libgcc/config/visium/memcpy.c
index 2467df1..711e178 100644
--- a/libgcc/config/visium/memcpy.c
+++ b/libgcc/config/visium/memcpy.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2012-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2012-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/visium/memcpy.h b/libgcc/config/visium/memcpy.h
index 9bfabe5..4961a50 100644
--- a/libgcc/config/visium/memcpy.h
+++ b/libgcc/config/visium/memcpy.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2012-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2012-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/visium/memset.c b/libgcc/config/visium/memset.c
index 7d95d10..150343b 100644
--- a/libgcc/config/visium/memset.c
+++ b/libgcc/config/visium/memset.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2012-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2012-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/visium/memset.h b/libgcc/config/visium/memset.h
index 5fd5ef1..80159bc 100644
--- a/libgcc/config/visium/memset.h
+++ b/libgcc/config/visium/memset.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2012-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2012-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/visium/moddi3.c b/libgcc/config/visium/moddi3.c
index 9a3adaa..3a53ece 100644
--- a/libgcc/config/visium/moddi3.c
+++ b/libgcc/config/visium/moddi3.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2014-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2014-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/visium/set_trampoline_parity.c b/libgcc/config/visium/set_trampoline_parity.c
index f06e501..b16a364 100644
--- a/libgcc/config/visium/set_trampoline_parity.c
+++ b/libgcc/config/visium/set_trampoline_parity.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2014-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2014-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/visium/t-visium b/libgcc/config/visium/t-visium
index 4cc0dce..d32b253 100644
--- a/libgcc/config/visium/t-visium
+++ b/libgcc/config/visium/t-visium
@@ -1,4 +1,4 @@
-# Copyright (C) 2003-2022 Free Software Foundation, Inc.
+# Copyright (C) 2003-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/config/visium/udivdi3.c b/libgcc/config/visium/udivdi3.c
index 30a1cef..60993d0 100644
--- a/libgcc/config/visium/udivdi3.c
+++ b/libgcc/config/visium/udivdi3.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2014-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2014-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/visium/udivmoddi4.c b/libgcc/config/visium/udivmoddi4.c
index d0f788b..2a65213 100644
--- a/libgcc/config/visium/udivmoddi4.c
+++ b/libgcc/config/visium/udivmoddi4.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2014-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2014-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/visium/umoddi3.c b/libgcc/config/visium/umoddi3.c
index 149b6a4..f7c1dfd 100644
--- a/libgcc/config/visium/umoddi3.c
+++ b/libgcc/config/visium/umoddi3.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2014-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2014-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/vms/vms-ucrt0.c b/libgcc/config/vms/vms-ucrt0.c
index 4f2fef7..f1ed10e 100644
--- a/libgcc/config/vms/vms-ucrt0.c
+++ b/libgcc/config/vms/vms-ucrt0.c
@@ -1,5 +1,5 @@
/* VMS crt0 returning Unix style condition codes.
- Copyright (C) 2001-2022 Free Software Foundation, Inc.
+ Copyright (C) 2001-2023 Free Software Foundation, Inc.
Contributed by Douglas B. Rupp (rupp@gnat.com).
This file is part of GCC.
diff --git a/libgcc/config/vxcrtstuff.c b/libgcc/config/vxcrtstuff.c
index 80f51f7..5045acf 100644
--- a/libgcc/config/vxcrtstuff.c
+++ b/libgcc/config/vxcrtstuff.c
@@ -26,15 +26,21 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define IN_LIBGCC2
-/* FIXME: Including auto-host is incorrect, but until we have
- identified the set of defines that need to go into auto-target.h,
- this will have to do. */
+/* FIXME: Including auto-host is incorrect here (target library implementation
+ file), but we still need it for DEFAULT_USE_CXA_ATEXIT and most importantly
+ USE_INITFINI_ARRAY, guarded by HAVE_INITFINI_ARRAY_SUPPORT, not yet handled
+ by auto-target.h. Proceed as crtstuff.c, with the inclusion followed by a
+ few #undefs preventing build failures in configurations setup for Windows
+ hosts, including canadian builds. #define USED_FOR_TARGET would circumvent
+ this but would unfortunately also inhibit some of the definitions we
+ need. */
#include "auto-host.h"
#undef caddr_t
#undef pid_t
#undef rlim_t
#undef ssize_t
#undef vfork
+
#include "tconfig.h"
#include "tsystem.h"
#include "coretypes.h"
@@ -58,17 +64,19 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#ifdef CRT_BEGIN
+/* Provide __dso_handle in RTP objects, which might be included in contexts
+ involving shared objects. This mimics the crtstuff.c behavior: dso_handle
+ should be NULL for the main program (in vx_crtbegin.o) and a unique value
+ for the shared libraries (in vx_crtbeginS.o). */
+
#if DEFAULT_USE_CXA_ATEXIT && defined(__RTP__)
-/* This mimics the crtstuff.c behavior. dso_handle should be NULL for the
- main program (in vx_crtbegin.o) and a unique value for the shared libraries
- (in vx_crtbeginS.o). */
extern void *__dso_handle __attribute__ ((__visibility__ ("hidden")));
#ifdef CRTSTUFFS_O
void *__dso_handle = &__dso_handle;
#else
void *__dso_handle = 0;
#endif
-#endif /* DEFAULT_USE_CXA_ATEXIT */
+#endif
/* Determine what names to use for the constructor/destructor functions. */
@@ -103,7 +111,7 @@ void *__dso_handle = 0;
where we don't want to drag libc_internal contents blindly and which
provides functions with a slightly different name anyway. */
-#if HAVE_INITFINI_ARRAY_SUPPORT && defined(CRTSTUFFS_O)
+#if defined(CRTSTUFFS_O)
/* Run through the .init_array, .fini_array sections. The linker script
*must* provide __init_array_start, __init_array_end, __fini_array_start,
diff --git a/libgcc/config/xtensa/crti.S b/libgcc/config/xtensa/crti.S
index 3de7bc1..6372035 100644
--- a/libgcc/config/xtensa/crti.S
+++ b/libgcc/config/xtensa/crti.S
@@ -1,5 +1,5 @@
# Start .init and .fini sections.
-# Copyright (C) 2003-2022 Free Software Foundation, Inc.
+# Copyright (C) 2003-2023 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -24,7 +24,13 @@
# .init sections. Users may put any desired instructions in those
# sections.
-#include "xtensa-config.h"
+#include "xtensa-config-builtin.h"
+
+/* An executable stack is *not* required for these functions. */
+#if defined(__ELF__) && defined(__linux__)
+.section .note.GNU-stack,"",%progbits
+.previous
+#endif
.section .init
.globl _init
diff --git a/libgcc/config/xtensa/crtn.S b/libgcc/config/xtensa/crtn.S
index 06b932e..15c13ea 100644
--- a/libgcc/config/xtensa/crtn.S
+++ b/libgcc/config/xtensa/crtn.S
@@ -1,5 +1,5 @@
# End of .init and .fini sections.
-# Copyright (C) 2003-2022 Free Software Foundation, Inc.
+# Copyright (C) 2003-2023 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -25,7 +25,13 @@
# fact return. Users may put any desired instructions in those sections.
# This file is the last thing linked into any executable.
-#include "xtensa-config.h"
+#include "xtensa-config-builtin.h"
+
+/* An executable stack is *not* required for these functions. */
+#if defined(__ELF__) && defined(__linux__)
+.section .note.GNU-stack,"",%progbits
+.previous
+#endif
.section .init
#if XCHAL_HAVE_WINDOWED && !__XTENSA_CALL0_ABI__
diff --git a/libgcc/config/xtensa/ieee754-df.S b/libgcc/config/xtensa/ieee754-df.S
index ecf477b..9f85ab4 100644
--- a/libgcc/config/xtensa/ieee754-df.S
+++ b/libgcc/config/xtensa/ieee754-df.S
@@ -1,5 +1,5 @@
/* IEEE-754 double-precision functions for Xtensa
- Copyright (C) 2006-2022 Free Software Foundation, Inc.
+ Copyright (C) 2006-2023 Free Software Foundation, Inc.
Contributed by Bob Wilson (bwilson@tensilica.com) at Tensilica.
This file is part of GCC.
diff --git a/libgcc/config/xtensa/ieee754-sf.S b/libgcc/config/xtensa/ieee754-sf.S
index f4b7ac2..055029e 100644
--- a/libgcc/config/xtensa/ieee754-sf.S
+++ b/libgcc/config/xtensa/ieee754-sf.S
@@ -1,5 +1,5 @@
/* IEEE-754 single-precision functions for Xtensa
- Copyright (C) 2006-2022 Free Software Foundation, Inc.
+ Copyright (C) 2006-2023 Free Software Foundation, Inc.
Contributed by Bob Wilson (bwilson@tensilica.com) at Tensilica.
This file is part of GCC.
diff --git a/libgcc/config/xtensa/lib1funcs.S b/libgcc/config/xtensa/lib1funcs.S
index 3932d20..5baf2df 100644
--- a/libgcc/config/xtensa/lib1funcs.S
+++ b/libgcc/config/xtensa/lib1funcs.S
@@ -1,5 +1,5 @@
/* Assembly functions for the Xtensa version of libgcc1.
- Copyright (C) 2001-2022 Free Software Foundation, Inc.
+ Copyright (C) 2001-2023 Free Software Foundation, Inc.
Contributed by Bob Wilson (bwilson@tensilica.com) at Tensilica.
This file is part of GCC.
@@ -23,7 +23,13 @@ a copy of the GCC Runtime Library Exception along with this program;
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */
-#include "xtensa-config.h"
+#include "xtensa-config-builtin.h"
+
+/* An executable stack is *not* required for these functions. */
+#if defined(__ELF__) && defined(__linux__)
+.section .note.GNU-stack,"",%progbits
+.previous
+#endif
/* Define macros for the ABS and ADDX* instructions to handle cases
where they are not included in the Xtensa processor configuration. */
diff --git a/libgcc/config/xtensa/lib2funcs.S b/libgcc/config/xtensa/lib2funcs.S
index 681bac1..992f712 100644
--- a/libgcc/config/xtensa/lib2funcs.S
+++ b/libgcc/config/xtensa/lib2funcs.S
@@ -1,5 +1,5 @@
/* Assembly functions for libgcc2.
- Copyright (C) 2001-2022 Free Software Foundation, Inc.
+ Copyright (C) 2001-2023 Free Software Foundation, Inc.
Contributed by Bob Wilson (bwilson@tensilica.com) at Tensilica.
This file is part of GCC.
@@ -23,7 +23,13 @@ a copy of the GCC Runtime Library Exception along with this program;
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */
-#include "xtensa-config.h"
+#include "xtensa-config-builtin.h"
+
+/* An executable stack is *not* required for these functions. */
+#if defined(__ELF__) && defined(__linux__)
+.section .note.GNU-stack,"",%progbits
+.previous
+#endif
/* __xtensa_libgcc_window_spill: This function flushes out all but the
current register window. This is used to set up the stack so that
diff --git a/libgcc/config/xtensa/linux-unwind.h b/libgcc/config/xtensa/linux-unwind.h
index fed118e..57b721f 100644
--- a/libgcc/config/xtensa/linux-unwind.h
+++ b/libgcc/config/xtensa/linux-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for Xtensa.
- Copyright (C) 2008-2022 Free Software Foundation, Inc.
+ Copyright (C) 2008-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -105,11 +105,11 @@ xtensa_fallback_frame_state (struct _Unwind_Context *context,
for (i = 0; i < 16; i++)
{
- fs->regs.reg[i].how = REG_SAVED_OFFSET;
+ fs->regs.how[i] = REG_SAVED_OFFSET;
fs->regs.reg[i].loc.offset = (_Unwind_Ptr) &(sc->sc_a[i]) - new_cfa;
}
- fs->regs.reg[__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__].how =
+ fs->regs.how[__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__] =
REG_SAVED_VAL_OFFSET;
fs->regs.reg[__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__].loc.offset =
(_Unwind_Ptr) (sc->sc_pc) - new_cfa;
diff --git a/libgcc/config/xtensa/unwind-dw2-xtensa.c b/libgcc/config/xtensa/unwind-dw2-xtensa.c
index 2bfb027..b22d84f 100644
--- a/libgcc/config/xtensa/unwind-dw2-xtensa.c
+++ b/libgcc/config/xtensa/unwind-dw2-xtensa.c
@@ -1,5 +1,5 @@
/* DWARF2 exception handling and frame unwinding for Xtensa.
- Copyright (C) 1997-2022 Free Software Foundation, Inc.
+ Copyright (C) 1997-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/xtensa/unwind-dw2-xtensa.h b/libgcc/config/xtensa/unwind-dw2-xtensa.h
index 09811eb..bc7d537 100644
--- a/libgcc/config/xtensa/unwind-dw2-xtensa.h
+++ b/libgcc/config/xtensa/unwind-dw2-xtensa.h
@@ -1,5 +1,5 @@
/* DWARF2 frame unwind data structure for Xtensa.
- Copyright (C) 1997-2022 Free Software Foundation, Inc.
+ Copyright (C) 1997-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/config/xtensa/xtensa-config-builtin.h b/libgcc/config/xtensa/xtensa-config-builtin.h
new file mode 100644
index 0000000..f759a67
--- /dev/null
+++ b/libgcc/config/xtensa/xtensa-config-builtin.h
@@ -0,0 +1,198 @@
+/* Xtensa configuration settings.
+ Copyright (C) 2022-2023 Free Software Foundation, Inc.
+
+ This file is part of GCC.
+
+ GCC is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3, or (at your option)
+ any later version.
+
+ GCC is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+ License for more details.
+
+ Under Section 7 of GPL version 3, you are granted additional
+ permissions described in the GCC Runtime Library Exception, version
+ 3.1, as published by the Free Software Foundation.
+
+ You should have received a copy of the GNU General Public License and
+ a copy of the GCC Runtime Library Exception along with this program;
+ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
+ <http://www.gnu.org/licenses/>. */
+
+#ifndef XTENSA_CONFIG_BUILTIN_H
+#define XTENSA_CONFIG_BUILTIN_H
+
+/* The macros defined here match those with the same names in the Xtensa
+ compile-time HAL (Hardware Abstraction Layer). Please refer to the
+ Xtensa System Software Reference Manual for documentation of these
+ macros. */
+
+#undef XCHAL_HAVE_BE
+#define XCHAL_HAVE_BE __XCHAL_HAVE_BE
+
+#undef XCHAL_HAVE_DENSITY
+#define XCHAL_HAVE_DENSITY __XCHAL_HAVE_DENSITY
+
+#undef XCHAL_HAVE_CONST16
+#define XCHAL_HAVE_CONST16 __XCHAL_HAVE_CONST16
+
+#undef XCHAL_HAVE_ABS
+#define XCHAL_HAVE_ABS __XCHAL_HAVE_ABS
+
+#undef XCHAL_HAVE_ADDX
+#define XCHAL_HAVE_ADDX __XCHAL_HAVE_ADDX
+
+#undef XCHAL_HAVE_L32R
+#define XCHAL_HAVE_L32R __XCHAL_HAVE_L32R
+
+#undef XSHAL_USE_ABSOLUTE_LITERALS
+#define XSHAL_USE_ABSOLUTE_LITERALS __XSHAL_USE_ABSOLUTE_LITERALS
+
+#undef XSHAL_HAVE_TEXT_SECTION_LITERALS
+#define XSHAL_HAVE_TEXT_SECTION_LITERALS __XSHAL_HAVE_TEXT_SECTION_LITERALS
+
+#undef XCHAL_HAVE_MAC16
+#define XCHAL_HAVE_MAC16 __XCHAL_HAVE_MAC16
+
+#undef XCHAL_HAVE_MUL16
+#define XCHAL_HAVE_MUL16 __XCHAL_HAVE_MUL16
+
+#undef XCHAL_HAVE_MUL32
+#define XCHAL_HAVE_MUL32 __XCHAL_HAVE_MUL32
+
+#undef XCHAL_HAVE_MUL32_HIGH
+#define XCHAL_HAVE_MUL32_HIGH __XCHAL_HAVE_MUL32_HIGH
+
+#undef XCHAL_HAVE_DIV32
+#define XCHAL_HAVE_DIV32 __XCHAL_HAVE_DIV32
+
+#undef XCHAL_HAVE_NSA
+#define XCHAL_HAVE_NSA __XCHAL_HAVE_NSA
+
+#undef XCHAL_HAVE_MINMAX
+#define XCHAL_HAVE_MINMAX __XCHAL_HAVE_MINMAX
+
+#undef XCHAL_HAVE_SEXT
+#define XCHAL_HAVE_SEXT __XCHAL_HAVE_SEXT
+
+#undef XCHAL_HAVE_LOOPS
+#define XCHAL_HAVE_LOOPS __XCHAL_HAVE_LOOPS
+
+#undef XCHAL_HAVE_THREADPTR
+#define XCHAL_HAVE_THREADPTR __XCHAL_HAVE_THREADPTR
+
+#undef XCHAL_HAVE_RELEASE_SYNC
+#define XCHAL_HAVE_RELEASE_SYNC __XCHAL_HAVE_RELEASE_SYNC
+
+#undef XCHAL_HAVE_S32C1I
+#define XCHAL_HAVE_S32C1I __XCHAL_HAVE_S32C1I
+
+#undef XCHAL_HAVE_BOOLEANS
+#define XCHAL_HAVE_BOOLEANS __XCHAL_HAVE_BOOLEANS
+
+#undef XCHAL_HAVE_FP
+#define XCHAL_HAVE_FP __XCHAL_HAVE_FP
+
+#undef XCHAL_HAVE_FP_DIV
+#define XCHAL_HAVE_FP_DIV __XCHAL_HAVE_FP_DIV
+
+#undef XCHAL_HAVE_FP_RECIP
+#define XCHAL_HAVE_FP_RECIP __XCHAL_HAVE_FP_RECIP
+
+#undef XCHAL_HAVE_FP_SQRT
+#define XCHAL_HAVE_FP_SQRT __XCHAL_HAVE_FP_SQRT
+
+#undef XCHAL_HAVE_FP_RSQRT
+#define XCHAL_HAVE_FP_RSQRT __XCHAL_HAVE_FP_RSQRT
+
+#undef XCHAL_HAVE_FP_POSTINC
+#define XCHAL_HAVE_FP_POSTINC __XCHAL_HAVE_FP_POSTINC
+
+#undef XCHAL_HAVE_DFP
+#define XCHAL_HAVE_DFP __XCHAL_HAVE_DFP
+
+#undef XCHAL_HAVE_DFP_DIV
+#define XCHAL_HAVE_DFP_DIV __XCHAL_HAVE_DFP_DIV
+
+#undef XCHAL_HAVE_DFP_RECIP
+#define XCHAL_HAVE_DFP_RECIP __XCHAL_HAVE_DFP_RECIP
+
+#undef XCHAL_HAVE_DFP_SQRT
+#define XCHAL_HAVE_DFP_SQRT __XCHAL_HAVE_DFP_SQRT
+
+#undef XCHAL_HAVE_DFP_RSQRT
+#define XCHAL_HAVE_DFP_RSQRT __XCHAL_HAVE_DFP_RSQRT
+
+#undef XCHAL_HAVE_WINDOWED
+#define XCHAL_HAVE_WINDOWED __XCHAL_HAVE_WINDOWED
+
+#undef XCHAL_NUM_AREGS
+#define XCHAL_NUM_AREGS __XCHAL_NUM_AREGS
+
+#undef XCHAL_HAVE_WIDE_BRANCHES
+#define XCHAL_HAVE_WIDE_BRANCHES __XCHAL_HAVE_WIDE_BRANCHES
+
+#undef XCHAL_HAVE_PREDICTED_BRANCHES
+#define XCHAL_HAVE_PREDICTED_BRANCHES __XCHAL_HAVE_PREDICTED_BRANCHES
+
+
+#undef XCHAL_ICACHE_SIZE
+#define XCHAL_ICACHE_SIZE __XCHAL_ICACHE_SIZE
+
+#undef XCHAL_DCACHE_SIZE
+#define XCHAL_DCACHE_SIZE __XCHAL_DCACHE_SIZE
+
+#undef XCHAL_ICACHE_LINESIZE
+#define XCHAL_ICACHE_LINESIZE __XCHAL_ICACHE_LINESIZE
+
+#undef XCHAL_DCACHE_LINESIZE
+#define XCHAL_DCACHE_LINESIZE __XCHAL_DCACHE_LINESIZE
+
+#undef XCHAL_ICACHE_LINEWIDTH
+#define XCHAL_ICACHE_LINEWIDTH __XCHAL_ICACHE_LINEWIDTH
+
+#undef XCHAL_DCACHE_LINEWIDTH
+#define XCHAL_DCACHE_LINEWIDTH __XCHAL_DCACHE_LINEWIDTH
+
+#undef XCHAL_DCACHE_IS_WRITEBACK
+#define XCHAL_DCACHE_IS_WRITEBACK __XCHAL_DCACHE_IS_WRITEBACK
+
+
+#undef XCHAL_HAVE_MMU
+#define XCHAL_HAVE_MMU __XCHAL_HAVE_MMU
+
+#undef XCHAL_MMU_MIN_PTE_PAGE_SIZE
+#define XCHAL_MMU_MIN_PTE_PAGE_SIZE __XCHAL_MMU_MIN_PTE_PAGE_SIZE
+
+
+#undef XCHAL_HAVE_DEBUG
+#define XCHAL_HAVE_DEBUG __XCHAL_HAVE_DEBUG
+
+#undef XCHAL_NUM_IBREAK
+#define XCHAL_NUM_IBREAK __XCHAL_NUM_IBREAK
+
+#undef XCHAL_NUM_DBREAK
+#define XCHAL_NUM_DBREAK __XCHAL_NUM_DBREAK
+
+#undef XCHAL_DEBUGLEVEL
+#define XCHAL_DEBUGLEVEL __XCHAL_DEBUGLEVEL
+
+
+#undef XCHAL_MAX_INSTRUCTION_SIZE
+#define XCHAL_MAX_INSTRUCTION_SIZE __XCHAL_MAX_INSTRUCTION_SIZE
+
+#undef XCHAL_INST_FETCH_WIDTH
+#define XCHAL_INST_FETCH_WIDTH __XCHAL_INST_FETCH_WIDTH
+
+
+#undef XSHAL_ABI
+#undef XTHAL_ABI_WINDOWED
+#undef XTHAL_ABI_CALL0
+#define XSHAL_ABI __XSHAL_ABI
+#define XTHAL_ABI_WINDOWED __XTHAL_ABI_WINDOWED
+#define XTHAL_ABI_CALL0 __XTHAL_ABI_CALL0
+
+#endif /* !XTENSA_CONFIG_BUILTIN_H */
diff --git a/libgcc/configure b/libgcc/configure
index 61f3ace..be5d45f 100755
--- a/libgcc/configure
+++ b/libgcc/configure
@@ -5699,6 +5699,7 @@ case $target_thread_file in
tpf) thread_header=config/s390/gthr-tpf.h ;;
vxworks) thread_header=config/gthr-vxworks.h ;;
win32) thread_header=config/i386/gthr-win32.h ;;
+ mcf) thread_header=config/i386/gthr-mcf.h ;;
esac
diff --git a/libgcc/crtstuff.c b/libgcc/crtstuff.c
index b0d0062..93ff5b8 100644
--- a/libgcc/crtstuff.c
+++ b/libgcc/crtstuff.c
@@ -1,6 +1,6 @@
/* Specialized bits of code needed to support construction and
destruction of file-scope objects in C++ code.
- Copyright (C) 1991-2022 Free Software Foundation, Inc.
+ Copyright (C) 1991-2023 Free Software Foundation, Inc.
Contributed by Ron Guilmette (rfg@monkeys.com).
This file is part of GCC.
diff --git a/libgcc/dfp-bit.c b/libgcc/dfp-bit.c
index 8c95e9c..8c0f543 100644
--- a/libgcc/dfp-bit.c
+++ b/libgcc/dfp-bit.c
@@ -1,5 +1,5 @@
/* This is a software decimal floating point library.
- Copyright (C) 2005-2022 Free Software Foundation, Inc.
+ Copyright (C) 2005-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/dfp-bit.h b/libgcc/dfp-bit.h
index aba2f44..83f27a5 100644
--- a/libgcc/dfp-bit.h
+++ b/libgcc/dfp-bit.h
@@ -1,5 +1,5 @@
/* Header file for dfp-bit.c.
- Copyright (C) 2005-2022 Free Software Foundation, Inc.
+ Copyright (C) 2005-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/divmod.c b/libgcc/divmod.c
index ff75232..d08022a 100644
--- a/libgcc/divmod.c
+++ b/libgcc/divmod.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2000-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/emutls.c b/libgcc/emutls.c
index d6b82a4..0fea1f1 100644
--- a/libgcc/emutls.c
+++ b/libgcc/emutls.c
@@ -1,5 +1,5 @@
/* TLS emulation.
- Copyright (C) 2006-2022 Free Software Foundation, Inc.
+ Copyright (C) 2006-2023 Free Software Foundation, Inc.
Contributed by Jakub Jelinek <jakub@redhat.com>.
This file is part of GCC.
diff --git a/libgcc/enable-execute-stack-mprotect.c b/libgcc/enable-execute-stack-mprotect.c
index 9f40a02..a17dcfb 100644
--- a/libgcc/enable-execute-stack-mprotect.c
+++ b/libgcc/enable-execute-stack-mprotect.c
@@ -1,5 +1,5 @@
/* Implement __enable_execute_stack using mprotect(2).
- Copyright (C) 2011-2022 Free Software Foundation, Inc.
+ Copyright (C) 2011-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/find-symver.awk b/libgcc/find-symver.awk
index 1ab139f..36749a7 100644
--- a/libgcc/find-symver.awk
+++ b/libgcc/find-symver.awk
@@ -1,5 +1,5 @@
# Extract the version of a single symbol from the version map.
-# Copyright (C) 2014-2022 Free Software Foundation, Inc.
+# Copyright (C) 2014-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/fixed-bit.c b/libgcc/fixed-bit.c
index 093524d..1a0d899 100644
--- a/libgcc/fixed-bit.c
+++ b/libgcc/fixed-bit.c
@@ -1,5 +1,5 @@
/* This is a software fixed-point library.
- Copyright (C) 2007-2022 Free Software Foundation, Inc.
+ Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/fixed-bit.h b/libgcc/fixed-bit.h
index 2ee0da0..4e7c2cb 100644
--- a/libgcc/fixed-bit.h
+++ b/libgcc/fixed-bit.h
@@ -1,5 +1,5 @@
/* This is a software fixed-point library.
- Copyright (C) 2007-2022 Free Software Foundation, Inc.
+ Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/fp-bit.c b/libgcc/fp-bit.c
index 3330910..7fecca8 100644
--- a/libgcc/fp-bit.c
+++ b/libgcc/fp-bit.c
@@ -1,6 +1,6 @@
/* This is a software floating point library which can be used
for targets without hardware floating point.
- Copyright (C) 1994-2022 Free Software Foundation, Inc.
+ Copyright (C) 1994-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/fp-bit.h b/libgcc/fp-bit.h
index 55aaa80..764e02e 100644
--- a/libgcc/fp-bit.h
+++ b/libgcc/fp-bit.h
@@ -1,5 +1,5 @@
/* Header file for fp-bit.c. */
-/* Copyright (C) 2000-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2000-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/gbl-ctors.h b/libgcc/gbl-ctors.h
index ecc04b9..c311743 100644
--- a/libgcc/gbl-ctors.h
+++ b/libgcc/gbl-ctors.h
@@ -2,7 +2,7 @@
for getting g++ file-scope static objects constructed. This file
will get included either by libgcc2.c (for systems that don't support
a .init section) or by crtstuff.c (for those that do).
- Copyright (C) 1991-2022 Free Software Foundation, Inc.
+ Copyright (C) 1991-2023 Free Software Foundation, Inc.
Contributed by Ron Guilmette (rfg@segfault.us.com)
This file is part of GCC.
diff --git a/libgcc/gcov.h b/libgcc/gcov.h
index cdd4206..77c1046 100644
--- a/libgcc/gcov.h
+++ b/libgcc/gcov.h
@@ -1,5 +1,5 @@
/* GCOV interface routines.
- Copyright (C) 2017-2022 Free Software Foundation, Inc.
+ Copyright (C) 2017-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/generic-morestack-thread.c b/libgcc/generic-morestack-thread.c
index 9e40ee1..518ff5b 100644
--- a/libgcc/generic-morestack-thread.c
+++ b/libgcc/generic-morestack-thread.c
@@ -1,5 +1,5 @@
/* Thread library support for -fsplit-stack. */
-/* Copyright (C) 2009-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2009-2023 Free Software Foundation, Inc.
Contributed by Ian Lance Taylor <iant@google.com>.
This file is part of GCC.
diff --git a/libgcc/generic-morestack.c b/libgcc/generic-morestack.c
index ae24c73..fd0587c 100644
--- a/libgcc/generic-morestack.c
+++ b/libgcc/generic-morestack.c
@@ -1,5 +1,5 @@
/* Library support for -fsplit-stack. */
-/* Copyright (C) 2009-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2009-2023 Free Software Foundation, Inc.
Contributed by Ian Lance Taylor <iant@google.com>.
This file is part of GCC.
diff --git a/libgcc/generic-morestack.h b/libgcc/generic-morestack.h
index 6c334a9..0f2c392 100644
--- a/libgcc/generic-morestack.h
+++ b/libgcc/generic-morestack.h
@@ -1,5 +1,5 @@
/* Library support for -fsplit-stack. */
-/* Copyright (C) 2009-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2009-2023 Free Software Foundation, Inc.
Contributed by Ian Lance Taylor <iant@google.com>.
This file is part of GCC.
diff --git a/libgcc/gthr-posix.h b/libgcc/gthr-posix.h
index f1a5ab8..aebcfdd 100644
--- a/libgcc/gthr-posix.h
+++ b/libgcc/gthr-posix.h
@@ -1,6 +1,6 @@
/* Threads compatibility routines for libgcc2 and libobjc. */
/* Compile this one with gcc. */
-/* Copyright (C) 1997-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1997-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/gthr-single.h b/libgcc/gthr-single.h
index 9c392ec6..da0b6ff 100644
--- a/libgcc/gthr-single.h
+++ b/libgcc/gthr-single.h
@@ -1,6 +1,6 @@
/* Threads compatibility routines for libgcc2 and libobjc. */
/* Compile this one with gcc. */
-/* Copyright (C) 1997-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1997-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/gthr.h b/libgcc/gthr.h
index 7943c94..1989c0c 100644
--- a/libgcc/gthr.h
+++ b/libgcc/gthr.h
@@ -1,6 +1,6 @@
/* Threads compatibility routines for libgcc2. */
/* Compile this one with gcc. */
-/* Copyright (C) 1997-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1997-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/libgcc-std.ver.in b/libgcc/libgcc-std.ver.in
index 513ddd0..c4f87a5 100644
--- a/libgcc/libgcc-std.ver.in
+++ b/libgcc/libgcc-std.ver.in
@@ -1,4 +1,4 @@
-# Copyright (C) 2000-2022 Free Software Foundation, Inc.
+# Copyright (C) 2000-2023 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
diff --git a/libgcc/libgcc2.c b/libgcc/libgcc2.c
index 3ebfcc8..e0017d1 100644
--- a/libgcc/libgcc2.c
+++ b/libgcc/libgcc2.c
@@ -1,6 +1,6 @@
/* More subroutines needed by GCC output code on some machines. */
/* Compile this one with gcc. */
-/* Copyright (C) 1989-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1989-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -2273,6 +2273,7 @@ __clear_cache (void *beg __attribute__((__unused__)),
/* Jump to a trampoline, loading the static chain address. */
#if defined(WINNT) && ! defined(__CYGWIN__)
+#define WIN32_LEAN_AND_MEAN
#include <windows.h>
int getpagesize (void);
int mprotect (char *,int, int);
diff --git a/libgcc/libgcc2.h b/libgcc/libgcc2.h
index fc24ac3..3ec9bbd 100644
--- a/libgcc/libgcc2.h
+++ b/libgcc/libgcc2.h
@@ -1,5 +1,5 @@
/* Header file for libgcc2.c. */
-/* Copyright (C) 2000-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2000-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -156,9 +156,13 @@ typedef float XFtype __attribute__ ((mode (XF)));
typedef _Complex float XCtype __attribute__ ((mode (XC)));
#endif
#if LIBGCC2_HAS_TF_MODE
+#ifndef TFtype
typedef float TFtype __attribute__ ((mode (TF)));
+#endif
+#ifndef TCtype
typedef _Complex float TCtype __attribute__ ((mode (TC)));
#endif
+#endif
typedef int cmp_return_type __attribute__((mode (__libgcc_cmp_return__)));
typedef int shift_count_type __attribute__((mode (__libgcc_shift_count__)));
diff --git a/libgcc/libgcov-driver-system.c b/libgcc/libgcov-driver-system.c
index ac405c3..b57da9d 100644
--- a/libgcc/libgcov-driver-system.c
+++ b/libgcc/libgcov-driver-system.c
@@ -1,6 +1,6 @@
/* Routines required for instrumenting a program. */
/* Compile this one with gcc. */
-/* Copyright (C) 1989-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1989-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/libgcov-driver.c b/libgcc/libgcov-driver.c
index aba62d5..dbb5e79 100644
--- a/libgcc/libgcov-driver.c
+++ b/libgcc/libgcov-driver.c
@@ -1,6 +1,6 @@
/* Routines required for instrumenting a program. */
/* Compile this one with gcc. */
-/* Copyright (C) 1989-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1989-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -520,7 +520,7 @@ write_one_data (const struct gcov_info *gi_ptr,
#ifdef NEED_L_GCOV
/* Generate whole program statistics. */
- gcov_write_summary (GCOV_TAG_OBJECT_SUMMARY, prg_p);
+ gcov_write_object_summary (prg_p);
#endif
/* Write execution counts for each function. */
diff --git a/libgcc/libgcov-interface.c b/libgcc/libgcov-interface.c
index ab21c12..b2ee930 100644
--- a/libgcc/libgcov-interface.c
+++ b/libgcc/libgcov-interface.c
@@ -1,6 +1,6 @@
/* Routines required for instrumenting a program. */
/* Compile this one with gcc. */
-/* Copyright (C) 1989-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1989-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/libgcov-merge.c b/libgcc/libgcov-merge.c
index 89741f6..5d6e17d 100644
--- a/libgcc/libgcov-merge.c
+++ b/libgcc/libgcov-merge.c
@@ -1,6 +1,6 @@
/* Routines required for instrumenting a program. */
/* Compile this one with gcc. */
-/* Copyright (C) 1989-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1989-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/libgcov-profiler.c b/libgcc/libgcov-profiler.c
index 5761785..1e87059 100644
--- a/libgcc/libgcov-profiler.c
+++ b/libgcc/libgcov-profiler.c
@@ -1,6 +1,6 @@
/* Routines required for instrumenting a program. */
/* Compile this one with gcc. */
-/* Copyright (C) 1989-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1989-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/libgcov-util.c b/libgcc/libgcov-util.c
index ba4670b..d547c10 100644
--- a/libgcc/libgcov-util.c
+++ b/libgcc/libgcov-util.c
@@ -1,6 +1,6 @@
/* Utility functions for reading gcda files into in-memory
gcov_info structures and offline profile processing. */
-/* Copyright (C) 2014-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2014-2023 Free Software Foundation, Inc.
Contributed by Rong Xu <xur@google.com>.
This file is part of GCC.
diff --git a/libgcc/libgcov.h b/libgcc/libgcov.h
index c7545cc..92df440 100644
--- a/libgcc/libgcov.h
+++ b/libgcc/libgcov.h
@@ -1,5 +1,5 @@
/* Header file for libgcov-*.c.
- Copyright (C) 1996-2022 Free Software Foundation, Inc.
+ Copyright (C) 1996-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -118,7 +118,7 @@ typedef unsigned gcov_type_unsigned __attribute__ ((mode (QI)));
#define gcov_rewrite __gcov_rewrite
#define gcov_is_error __gcov_is_error
#define gcov_write_unsigned __gcov_write_unsigned
-#define gcov_write_summary __gcov_write_summary
+#define gcov_write_object_summary __gcov_write_object_summary
#define gcov_read_unsigned __gcov_read_unsigned
#define gcov_read_counter __gcov_read_counter
#define gcov_read_summary __gcov_read_summary
@@ -342,8 +342,7 @@ extern int __gcov_execve (const char *, char *const [], char *const [])
ATTRIBUTE_HIDDEN;
/* Functions that only available in libgcov. */
-GCOV_LINKAGE void gcov_write_summary (gcov_unsigned_t /*tag*/,
- const struct gcov_summary *)
+GCOV_LINKAGE void gcov_write_object_summary (const struct gcov_summary *)
ATTRIBUTE_HIDDEN;
GCOV_LINKAGE void gcov_rewrite (void) ATTRIBUTE_HIDDEN;
diff --git a/libgcc/mkheader.sh b/libgcc/mkheader.sh
index 59a3762..75be7e1 100755
--- a/libgcc/mkheader.sh
+++ b/libgcc/mkheader.sh
@@ -1,6 +1,6 @@
#! /bin/sh
-# Copyright (C) 2001-2022 Free Software Foundation, Inc.
+# Copyright (C) 2001-2023 Free Software Foundation, Inc.
# This file is part of GCC.
# GCC is free software; you can redistribute it and/or modify
diff --git a/libgcc/mkmap-flat.awk b/libgcc/mkmap-flat.awk
index 9b2a14f..bbb2001 100644
--- a/libgcc/mkmap-flat.awk
+++ b/libgcc/mkmap-flat.awk
@@ -1,5 +1,5 @@
# Generate a flat list of symbols to export.
-# Copyright (C) 2007-2022 Free Software Foundation, Inc.
+# Copyright (C) 2007-2023 Free Software Foundation, Inc.
# Contributed by Richard Henderson <rth@cygnus.com>
#
# This file is part of GCC.
diff --git a/libgcc/mkmap-symver.awk b/libgcc/mkmap-symver.awk
index 77caf0f..eb5d713 100644
--- a/libgcc/mkmap-symver.awk
+++ b/libgcc/mkmap-symver.awk
@@ -1,5 +1,5 @@
# Generate an ELF symbol version map a-la Solaris and GNU ld.
-# Copyright (C) 2007-2022 Free Software Foundation, Inc.
+# Copyright (C) 2007-2023 Free Software Foundation, Inc.
# Contributed by Richard Henderson <rth@cygnus.com>
#
# This file is part of GCC.
diff --git a/libgcc/offloadstuff.c b/libgcc/offloadstuff.c
index 10e1fe1..4e1c4d4 100644
--- a/libgcc/offloadstuff.c
+++ b/libgcc/offloadstuff.c
@@ -1,5 +1,5 @@
/* Specialized bits of code needed for the offloading tables.
- Copyright (C) 2014-2022 Free Software Foundation, Inc.
+ Copyright (C) 2014-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/soft-fp/brain.h b/libgcc/soft-fp/brain.h
new file mode 100644
index 0000000..c8563ef
--- /dev/null
+++ b/libgcc/soft-fp/brain.h
@@ -0,0 +1,172 @@
+/* Software floating-point emulation.
+ Definitions for Brain Floating Point format (bfloat16).
+ Copyright (C) 1997-2022 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ In addition to the permissions in the GNU Lesser General Public
+ License, the Free Software Foundation gives you unlimited
+ permission to link the compiled version of this file into
+ combinations with other programs, and to distribute those
+ combinations without any restriction coming from the use of this
+ file. (The Lesser General Public License restrictions do apply in
+ other respects; for example, they cover modification of the file,
+ and distribution when not linked into a combine executable.)
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <https://www.gnu.org/licenses/>. */
+
+#ifndef SOFT_FP_BRAIN_H
+#define SOFT_FP_BRAIN_H 1
+
+#if _FP_W_TYPE_SIZE < 32
+# error "Here's a nickel kid. Go buy yourself a real computer."
+#endif
+
+#define _FP_FRACTBITS_B (_FP_W_TYPE_SIZE)
+
+#define _FP_FRACTBITS_DW_B (_FP_W_TYPE_SIZE)
+
+#define _FP_FRACBITS_B 8
+#define _FP_FRACXBITS_B (_FP_FRACTBITS_B - _FP_FRACBITS_B)
+#define _FP_WFRACBITS_B (_FP_WORKBITS + _FP_FRACBITS_B)
+#define _FP_WFRACXBITS_B (_FP_FRACTBITS_B - _FP_WFRACBITS_B)
+#define _FP_EXPBITS_B 8
+#define _FP_EXPBIAS_B 127
+#define _FP_EXPMAX_B 255
+
+#define _FP_QNANBIT_B ((_FP_W_TYPE) 1 << (_FP_FRACBITS_B-2))
+#define _FP_QNANBIT_SH_B ((_FP_W_TYPE) 1 << (_FP_FRACBITS_B-2+_FP_WORKBITS))
+#define _FP_IMPLBIT_B ((_FP_W_TYPE) 1 << (_FP_FRACBITS_B-1))
+#define _FP_IMPLBIT_SH_B ((_FP_W_TYPE) 1 << (_FP_FRACBITS_B-1+_FP_WORKBITS))
+#define _FP_OVERFLOW_B ((_FP_W_TYPE) 1 << (_FP_WFRACBITS_B))
+
+#define _FP_WFRACBITS_DW_B (2 * _FP_WFRACBITS_B)
+#define _FP_WFRACXBITS_DW_B (_FP_FRACTBITS_DW_B - _FP_WFRACBITS_DW_B)
+#define _FP_HIGHBIT_DW_B \
+ ((_FP_W_TYPE) 1 << (_FP_WFRACBITS_DW_B - 1) % _FP_W_TYPE_SIZE)
+
+/* The implementation of _FP_MUL_MEAT_B and _FP_DIV_MEAT_B should be
+ chosen by the target machine. */
+
+typedef float BFtype __attribute__ ((mode (BF)));
+
+union _FP_UNION_B
+{
+ BFtype flt;
+ struct _FP_STRUCT_LAYOUT
+ {
+#if __BYTE_ORDER == __BIG_ENDIAN
+ unsigned sign : 1;
+ unsigned exp : _FP_EXPBITS_B;
+ unsigned frac : _FP_FRACBITS_B - (_FP_IMPLBIT_B != 0);
+#else
+ unsigned frac : _FP_FRACBITS_B - (_FP_IMPLBIT_B != 0);
+ unsigned exp : _FP_EXPBITS_B;
+ unsigned sign : 1;
+#endif
+ } bits;
+};
+
+#define FP_DECL_B(X) _FP_DECL (1, X)
+#define FP_UNPACK_RAW_B(X, val) _FP_UNPACK_RAW_1 (B, X, (val))
+#define FP_UNPACK_RAW_BP(X, val) _FP_UNPACK_RAW_1_P (B, X, (val))
+#define FP_PACK_RAW_B(val, X) _FP_PACK_RAW_1 (B, (val), X)
+#define FP_PACK_RAW_BP(val, X) \
+ do \
+ { \
+ if (!FP_INHIBIT_RESULTS) \
+ _FP_PACK_RAW_1_P (B, (val), X); \
+ } \
+ while (0)
+
+#define FP_UNPACK_B(X, val) \
+ do \
+ { \
+ _FP_UNPACK_RAW_1 (B, X, (val)); \
+ _FP_UNPACK_CANONICAL (B, 1, X); \
+ } \
+ while (0)
+
+#define FP_UNPACK_BP(X, val) \
+ do \
+ { \
+ _FP_UNPACK_RAW_1_P (B, X, (val)); \
+ _FP_UNPACK_CANONICAL (B, 1, X); \
+ } \
+ while (0)
+
+#define FP_UNPACK_SEMIRAW_B(X, val) \
+ do \
+ { \
+ _FP_UNPACK_RAW_1 (B, X, (val)); \
+ _FP_UNPACK_SEMIRAW (B, 1, X); \
+ } \
+ while (0)
+
+#define FP_UNPACK_SEMIRAW_BP(X, val) \
+ do \
+ { \
+ _FP_UNPACK_RAW_1_P (B, X, (val)); \
+ _FP_UNPACK_SEMIRAW (B, 1, X); \
+ } \
+ while (0)
+
+#define FP_PACK_B(val, X) \
+ do \
+ { \
+ _FP_PACK_CANONICAL (B, 1, X); \
+ _FP_PACK_RAW_1 (B, (val), X); \
+ } \
+ while (0)
+
+#define FP_PACK_BP(val, X) \
+ do \
+ { \
+ _FP_PACK_CANONICAL (B, 1, X); \
+ if (!FP_INHIBIT_RESULTS) \
+ _FP_PACK_RAW_1_P (B, (val), X); \
+ } \
+ while (0)
+
+#define FP_PACK_SEMIRAW_B(val, X) \
+ do \
+ { \
+ _FP_PACK_SEMIRAW (B, 1, X); \
+ _FP_PACK_RAW_1 (B, (val), X); \
+ } \
+ while (0)
+
+#define FP_PACK_SEMIRAW_BP(val, X) \
+ do \
+ { \
+ _FP_PACK_SEMIRAW (B, 1, X); \
+ if (!FP_INHIBIT_RESULTS) \
+ _FP_PACK_RAW_1_P (B, (val), X); \
+ } \
+ while (0)
+
+#define FP_TO_INT_B(r, X, rsz, rsg) _FP_TO_INT (B, 1, (r), X, (rsz), (rsg))
+#define FP_TO_INT_ROUND_B(r, X, rsz, rsg) \
+ _FP_TO_INT_ROUND (B, 1, (r), X, (rsz), (rsg))
+#define FP_FROM_INT_B(X, r, rs, rt) _FP_FROM_INT (B, 1, X, (r), (rs), rt)
+
+/* BFmode arithmetic is not implemented. */
+
+#define _FP_FRAC_HIGH_B(X) _FP_FRAC_HIGH_1 (X)
+#define _FP_FRAC_HIGH_RAW_B(X) _FP_FRAC_HIGH_1 (X)
+#define _FP_FRAC_HIGH_DW_B(X) _FP_FRAC_HIGH_1 (X)
+
+#define FP_CMP_EQ_B(r, X, Y, ex) _FP_CMP_EQ (B, 1, (r), X, Y, (ex))
+
+#endif /* !SOFT_FP_BRAIN_H */
diff --git a/libgcc/soft-fp/extendbfsf2.c b/libgcc/soft-fp/extendbfsf2.c
new file mode 100644
index 0000000..c534a41
--- /dev/null
+++ b/libgcc/soft-fp/extendbfsf2.c
@@ -0,0 +1,49 @@
+/* Software floating-point emulation.
+ Return an bfloat16 converted to IEEE single
+ Copyright (C) 2022 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ In addition to the permissions in the GNU Lesser General Public
+ License, the Free Software Foundation gives you unlimited
+ permission to link the compiled version of this file into
+ combinations with other programs, and to distribute those
+ combinations without any restriction coming from the use of this
+ file. (The Lesser General Public License restrictions do apply in
+ other respects; for example, they cover modification of the file,
+ and distribution when not linked into a combine executable.)
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
+
+#define FP_NO_EXACT_UNDERFLOW
+#include "soft-fp.h"
+#include "brain.h"
+#include "single.h"
+
+SFtype
+__extendbfsf2 (BFtype a)
+{
+ FP_DECL_EX;
+ FP_DECL_B (A);
+ FP_DECL_S (R);
+ SFtype r;
+
+ FP_INIT_EXCEPTIONS;
+ FP_UNPACK_RAW_B (A, a);
+ FP_EXTEND (S, B, 1, 1, R, A);
+ FP_PACK_RAW_S (r, R);
+ FP_HANDLE_EXCEPTIONS;
+
+ return r;
+}
diff --git a/libgcc/soft-fp/floatdibf.c b/libgcc/soft-fp/floatdibf.c
new file mode 100644
index 0000000..9cdeba1
--- /dev/null
+++ b/libgcc/soft-fp/floatdibf.c
@@ -0,0 +1,45 @@
+/* Software floating-point emulation.
+ Convert a 64bit signed integer to bfloat16
+ Copyright (C) 2007-2023 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ In addition to the permissions in the GNU Lesser General Public
+ License, the Free Software Foundation gives you unlimited
+ permission to link the compiled version of this file into
+ combinations with other programs, and to distribute those
+ combinations without any restriction coming from the use of this
+ file. (The Lesser General Public License restrictions do apply in
+ other respects; for example, they cover modification of the file,
+ and distribution when not linked into a combine executable.)
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <https://www.gnu.org/licenses/>. */
+
+#include "soft-fp.h"
+#include "brain.h"
+
+BFtype
+__floatdibf (DItype i)
+{
+ FP_DECL_EX;
+ FP_DECL_B (A);
+ BFtype a;
+
+ FP_INIT_ROUNDMODE;
+ FP_FROM_INT_B (A, i, DI_BITS, UDItype);
+ FP_PACK_RAW_B (a, A);
+ FP_HANDLE_EXCEPTIONS;
+
+ return a;
+}
diff --git a/libgcc/soft-fp/floattibf.c b/libgcc/soft-fp/floattibf.c
new file mode 100644
index 0000000..f3336a9
--- /dev/null
+++ b/libgcc/soft-fp/floattibf.c
@@ -0,0 +1,45 @@
+/* Software floating-point emulation.
+ Convert a 128bit signed integer to bfloat16
+ Copyright (C) 2007-2023 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ In addition to the permissions in the GNU Lesser General Public
+ License, the Free Software Foundation gives you unlimited
+ permission to link the compiled version of this file into
+ combinations with other programs, and to distribute those
+ combinations without any restriction coming from the use of this
+ file. (The Lesser General Public License restrictions do apply in
+ other respects; for example, they cover modification of the file,
+ and distribution when not linked into a combine executable.)
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <https://www.gnu.org/licenses/>. */
+
+#include "soft-fp.h"
+#include "brain.h"
+
+BFtype
+__floattibf (TItype i)
+{
+ FP_DECL_EX;
+ FP_DECL_B (A);
+ BFtype a;
+
+ FP_INIT_ROUNDMODE;
+ FP_FROM_INT_B (A, i, TI_BITS, UTItype);
+ FP_PACK_RAW_B (a, A);
+ FP_HANDLE_EXCEPTIONS;
+
+ return a;
+}
diff --git a/libgcc/soft-fp/floatundibf.c b/libgcc/soft-fp/floatundibf.c
new file mode 100644
index 0000000..11e43d6
--- /dev/null
+++ b/libgcc/soft-fp/floatundibf.c
@@ -0,0 +1,45 @@
+/* Software floating-point emulation.
+ Convert a 64bit unsigned integer to bfloat16
+ Copyright (C) 2007-2023 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ In addition to the permissions in the GNU Lesser General Public
+ License, the Free Software Foundation gives you unlimited
+ permission to link the compiled version of this file into
+ combinations with other programs, and to distribute those
+ combinations without any restriction coming from the use of this
+ file. (The Lesser General Public License restrictions do apply in
+ other respects; for example, they cover modification of the file,
+ and distribution when not linked into a combine executable.)
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <https://www.gnu.org/licenses/>. */
+
+#include "soft-fp.h"
+#include "brain.h"
+
+BFtype
+__floatundibf (UDItype i)
+{
+ FP_DECL_EX;
+ FP_DECL_B (A);
+ BFtype a;
+
+ FP_INIT_ROUNDMODE;
+ FP_FROM_INT_B (A, i, DI_BITS, UDItype);
+ FP_PACK_RAW_B (a, A);
+ FP_HANDLE_EXCEPTIONS;
+
+ return a;
+}
diff --git a/libgcc/soft-fp/floatuntibf.c b/libgcc/soft-fp/floatuntibf.c
new file mode 100644
index 0000000..362b0f6
--- /dev/null
+++ b/libgcc/soft-fp/floatuntibf.c
@@ -0,0 +1,45 @@
+/* Software floating-point emulation.
+ Convert a 128bit unsigned integer to bfloat16
+ Copyright (C) 2007-2023 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ In addition to the permissions in the GNU Lesser General Public
+ License, the Free Software Foundation gives you unlimited
+ permission to link the compiled version of this file into
+ combinations with other programs, and to distribute those
+ combinations without any restriction coming from the use of this
+ file. (The Lesser General Public License restrictions do apply in
+ other respects; for example, they cover modification of the file,
+ and distribution when not linked into a combine executable.)
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <https://www.gnu.org/licenses/>. */
+
+#include "soft-fp.h"
+#include "brain.h"
+
+BFtype
+__floatuntibf (UTItype i)
+{
+ FP_DECL_EX;
+ FP_DECL_B (A);
+ BFtype a;
+
+ FP_INIT_ROUNDMODE;
+ FP_FROM_INT_B (A, i, TI_BITS, UTItype);
+ FP_PACK_RAW_B (a, A);
+ FP_HANDLE_EXCEPTIONS;
+
+ return a;
+}
diff --git a/libgcc/soft-fp/quad.h b/libgcc/soft-fp/quad.h
index 3889bb4..71f87d3 100644
--- a/libgcc/soft-fp/quad.h
+++ b/libgcc/soft-fp/quad.h
@@ -65,7 +65,9 @@
#define _FP_HIGHBIT_DW_Q \
((_FP_W_TYPE) 1 << (_FP_WFRACBITS_DW_Q - 1) % _FP_W_TYPE_SIZE)
+#ifndef TFtype
typedef float TFtype __attribute__ ((mode (TF)));
+#endif
#if _FP_W_TYPE_SIZE < 64
diff --git a/libgcc/soft-fp/truncbfhf2.c b/libgcc/soft-fp/truncbfhf2.c
new file mode 100644
index 0000000..6b6e6b4
--- /dev/null
+++ b/libgcc/soft-fp/truncbfhf2.c
@@ -0,0 +1,75 @@
+/* Software floating-point emulation.
+ Truncate bfloat16 into IEEE half.
+ Copyright (C) 2022 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ In addition to the permissions in the GNU Lesser General Public
+ License, the Free Software Foundation gives you unlimited
+ permission to link the compiled version of this file into
+ combinations with other programs, and to distribute those
+ combinations without any restriction coming from the use of this
+ file. (The Lesser General Public License restrictions do apply in
+ other respects; for example, they cover modification of the file,
+ and distribution when not linked into a combine executable.)
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
+
+#include "soft-fp.h"
+#include "half.h"
+#include "brain.h"
+#include "single.h"
+
+/* BFtype and HFtype are unordered, neither is a superset or subset
+ of each other. Convert BFtype to SFtype (lossless) and then
+ truncate to HFtype. */
+
+HFtype
+__truncbfhf2 (BFtype a)
+{
+ FP_DECL_EX;
+ FP_DECL_H (A);
+ FP_DECL_S (B);
+ FP_DECL_B (R);
+ SFtype b;
+ HFtype r;
+
+ FP_INIT_ROUNDMODE;
+ /* Optimize BFtype to SFtype conversion to simple left shift
+ by 16 if possible, we don't need to raise exceptions on sNaN
+ here as the SFtype to HFtype truncation should do that too. */
+ if (sizeof (BFtype) == 2
+ && sizeof (unsigned short) == 2
+ && sizeof (SFtype) == 4
+ && sizeof (unsigned int) == 4)
+ {
+ union { BFtype a; unsigned short b; } u1;
+ union { SFtype a; unsigned int b; } u2;
+ u1.a = a;
+ u2.b = (u1.b << 8) << 8;
+ b = u2.a;
+ }
+ else
+ {
+ FP_UNPACK_RAW_B (A, a);
+ FP_EXTEND (S, B, 1, 1, B, A);
+ FP_PACK_RAW_S (b, B);
+ }
+ FP_UNPACK_SEMIRAW_S (B, b);
+ FP_TRUNC (H, S, 1, 1, R, B);
+ FP_PACK_SEMIRAW_H (r, R);
+ FP_HANDLE_EXCEPTIONS;
+
+ return r;
+}
diff --git a/libgcc/soft-fp/truncdfbf2.c b/libgcc/soft-fp/truncdfbf2.c
new file mode 100644
index 0000000..dfa0b26
--- /dev/null
+++ b/libgcc/soft-fp/truncdfbf2.c
@@ -0,0 +1,52 @@
+/* Software floating-point emulation.
+ Truncate IEEE double into bfloat16.
+ Copyright (C) 2022 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ In addition to the permissions in the GNU Lesser General Public
+ License, the Free Software Foundation gives you unlimited
+ permission to link the compiled version of this file into
+ combinations with other programs, and to distribute those
+ combinations without any restriction coming from the use of this
+ file. (The Lesser General Public License restrictions do apply in
+ other respects; for example, they cover modification of the file,
+ and distribution when not linked into a combine executable.)
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
+
+#include "soft-fp.h"
+#include "brain.h"
+#include "double.h"
+
+BFtype
+__truncdfbf2 (DFtype a)
+{
+ FP_DECL_EX;
+ FP_DECL_D (A);
+ FP_DECL_B (R);
+ BFtype r;
+
+ FP_INIT_ROUNDMODE;
+ FP_UNPACK_SEMIRAW_D (A, a);
+#if _FP_W_TYPE_SIZE < _FP_FRACBITS_D
+ FP_TRUNC (B, D, 1, 2, R, A);
+#else
+ FP_TRUNC (B, D, 1, 1, R, A);
+#endif
+ FP_PACK_SEMIRAW_B (r, R);
+ FP_HANDLE_EXCEPTIONS;
+
+ return r;
+}
diff --git a/libgcc/soft-fp/trunchfbf2.c b/libgcc/soft-fp/trunchfbf2.c
new file mode 100644
index 0000000..f3d6501
--- /dev/null
+++ b/libgcc/soft-fp/trunchfbf2.c
@@ -0,0 +1,58 @@
+/* Software floating-point emulation.
+ Truncate IEEE half into bfloat16.
+ Copyright (C) 2022 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ In addition to the permissions in the GNU Lesser General Public
+ License, the Free Software Foundation gives you unlimited
+ permission to link the compiled version of this file into
+ combinations with other programs, and to distribute those
+ combinations without any restriction coming from the use of this
+ file. (The Lesser General Public License restrictions do apply in
+ other respects; for example, they cover modification of the file,
+ and distribution when not linked into a combine executable.)
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
+
+#include "soft-fp.h"
+#include "brain.h"
+#include "half.h"
+#include "single.h"
+
+/* BFtype and HFtype are unordered, neither is a superset or subset
+ of each other. Convert HFtype to SFtype (lossless) and then
+ truncate to BFtype. */
+
+BFtype
+__trunchfbf2 (HFtype a)
+{
+ FP_DECL_EX;
+ FP_DECL_H (A);
+ FP_DECL_S (B);
+ FP_DECL_B (R);
+ SFtype b;
+ BFtype r;
+
+ FP_INIT_ROUNDMODE;
+ FP_UNPACK_RAW_H (A, a);
+ FP_EXTEND (S, H, 1, 1, B, A);
+ FP_PACK_RAW_S (b, B);
+ FP_UNPACK_SEMIRAW_S (B, b);
+ FP_TRUNC (B, S, 1, 1, R, B);
+ FP_PACK_SEMIRAW_B (r, R);
+ FP_HANDLE_EXCEPTIONS;
+
+ return r;
+}
diff --git a/libgcc/soft-fp/truncsfbf2.c b/libgcc/soft-fp/truncsfbf2.c
new file mode 100644
index 0000000..ccd90b6
--- /dev/null
+++ b/libgcc/soft-fp/truncsfbf2.c
@@ -0,0 +1,48 @@
+/* Software floating-point emulation.
+ Truncate IEEE single into bfloat16.
+ Copyright (C) 2022 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ In addition to the permissions in the GNU Lesser General Public
+ License, the Free Software Foundation gives you unlimited
+ permission to link the compiled version of this file into
+ combinations with other programs, and to distribute those
+ combinations without any restriction coming from the use of this
+ file. (The Lesser General Public License restrictions do apply in
+ other respects; for example, they cover modification of the file,
+ and distribution when not linked into a combine executable.)
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
+
+#include "soft-fp.h"
+#include "brain.h"
+#include "single.h"
+
+BFtype
+__truncsfbf2 (SFtype a)
+{
+ FP_DECL_EX;
+ FP_DECL_S (A);
+ FP_DECL_B (R);
+ BFtype r;
+
+ FP_INIT_ROUNDMODE;
+ FP_UNPACK_SEMIRAW_S (A, a);
+ FP_TRUNC (B, S, 1, 1, R, A);
+ FP_PACK_SEMIRAW_B (r, R);
+ FP_HANDLE_EXCEPTIONS;
+
+ return r;
+}
diff --git a/libgcc/soft-fp/trunctfbf2.c b/libgcc/soft-fp/trunctfbf2.c
new file mode 100644
index 0000000..095c12e
--- /dev/null
+++ b/libgcc/soft-fp/trunctfbf2.c
@@ -0,0 +1,52 @@
+/* Software floating-point emulation.
+ Truncate IEEE quad into bfloat16.
+ Copyright (C) 2022 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ In addition to the permissions in the GNU Lesser General Public
+ License, the Free Software Foundation gives you unlimited
+ permission to link the compiled version of this file into
+ combinations with other programs, and to distribute those
+ combinations without any restriction coming from the use of this
+ file. (The Lesser General Public License restrictions do apply in
+ other respects; for example, they cover modification of the file,
+ and distribution when not linked into a combine executable.)
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <https://www.gnu.org/licenses/>. */
+
+#include "soft-fp.h"
+#include "brain.h"
+#include "quad.h"
+
+BFtype
+__trunctfbf2 (TFtype a)
+{
+ FP_DECL_EX;
+ FP_DECL_Q (A);
+ FP_DECL_B (R);
+ BFtype r;
+
+ FP_INIT_ROUNDMODE;
+ FP_UNPACK_SEMIRAW_Q (A, a);
+#if _FP_W_TYPE_SIZE < 64
+ FP_TRUNC (B, Q, 1, 4, R, A);
+#else
+ FP_TRUNC (B, Q, 1, 2, R, A);
+#endif
+ FP_PACK_SEMIRAW_B (r, R);
+ FP_HANDLE_EXCEPTIONS;
+
+ return r;
+}
diff --git a/libgcc/soft-fp/truncxfbf2.c b/libgcc/soft-fp/truncxfbf2.c
new file mode 100644
index 0000000..fbff063
--- /dev/null
+++ b/libgcc/soft-fp/truncxfbf2.c
@@ -0,0 +1,52 @@
+/* Software floating-point emulation.
+ Truncate IEEE extended into bfloat16.
+ Copyright (C) 2022 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ In addition to the permissions in the GNU Lesser General Public
+ License, the Free Software Foundation gives you unlimited
+ permission to link the compiled version of this file into
+ combinations with other programs, and to distribute those
+ combinations without any restriction coming from the use of this
+ file. (The Lesser General Public License restrictions do apply in
+ other respects; for example, they cover modification of the file,
+ and distribution when not linked into a combine executable.)
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
+
+#include "soft-fp.h"
+#include "brain.h"
+#include "extended.h"
+
+BFtype
+__truncxfbf2 (XFtype a)
+{
+ FP_DECL_EX;
+ FP_DECL_E (A);
+ FP_DECL_B (R);
+ BFtype r;
+
+ FP_INIT_ROUNDMODE;
+ FP_UNPACK_SEMIRAW_E (A, a);
+#if _FP_W_TYPE_SIZE < 64
+ FP_TRUNC (B, E, 1, 4, R, A);
+#else
+ FP_TRUNC (B, E, 1, 2, R, A);
+#endif
+ FP_PACK_SEMIRAW_B (r, R);
+ FP_HANDLE_EXCEPTIONS;
+
+ return r;
+}
diff --git a/libgcc/sync.c b/libgcc/sync.c
index d6debf3..f1fd70f 100644
--- a/libgcc/sync.c
+++ b/libgcc/sync.c
@@ -1,5 +1,5 @@
/* Out-of-line libgcc versions of __sync_* builtins. */
-/* Copyright (C) 2008-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/udivhi3.c b/libgcc/udivhi3.c
index 97ae968..ac42bb2 100644
--- a/libgcc/udivhi3.c
+++ b/libgcc/udivhi3.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2000-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/udivmod.c b/libgcc/udivmod.c
index b0bf4cf..4de3e74 100644
--- a/libgcc/udivmod.c
+++ b/libgcc/udivmod.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2000-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/udivmodhi4.c b/libgcc/udivmodhi4.c
index bed8526..ba0c0b8 100644
--- a/libgcc/udivmodhi4.c
+++ b/libgcc/udivmodhi4.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2000-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/udivmodsi4.c b/libgcc/udivmodsi4.c
index 42d0099..8e4b44c 100644
--- a/libgcc/udivmodsi4.c
+++ b/libgcc/udivmodsi4.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2000-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/unwind-arm-common.inc b/libgcc/unwind-arm-common.inc
index 916982b..837719a 100644
--- a/libgcc/unwind-arm-common.inc
+++ b/libgcc/unwind-arm-common.inc
@@ -1,5 +1,5 @@
/* Common unwinding code for ARM EABI and C6X.
- Copyright (C) 2004-2022 Free Software Foundation, Inc.
+ Copyright (C) 2004-2023 Free Software Foundation, Inc.
Contributed by Paul Brook
This file is free software; you can redistribute it and/or modify it
diff --git a/libgcc/unwind-c.c b/libgcc/unwind-c.c
index 2638fac..2da3d56 100644
--- a/libgcc/unwind-c.c
+++ b/libgcc/unwind-c.c
@@ -1,5 +1,5 @@
/* Supporting functions for C exception handling.
- Copyright (C) 2002-2022 Free Software Foundation, Inc.
+ Copyright (C) 2002-2023 Free Software Foundation, Inc.
Contributed by Aldy Hernandez <aldy@quesejoda.com>.
Shamelessly stolen from the Java front end.
diff --git a/libgcc/unwind-compat.c b/libgcc/unwind-compat.c
index 1562e79..9bb722c 100644
--- a/libgcc/unwind-compat.c
+++ b/libgcc/unwind-compat.c
@@ -1,5 +1,5 @@
/* Backward compatibility unwind routines.
- Copyright (C) 2004-2022 Free Software Foundation, Inc.
+ Copyright (C) 2004-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/unwind-compat.h b/libgcc/unwind-compat.h
index 7420248..290bfffc2 100644
--- a/libgcc/unwind-compat.h
+++ b/libgcc/unwind-compat.h
@@ -1,5 +1,5 @@
/* Backward compatibility unwind routines.
- Copyright (C) 2004-2022 Free Software Foundation, Inc.
+ Copyright (C) 2004-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/unwind-dw2-btree.h b/libgcc/unwind-dw2-btree.h
index ace507d..ae957e9 100644
--- a/libgcc/unwind-dw2-btree.h
+++ b/libgcc/unwind-dw2-btree.h
@@ -1,5 +1,5 @@
/* Lock-free btree for manually registered unwind frames. */
-/* Copyright (C) 2022 Free Software Foundation, Inc.
+/* Copyright (C) 2022-2023 Free Software Foundation, Inc.
Contributed by Thomas Neumann
This file is part of GCC.
diff --git a/libgcc/unwind-dw2-execute_cfa.h b/libgcc/unwind-dw2-execute_cfa.h
new file mode 100644
index 0000000..aef3770
--- /dev/null
+++ b/libgcc/unwind-dw2-execute_cfa.h
@@ -0,0 +1,327 @@
+/* DWARF2 exception handling CFA execution engine.
+ Copyright (C) 1997-2023 Free Software Foundation, Inc.
+
+ This file is part of GCC.
+
+ GCC is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3, or (at your option)
+ any later version.
+
+ GCC is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+ License for more details.
+
+ Under Section 7 of GPL version 3, you are granted additional
+ permissions described in the GCC Runtime Library Exception, version
+ 3.1, as published by the Free Software Foundation.
+
+ You should have received a copy of the GNU General Public License and
+ a copy of the GCC Runtime Library Exception along with this program;
+ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
+ <http://www.gnu.org/licenses/>. */
+
+/* This file is included from unwind-dw2.c to specialize the code for certain
+ values of DATA_ALIGN and CODE_ALIGN. These macros must be defined prior to
+ including this file. */
+
+{
+ struct frame_state_reg_info *unused_rs = NULL;
+
+ /* Don't allow remember/restore between CIE and FDE programs. */
+ fs->regs.prev = NULL;
+
+ /* The comparison with the return address uses < rather than <= because
+ we are only interested in the effects of code before the call; for a
+ noreturn function, the return address may point to unrelated code with
+ a different stack configuration that we are not interested in. We
+ assume that the call itself is unwind info-neutral; if not, or if
+ there are delay instructions that adjust the stack, these must be
+ reflected at the point immediately before the call insn.
+ In signal frames, return address is after last completed instruction,
+ so we add 1 to return address to make the comparison <=. */
+ while (insn_ptr < insn_end
+ && fs->pc < context->ra + _Unwind_IsSignalFrame (context))
+ {
+ unsigned char insn = *insn_ptr++;
+ _uleb128_t reg, utmp;
+ _sleb128_t offset, stmp;
+
+ if ((insn & 0xc0) == DW_CFA_advance_loc)
+ fs->pc += (insn & 0x3f) * CODE_ALIGN;
+ else if ((insn & 0xc0) == DW_CFA_offset)
+ {
+ reg = insn & 0x3f;
+ insn_ptr = read_uleb128 (insn_ptr, &utmp);
+ offset = (_Unwind_Sword) utmp * DATA_ALIGN;
+ reg = DWARF_REG_TO_UNWIND_COLUMN (reg);
+ if (UNWIND_COLUMN_IN_RANGE (reg))
+ {
+ fs->regs.how[reg] = REG_SAVED_OFFSET;
+ fs->regs.reg[reg].loc.offset = offset;
+ }
+ }
+ else if ((insn & 0xc0) == DW_CFA_restore)
+ {
+ reg = insn & 0x3f;
+ reg = DWARF_REG_TO_UNWIND_COLUMN (reg);
+ if (UNWIND_COLUMN_IN_RANGE (reg))
+ fs->regs.how[reg] = REG_UNSAVED;
+ }
+ else switch (insn)
+ {
+ case DW_CFA_set_loc:
+ {
+ _Unwind_Ptr pc;
+
+ insn_ptr = read_encoded_value (context, fs->fde_encoding,
+ insn_ptr, &pc);
+ fs->pc = (void *) pc;
+ }
+ break;
+
+ case DW_CFA_advance_loc1:
+ fs->pc += read_1u (insn_ptr) * CODE_ALIGN;
+ insn_ptr += 1;
+ break;
+ case DW_CFA_advance_loc2:
+ fs->pc += read_2u (insn_ptr) * CODE_ALIGN;
+ insn_ptr += 2;
+ break;
+ case DW_CFA_advance_loc4:
+ fs->pc += read_4u (insn_ptr) * CODE_ALIGN;
+ insn_ptr += 4;
+ break;
+
+ case DW_CFA_offset_extended:
+ insn_ptr = read_uleb128 (insn_ptr, &reg);
+ insn_ptr = read_uleb128 (insn_ptr, &utmp);
+ offset = (_Unwind_Sword) utmp * DATA_ALIGN;
+ reg = DWARF_REG_TO_UNWIND_COLUMN (reg);
+ if (UNWIND_COLUMN_IN_RANGE (reg))
+ {
+ fs->regs.how[reg] = REG_SAVED_OFFSET;
+ fs->regs.reg[reg].loc.offset = offset;
+ }
+ break;
+
+ case DW_CFA_restore_extended:
+ insn_ptr = read_uleb128 (insn_ptr, &reg);
+ /* FIXME, this is wrong; the CIE might have said that the
+ register was saved somewhere. */
+ reg = DWARF_REG_TO_UNWIND_COLUMN (reg);
+ if (UNWIND_COLUMN_IN_RANGE (reg))
+ fs->regs.how[reg] = REG_UNSAVED;
+ break;
+
+ case DW_CFA_same_value:
+ insn_ptr = read_uleb128 (insn_ptr, &reg);
+ reg = DWARF_REG_TO_UNWIND_COLUMN (reg);
+ if (UNWIND_COLUMN_IN_RANGE (reg))
+ fs->regs.how[reg] = REG_UNSAVED;
+ break;
+
+ case DW_CFA_undefined:
+ insn_ptr = read_uleb128 (insn_ptr, &reg);
+ reg = DWARF_REG_TO_UNWIND_COLUMN (reg);
+ if (UNWIND_COLUMN_IN_RANGE (reg))
+ fs->regs.how[reg] = REG_UNDEFINED;
+ break;
+
+ case DW_CFA_nop:
+ break;
+
+ case DW_CFA_register:
+ {
+ _uleb128_t reg2;
+ insn_ptr = read_uleb128 (insn_ptr, &reg);
+ insn_ptr = read_uleb128 (insn_ptr, &reg2);
+ reg = DWARF_REG_TO_UNWIND_COLUMN (reg);
+ if (UNWIND_COLUMN_IN_RANGE (reg))
+ {
+ fs->regs.how[reg] = REG_SAVED_REG;
+ fs->regs.reg[reg].loc.reg = (_Unwind_Word)reg2;
+ }
+ }
+ break;
+
+ case DW_CFA_remember_state:
+ {
+ struct frame_state_reg_info *new_rs;
+ if (unused_rs)
+ {
+ new_rs = unused_rs;
+ unused_rs = unused_rs->prev;
+ }
+ else
+ new_rs = alloca (sizeof (struct frame_state_reg_info));
+
+ *new_rs = fs->regs;
+ fs->regs.prev = new_rs;
+ }
+ break;
+
+ case DW_CFA_restore_state:
+ {
+ struct frame_state_reg_info *old_rs = fs->regs.prev;
+ fs->regs = *old_rs;
+ old_rs->prev = unused_rs;
+ unused_rs = old_rs;
+ }
+ break;
+
+ case DW_CFA_def_cfa:
+ insn_ptr = read_uleb128 (insn_ptr, &utmp);
+ fs->regs.cfa_reg = (_Unwind_Word)utmp;
+ insn_ptr = read_uleb128 (insn_ptr, &utmp);
+ fs->regs.cfa_offset = (_Unwind_Word)utmp;
+ fs->regs.cfa_how = CFA_REG_OFFSET;
+ break;
+
+ case DW_CFA_def_cfa_register:
+ insn_ptr = read_uleb128 (insn_ptr, &utmp);
+ fs->regs.cfa_reg = (_Unwind_Word)utmp;
+ fs->regs.cfa_how = CFA_REG_OFFSET;
+ break;
+
+ case DW_CFA_def_cfa_offset:
+ insn_ptr = read_uleb128 (insn_ptr, &utmp);
+ fs->regs.cfa_offset = utmp;
+ /* cfa_how deliberately not set. */
+ break;
+
+ case DW_CFA_def_cfa_expression:
+ fs->regs.cfa_exp = insn_ptr;
+ fs->regs.cfa_how = CFA_EXP;
+ insn_ptr = read_uleb128 (insn_ptr, &utmp);
+ insn_ptr += utmp;
+ break;
+
+ case DW_CFA_expression:
+ insn_ptr = read_uleb128 (insn_ptr, &reg);
+ reg = DWARF_REG_TO_UNWIND_COLUMN (reg);
+ if (UNWIND_COLUMN_IN_RANGE (reg))
+ {
+ fs->regs.how[reg] = REG_SAVED_EXP;
+ fs->regs.reg[reg].loc.exp = insn_ptr;
+ }
+ insn_ptr = read_uleb128 (insn_ptr, &utmp);
+ insn_ptr += utmp;
+ break;
+
+ /* Dwarf3. */
+ case DW_CFA_offset_extended_sf:
+ insn_ptr = read_uleb128 (insn_ptr, &reg);
+ insn_ptr = read_sleb128 (insn_ptr, &stmp);
+ offset = stmp * DATA_ALIGN;
+ reg = DWARF_REG_TO_UNWIND_COLUMN (reg);
+ if (UNWIND_COLUMN_IN_RANGE (reg))
+ {
+ fs->regs.how[reg] = REG_SAVED_OFFSET;
+ fs->regs.reg[reg].loc.offset = offset;
+ }
+ break;
+
+ case DW_CFA_def_cfa_sf:
+ insn_ptr = read_uleb128 (insn_ptr, &utmp);
+ fs->regs.cfa_reg = (_Unwind_Word)utmp;
+ insn_ptr = read_sleb128 (insn_ptr, &stmp);
+ fs->regs.cfa_offset = (_Unwind_Sword)stmp;
+ fs->regs.cfa_how = CFA_REG_OFFSET;
+ fs->regs.cfa_offset *= DATA_ALIGN;
+ break;
+
+ case DW_CFA_def_cfa_offset_sf:
+ insn_ptr = read_sleb128 (insn_ptr, &stmp);
+ fs->regs.cfa_offset = (_Unwind_Sword)stmp;
+ fs->regs.cfa_offset *= DATA_ALIGN;
+ /* cfa_how deliberately not set. */
+ break;
+
+ case DW_CFA_val_offset:
+ insn_ptr = read_uleb128 (insn_ptr, &reg);
+ insn_ptr = read_uleb128 (insn_ptr, &utmp);
+ offset = (_Unwind_Sword) utmp * DATA_ALIGN;
+ reg = DWARF_REG_TO_UNWIND_COLUMN (reg);
+ if (UNWIND_COLUMN_IN_RANGE (reg))
+ {
+ fs->regs.how[reg] = REG_SAVED_VAL_OFFSET;
+ fs->regs.reg[reg].loc.offset = offset;
+ }
+ break;
+
+ case DW_CFA_val_offset_sf:
+ insn_ptr = read_uleb128 (insn_ptr, &reg);
+ insn_ptr = read_sleb128 (insn_ptr, &stmp);
+ offset = stmp * DATA_ALIGN;
+ reg = DWARF_REG_TO_UNWIND_COLUMN (reg);
+ if (UNWIND_COLUMN_IN_RANGE (reg))
+ {
+ fs->regs.how[reg] = REG_SAVED_VAL_OFFSET;
+ fs->regs.reg[reg].loc.offset = offset;
+ }
+ break;
+
+ case DW_CFA_val_expression:
+ insn_ptr = read_uleb128 (insn_ptr, &reg);
+ reg = DWARF_REG_TO_UNWIND_COLUMN (reg);
+ if (UNWIND_COLUMN_IN_RANGE (reg))
+ {
+ fs->regs.how[reg] = REG_SAVED_VAL_EXP;
+ fs->regs.reg[reg].loc.exp = insn_ptr;
+ }
+ insn_ptr = read_uleb128 (insn_ptr, &utmp);
+ insn_ptr += utmp;
+ break;
+
+ case DW_CFA_GNU_window_save:
+#if defined (__aarch64__) && !defined (__ILP32__)
+ /* This CFA is multiplexed with Sparc. On AArch64 it's used to toggle
+ return address signing status. REG_UNSAVED/REG_UNSAVED_ARCHEXT
+ mean RA signing is disabled/enabled. */
+ reg = DWARF_REGNUM_AARCH64_RA_STATE;
+ gcc_assert (fs->regs.how[reg] == REG_UNSAVED
+ || fs->regs.how[reg] == REG_UNSAVED_ARCHEXT);
+ if (fs->regs.how[reg] == REG_UNSAVED)
+ fs->regs.how[reg] = REG_UNSAVED_ARCHEXT;
+ else
+ fs->regs.how[reg] = REG_UNSAVED;
+#else
+ /* ??? Hardcoded for SPARC register window configuration. */
+ if (__LIBGCC_DWARF_FRAME_REGISTERS__ >= 32)
+ for (reg = 16; reg < 32; ++reg)
+ {
+ fs->regs.how[reg] = REG_SAVED_OFFSET;
+ fs->regs.reg[reg].loc.offset = (reg - 16) * sizeof (void *);
+ }
+#endif
+ break;
+
+ case DW_CFA_GNU_args_size:
+ insn_ptr = read_uleb128 (insn_ptr, &utmp);
+ context->args_size = (_Unwind_Word)utmp;
+ break;
+
+ case DW_CFA_GNU_negative_offset_extended:
+ /* Obsoleted by DW_CFA_offset_extended_sf, but used by
+ older PowerPC code. */
+ insn_ptr = read_uleb128 (insn_ptr, &reg);
+ insn_ptr = read_uleb128 (insn_ptr, &utmp);
+ offset = (_Unwind_Word) utmp * DATA_ALIGN;
+ reg = DWARF_REG_TO_UNWIND_COLUMN (reg);
+ if (UNWIND_COLUMN_IN_RANGE (reg))
+ {
+ fs->regs.how[reg] = REG_SAVED_OFFSET;
+ fs->regs.reg[reg].loc.offset = -offset;
+ }
+ break;
+
+ default:
+ gcc_unreachable ();
+ }
+ }
+}
+
+#undef DATA_ALIGN
+#undef CODE_ALIGN
diff --git a/libgcc/unwind-dw2-fde-compat.c b/libgcc/unwind-dw2-fde-compat.c
index 1be7a3a..0cf5a90 100644
--- a/libgcc/unwind-dw2-fde-compat.c
+++ b/libgcc/unwind-dw2-fde-compat.c
@@ -1,5 +1,5 @@
/* Backward compatibility unwind routines.
- Copyright (C) 2004-2022 Free Software Foundation, Inc.
+ Copyright (C) 2004-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/unwind-dw2-fde-dip.c b/libgcc/unwind-dw2-fde-dip.c
index 7f9be5e..6223f5f 100644
--- a/libgcc/unwind-dw2-fde-dip.c
+++ b/libgcc/unwind-dw2-fde-dip.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2001-2023 Free Software Foundation, Inc.
Contributed by Jakub Jelinek <jakub@redhat.com>.
This file is part of GCC.
@@ -396,10 +396,21 @@ find_fde_tail (_Unwind_Ptr pc,
if (hdr->version != 1)
return NULL;
- p = read_encoded_value_with_base (hdr->eh_frame_ptr_enc,
- base_from_cb_data (hdr->eh_frame_ptr_enc,
- dbase),
- p, &eh_frame);
+ if (__builtin_expect (hdr->eh_frame_ptr_enc == (DW_EH_PE_sdata4
+ | DW_EH_PE_pcrel), 1))
+ {
+ /* Specialized version of read_encoded_value_with_base, based on what
+ BFD ld generates. */
+ signed value __attribute__ ((mode (SI)));
+ memcpy (&value, p, sizeof (value));
+ p += sizeof (value);
+ dbase = value; /* No adjustment because pcrel has base 0. */
+ }
+ else
+ p = read_encoded_value_with_base (hdr->eh_frame_ptr_enc,
+ base_from_cb_data (hdr->eh_frame_ptr_enc,
+ dbase),
+ p, &eh_frame);
/* We require here specific table encoding to speed things up.
Also, DW_EH_PE_datarel here means using PT_GNU_EH_FRAME start
@@ -409,10 +420,20 @@ find_fde_tail (_Unwind_Ptr pc,
{
_Unwind_Ptr fde_count;
- p = read_encoded_value_with_base (hdr->fde_count_enc,
- base_from_cb_data (hdr->fde_count_enc,
- dbase),
- p, &fde_count);
+ if (__builtin_expect (hdr->fde_count_enc == DW_EH_PE_udata4, 1))
+ {
+ /* Specialized version of read_encoded_value_with_base, based on
+ what BFD ld generates. */
+ unsigned value __attribute__ ((mode (SI)));
+ memcpy (&value, p, sizeof (value));
+ p += sizeof (value);
+ fde_count = value;
+ }
+ else
+ p = read_encoded_value_with_base (hdr->fde_count_enc,
+ base_from_cb_data (hdr->fde_count_enc,
+ dbase),
+ p, &fde_count);
/* Shouldn't happen. */
if (fde_count == 0)
return NULL;
@@ -454,8 +475,25 @@ find_fde_tail (_Unwind_Ptr pc,
f = (fde *) (table[mid].fde + data_base);
f_enc = get_fde_encoding (f);
f_enc_size = size_of_encoded_value (f_enc);
- read_encoded_value_with_base (f_enc & 0x0f, 0,
- &f->pc_begin[f_enc_size], &range);
+
+ /* BFD ld uses DW_EH_PE_sdata4 | DW_EH_PE_pcrel on non-FDPIC targets,
+ so optimize for that.
+
+ This optimization is not valid for FDPIC targets. f_enc & 0x0f as
+ passed to read_encoded_value_with_base masks away the base flags,
+ but they are implicit for FDPIC. */
+#ifndef __FDPIC__
+ if (__builtin_expect (f_enc == (DW_EH_PE_sdata4 | DW_EH_PE_pcrel),
+ 1))
+ {
+ signed value __attribute__ ((mode (SI)));
+ memcpy (&value, &f->pc_begin[f_enc_size], sizeof (value));
+ range = value;
+ }
+ else
+#endif
+ read_encoded_value_with_base (f_enc & 0x0f, 0,
+ &f->pc_begin[f_enc_size], &range);
_Unwind_Ptr func = table[mid].initial_loc + data_base;
if (pc < table[mid].initial_loc + data_base + range)
{
diff --git a/libgcc/unwind-dw2-fde.c b/libgcc/unwind-dw2-fde.c
index 919abfe..7b74c39 100644
--- a/libgcc/unwind-dw2-fde.c
+++ b/libgcc/unwind-dw2-fde.c
@@ -1,5 +1,5 @@
/* Subroutines needed for unwinding stack frames for exception handling. */
-/* Copyright (C) 1997-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1997-2023 Free Software Foundation, Inc.
Contributed by Jason Merrill <jason@cygnus.com>.
This file is part of GCC.
@@ -48,23 +48,25 @@ typedef __UINTPTR_TYPE__ uintptr_type;
#include "unwind-dw2-btree.h"
static struct btree registered_frames;
+static bool in_shutdown;
static void
-release_registered_frames (void) __attribute__ ((destructor (110)));
+release_registered_frames (void) __attribute__ ((destructor));
static void
release_registered_frames (void)
{
/* Release the b-tree and all frames. Frame releases that happen later are
* silently ignored */
btree_destroy (&registered_frames);
+ in_shutdown = true;
}
static void
get_pc_range (const struct object *ob, uintptr_type *range);
-static void
-init_object (struct object *ob);
#else
+/* Without fast path frame deregistration must always succeed. */
+static const int in_shutdown = 0;
/* The unseen_objects list contains objects that have been registered
but not yet categorized in any way. The seen_objects list has had
@@ -72,6 +74,7 @@ init_object (struct object *ob);
by decreasing value of pc_begin. */
static struct object *unseen_objects;
static struct object *seen_objects;
+#endif
#ifdef __GTHREAD_MUTEX_INIT
static __gthread_mutex_t object_mutex = __GTHREAD_MUTEX_INIT;
@@ -99,7 +102,6 @@ init_object_mutex_once (void)
static __gthread_mutex_t object_mutex;
#endif
#endif
-#endif
/* Called from crtbegin.o to register the unwind info for an object. */
@@ -122,10 +124,7 @@ __register_frame_info_bases (const void *begin, struct object *ob,
#endif
#ifdef ATOMIC_FDE_FAST_PATH
- // Initialize eagerly to avoid locking later
- init_object (ob);
-
- // And register the frame
+ // Register the frame in the b-tree
uintptr_type range[2];
get_pc_range (ob, range);
btree_insert (&registered_frames, range[0], range[1] - range[0], ob);
@@ -176,10 +175,7 @@ __register_frame_info_table_bases (void *begin, struct object *ob,
ob->s.b.encoding = DW_EH_PE_omit;
#ifdef ATOMIC_FDE_FAST_PATH
- // Initialize eagerly to avoid locking later
- init_object (ob);
-
- // And register the frame
+ // Register the frame in the b-tree
uintptr_type range[2];
get_pc_range (ob, range);
btree_insert (&registered_frames, range[0], range[1] - range[0], ob);
@@ -282,7 +278,7 @@ __deregister_frame_info_bases (const void *begin)
__gthread_mutex_unlock (&object_mutex);
#endif
- gcc_assert (ob);
+ gcc_assert (in_shutdown || ob);
return (void *) ob;
}
@@ -452,22 +448,52 @@ fde_mixed_encoding_compare (struct object *ob, const fde *x, const fde *y)
typedef int (*fde_compare_t) (struct object *, const fde *, const fde *);
+// The extractor functions compute the pointer values for a block of
+// fdes. The block processing hides the call overhead.
-/* This is a special mix of insertion sort and heap sort, optimized for
- the data sets that actually occur. They look like
- 101 102 103 127 128 105 108 110 190 111 115 119 125 160 126 129 130.
- I.e. a linearly increasing sequence (coming from functions in the text
- section), with additionally a few unordered elements (coming from functions
- in gnu_linkonce sections) whose values are higher than the values in the
- surrounding linear sequence (but not necessarily higher than the values
- at the end of the linear sequence!).
- The worst-case total run time is O(N) + O(n log (n)), where N is the
- total number of FDEs and n is the number of erratic ones. */
+static void
+fde_unencoded_extract (struct object *ob __attribute__ ((unused)),
+ _Unwind_Ptr *target, const fde **x, int count)
+{
+ for (int index = 0; index < count; ++index)
+ memcpy (target + index, x[index]->pc_begin, sizeof (_Unwind_Ptr));
+}
+
+static void
+fde_single_encoding_extract (struct object *ob, _Unwind_Ptr *target,
+ const fde **x, int count)
+{
+ _Unwind_Ptr base;
+
+ base = base_from_object (ob->s.b.encoding, ob);
+ for (int index = 0; index < count; ++index)
+ read_encoded_value_with_base (ob->s.b.encoding, base, x[index]->pc_begin,
+ target + index);
+}
+
+static void
+fde_mixed_encoding_extract (struct object *ob, _Unwind_Ptr *target,
+ const fde **x, int count)
+{
+ for (int index = 0; index < count; ++index)
+ {
+ int encoding = get_fde_encoding (x[index]);
+ read_encoded_value_with_base (encoding, base_from_object (encoding, ob),
+ x[index]->pc_begin, target + index);
+ }
+}
+
+typedef void (*fde_extractor_t) (struct object *, _Unwind_Ptr *, const fde **,
+ int);
+
+// Data is is sorted using radix sort if possible, using an temporary
+// auxiliary data structure of the same size as the input. When running
+// out of memory do in-place heap sort.
struct fde_accumulator
{
struct fde_vector *linear;
- struct fde_vector *erratic;
+ struct fde_vector *aux;
};
static inline int
@@ -481,8 +507,8 @@ start_fde_sort (struct fde_accumulator *accu, size_t count)
if ((accu->linear = malloc (size)))
{
accu->linear->count = 0;
- if ((accu->erratic = malloc (size)))
- accu->erratic->count = 0;
+ if ((accu->aux = malloc (size)))
+ accu->aux->count = 0;
return 1;
}
else
@@ -496,59 +522,6 @@ fde_insert (struct fde_accumulator *accu, const fde *this_fde)
accu->linear->array[accu->linear->count++] = this_fde;
}
-/* Split LINEAR into a linear sequence with low values and an erratic
- sequence with high values, put the linear one (of longest possible
- length) into LINEAR and the erratic one into ERRATIC. This is O(N).
-
- Because the longest linear sequence we are trying to locate within the
- incoming LINEAR array can be interspersed with (high valued) erratic
- entries. We construct a chain indicating the sequenced entries.
- To avoid having to allocate this chain, we overlay it onto the space of
- the ERRATIC array during construction. A final pass iterates over the
- chain to determine what should be placed in the ERRATIC array, and
- what is the linear sequence. This overlay is safe from aliasing. */
-
-static inline void
-fde_split (struct object *ob, fde_compare_t fde_compare,
- struct fde_vector *linear, struct fde_vector *erratic)
-{
- static const fde *marker;
- size_t count = linear->count;
- const fde *const *chain_end = &marker;
- size_t i, j, k;
-
- /* This should optimize out, but it is wise to make sure this assumption
- is correct. Should these have different sizes, we cannot cast between
- them and the overlaying onto ERRATIC will not work. */
- gcc_assert (sizeof (const fde *) == sizeof (const fde **));
-
- for (i = 0; i < count; i++)
- {
- const fde *const *probe;
-
- for (probe = chain_end;
- probe != &marker && fde_compare (ob, linear->array[i], *probe) < 0;
- probe = chain_end)
- {
- chain_end = (const fde *const*) erratic->array[probe - linear->array];
- erratic->array[probe - linear->array] = NULL;
- }
- erratic->array[i] = (const fde *) chain_end;
- chain_end = &linear->array[i];
- }
-
- /* Each entry in LINEAR which is part of the linear sequence we have
- discovered will correspond to a non-NULL entry in the chain we built in
- the ERRATIC array. */
- for (i = j = k = 0; i < count; i++)
- if (erratic->array[i])
- linear->array[j++] = linear->array[i];
- else
- erratic->array[k++] = linear->array[i];
- linear->count = j;
- erratic->count = k;
-}
-
#define SWAP(x,y) do { const fde * tmp = x; x = y; y = tmp; } while (0)
/* Convert a semi-heap to a heap. A semi-heap is a heap except possibly
@@ -611,59 +584,116 @@ frame_heapsort (struct object *ob, fde_compare_t fde_compare,
#undef SWAP
}
-/* Merge V1 and V2, both sorted, and put the result into V1. */
+// Radix sort data in V1 using V2 as aux memory. Runtime O(n).
static inline void
-fde_merge (struct object *ob, fde_compare_t fde_compare,
- struct fde_vector *v1, struct fde_vector *v2)
+fde_radixsort (struct object *ob, fde_extractor_t fde_extractor,
+ struct fde_vector *v1, struct fde_vector *v2)
{
- size_t i1, i2;
- const fde * fde2;
-
- i2 = v2->count;
- if (i2 > 0)
+#define FANOUTBITS 8
+#define FANOUT (1 << FANOUTBITS)
+#define BLOCKSIZE 128
+ const unsigned rounds
+ = (__CHAR_BIT__ * sizeof (_Unwind_Ptr) + FANOUTBITS - 1) / FANOUTBITS;
+ const fde **a1 = v1->array, **a2 = v2->array;
+ _Unwind_Ptr ptrs[BLOCKSIZE + 1];
+ unsigned n = v1->count;
+ for (unsigned round = 0; round != rounds; ++round)
{
- i1 = v1->count;
- do
+ unsigned counts[FANOUT] = {0};
+ unsigned violations = 0;
+
+ // Count the number of elements per bucket and check if we are already
+ // sorted.
+ _Unwind_Ptr last = 0;
+ for (unsigned i = 0; i < n;)
+ {
+ unsigned chunk = ((n - i) <= BLOCKSIZE) ? (n - i) : BLOCKSIZE;
+ fde_extractor (ob, ptrs + 1, a1 + i, chunk);
+ ptrs[0] = last;
+ for (unsigned j = 0; j < chunk; ++j)
+ {
+ unsigned b = (ptrs[j + 1] >> (round * FANOUTBITS)) & (FANOUT - 1);
+ counts[b]++;
+ // Use summation instead of an if to eliminate branches.
+ violations += ptrs[j + 1] < ptrs[j];
+ }
+ i += chunk;
+ last = ptrs[chunk];
+ }
+
+ // Stop if we are already sorted.
+ if (!violations)
+ {
+ // The sorted data is in a1 now.
+ a2 = a1;
+ break;
+ }
+
+ // Compute the prefix sum.
+ unsigned sum = 0;
+ for (unsigned i = 0; i != FANOUT; ++i)
+ {
+ unsigned s = sum;
+ sum += counts[i];
+ counts[i] = s;
+ }
+
+ // Place all elements.
+ for (unsigned i = 0; i < n;)
{
- i2--;
- fde2 = v2->array[i2];
- while (i1 > 0 && fde_compare (ob, v1->array[i1-1], fde2) > 0)
+ unsigned chunk = ((n - i) <= BLOCKSIZE) ? (n - i) : BLOCKSIZE;
+ fde_extractor (ob, ptrs, a1 + i, chunk);
+ for (unsigned j = 0; j < chunk; ++j)
{
- v1->array[i1+i2] = v1->array[i1-1];
- i1--;
+ unsigned b = (ptrs[j] >> (round * FANOUTBITS)) & (FANOUT - 1);
+ a2[counts[b]++] = a1[i + j];
}
- v1->array[i1+i2] = fde2;
+ i += chunk;
}
- while (i2 > 0);
- v1->count += v2->count;
+
+ // Swap a1 and a2.
+ const fde **tmp = a1;
+ a1 = a2;
+ a2 = tmp;
}
+#undef BLOCKSIZE
+#undef FANOUT
+#undef FANOUTBITS
+
+ // The data is in a2 now, move in place if needed.
+ if (a2 != v1->array)
+ memcpy (v1->array, a2, sizeof (const fde *) * n);
}
static inline void
end_fde_sort (struct object *ob, struct fde_accumulator *accu, size_t count)
{
- fde_compare_t fde_compare;
-
gcc_assert (!accu->linear || accu->linear->count == count);
- if (ob->s.b.mixed_encoding)
- fde_compare = fde_mixed_encoding_compare;
- else if (ob->s.b.encoding == DW_EH_PE_absptr)
- fde_compare = fde_unencoded_compare;
- else
- fde_compare = fde_single_encoding_compare;
-
- if (accu->erratic)
+ if (accu->aux)
{
- fde_split (ob, fde_compare, accu->linear, accu->erratic);
- gcc_assert (accu->linear->count + accu->erratic->count == count);
- frame_heapsort (ob, fde_compare, accu->erratic);
- fde_merge (ob, fde_compare, accu->linear, accu->erratic);
- free (accu->erratic);
+ fde_extractor_t fde_extractor;
+ if (ob->s.b.mixed_encoding)
+ fde_extractor = fde_mixed_encoding_extract;
+ else if (ob->s.b.encoding == DW_EH_PE_absptr)
+ fde_extractor = fde_unencoded_extract;
+ else
+ fde_extractor = fde_single_encoding_extract;
+
+ fde_radixsort (ob, fde_extractor, accu->linear, accu->aux);
+ free (accu->aux);
}
else
{
- /* We've not managed to malloc an erratic array,
+ fde_compare_t fde_compare;
+ if (ob->s.b.mixed_encoding)
+ fde_compare = fde_mixed_encoding_compare;
+ else if (ob->s.b.encoding == DW_EH_PE_absptr)
+ fde_compare = fde_unencoded_compare;
+ else
+ fde_compare = fde_single_encoding_compare;
+
+ /* We've not managed to malloc an aux array,
so heap sort in the linear one. */
frame_heapsort (ob, fde_compare, accu->linear);
}
@@ -888,7 +918,15 @@ init_object (struct object* ob)
accu.linear->orig_data = ob->u.single;
ob->u.sort = accu.linear;
+#ifdef ATOMIC_FDE_FAST_PATH
+ // We must update the sorted bit with an atomic operation
+ struct object tmp;
+ tmp.s.b = ob->s.b;
+ tmp.s.b.sorted = 1;
+ __atomic_store (&(ob->s.b), &(tmp.s.b), __ATOMIC_RELEASE);
+#else
ob->s.b.sorted = 1;
+#endif
}
#ifdef ATOMIC_FDE_FAST_PATH
@@ -1126,6 +1164,21 @@ search_object (struct object* ob, void *pc)
}
}
+#ifdef ATOMIC_FDE_FAST_PATH
+
+// Check if the object was already initialized
+static inline bool
+is_object_initialized (struct object *ob)
+{
+ // We have to use acquire atomics for the read, which
+ // is a bit involved as we read from a bitfield
+ struct object tmp;
+ __atomic_load (&(ob->s.b), &(tmp.s.b), __ATOMIC_ACQUIRE);
+ return tmp.s.b.sorted;
+}
+
+#endif
+
const fde *
_Unwind_Find_FDE (void *pc, struct dwarf_eh_bases *bases)
{
@@ -1137,6 +1190,21 @@ _Unwind_Find_FDE (void *pc, struct dwarf_eh_bases *bases)
if (!ob)
return NULL;
+ // Initialize the object lazily
+ if (!is_object_initialized (ob))
+ {
+ // Check again under mutex
+ init_object_mutex_once ();
+ __gthread_mutex_lock (&object_mutex);
+
+ if (!ob->s.b.sorted)
+ {
+ init_object (ob);
+ }
+
+ __gthread_mutex_unlock (&object_mutex);
+ }
+
f = search_object (ob, pc);
#else
diff --git a/libgcc/unwind-dw2-fde.h b/libgcc/unwind-dw2-fde.h
index 77c2caa..1e6a678 100644
--- a/libgcc/unwind-dw2-fde.h
+++ b/libgcc/unwind-dw2-fde.h
@@ -1,5 +1,5 @@
/* Subroutines needed for unwinding stack frames for exception handling. */
-/* Copyright (C) 1997-2022 Free Software Foundation, Inc.
+/* Copyright (C) 1997-2023 Free Software Foundation, Inc.
Contributed by Jason Merrill <jason@cygnus.com>.
This file is part of GCC.
diff --git a/libgcc/unwind-dw2.c b/libgcc/unwind-dw2.c
index a2eb66d..d0afce7 100644
--- a/libgcc/unwind-dw2.c
+++ b/libgcc/unwind-dw2.c
@@ -1,5 +1,5 @@
/* DWARF2 exception handling and frame unwind runtime interface routines.
- Copyright (C) 1997-2022 Free Software Foundation, Inc.
+ Copyright (C) 1997-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -36,6 +36,7 @@
#include "unwind-dw2-fde.h"
#include "gthr.h"
#include "unwind-dw2.h"
+#include <stddef.h>
#ifdef HAVE_SYS_SDT_H
#include <sys/sdt.h>
@@ -136,9 +137,6 @@ struct _Unwind_Context
#define SIGNAL_FRAME_BIT ((~(_Unwind_Word) 0 >> 1) + 1)
/* Context which has version/args_size/by_value fields. */
#define EXTENDED_CONTEXT_BIT ((~(_Unwind_Word) 0 >> 2) + 1)
- /* Bit reserved on AArch64, return address has been signed with A or B
- key. */
-#define RA_SIGNED_BIT ((~(_Unwind_Word) 0 >> 3) + 1)
_Unwind_Word flags;
/* 0 for now, can be increased when further fields are added to
struct _Unwind_Context. */
@@ -946,302 +944,43 @@ execute_stack_op (const unsigned char *op_ptr, const unsigned char *op_end,
instruction sequence to decode, current register information and
CIE info, and the PC range to evaluate. */
+static void __attribute__ ((__noinline__))
+execute_cfa_program_generic (const unsigned char *insn_ptr,
+ const unsigned char *insn_end,
+ struct _Unwind_Context *context,
+ _Unwind_FrameState *fs)
+{
+#define DATA_ALIGN fs->data_align
+#define CODE_ALIGN fs->code_align
+#include "unwind-dw2-execute_cfa.h"
+}
+
+static inline void
+execute_cfa_program_specialized (const unsigned char *insn_ptr,
+ const unsigned char *insn_end,
+ struct _Unwind_Context *context,
+ _Unwind_FrameState *fs)
+{
+#define DATA_ALIGN __LIBGCC_DWARF_CIE_DATA_ALIGNMENT__
+ /* GCC always uses 1 even on architectures with a fixed instruction
+ width. */
+#define CODE_ALIGN 1
+#include "unwind-dw2-execute_cfa.h"
+}
+
static void
execute_cfa_program (const unsigned char *insn_ptr,
const unsigned char *insn_end,
struct _Unwind_Context *context,
_Unwind_FrameState *fs)
{
- struct frame_state_reg_info *unused_rs = NULL;
-
- /* Don't allow remember/restore between CIE and FDE programs. */
- fs->regs.prev = NULL;
-
- /* The comparison with the return address uses < rather than <= because
- we are only interested in the effects of code before the call; for a
- noreturn function, the return address may point to unrelated code with
- a different stack configuration that we are not interested in. We
- assume that the call itself is unwind info-neutral; if not, or if
- there are delay instructions that adjust the stack, these must be
- reflected at the point immediately before the call insn.
- In signal frames, return address is after last completed instruction,
- so we add 1 to return address to make the comparison <=. */
- while (insn_ptr < insn_end
- && fs->pc < context->ra + _Unwind_IsSignalFrame (context))
- {
- unsigned char insn = *insn_ptr++;
- _uleb128_t reg, utmp;
- _sleb128_t offset, stmp;
-
- if ((insn & 0xc0) == DW_CFA_advance_loc)
- fs->pc += (insn & 0x3f) * fs->code_align;
- else if ((insn & 0xc0) == DW_CFA_offset)
- {
- reg = insn & 0x3f;
- insn_ptr = read_uleb128 (insn_ptr, &utmp);
- offset = (_Unwind_Sword) utmp * fs->data_align;
- reg = DWARF_REG_TO_UNWIND_COLUMN (reg);
- if (UNWIND_COLUMN_IN_RANGE (reg))
- {
- fs->regs.reg[reg].how = REG_SAVED_OFFSET;
- fs->regs.reg[reg].loc.offset = offset;
- }
- }
- else if ((insn & 0xc0) == DW_CFA_restore)
- {
- reg = insn & 0x3f;
- reg = DWARF_REG_TO_UNWIND_COLUMN (reg);
- if (UNWIND_COLUMN_IN_RANGE (reg))
- fs->regs.reg[reg].how = REG_UNSAVED;
- }
- else switch (insn)
- {
- case DW_CFA_set_loc:
- {
- _Unwind_Ptr pc;
-
- insn_ptr = read_encoded_value (context, fs->fde_encoding,
- insn_ptr, &pc);
- fs->pc = (void *) pc;
- }
- break;
-
- case DW_CFA_advance_loc1:
- fs->pc += read_1u (insn_ptr) * fs->code_align;
- insn_ptr += 1;
- break;
- case DW_CFA_advance_loc2:
- fs->pc += read_2u (insn_ptr) * fs->code_align;
- insn_ptr += 2;
- break;
- case DW_CFA_advance_loc4:
- fs->pc += read_4u (insn_ptr) * fs->code_align;
- insn_ptr += 4;
- break;
-
- case DW_CFA_offset_extended:
- insn_ptr = read_uleb128 (insn_ptr, &reg);
- insn_ptr = read_uleb128 (insn_ptr, &utmp);
- offset = (_Unwind_Sword) utmp * fs->data_align;
- reg = DWARF_REG_TO_UNWIND_COLUMN (reg);
- if (UNWIND_COLUMN_IN_RANGE (reg))
- {
- fs->regs.reg[reg].how = REG_SAVED_OFFSET;
- fs->regs.reg[reg].loc.offset = offset;
- }
- break;
-
- case DW_CFA_restore_extended:
- insn_ptr = read_uleb128 (insn_ptr, &reg);
- /* FIXME, this is wrong; the CIE might have said that the
- register was saved somewhere. */
- reg = DWARF_REG_TO_UNWIND_COLUMN (reg);
- if (UNWIND_COLUMN_IN_RANGE (reg))
- fs->regs.reg[reg].how = REG_UNSAVED;
- break;
-
- case DW_CFA_same_value:
- insn_ptr = read_uleb128 (insn_ptr, &reg);
- reg = DWARF_REG_TO_UNWIND_COLUMN (reg);
- if (UNWIND_COLUMN_IN_RANGE (reg))
- fs->regs.reg[reg].how = REG_UNSAVED;
- break;
-
- case DW_CFA_undefined:
- insn_ptr = read_uleb128 (insn_ptr, &reg);
- reg = DWARF_REG_TO_UNWIND_COLUMN (reg);
- if (UNWIND_COLUMN_IN_RANGE (reg))
- fs->regs.reg[reg].how = REG_UNDEFINED;
- break;
-
- case DW_CFA_nop:
- break;
-
- case DW_CFA_register:
- {
- _uleb128_t reg2;
- insn_ptr = read_uleb128 (insn_ptr, &reg);
- insn_ptr = read_uleb128 (insn_ptr, &reg2);
- reg = DWARF_REG_TO_UNWIND_COLUMN (reg);
- if (UNWIND_COLUMN_IN_RANGE (reg))
- {
- fs->regs.reg[reg].how = REG_SAVED_REG;
- fs->regs.reg[reg].loc.reg = (_Unwind_Word)reg2;
- }
- }
- break;
-
- case DW_CFA_remember_state:
- {
- struct frame_state_reg_info *new_rs;
- if (unused_rs)
- {
- new_rs = unused_rs;
- unused_rs = unused_rs->prev;
- }
- else
- new_rs = alloca (sizeof (struct frame_state_reg_info));
-
- *new_rs = fs->regs;
- fs->regs.prev = new_rs;
- }
- break;
-
- case DW_CFA_restore_state:
- {
- struct frame_state_reg_info *old_rs = fs->regs.prev;
- fs->regs = *old_rs;
- old_rs->prev = unused_rs;
- unused_rs = old_rs;
- }
- break;
-
- case DW_CFA_def_cfa:
- insn_ptr = read_uleb128 (insn_ptr, &utmp);
- fs->regs.cfa_reg = (_Unwind_Word)utmp;
- insn_ptr = read_uleb128 (insn_ptr, &utmp);
- fs->regs.cfa_offset = (_Unwind_Word)utmp;
- fs->regs.cfa_how = CFA_REG_OFFSET;
- break;
-
- case DW_CFA_def_cfa_register:
- insn_ptr = read_uleb128 (insn_ptr, &utmp);
- fs->regs.cfa_reg = (_Unwind_Word)utmp;
- fs->regs.cfa_how = CFA_REG_OFFSET;
- break;
-
- case DW_CFA_def_cfa_offset:
- insn_ptr = read_uleb128 (insn_ptr, &utmp);
- fs->regs.cfa_offset = utmp;
- /* cfa_how deliberately not set. */
- break;
-
- case DW_CFA_def_cfa_expression:
- fs->regs.cfa_exp = insn_ptr;
- fs->regs.cfa_how = CFA_EXP;
- insn_ptr = read_uleb128 (insn_ptr, &utmp);
- insn_ptr += utmp;
- break;
-
- case DW_CFA_expression:
- insn_ptr = read_uleb128 (insn_ptr, &reg);
- reg = DWARF_REG_TO_UNWIND_COLUMN (reg);
- if (UNWIND_COLUMN_IN_RANGE (reg))
- {
- fs->regs.reg[reg].how = REG_SAVED_EXP;
- fs->regs.reg[reg].loc.exp = insn_ptr;
- }
- insn_ptr = read_uleb128 (insn_ptr, &utmp);
- insn_ptr += utmp;
- break;
-
- /* Dwarf3. */
- case DW_CFA_offset_extended_sf:
- insn_ptr = read_uleb128 (insn_ptr, &reg);
- insn_ptr = read_sleb128 (insn_ptr, &stmp);
- offset = stmp * fs->data_align;
- reg = DWARF_REG_TO_UNWIND_COLUMN (reg);
- if (UNWIND_COLUMN_IN_RANGE (reg))
- {
- fs->regs.reg[reg].how = REG_SAVED_OFFSET;
- fs->regs.reg[reg].loc.offset = offset;
- }
- break;
-
- case DW_CFA_def_cfa_sf:
- insn_ptr = read_uleb128 (insn_ptr, &utmp);
- fs->regs.cfa_reg = (_Unwind_Word)utmp;
- insn_ptr = read_sleb128 (insn_ptr, &stmp);
- fs->regs.cfa_offset = (_Unwind_Sword)stmp;
- fs->regs.cfa_how = CFA_REG_OFFSET;
- fs->regs.cfa_offset *= fs->data_align;
- break;
-
- case DW_CFA_def_cfa_offset_sf:
- insn_ptr = read_sleb128 (insn_ptr, &stmp);
- fs->regs.cfa_offset = (_Unwind_Sword)stmp;
- fs->regs.cfa_offset *= fs->data_align;
- /* cfa_how deliberately not set. */
- break;
-
- case DW_CFA_val_offset:
- insn_ptr = read_uleb128 (insn_ptr, &reg);
- insn_ptr = read_uleb128 (insn_ptr, &utmp);
- offset = (_Unwind_Sword) utmp * fs->data_align;
- reg = DWARF_REG_TO_UNWIND_COLUMN (reg);
- if (UNWIND_COLUMN_IN_RANGE (reg))
- {
- fs->regs.reg[reg].how = REG_SAVED_VAL_OFFSET;
- fs->regs.reg[reg].loc.offset = offset;
- }
- break;
-
- case DW_CFA_val_offset_sf:
- insn_ptr = read_uleb128 (insn_ptr, &reg);
- insn_ptr = read_sleb128 (insn_ptr, &stmp);
- offset = stmp * fs->data_align;
- reg = DWARF_REG_TO_UNWIND_COLUMN (reg);
- if (UNWIND_COLUMN_IN_RANGE (reg))
- {
- fs->regs.reg[reg].how = REG_SAVED_VAL_OFFSET;
- fs->regs.reg[reg].loc.offset = offset;
- }
- break;
-
- case DW_CFA_val_expression:
- insn_ptr = read_uleb128 (insn_ptr, &reg);
- reg = DWARF_REG_TO_UNWIND_COLUMN (reg);
- if (UNWIND_COLUMN_IN_RANGE (reg))
- {
- fs->regs.reg[reg].how = REG_SAVED_VAL_EXP;
- fs->regs.reg[reg].loc.exp = insn_ptr;
- }
- insn_ptr = read_uleb128 (insn_ptr, &utmp);
- insn_ptr += utmp;
- break;
-
- case DW_CFA_GNU_window_save:
-#if defined (__aarch64__) && !defined (__ILP32__)
- /* This CFA is multiplexed with Sparc. On AArch64 it's used to toggle
- return address signing status. */
- reg = DWARF_REGNUM_AARCH64_RA_STATE;
- gcc_assert (fs->regs.reg[reg].how == REG_UNSAVED);
- fs->regs.reg[reg].loc.offset ^= 1;
-#else
- /* ??? Hardcoded for SPARC register window configuration. */
- if (__LIBGCC_DWARF_FRAME_REGISTERS__ >= 32)
- for (reg = 16; reg < 32; ++reg)
- {
- fs->regs.reg[reg].how = REG_SAVED_OFFSET;
- fs->regs.reg[reg].loc.offset = (reg - 16) * sizeof (void *);
- }
-#endif
- break;
-
- case DW_CFA_GNU_args_size:
- insn_ptr = read_uleb128 (insn_ptr, &utmp);
- context->args_size = (_Unwind_Word)utmp;
- break;
-
- case DW_CFA_GNU_negative_offset_extended:
- /* Obsoleted by DW_CFA_offset_extended_sf, but used by
- older PowerPC code. */
- insn_ptr = read_uleb128 (insn_ptr, &reg);
- insn_ptr = read_uleb128 (insn_ptr, &utmp);
- offset = (_Unwind_Word) utmp * fs->data_align;
- reg = DWARF_REG_TO_UNWIND_COLUMN (reg);
- if (UNWIND_COLUMN_IN_RANGE (reg))
- {
- fs->regs.reg[reg].how = REG_SAVED_OFFSET;
- fs->regs.reg[reg].loc.offset = -offset;
- }
- break;
-
- default:
- gcc_unreachable ();
- }
- }
+ if (fs->data_align == __LIBGCC_DWARF_CIE_DATA_ALIGNMENT__
+ && fs->code_align == 1)
+ execute_cfa_program_specialized (insn_ptr, insn_end, context, fs);
+ else
+ execute_cfa_program_generic (insn_ptr, insn_end, context, fs);
}
+
/* Given the _Unwind_Context CONTEXT for a stack frame, look up the FDE for
its caller and decode it into FS. This function also sets the
@@ -1255,7 +994,8 @@ uw_frame_state_for (struct _Unwind_Context *context, _Unwind_FrameState *fs)
const struct dwarf_cie *cie;
const unsigned char *aug, *insn, *end;
- memset (fs, 0, sizeof (*fs));
+ memset (&fs->regs.how[0], 0,
+ sizeof (*fs) - offsetof (_Unwind_FrameState, regs.how[0]));
context->args_size = 0;
context->lsda = 0;
@@ -1355,7 +1095,7 @@ __frame_state_for (void *pc_target, struct frame_state *state_in)
for (reg = 0; reg < PRE_GCC3_DWARF_FRAME_REGISTERS + 1; reg++)
{
- state_in->saved[reg] = fs.regs.reg[reg].how;
+ state_in->saved[reg] = fs.regs.how[reg];
switch (state_in->saved[reg])
{
case REG_SAVED_REG:
@@ -1453,10 +1193,11 @@ uw_update_context_1 (struct _Unwind_Context *context, _Unwind_FrameState *fs)
/* Compute the addresses of all registers saved in this frame. */
for (i = 0; i < __LIBGCC_DWARF_FRAME_REGISTERS__ + 1; ++i)
- switch (fs->regs.reg[i].how)
+ switch (fs->regs.how[i])
{
case REG_UNSAVED:
case REG_UNDEFINED:
+ case REG_UNSAVED_ARCHEXT:
break;
case REG_SAVED_OFFSET:
@@ -1531,7 +1272,7 @@ uw_update_context (struct _Unwind_Context *context, _Unwind_FrameState *fs)
rule is handled like same_value. The only exception is
DW_CFA_undefined on retaddr_column which is supposed to
mark outermost frame in DWARF 3. */
- if (fs->regs.reg[DWARF_REG_TO_UNWIND_COLUMN (fs->retaddr_column)].how
+ if (fs->regs.how[DWARF_REG_TO_UNWIND_COLUMN (fs->retaddr_column)]
== REG_UNDEFINED)
/* uw_frame_state_for uses context->ra == 0 check to find outermost
stack frame. */
diff --git a/libgcc/unwind-dw2.h b/libgcc/unwind-dw2.h
index 0c478e5..53e1b18 100644
--- a/libgcc/unwind-dw2.h
+++ b/libgcc/unwind-dw2.h
@@ -1,5 +1,5 @@
/* DWARF2 frame unwind data structure.
- Copyright (C) 1997-2022 Free Software Foundation, Inc.
+ Copyright (C) 1997-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -22,6 +22,17 @@
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */
+enum {
+ REG_UNSAVED,
+ REG_SAVED_OFFSET,
+ REG_SAVED_REG,
+ REG_SAVED_EXP,
+ REG_SAVED_VAL_OFFSET,
+ REG_SAVED_VAL_EXP,
+ REG_UNSAVED_ARCHEXT, /* Target specific extension. */
+ REG_UNDEFINED
+};
+
/* The result of interpreting the frame unwind info for a frame.
This is all symbolic at this point, as none of the values can
be resolved until the target pc is located. */
@@ -37,16 +48,14 @@ typedef struct
_Unwind_Sword offset;
const unsigned char *exp;
} loc;
- enum {
- REG_UNSAVED,
- REG_SAVED_OFFSET,
- REG_SAVED_REG,
- REG_SAVED_EXP,
- REG_SAVED_VAL_OFFSET,
- REG_SAVED_VAL_EXP,
- REG_UNDEFINED
- } how;
} reg[__LIBGCC_DWARF_FRAME_REGISTERS__+1];
+ unsigned char how[__LIBGCC_DWARF_FRAME_REGISTERS__+1];
+
+ enum {
+ CFA_UNSET,
+ CFA_REG_OFFSET,
+ CFA_EXP
+ } cfa_how : 8;
/* Used to implement DW_CFA_remember_state. */
struct frame_state_reg_info *prev;
@@ -56,11 +65,6 @@ typedef struct
_Unwind_Sword cfa_offset;
_Unwind_Word cfa_reg;
const unsigned char *cfa_exp;
- enum {
- CFA_UNSET,
- CFA_REG_OFFSET,
- CFA_EXP
- } cfa_how;
} regs;
/* The PC described by the current frame state. */
diff --git a/libgcc/unwind-generic.h b/libgcc/unwind-generic.h
index a87c9b3..6e6987f 100644
--- a/libgcc/unwind-generic.h
+++ b/libgcc/unwind-generic.h
@@ -1,5 +1,5 @@
/* Exception handling and frame unwind runtime interface routines.
- Copyright (C) 2001-2022 Free Software Foundation, Inc.
+ Copyright (C) 2001-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -30,6 +30,7 @@
#if defined (__SEH__) && !defined (__USING_SJLJ_EXCEPTIONS__)
/* Only for _GCC_specific_handler. */
+#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif
@@ -292,6 +293,6 @@ EXCEPTION_DISPOSITION _GCC_specific_handler (PEXCEPTION_RECORD, void *,
#define _Unwind_Frames_Extra(frames)
/* Increment frame count. */
-#define _Unwind_Frames_Increment(context, frames) frames++
+#define _Unwind_Frames_Increment(exc, context, frames) frames++
#endif /* unwind.h */
diff --git a/libgcc/unwind-pe.h b/libgcc/unwind-pe.h
index e5900aa..3f98c93 100644
--- a/libgcc/unwind-pe.h
+++ b/libgcc/unwind-pe.h
@@ -1,5 +1,5 @@
/* Exception handling and frame unwind runtime interface routines.
- Copyright (C) 2001-2022 Free Software Foundation, Inc.
+ Copyright (C) 2001-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/unwind-seh.c b/libgcc/unwind-seh.c
index 2b57d86..4a6c40b 100644
--- a/libgcc/unwind-seh.c
+++ b/libgcc/unwind-seh.c
@@ -1,5 +1,5 @@
/* Structured Exception Handling (SEH) runtime interface routines.
- Copyright (C) 2010-2022 Free Software Foundation, Inc.
+ Copyright (C) 2010-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/unwind-sjlj.c b/libgcc/unwind-sjlj.c
index 30fc94f..0133885 100644
--- a/libgcc/unwind-sjlj.c
+++ b/libgcc/unwind-sjlj.c
@@ -1,5 +1,5 @@
/* SJLJ exception handling and frame unwind runtime interface routines.
- Copyright (C) 1997-2022 Free Software Foundation, Inc.
+ Copyright (C) 1997-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/unwind.inc b/libgcc/unwind.inc
index 5efd8af..90832eb 100644
--- a/libgcc/unwind.inc
+++ b/libgcc/unwind.inc
@@ -1,5 +1,5 @@
/* Exception handling and frame unwind runtime interface routines. -*- C -*-
- Copyright (C) 2001-2022 Free Software Foundation, Inc.
+ Copyright (C) 2001-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -73,7 +73,7 @@ _Unwind_RaiseException_Phase2(struct _Unwind_Exception *exc,
gcc_assert (!match_handler);
uw_update_context (context, &fs);
- _Unwind_Frames_Increment (context, frames);
+ _Unwind_Frames_Increment (exc, context, frames);
}
*frames_p = frames;
@@ -191,7 +191,7 @@ _Unwind_ForcedUnwind_Phase2 (struct _Unwind_Exception *exc,
/* Update cur_context to describe the same frame as fs, and discard
the previous context if necessary. */
uw_advance_context (context, &fs);
- _Unwind_Frames_Increment (context, frames);
+ _Unwind_Frames_Increment (exc, context, frames);
}
*frames_p = frames;
diff --git a/libgcc/vtv_end.c b/libgcc/vtv_end.c
index 3da1307..b8e06bc 100644
--- a/libgcc/vtv_end.c
+++ b/libgcc/vtv_end.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2012-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2012-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/vtv_end_preinit.c b/libgcc/vtv_end_preinit.c
index c740637..d3bce65 100644
--- a/libgcc/vtv_end_preinit.c
+++ b/libgcc/vtv_end_preinit.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2012-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2012-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/vtv_start.c b/libgcc/vtv_start.c
index 9a309bd..17eab1f 100644
--- a/libgcc/vtv_start.c
+++ b/libgcc/vtv_start.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2012-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2012-2023 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libgcc/vtv_start_preinit.c b/libgcc/vtv_start_preinit.c
index bd8d00b..210aa5f 100644
--- a/libgcc/vtv_start_preinit.c
+++ b/libgcc/vtv_start_preinit.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2012-2022 Free Software Foundation, Inc.
+/* Copyright (C) 2012-2023 Free Software Foundation, Inc.
This file is part of GCC.