This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re:2.14.91 mingw/H8 relax failed
- From: anilp1 at kpitcummins dot com
- To: kimstik at mail dot ru
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 15 Apr 2004 15:07:44 +0530 (IST)
- Subject: Re:2.14.91 mingw/H8 relax failed
>test code test.s:
> .h8300s
> .section .text
> .global _func
>_func:
> mov.b @0xFFFFC1:32, r0l; <- code to be relaxed
> rts
>h8300-hms-as.exe test.s -o test.o
>h8300-hms-ld.exe --relax test.o -o test.out
>linked and relaxed fine with ld v2.12.1 from h8300-hms.sourceforge.net
>but with ld v2.14.91 relax skiped
Hi,
GNU compiler uses 32 bit addressing for H8S target and it cannot be
changed to 24 bit or other.
Please change like following,
.h8300s
.section .text
.global _func
_func:
mov.b $0xFFFFFFC1:32, r0l
;Above instruction will be relaxed to mov.b @0xC1:8, r0l
rts
h8300-hms-as.exe test.s -o test.o
h8300-hms-ld.exe --relax test.o -o test.out -mh8300s
Regards,
Anil Paranjpe