aboutsummaryrefslogtreecommitdiff
path: root/ld/Makefile.in
diff options
context:
space:
mode:
authorGraham Markall <graham.markall@embecosm.com>2016-12-08 16:58:23 +0000
committerAndrew Burgess <andrew.burgess@embecosm.com>2017-01-10 10:55:13 +0000
commit07ccf83cf5424d019ab091a7bac0fee26564e420 (patch)
tree37eeead32cf2ae4a4720174c2ff60a4f7b4ff5f1 /ld/Makefile.in
parent74def31dcd248441a49755721da81ca73d99c4fb (diff)
downloadgdb-07ccf83cf5424d019ab091a7bac0fee26564e420.zip
gdb-07ccf83cf5424d019ab091a7bac0fee26564e420.tar.gz
gdb-07ccf83cf5424d019ab091a7bac0fee26564e420.tar.bz2
[ARC] Add new linker emulation for nps
The arc700 nps variant uses some specific named sections to facilitate its CMEM based instructions, which operate on memory regions fixed at specific addresses. This commit adds the arclinux_nps emulation, which is based on the arclinux emulation. The new emulation uses the OTHER_SECTIONS variable in the emulation parameters script to provide symbols mapping to various locations in the CMEM space on nps. The accompanying test ensures that all symbols are provided at the correct address in the linker script. ld/ChangeLog: * Makefile.am: Add earclinux_nps.c target and add to ALL_EMULATION_SOURCES. * Makefile.in: Likewise, regenerated. * configure.tgt: Add arclinux_nps as an extra emulation for arc*-*-elf* and arc*-*-linux*. * emulparams/arc-nps.sh: New file. * emulparams/arclinux_nps.sh: New file. * testsuite/ld-arc/arclinux-nps.d, * testsuite/ld-arc/arclinux-nps.s: New test.
Diffstat (limited to 'ld/Makefile.in')
-rw-r--r--ld/Makefile.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 9364402..c464302 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -533,6 +533,7 @@ ALL_EMULATION_SOURCES = \
earcelf.c \
earcelf_prof.c \
earclinux.c \
+ earclinux_nps.c \
earclinux_prof.c \
earm_epoc_pe.c \
earm_wince_pe.c \
@@ -1142,6 +1143,7 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earcelf.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earcelf_prof.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earclinux.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earclinux_nps.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earclinux_prof.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earcv2elf.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earcv2elfx.Po@am__quote@
@@ -2294,6 +2296,11 @@ earclinux.c: $(srcdir)/emulparams/arclinux.sh \
$(ELF_DEPS) $(srcdir)/emultempl/arclinux.em \
$(srcdir)/scripttempl/arclinux.sc ${GEN_DEPENDS}
+earclinux_nps.c: $(srcdir)/emulparams/arclinux_nps.sh \
+ $(srcdir)/emulparams/arc-nps.sh \
+ $(ELF_DEPS) $(srcdir)/emultempl/arclinux.em \
+ $(srcdir)/scripttempl/arclinux.sc ${GEN_DEPENDS}
+
earclinux_prof.c: $(srcdir)/emulparams/arclinux_prof.sh \
$(ELF_DEPS) $(srcdir)/emultempl/arclinux.em \
$(srcdir)/scripttempl/arclinux.sc ${GEN_DEPENDS}