bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is m68hc11 target still supported by gas?


From: Marek Pietrzak
Subject: Is m68hc11 target still supported by gas?
Date: Sat, 16 Sep 2017 17:27:08 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

Hello,

I'm reviving some ancient stuff and needed to assemble code for m68hc11 target (I'm going to add a new target for similar microcontroller, but it's a different story). I compiled binutils 2.29 for m68hc11 target on Fedora 26 x64 and tried this test program:

a1:
    jsr a2
    bra a2
    .skip 10
a2:
    nop

yet the objdump of the assembly shows me this:

test.o:     file format elf32-m68hc11

Disassembly of section .text:

00000000 <a1>:
   0:    bd 00 00        jsr    0x0 <a1>
   3:    20 0a           bra    0xf <a2>
    ...

0000000f <a2>:
   f:    01              nop

As you can see bra is generated correctly, but jsr is incorrect. The same for jmp if you try one. That leads me to a suspicion this target hasn't been tested and maintained for some time. Is m68hc11 still supported?

Marek




reply via email to

[Prev in Thread] Current Thread [Next in Thread]