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: jon at beniston dot com
Subject: [Bug ld/16566] Please provide a way to include static symbols in linker map file
Date: Tue, 09 May 2023 12:17:30 +0000

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

--- Comment #10 from jon at beniston dot com ---
> Ah - but if you remove the "-flto" option it works...

Without -flto, func is a global symbol.

> The problem is that the LTO compiler moves the func() code into its own 
> section,

I guess that may be target/gcc version specific. I just see it being changed
from a global to a local in .text.

-- 
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]