Re: [PATCH] ld: testsuite: Associate C identifiers with the corresponding assembler or linker symbols in a target-independent manner.
Alan Modra <[email protected]> Sun, 19 Jul 2026 15:01:15 +0930
| Newsgroups | gmane.comp.gnu.binutils |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Jul 18, 2026 at 09:52:54AM +0200, Jan Dubiec wrote: > Some targets prepend an underscore to C symbol names, while others do > not (e.g. H8 vs. ARM). This can cause problems in two situations, as > shown in the log below: > 1. when linking C and assembly code; > 2. when a symbol name is specified on the linker's command line. > > This patch resolves both issues by using the asm keyword to associate C > identifiers with the corresponding assembler/linker symbol names in a > target-independent manner. Applied, thanks. -- Alan Modra