bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/14006] objdump fails to disassemble first instruction of f


From: nickc at redhat dot com
Subject: [Bug binutils/14006] objdump fails to disassemble first instruction of function (arm-none-eabi, function-sections)
Date: Wed, 02 May 2012 16:15:24 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=14006

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
                 CC|                            |nickc at redhat dot com

--- Comment #2 from Nick Clifton <nickc at redhat dot com> 2012-05-02 16:15:24 
UTC ---
Hi Wim,

> As far as I can tell the bug doesn't depend on what the first instruction is;
> it only affects the first instruction, not the rest of the function; and only
> with code compiled with -ffunction-sections. (Possibly only if the preceding
> function/section ended with a literal pool?

This is essentially correct.  The code to scan the mapping symbols associated
with the functions being disassembled did not take into account the possibility
that new function sections would exist.

Please could you try out the uploaded patch which should fix the problem.

Cheers
  Nick

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

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