From 5546cc7eb66a35dc5c1a745a6b66872d9d2bd3f7 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 15 Jun 1994 22:05:40 +0000 Subject: [PATCH] Tweak v9 support to ready it for release. --- bfd/elfcode.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/bfd/elfcode.h b/bfd/elfcode.h index 5cdd340bb2d..c46ffde38f1 100644 --- a/bfd/elfcode.h +++ b/bfd/elfcode.h @@ -57,6 +57,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ (3) ELF section symbols are handled rather sloppily now. This should be cleaned up, and ELF section symbols reconciled with BFD section symbols. + + (4) We need a published spec for 64-bit ELF. We've got some stuff here + that we're using for SPARC V9 64-bit chips, but don't assume that + it's cast in stone. */ #include /* For strrchr and friends */ @@ -2133,12 +2137,11 @@ prep_headers (abfd) i_ehdrp->e_machine = EM_NONE; break; case bfd_arch_sparc: - i_ehdrp->e_machine = EM_SPARC; - /* start-sanitize-v9 */ #if ARCH_SIZE == 64 i_ehdrp->e_machine = EM_SPARC64; +#else + i_ehdrp->e_machine = EM_SPARC; #endif - /* end-sanitize-v9 */ break; case bfd_arch_i386: i_ehdrp->e_machine = EM_386; -- 2.30.2