Do-first:
-d30v_files="cpu-d30v.c elf32-d30v.c"
-
-if ( echo $* | grep keep\-d30v > /dev/null ) ; then
- keep_these_too="${d30v_files} ${keep_these_too}"
-else
- lose_these_too="${d30v_files} ${lose_these_too}"
-fi
-
tic80_files="cpu-tic80.c coff-tic80.c"
if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
cpu-arc.c
cpu-arm.c
cpu-d10v.c
+cpu-d30v.c
cpu-h8300.c
cpu-h8500.c
cpu-hppa.c
elf.c
elf32-arc.c
elf32-d10v.c
+elf32-d30v.c
elf32-gen.c
elf32-hppa.c
elf32-hppa.h
done
fi
-d30v_files="ChangeLog ChangeLog-9697 Makefile.in Makefile.am archures.c reloc.c targets.c config.bfd configure.in configure bfd-in2.h elf.c libbfd.h"
-if ( echo $* | grep keep\-d30v > /dev/null ) ; then
- for i in $d30v_files ; do
- if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Keeping d30v stuff in $i
- fi
- fi
- done
-else
- for i in $d30v_files ; do
- if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Removing traces of \"d30v\" from $i...
- fi
- cp $i new
- sed '/start\-sanitize\-d30v/,/end-\sanitize\-d30v/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
-
v850_files="ChangeLog ChangeLog-9697 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\-v850e > /dev/null ) ; then
for i in $v850_files ; do
* elf-bfd.h (elf_linker_section_t): Make alignment unsigned.
(struct elf_obj_tdata): Make cverdefs and cverrefs unsigned.
* elf.c (assign_file_positions_for_segments): Always set adjust.
-start-sanitize-d30v
* elf32-d30v.c (bfd_elf_d30v_reloc): Initialize tmp_addr. Fully
parenthesize expression.
-end-sanitize-d30v
* elf32-m32r.c (m32r_elf_relocate_section): Always initialize h.
(m32r_elf_object_p): Return a value.
(m32r_elf_print_private_bfd_data): Change fprintf format string.
bfd_arch_rs6000, /* IBM RS/6000 */
bfd_arch_hppa, /* HP PA RISC */
bfd_arch_d10v, /* Mitsubishi D10V */
- /* start-sanitize-d30v */
bfd_arch_d30v, /* Mitsubishi D30V */
- /* end-sanitize-d30v */
bfd_arch_z8k, /* Zilog Z8000 */
#define bfd_mach_z8001 1
#define bfd_mach_z8002 2
assumed to be 0. */
BFD_RELOC_D10V_18_PCREL,
-/* start-sanitize-d30v */
-
/* Mitsubishi D30V relocs.
This is a 6-bit absolute reloc. */
BFD_RELOC_D30V_6,
/* This is a 32-bit pc-relative reloc. */
BFD_RELOC_D30V_32_PCREL,
-/* end-sanitize-d30v */
-
/* Mitsubishi M32R relocs.
This is a 24 bit absolute address. */
targ_defvec=bfd_elf32_d10v_vec
;;
-# start-sanitize-d30v
d30v-*-*)
targ_defvec=bfd_elf32_d30v_vec
;;
-# end-sanitize-d30v
# start-sanitize-sky
dvp-*-*)
targ_defvec=bfd_elf32_i386_vec
targ_selvecs="i386msdos_vec i386aout_vec"
;;
+# start-sanitize-beos
+ i[3456]86-*-beospe*)
+ targ_defvec=i386pe_vec
+ targ_selvecs="i386pe_vec i386pei_vec"
+ ;;
+ i[3456]86-*-beoself* | i[3456]86-*-beos*)
+ targ_defvec=bfd_elf32_i386_vec
+ ;;
+# end-sanitize-beos
i[3456]86-*-mingw32* | i[3456]86-*-cygwin32* | i[3456]86-*-winnt | i[3456]86-*-pe)
targ_defvec=i386pe_vec
targ_selvecs="i386pe_vec i386pei_vec"
/* start-sanitize-sky */
"BFD_RELOC_MIPS_DVP_11_PCREL",
"BFD_RELOC_MIPS_DVP_27_S4",
+ "BFD_RELOC_MIPS_DVP_11_S4",
+ "BFD_RELOC_MIPS_DVP_U15_S3",
/* end-sanitize-sky */
"BFD_RELOC_386_GOT32",
"BFD_RELOC_D10V_10_PCREL_L",
"BFD_RELOC_D10V_18",
"BFD_RELOC_D10V_18_PCREL",
-
-/* start-sanitize-d30v */
"BFD_RELOC_D30V_6",
"BFD_RELOC_D30V_9_PCREL",
"BFD_RELOC_D30V_9_PCREL_R",
"BFD_RELOC_D30V_21_PCREL_R",
"BFD_RELOC_D30V_32",
"BFD_RELOC_D30V_32_PCREL",
-/* end-sanitize-d30v */
-
"BFD_RELOC_M32R_24",
"BFD_RELOC_M32R_10_PCREL",
"BFD_RELOC_M32R_18_PCREL",
cpu-alpha.c
cpu-arc.c
cpu-arm.c
+cpu-d10v.c
+cpu-d30v.c
cpu-h8300.c
cpu-h8500.c
cpu-hppa.c
elf.c
elf32-arc.c
elf32-d10v.c
+elf32-d30v.c
elf32-gen.c
elf32-hppa.c
elf32-hppa.h
BFD_RELOC_MIPS_DVP_27_S4
ENUMDOC
This is a 27 bit address left shifted by 4.
+ENUM
+ BFD_RELOC_MIPS_DVP_11_S4
+ENUMDOC
+ This is the 11 bit offset operand of ilw/stw instructions
+ left shifted by 4.
+ENUM
+ BFD_RELOC_MIPS_DVP_U15_S3
+ENUMDOC
+ This is the 15 bit unsigned immediate operand of the iaddiu instruction
+ left shifted by 3.
COMMENT
{* end-sanitize-sky *}
stored in the instruction. The high 24 bits are installed in bits 23
through 0.
-COMMENT
ENUM
BFD_RELOC_D10V_10_PCREL_R
ENUMDOC
ENUMDOC
This is an 18-bit reloc with the right 2 bits
assumed to be 0.
-COMMENT
-COMMENT
-{* start-sanitize-d30v *}
ENUM
BFD_RELOC_D30V_6
ENUMDOC
BFD_RELOC_D30V_32_PCREL
ENUMDOC
This is a 32-bit pc-relative reloc.
-COMMENT
-{* end-sanitize-d30v *}
ENUM
BFD_RELOC_M32R_24