This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
H8S Bug when using -relax for h8300-elf
- From: "Shrinivas Atre" <ShrinivasA at kpit dot com>
- To: <binutils at sources dot redhat dot com>,<bug-binutils at gnu dot org>
- Date: Fri, 25 Apr 2003 10:49:45 +0530
- Subject: H8S Bug when using -relax for h8300-elf
Hi,
I am using h8300-elf tool chain which uses binutils-2.13.2.1, gcc 3.3 24032003 snapshot and Newlib 1.11.0.
When I build following program with -relax option of the linker, the linker crashes.
--------------------- The program ----------------------
.h8300s
.global _start
_start:
mov.b r2l,@0xFFFFBD
rts
---------------------------------------------------------
Command line
$ /home/kpit/usr/h8300-elf20030324/bin/h8300-elf-as test.s -o test.o
$ /home/kpit/usr/h8300-elf20030324/bin/h8300-elf-ld -relax -mh8300self test.o
Segmentation fault (core dumped)
This crash does not occur for h8300-coff target.
This crash is observed only for h8300-elf tool chain and H8S target.
Is this a known issue ?
Regards,
Shrinivas