* elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Delete checking
of flags, only flags used are controlled by mach number. Bump up output file mach number to highest of input file mach numbers. (elf32_sparc_object_p): Watch for EF_SPARC_SUN_US1. (elf32_sparc_final_write_processing): Set EF_SPARC_SUN_US1 if v8plusa. Also, delete v8plus sanitization.
This commit is contained in:
parent
74ae0c978d
commit
75c9ddc9c5
4 changed files with 15 additions and 48 deletions
|
@ -356,34 +356,6 @@ else
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
v8plus_files="ChangeLog archures.c bfd-in2.h cpu-sparc.c elf32-sparc.c"
|
|
||||||
if ( echo $* | grep keep\-v8plus > /dev/null ) ; then
|
|
||||||
for i in $v8plus_files ; do
|
|
||||||
if test ! -d $i && (grep sanitize-v8plus $i > /dev/null) ; then
|
|
||||||
if [ -n "${verbose}" ] ; then
|
|
||||||
echo Keeping v8plus stuff in $i
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
else
|
|
||||||
for i in $v8plus_files ; do
|
|
||||||
if test ! -d $i && (grep sanitize-v8plus $i > /dev/null) ; then
|
|
||||||
if [ -n "${verbose}" ] ; then
|
|
||||||
echo Removing traces of \"v8plus\" from $i...
|
|
||||||
fi
|
|
||||||
cp $i new
|
|
||||||
sed '/start\-sanitize\-v8plus/,/end-\sanitize\-v8plus/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
|
|
||||||
|
|
||||||
for i in * ; do
|
for i in * ; do
|
||||||
if test ! -d $i && (grep sanitize $i > /dev/null) ; then
|
if test ! -d $i && (grep sanitize $i > /dev/null) ; then
|
||||||
echo '***' Some mentions of Sanitize are still left in $i! 1>&2
|
echo '***' Some mentions of Sanitize are still left in $i! 1>&2
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
Wed Jan 24 10:38:34 1996 Doug Evans <dje@charmed.cygnus.com>
|
||||||
|
|
||||||
|
* elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Delete checking
|
||||||
|
of flags, only flags used are controlled by mach number. Bump up
|
||||||
|
output file mach number to highest of input file mach numbers.
|
||||||
|
(elf32_sparc_object_p): Watch for EF_SPARC_SUN_US1.
|
||||||
|
(elf32_sparc_final_write_processing): Set EF_SPARC_SUN_US1 if v8plusa.
|
||||||
|
|
||||||
Tue Jan 23 14:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
|
Tue Jan 23 14:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
|
||||||
|
|
||||||
* elf32-ppc.c (ppc_elf_copy_private_bfd_data): Don't complain if
|
* elf32-ppc.c (ppc_elf_copy_private_bfd_data): Don't complain if
|
||||||
|
@ -38,9 +46,7 @@ Mon Jan 22 08:52:04 1996 Doug Evans <dje@charmed.cygnus.com>
|
||||||
* elflink.h (elf_finish_pointer_linker_section): Fix typo.
|
* elflink.h (elf_finish_pointer_linker_section): Fix typo.
|
||||||
|
|
||||||
* archures.c (bfd_mach_sparc_v9): Renamed from bfd_mach_sparc64.
|
* archures.c (bfd_mach_sparc_v9): Renamed from bfd_mach_sparc64.
|
||||||
start-sanitize-v8plus
|
|
||||||
(bfd_mach_sparc_{v8plus,v8plusa}): Define.
|
(bfd_mach_sparc_{v8plus,v8plusa}): Define.
|
||||||
end-sanitize-v8plus
|
|
||||||
(bfd_mach_sparc_v9a): Define.
|
(bfd_mach_sparc_v9a): Define.
|
||||||
(bfd_mach_sparc_v9_p): Define.
|
(bfd_mach_sparc_v9_p): Define.
|
||||||
* bfd-in2.h: Regenerated.
|
* bfd-in2.h: Regenerated.
|
||||||
|
@ -50,20 +56,14 @@ end-sanitize-v8plus
|
||||||
* config.bfd (sparc64-*-sysv4*,sparc64-*-solaris2*): Set targ_defvec
|
* config.bfd (sparc64-*-sysv4*,sparc64-*-solaris2*): Set targ_defvec
|
||||||
to bfd_elf32_sparc_vec.
|
to bfd_elf32_sparc_vec.
|
||||||
* cpu-sparc.c (arch_info_struct): Renamed from sparc_arch_info.
|
* cpu-sparc.c (arch_info_struct): Renamed from sparc_arch_info.
|
||||||
start-sanitize-v8plus
|
|
||||||
Add v8plus{,a} support.
|
Add v8plus{,a} support.
|
||||||
end-sanitize-v8plus
|
|
||||||
Add v9a support.
|
Add v9a support.
|
||||||
start-sanitize-v8plus
|
|
||||||
(sparc_compatible): New function.
|
(sparc_compatible): New function.
|
||||||
* elf32-sparc.h: #include "elf/sparc.h".
|
* elf32-sparc.h: #include "elf/sparc.h".
|
||||||
(elf32_sparc_set_private_flags, elf32_sparc_copy_private_bfd_data,
|
(elf32_sparc_merge_private_bfd_data, elf32_sparc_object_p,
|
||||||
elf32_sparc_merge_private_bfd_data, elf32_sparc_object_p,
|
|
||||||
elf32_sparc_final_write_processing): New functions.
|
elf32_sparc_final_write_processing): New functions.
|
||||||
(bfd_elf32_bfd_set_private_flags, bfd_elf32_bfd_copy_private_bfd_data,
|
(bfd_elf32_bfd_merge_private_bfd_data, elf_backend_object_p,
|
||||||
bfd_elf32_bfd_merge_private_bfd_data, elf_backend_object_p,
|
|
||||||
elf_backend_final_write_processing): Define.
|
elf_backend_final_write_processing): Define.
|
||||||
end-sanitize-v8plus
|
|
||||||
|
|
||||||
Mon Jan 22 11:21:51 1996 Michael Meissner <meissner@tiktok.cygnus.com>
|
Mon Jan 22 11:21:51 1996 Michael Meissner <meissner@tiktok.cygnus.com>
|
||||||
|
|
||||||
|
@ -113,11 +113,9 @@ Mon Jan 22 11:21:51 1996 Michael Meissner <meissner@tiktok.cygnus.com>
|
||||||
(_bfd_elf_make_linker_section_rela): Make a RELA section
|
(_bfd_elf_make_linker_section_rela): Make a RELA section
|
||||||
corresponding to the generated linker section.
|
corresponding to the generated linker section.
|
||||||
|
|
||||||
start-sanitize-v8plus
|
|
||||||
Sat Jan 20 08:36:10 1996 Doug Evans <dje@canuck.cygnus.com>
|
Sat Jan 20 08:36:10 1996 Doug Evans <dje@canuck.cygnus.com>
|
||||||
|
|
||||||
* elf32-sparc.c (ELF_MACHINE_ALT1): Define.
|
* elf32-sparc.c (ELF_MACHINE_ALT1): Define.
|
||||||
end-sanitize-v8plus
|
|
||||||
|
|
||||||
Thu Jan 18 18:25:34 1996 Kim Knuttila <krk@cygnus.com>
|
Thu Jan 18 18:25:34 1996 Kim Knuttila <krk@cygnus.com>
|
||||||
|
|
||||||
|
|
|
@ -93,12 +93,11 @@ DESCRIPTION
|
||||||
. bfd_arch_a29k, {* AMD 29000 *}
|
. bfd_arch_a29k, {* AMD 29000 *}
|
||||||
. bfd_arch_sparc, {* SPARC *}
|
. bfd_arch_sparc, {* SPARC *}
|
||||||
.#define bfd_mach_sparc 1
|
.#define bfd_mach_sparc 1
|
||||||
. {* start-sanitize-v8plus *}
|
{* The difference between v8plus and v9 is that v9 is a true 64 bit env. *}
|
||||||
.#define bfd_mach_sparc_v8plus 2
|
.#define bfd_mach_sparc_v8plus 2
|
||||||
.#define bfd_mach_sparc_v8plusa 3
|
.#define bfd_mach_sparc_v8plusa 3 {* with ultrasparc add'ns *}
|
||||||
. {* end-sanitize-v8plus *}
|
|
||||||
.#define bfd_mach_sparc_v9 4
|
.#define bfd_mach_sparc_v9 4
|
||||||
.#define bfd_mach_sparc_v9a 5 {* v9 with ultrasparc add'ns *}
|
.#define bfd_mach_sparc_v9a 5 {* with ultrasparc add'ns *}
|
||||||
.{* Nonzero if MACH has the v9 instruction set. *}
|
.{* Nonzero if MACH has the v9 instruction set. *}
|
||||||
.#define bfd_mach_sparc_v9_p(mach) ((mach) != bfd_mach_sparc)
|
.#define bfd_mach_sparc_v9_p(mach) ((mach) != bfd_mach_sparc)
|
||||||
. bfd_arch_mips, {* MIPS Rxxxx *}
|
. bfd_arch_mips, {* MIPS Rxxxx *}
|
||||||
|
|
|
@ -1110,12 +1110,10 @@ enum bfd_architecture
|
||||||
bfd_arch_a29k, /* AMD 29000 */
|
bfd_arch_a29k, /* AMD 29000 */
|
||||||
bfd_arch_sparc, /* SPARC */
|
bfd_arch_sparc, /* SPARC */
|
||||||
#define bfd_mach_sparc 1
|
#define bfd_mach_sparc 1
|
||||||
/* start-sanitize-v8plus */
|
|
||||||
#define bfd_mach_sparc_v8plus 2
|
#define bfd_mach_sparc_v8plus 2
|
||||||
#define bfd_mach_sparc_v8plusa 3
|
#define bfd_mach_sparc_v8plusa 3 /* with ultrasparc add'ns */
|
||||||
/* end-sanitize-v8plus */
|
|
||||||
#define bfd_mach_sparc_v9 4
|
#define bfd_mach_sparc_v9 4
|
||||||
#define bfd_mach_sparc_v9a 5 /* v9 with ultrasparc add'ns */
|
#define bfd_mach_sparc_v9a 5 /* with ultrasparc add'ns */
|
||||||
/* Nonzero if MACH has the v9 instruction set. */
|
/* Nonzero if MACH has the v9 instruction set. */
|
||||||
#define bfd_mach_sparc_v9_p(mach) ((mach) != bfd_mach_sparc)
|
#define bfd_mach_sparc_v9_p(mach) ((mach) != bfd_mach_sparc)
|
||||||
bfd_arch_mips, /* MIPS Rxxxx */
|
bfd_arch_mips, /* MIPS Rxxxx */
|
||||||
|
|
Loading…
Add table
Reference in a new issue