[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ARM Unified Assembly Language - GNU as does some weird stuff
From: |
Danny Milosavljevic |
Subject: |
Re: ARM Unified Assembly Language - GNU as does some weird stuff |
Date: |
Tue, 26 Jan 2021 02:14:16 +0100 |
> (1) b #60
>
> It seems that GNU as ignores the immediate entirely and just always encodes
> #0 (to test, do ".syntax unified" and then "b #60" in GNU as). WTF?
>
> Likewise with bl, blx.
>
> It seems that the debug info still has the user-specified immediate value--but
> the executable object file does not. So in order to test you should strip the
> resulting file--otherwise you are gonna be very confused.
>
> No error or warning messages are printed by GNU as here.
With GNU as 2.34 on ARM the same happens for:
b r3
It encodes as
eafffffe b 0x0
Spooky...
pgpw8kdNosq50.pgp
Description: OpenPGP digital signature
- Re: [bootstrappable] Re: wip-full-source-bootstrap: from a 357-byte `hex0' to 'hello', (continued)
- Re: [Tinycc-devel] [bootstrappable] Re: wip-full-source-bootstrap: from a 357-byte `hex0' to 'hello', grischka, 2021/01/08
- Re: [Tinycc-devel] [bootstrappable] Re: wip-full-source-bootstrap: from a 357-byte `hex0' to 'hello', Danny Milosavljevic, 2021/01/08
- RE: [bootstrappable] Re: [Tinycc-devel] Re: wip-full-source-bootstrap: from a 357-byte `hex0' to 'hello', Orians, Jeremiah (DTMB), 2021/01/08
- Re: [Tinycc-devel] [bootstrappable] Re: Re: wip-full-source-bootstrap: from a 357-byte `hex0' to 'hello', Vincent Lefevre, 2021/01/08
- Re: [Tinycc-devel] [bootstrappable] Re: wip-full-source-bootstrap: from a 357-byte `hex0' to 'hello', Jan Nieuwenhuizen, 2021/01/08
- ARM Unified Assembly Language - GNU as does some weird stuff, Danny Milosavljevic, 2021/01/25
- RE: [bootstrappable] ARM Unified Assembly Language - GNU as does some weird stuff, Orians, Jeremiah (DTMB), 2021/01/25
- Re: ARM Unified Assembly Language - GNU as does some weird stuff,
Danny Milosavljevic <=
Re: wip-full-source-bootstrap: from a 357-byte `hex0' to 'hello', Jan Wielkiewicz, 2021/01/07
Re: wip-full-source-bootstrap: from a 357-byte `hex0' to 'hello', Timothy Sample, 2021/01/20