From 0d78efdfab83b824b6496ac65ea4c893e816f8ea Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Thu, 20 Nov 2003 20:08:20 +0000 Subject: [PATCH] * config/tc-sh64.c (shmedia_frob_section): Only frob elf32 sections. --- gas/ChangeLog | 5 +++++ gas/config/tc-sh64.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 58e3efc8d1..e449e43252 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2003-11-20 DJ Delorie + + * config/tc-sh64.c (shmedia_frob_section): Only frob elf32 + sections. + 2003-11-19 Kazu Hirata * config/tc-h8300.c: Make some functions and global diff --git a/gas/config/tc-sh64.c b/gas/config/tc-sh64.c index 4ccbe1d8a4..7c401b9049 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;