From: Richard Henderson Date: Tue, 14 Jul 1998 22:40:17 +0000 (+0000) Subject: * configure.tgt (i?86-*-beos{pe,elf,}*): Recognize. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d51be0a936f3209927f1087c603867570b596c6c;p=binutils-gdb.git * configure.tgt (i?86-*-beos{pe,elf,}*): Recognize. * Makefile.am (ei386beos.o): New. * emulparams/i386beos.sh: New file. * emultempl/beos.em, scripttempl/i386beos.sc: New file. --- diff --git a/ld/emulparams/.Sanitize b/ld/emulparams/.Sanitize index 74013334263..9649394d0a6 100644 --- a/ld/emulparams/.Sanitize +++ b/ld/emulparams/.Sanitize @@ -36,6 +36,13 @@ else lose_these_too="${r5900_files} ${lose_these_too}" fi +beos_files="i386beos.sh" +if ( echo $* | grep keep\-beos > /dev/null ) ; then + keep_these_too="${beos_files} ${keep_these_too}" +else + lose_these_too="${beos_files} ${lose_these_too}" +fi + # All files listed between the "Things-to-keep:" line and the # "Do-last:" line will be kept. All other files will be removed. # Directories listed in this section will have their own Sanitize diff --git a/ld/emultempl/.Sanitize b/ld/emultempl/.Sanitize index 9da03debc67..530ad84e8ad 100644 --- a/ld/emultempl/.Sanitize +++ b/ld/emultempl/.Sanitize @@ -15,6 +15,13 @@ Do-first: +beos_files="beos.em" +if ( echo $* | grep keep\-beos > /dev/null ) ; then + keep_these_too="${beos_files} ${keep_these_too}" +else + lose_these_too="${beos_files} ${lose_these_too}" +fi + # All files listed between the "Things-to-keep:" line and the # "Do-last:" line will be kept. All other files will be removed. diff --git a/ld/scripttempl/.Sanitize b/ld/scripttempl/.Sanitize index aa7fe54b548..44dada42422 100644 --- a/ld/scripttempl/.Sanitize +++ b/ld/scripttempl/.Sanitize @@ -29,6 +29,13 @@ else lose_these_too="${tic80_files} ${lose_these_too}" fi +beos_files="i386beos.sc" +if ( echo $* | grep keep\-beos > /dev/null ) ; then + keep_these_too="${beos_files} ${keep_these_too}" +else + lose_these_too="${beos_files} ${lose_these_too}" +fi + # All files listed between the "Things-to-keep:" line and the # "Do-last:" line will be kept. All other files will be removed. # Directories listed in this section will have their own Sanitize