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/Makefile.am | |
parent | 814860358c2e4194d372018dd1ae78b5c95a44d0 (diff) | |
download | binutils-gdb-7e0a81123db953de03f6482f7c10f306407d348e.tar.gz |
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/Makefile.am')
-rw-r--r-- | ld/Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/Makefile.am b/ld/Makefile.am index ee22e75910e..55b62c550fe 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -282,6 +282,7 @@ ALL_EMULATION_SOURCES = \ eelf_i386_nacl.c \ eelf_i386_sol2.c \ eelf_i386_vxworks.c \ + eelf_iamcu.c \ eelf_s390.c \ egld960.c \ egld960coff.c \ @@ -1296,6 +1297,9 @@ eelf_i386_vxworks.c: $(srcdir)/emulparams/elf_i386_vxworks.sh \ $(srcdir)/emulparams/vxworks.sh $(srcdir)/emultempl/vxworks.em \ $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} +eelf_iamcu.c: $(srcdir)/emulparams/elf_iamcu.sh \ + $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \ $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |