libgcc: xtensa: use built-in configuration
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 18 May 2017 22:11:10 +0000 (15:11 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Wed, 7 Dec 2022 18:01:11 +0000 (10:01 -0800)
commiteb9491baf5a5672888809f8b5932a99d91804a52
treea5a1db00287a5b97f2433fb24a5d0dcd28456f98
parentecb575d09c0ff5314088214c2bb39f1959ad3318
libgcc: xtensa: use built-in configuration

Now that gcc provides __XCHAL_* definitions use them instead of XCHAL_*
definitions from the include/xtensa-config.h. That makes libgcc
dynamically configurable for the target xtensa core.

libgcc/
* 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.
libgcc/config/xtensa/crti.S
libgcc/config/xtensa/crtn.S
libgcc/config/xtensa/lib1funcs.S
libgcc/config/xtensa/lib2funcs.S
libgcc/config/xtensa/xtensa-config-builtin.h [new file with mode: 0644]