diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-05-11 11:27:34 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-05-11 11:29:03 -0700 |
commit | 7e0a81123db953de03f6482f7c10f306407d348e (patch) | |
tree | 9424acbc5c5582716cf20d6f102f080c31e7c4cb /ld/testsuite/ld-i386/foo.s | |
parent | 814860358c2e4194d372018dd1ae78b5c95a44d0 (diff) | |
download | binutils-7e0a81123db953de03f6482f7c10f306407d348e.zip binutils-7e0a81123db953de03f6482f7c10f306407d348e.tar.gz binutils-7e0a81123db953de03f6482f7c10f306407d348e.tar.bz2 |
Add Intel MCU support to ld
-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.
Diffstat (limited to 'ld/testsuite/ld-i386/foo.s')
-rw-r--r-- | ld/testsuite/ld-i386/foo.s | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/foo.s b/ld/testsuite/ld-i386/foo.s new file mode 100644 index 0000000..461bfa4 --- /dev/null +++ b/ld/testsuite/ld-i386/foo.s @@ -0,0 +1,3 @@ + .globl foo +foo: + mov %eax, %ebx |