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: Mon, 08 May 2023 15:31:14 +0000

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

--- Comment #8 from jon at beniston dot com ---
test.c:

void func() {
}

int main() {
    func();
    return 0;
}

Compile with:

 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.

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