|
From: | cvs-commit at gcc dot gnu.org |
Subject: | [Bug ld/16566] Please provide a way to include static symbols in linker map file |
Date: | Wed, 10 May 2023 09:30:57 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=16566 --- Comment #13 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Nick Clifton <nickc@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=496917ce466c703c1ae3bf1cbbe753de1c091445 commit 496917ce466c703c1ae3bf1cbbe753de1c091445 Author: Nick Clifton <nickc@redhat.com> Date: Wed May 10 10:29:52 2023 +0100 Add linker option to include local symbols in the linker map. PR 16566 * ldlang.c (ld_is_local_symbol): New function. (print_input_section): Add code to display local symbols in the section. * ldlex.h (enum option_values): Add OPTION_PRINT_MAP_LOCALS and OPTION_PRINT_MAP_LOCALS. * lexsup.c (ld_options[]): Add entries for --print-map-locals and --no-print-map-locals. * NEWS: Mention the new feature. * ld.h (struct ld_config_type): Add print_map_locals field. * ld.texi: Document the new command line option. * testsuite/ld-scripts/sizeof.s: Add a local symbol. * testsuite/ld-scripts/map-locals.d: New test control file. * testsuite/ld-scripts/map-address.exp: Run the new test. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |