aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2003-11-20 20:08:20 +0000
committerDJ Delorie <dj@redhat.com>2003-11-20 20:08:20 +0000
commit0d78efdfab83b824b6496ac65ea4c893e816f8ea (patch)
tree163a5866730ad196a7ccee99ea868b2adb90a711
parent43dd9340d41161e01c2892e90071f13826d99d49 (diff)
downloadfsf-binutils-gdb-0d78efdfab83b824b6496ac65ea4c893e816f8ea.zip
fsf-binutils-gdb-0d78efdfab83b824b6496ac65ea4c893e816f8ea.tar.gz
fsf-binutils-gdb-0d78efdfab83b824b6496ac65ea4c893e816f8ea.tar.bz2
* config/tc-sh64.c (shmedia_frob_section): Only frob elf32
sections.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-sh64.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 58e3efc..e449e43 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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
diff --git a/gas/config/tc-sh64.c b/gas/config/tc-sh64.c
index 4ccbe1d..7c401b9 100644
--- a/gas/config/tc-sh64.c
+++ b/gas/config/tc-sh64.c
@@ -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;