From: DJ Delorie Date: Thu, 20 Nov 2003 20:08:20 +0000 (+0000) Subject: * config/tc-sh64.c (shmedia_frob_section): Only frob elf32 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0d78efdfab83b824b6496ac65ea4c893e816f8ea;p=binutils-gdb.git * config/tc-sh64.c (shmedia_frob_section): Only frob elf32 sections. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 58e3efc8d1c..e449e43252e 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 4ccbe1d8a45..7c401b90491 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;