Initial arc-elf support.
This commit is contained in:
parent
b8b78f950d
commit
070ac72796
3 changed files with 17 additions and 0 deletions
|
@ -15,6 +15,14 @@
|
||||||
|
|
||||||
Do-first:
|
Do-first:
|
||||||
|
|
||||||
|
arc_files="arc-elf.mt"
|
||||||
|
|
||||||
|
if ( echo $* | grep keep\-arc > /dev/null ) ; then
|
||||||
|
keep_these_too="${arc_files} ${keep_these_too}"
|
||||||
|
else
|
||||||
|
lose_these_too="${arc_files} ${lose_these_too}"
|
||||||
|
fi
|
||||||
|
|
||||||
rce_files="rce-aout.mt"
|
rce_files="rce-aout.mt"
|
||||||
|
|
||||||
if ( echo $* | grep keep\-rce > /dev/null ) ; then
|
if ( echo $* | grep keep\-rce > /dev/null ) ; then
|
||||||
|
|
1
ld/config/arc-elf.mt
Normal file
1
ld/config/arc-elf.mt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
EMUL=arcelf
|
|
@ -15,6 +15,14 @@
|
||||||
|
|
||||||
Do-first:
|
Do-first:
|
||||||
|
|
||||||
|
arc_files="arcelf.sh"
|
||||||
|
|
||||||
|
if ( echo $* | grep keep\-arc > /dev/null ) ; then
|
||||||
|
keep_these_too="${arc_files} ${keep_these_too}"
|
||||||
|
else
|
||||||
|
lose_these_too="${arc_files} ${lose_these_too}"
|
||||||
|
fi
|
||||||
|
|
||||||
rce_files="rce.sh"
|
rce_files="rce.sh"
|
||||||
|
|
||||||
if ( echo $* | grep keep\-rce > /dev/null ) ; then
|
if ( echo $* | grep keep\-rce > /dev/null ) ; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue