Add Intel MCU support to ld
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 11 May 2015 18:27:34 +0000 (11:27 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 11 May 2015 18:29:03 +0000 (11:29 -0700)
commit7e0a81123db953de03f6482f7c10f306407d348e
tree9424acbc5c5582716cf20d6f102f080c31e7c4cb
parent814860358c2e4194d372018dd1ae78b5c95a44d0
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.
14 files changed:
ld/ChangeLog
ld/Makefile.am
ld/Makefile.in
ld/configure.tgt
ld/emulparams/elf_iamcu.sh [new file with mode: 0644]
ld/testsuite/ChangeLog
ld/testsuite/ld-i386/abs-iamcu.d [new file with mode: 0644]
ld/testsuite/ld-i386/dummy.s [new file with mode: 0644]
ld/testsuite/ld-i386/foo.s [new file with mode: 0644]
ld/testsuite/ld-i386/i386.exp
ld/testsuite/ld-i386/iamcu-1.d [new file with mode: 0644]
ld/testsuite/ld-i386/iamcu-2.d [new file with mode: 0644]
ld/testsuite/ld-i386/iamcu-3.d [new file with mode: 0644]
ld/testsuite/ld-i386/start.s [new file with mode: 0644]