mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-24 12:39:59 +00:00
Add code to catch obsolete configurations and warn about them unless
--enable-obsolete is used. Use this to mark vax-vms port as obsolete.
This commit is contained in:
parent
2097767332
commit
91fb2a9d47
@ -1,3 +1,9 @@
|
||||
2003-08-01 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* config.bfd: Add code to catch obsolete configurations and warn
|
||||
about them unless --enable-obsolete is used. Use this to mark
|
||||
vax-vms port as obsolete.
|
||||
|
||||
2003-07-30 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* elf32-ppc.c (ppc_elf_install_value): Tidy.
|
||||
|
@ -29,6 +29,20 @@ targ64_selvecs=
|
||||
targ_cflags=
|
||||
targ_underscore=no
|
||||
|
||||
# Catch obsolete configurations.
|
||||
case $targ in
|
||||
vax-*-vms* \
|
||||
)
|
||||
if test "x$enable_obsolete" != xyes; then
|
||||
echo "*** Configuration $targ is obsolete." >&2
|
||||
echo "*** Specify --enable-obsolete to build it anyway." >&2
|
||||
echo "*** Support will be REMOVED in the next major release of BINUTILS," >&2
|
||||
echo "*** unless a maintainer comes forward." >&2
|
||||
exit 1
|
||||
fi;;
|
||||
esac
|
||||
|
||||
|
||||
targ_cpu=`echo $targ | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
||||
case "${targ_cpu}" in
|
||||
alpha*) targ_archs=bfd_alpha_arch ;;
|
||||
|
Loading…
Reference in New Issue
Block a user