Changed mismatch architecture message to a warning.
lose_these_too="${tic80_files} ${lose_these_too}"
fi
-if ( echo $* | grep keep\-v850 > /dev/null ) ; then
- keep_these_too="cpu-v850.c elf32-v850.c ${keep_these_too}"
-else
- lose_these_too="cpu-v850.c elf32-v850.c ${lose_these_too}"
-fi
-
# All files listed between the "Things-to-keep:" line and the
# "Files-to-sed:" line will be kept. All other files will be removed.
# Directories listed in this section will have their own Sanitize
cpu-rs6000.c
cpu-sh.c
cpu-sparc.c
+cpu-v850.c
cpu-vax.c
cpu-we32k.c
cpu-w65.c
elf32-ppc.c
elf32-sh.c
elf32-sparc.c
+elf32-v850.c
elf32.c
elf64-alpha.c
elf64-gen.c
fi
v850_files="ChangeLog Makefile.in Makefile.am archures.c reloc.c targets.c config.bfd configure.in configure bfd-in2.h elf.c libbfd.h elf32-v850.c cpu-v850.c"
-if ( echo $* | grep keep\-v850eq > /dev/null ) ; then
- for i in $v850_files ; do
- if test -r $i && (grep sanitize-v850eq $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Keeping v850eq stuff in $i
- fi
- fi
- done
-else
- for i in $v850_files ; do
- if test -f $i && (grep sanitize-v850eq $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Removing traces of \"v850eq\" from $i...
- fi
- cp $i new
- sed '/start\-sanitize\-v850eq/,/end\-sanitize\-v850eq/d' < $i > new
- if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
- if [ -n "${verbose}" ] ; then
- echo Caching $i in .Recover...
- fi
- mv $i .Recover
- fi
- mv new $i
- fi
- done
-fi
if ( echo $* | grep keep\-v850e > /dev/null ) ; then
for i in $v850_files ; do
if test -r $i && (grep sanitize-v850e $i > /dev/null) ; then
Tue Sep 2 17:43:49 1997 Nick Clifton <nickc@cygnus.com>
* elf.c (prep_headers): Remove V850E magic number.
-start-sanitize-v850eq
* elf.c (prep_headers): Remove V850EQ magic number.
-end-sanitize-v850eq
end-sanitize-v850e
Tue Sep 2 17:35:05 1997 Doug Evans <dje@canuck.cygnus.com>
number.
* elf.c (prep_headers): Add support for v850e machine number.
-end-sanitize-v850e
-
-start-sanitize-v850eq
+
* archures.c (bfd_mach_v850eq): Machine value for v850eq.
* bfd-in2.h (bfd_mach_v850eq): Machine value for v850eq.
number.
* elf.c (prep_headers): Add support for v850eq machine number.
-
-end-sanitize-v850eq
+end-sanitize-v850e
Mon Aug 25 14:07:33 1997 Ian Lance Taylor <ian@cygnus.com>
* config.bfd: Add support for v850e target.
* archures.c: Add support for v850e target.
-end-sanitize-v850e
-start-sanitize-v850eq
Mon Aug 18 11:33:56 1997 Nick Clifton <nickc@cygnus.com>
* cpu-v850eq: New file.
* config.bfd: Add support for v850eq target.
* archures.c: Add support for v850eq target.
-end-sanitize-v850eq
+end-sanitize-v850e
Fri Aug 15 12:01:28 1997 Ian Lance Taylor <ian@cygnus.com>
case E_V850_ARCH: (void) bfd_default_set_arch_mach (abfd, bfd_arch_v850, 0); break;
/* start-sanitize-v850e */
case E_V850E_ARCH: (void) bfd_default_set_arch_mach (abfd, bfd_arch_v850, bfd_mach_v850e); break;
-/* end-sanitize-v850e */
-/* start-sanitize-v850eq */
case E_V850EQ_ARCH: (void) bfd_default_set_arch_mach (abfd, bfd_arch_v850, bfd_mach_v850eq); break;
-/* end-sanitize-v850eq */
+/* end-sanitize-v850e */
}
}
default:
case 0: val = E_V850_ARCH; break;
/* start-sanitize-v850e */
- case bfd_mach_v850e: val = E_V850E_ARCH; break;
-/* end-sanitize-v850e */
-/* start-sanitize-v850eq */
+ case bfd_mach_v850e: val = E_V850E_ARCH; break;
case bfd_mach_v850eq: val = E_V850EQ_ARCH; break;
-/* end-sanitize-v850eq */
+/* end-sanitize-v850e */
}
elf_elfheader (abfd)->e_flags &=~ EF_V850_ARCH;
{
_bfd_error_handler ("%s: Architecture mismatch with previous modules",
bfd_get_filename (ibfd));
+#if 0
bfd_set_error (bfd_error_bad_value);
return false;
+#else
+ return true;
+#endif
}
return true;
default:
case E_V850_ARCH: fprintf (file, ": v850 architecture"); break;
/* start-sanitize-v850e */
- case E_V850E_ARCH: fprintf (file, ": v850e architecture"); break;
-/* end-sanitize-v850e */
-/* start-sanitize-v850eq */
+ case E_V850E_ARCH: fprintf (file, ": v850e architecture"); break;
case E_V850EQ_ARCH: fprintf (file, ": v850eq architecture"); break;
-/* end-sanitize-v850eq */
+/* end-sanitize-v850e */
}
fputc ('\n', file);