* config/tc-sh64.c (shmedia_frob_section): Only frob elf32
authorDJ Delorie <dj@redhat.com>
Thu, 20 Nov 2003 20:08:20 +0000 (20:08 +0000)
committerDJ Delorie <dj@redhat.com>
Thu, 20 Nov 2003 20:08:20 +0000 (20:08 +0000)
sections.

gas/ChangeLog
gas/config/tc-sh64.c

index 58e3efc8d1cc0f9286b3f675722b926b6f7e437b..e449e43252e1a00d836c7d41d8d19517b7ef7e02 100644 (file)
@@ -1,3 +1,8 @@
+2003-11-20  DJ Delorie  <dj@redhat.com>
+
+       * config/tc-sh64.c (shmedia_frob_section): Only frob elf32
+       sections.
+
 2003-11-19  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/tc-h8300.c: Make some functions and global
index 4ccbe1d8a4547aac8a89f061cf666c0a0b09751a..7c401b90491a2f92d7c059547929932e1b5e6b8e 100644 (file)
@@ -427,7 +427,7 @@ shmedia_frob_section_type (asection *sec)
      target-specific semantics.  This target is ELF only (semantics not
      defined for other formats), so we use the target-specific pointer
      field of the ELF section data.  */
-  if (seginfo)
+  if (seginfo && sh64_abi == sh64_abi_32)
     {
       struct sh64_section_data *sec_elf_data;
       flagword sec_type = 0;