]> git.proxmox.com Git - mirror_qemu.git/commit
target-xtensa: tests: pre-process tests linker script
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 18 Sep 2014 04:13:09 +0000 (21:13 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Sun, 2 Nov 2014 21:51:43 +0000 (00:51 +0300)
commit20303e42d4726018ee64798b4d3051cbe6eea9f8
tree2fad250b25d4cae8f80c7f7ccea72afad31c60bb
parentdec71d2d63b766136d5b6ded616dcc3fae18e97d
target-xtensa: tests: pre-process tests linker script

Xtensa cores have configurable interrupt vectors and endiannes. This
information is needed to link executable images correctly for a specific
core configuration. Instead of hard-coding dc232 defaults pull endianness,
number of high-priority interrupts and location of vectors from the core
configuration and pass it through the C preprocessor.

While at it clean up tabs and align the initial stack on 16 bytes.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
tests/tcg/xtensa/Makefile
tests/tcg/xtensa/linker.ld [deleted file]
tests/tcg/xtensa/linker.ld.S [new file with mode: 0644]