https://sourceware.org/bugzilla/show_bug.cgi?id=16566

--- Comment #9 from Nick Clifton <nickc at redhat dot com> ---
(In reply to jon from comment #8)
Hi Jon,

>  arm-eabi-gcc test.c -o test.exe -Xlinker -Map=arm.map -flto -Xlinker
> --print-map-locals
> 
> With the bfd_link_hash_lookup condition, func doesn't appear in the map file.

Ah - but if you remove the "-flto" option it works...

The problem is that the LTO compiler moves the func() code into its own
section,
which confuses the local printing code.  I am looking to see if I can find a
way
around this problem...

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to