7e0a81123d
-m elf_iamcu must be passed to i386 linker to generate Intel MCU binary. ld/ * Makefile.am (ALL_EMULATION_SOURCES): Add eelf_iamcu.c. (eelf_iamcu.c): New. * configure.tgt (targ_extra_emuls): Add elf_iamcu if elf_i386 is enabled in BFD. * Makefile.in: Regenerated. * emulparams/elf_iamcu.sh: New file. ld/testsuite/ * ld-i386/abs-iamcu.d: New file. * ld-i386/dummy.s: Likewise. * ld-i386/foo.s: Likewise. * ld-i386/iamcu-1.d: Likewise. * ld-i386/iamcu-2.d: Likewise. * ld-i386/iamcu-3.d: Likewise. * ld-i386/start.s: Likewise. * ld-i386/i386.exp (iamcu_tests): New. Run iamcu_tests.
11 lines
226 B
Makefile
11 lines
226 B
Makefile
#name: Absolute non-overflowing relocs
|
|
#source: abs.s
|
|
#source: zero.s
|
|
#as: --32 -march=iamcu
|
|
#ld: -m elf_iamcu
|
|
#objdump: -rs -j .text
|
|
|
|
.*: file format .*
|
|
|
|
Contents of section \.text:
|
|
[ ][0-9a-f]+ c800fff0 c8000110 c9c3.*
|