diff options
-rw-r--r-- | bfd/.Sanitize | 28 | ||||
-rw-r--r-- | bfd/ChangeLog | 22 | ||||
-rw-r--r-- | bfd/archures.c | 7 | ||||
-rw-r--r-- | bfd/bfd-in2.h | 6 |
4 files changed, 15 insertions, 48 deletions
diff --git a/bfd/.Sanitize b/bfd/.Sanitize index 1bb18d2..5e4ae30 100644 --- a/bfd/.Sanitize +++ b/bfd/.Sanitize @@ -356,34 +356,6 @@ else done 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 if test ! -d $i && (grep sanitize $i > /dev/null) ; then echo '***' Some mentions of Sanitize are still left in $i! 1>&2 diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e5fe0eb..ecc29aa 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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> * 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. * archures.c (bfd_mach_sparc_v9): Renamed from bfd_mach_sparc64. -start-sanitize-v8plus (bfd_mach_sparc_{v8plus,v8plusa}): Define. -end-sanitize-v8plus (bfd_mach_sparc_v9a): Define. (bfd_mach_sparc_v9_p): Define. * bfd-in2.h: Regenerated. @@ -50,20 +56,14 @@ end-sanitize-v8plus * config.bfd (sparc64-*-sysv4*,sparc64-*-solaris2*): Set targ_defvec to bfd_elf32_sparc_vec. * cpu-sparc.c (arch_info_struct): Renamed from sparc_arch_info. -start-sanitize-v8plus Add v8plus{,a} support. -end-sanitize-v8plus Add v9a support. -start-sanitize-v8plus (sparc_compatible): New function. * 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. - (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. -end-sanitize-v8plus 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 corresponding to the generated linker section. -start-sanitize-v8plus Sat Jan 20 08:36:10 1996 Doug Evans <dje@canuck.cygnus.com> * elf32-sparc.c (ELF_MACHINE_ALT1): Define. -end-sanitize-v8plus Thu Jan 18 18:25:34 1996 Kim Knuttila <krk@cygnus.com> diff --git a/bfd/archures.c b/bfd/archures.c index 4c106e2..8c45942 100644 --- a/bfd/archures.c +++ b/bfd/archures.c @@ -93,12 +93,11 @@ DESCRIPTION . bfd_arch_a29k, {* AMD 29000 *} . bfd_arch_sparc, {* SPARC *} .#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_v8plusa 3 -. {* end-sanitize-v8plus *} +.#define bfd_mach_sparc_v8plusa 3 {* with ultrasparc add'ns *} .#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. *} .#define bfd_mach_sparc_v9_p(mach) ((mach) != bfd_mach_sparc) . bfd_arch_mips, {* MIPS Rxxxx *} diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 246d537..224edc4 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -1110,12 +1110,10 @@ enum bfd_architecture bfd_arch_a29k, /* AMD 29000 */ bfd_arch_sparc, /* SPARC */ #define bfd_mach_sparc 1 - /* start-sanitize-v8plus */ #define bfd_mach_sparc_v8plus 2 -#define bfd_mach_sparc_v8plusa 3 - /* end-sanitize-v8plus */ +#define bfd_mach_sparc_v8plusa 3 /* with ultrasparc add'ns */ #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. */ #define bfd_mach_sparc_v9_p(mach) ((mach) != bfd_mach_sparc) bfd_arch_mips, /* MIPS Rxxxx */ |