[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.
- [Bug ld/16566] Please provide a way to include static symbols in linker map file, nickc at redhat dot com, 2023/05/02
- [Bug ld/16566] Please provide a way to include static symbols in linker map file, jon at beniston dot com, 2023/05/08
- [Bug ld/16566] Please provide a way to include static symbols in linker map file,
nickc at redhat dot com <=
- [Bug ld/16566] Please provide a way to include static symbols in linker map file, jon at beniston dot com, 2023/05/09
- [Bug ld/16566] Please provide a way to include static symbols in linker map file, nickc at redhat dot com, 2023/05/09
- [Bug ld/16566] Please provide a way to include static symbols in linker map file, jon at beniston dot com, 2023/05/10
- [Bug ld/16566] Please provide a way to include static symbols in linker map file, cvs-commit at gcc dot gnu.org, 2023/05/10
- [Bug ld/16566] Please provide a way to include static symbols in linker map file, nickc at redhat dot com, 2023/05/10