Re: Jump addresses messed up with GNU as



> I just wonder:
>
> Which version is your objdump?

GNU objdump 2.15 [FreeBSD] 2004-05-23

The problem does not come from objdump, but from the assembler itself, if I
specify the address manually, objdump produces the correct output (and my
program works when I load it into the CPU).
I found out that the assembler adds the current address to the label
address... The workaround is to use "b label-." instead of "b label" ; but
that's quite dirty.

.



Relevant Pages

  • Re: Listings required by an assembler?
    ... >:assembly listing isn't strictly necessary. ... > If the listing is used for debugging, then the above tools are of ... > source level debuggers are only of use if the assembler provides ... objdump, for example) and I wouldn't consider the ability to produce an ...
    (alt.lang.asm)
  • Re: libopcodes counterpart
    ... That assembly-evading entity is called an assembler. ... > objdump does in libopcodes but going the other direction. ...
    (comp.os.linux.misc)
  • Re: How to dump more info when received a SIGSEGV signal?
    ... > instruction when I use objdump to see the binary. ... The ctx is filled only when you *do not* specify SA_SIGINFO. ... In order to understand recursion you must first understand recursion. ...
    (comp.os.linux.development.apps)
  • Re: Blueflops ate my X
    ... and I will run objdump on them. ... cautious virus filters. ... Prev by Date: ...
    (alt.lang.asm)