bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/16566] Please provide a way to include static symbols in linker


From: nickc at redhat dot com
Subject: [Bug ld/16566] Please provide a way to include static symbols in linker map file
Date: Tue, 09 May 2023 12:02:12 +0000

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

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