[Bug ld/26391] Question regarding duplicate symbols
https://sourceware.org/bugzilla/show_bug.cgi?id=26391 --- Comment #7 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=496afd17055aeb7d8f45e01715c475664f2b73bd commit 496afd17055aeb7d8f45e01715c475664f2b73bd Author: H.J. Lu Date: Sat Sep 12 05:37:30 2020 -0700 elf: Add -z unique-symbol to avoid duplicated local symbol names The symbol string table in the .symtab section is optional and cosmetic. The contents of the .symtab section have no impact on run-time execution. The symbol names in the symbol string table help distinguish addresses at different locations. Add a linker option, -z unique-symbol, to avoid duplicated local symbol names in the symbol string table. This feature was well received by the livepatch maintainers. It not only solves the duplicated local symbol name problem, but also would allow livepatch to more precisely locate duplicate symbols in general for patching. bfd/ PR ld/26391 * elflink.c (elf_final_link_info): Add local_hash_table. (local_hash_entry): New. (local_hash_newfunc): Likewise. (elf_link_output_symstrtab): Append ".COUNT" to duplicated local symbols. (bfd_elf_final_link): Initialize and free local_hash_table for "-z unique-symbol". include/ PR ld/26391 * bfdlink.h (bfd_link_info): Add unique_symbol. ld/ PR ld/26391 * NEWS: Mention "-z unique-symbol". * emultempl/elf.em (gld${EMULATION_NAME}_handle_option): Handle "-z unique-symbol" and "-z nounique-symbol". * ld.texi: Document "-z unique-symbol" and "-z nounique-symbol". * lexsup.c (elf_static_list_options): Add "-z unique-symbol" and "-z nounique-symbol". * testsuite/ld-elf/elf.exp: Add PR ld/26391 tests. * testsuite/ld-elf/pr26391.nd: New file. * testsuite/ld-elf/pr26391.out: Likewise. * testsuite/ld-elf/pr26391a.c: Likewise. * testsuite/ld-elf/pr26391b.c: Likewise. * testsuite/ld-elf/pr26391c.c: Likewise. * testsuite/ld-elf/pr26391d.c: Likewise. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/26391] Question regarding duplicate symbols
https://sourceware.org/bugzilla/show_bug.cgi?id=26391 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #8 from H.J. Lu --- Fixed for 2.36. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gas/26608] New: [2.36 Regression] The instruction is not recognized
https://sourceware.org/bugzilla/show_bug.cgi?id=26608 Bug ID: 26608 Summary: [2.36 Regression] The instruction is not recognized Product: binutils Version: 2.36 (HEAD) URL: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97035 Status: NEW Severity: normal Priority: P2 Component: gas Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- Target: csky-linux-gnuabiv2 GCC 10 generates: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97035 [hjl@gnu-skx-1 gas]$ cat /tmp/x.s fmtvrl vr0, a0 fmtvrl vr1, a2 fmuls vr0, vr0, vr0 fmuls vr1, vr1, vr0 fmfvrl a0, vr1 fmtvrl vr1, a0 [hjl@gnu-skx-1 gas]$ ./as-new -mhard-float -o /tmp/x.o /tmp/x.s /tmp/x.s: Assembler messages: /tmp/x.s:1: Error: The instruction is not recognized. /tmp/x.s:2: Error: The instruction is not recognized. /tmp/x.s:3: Error: The instruction is not recognized. /tmp/x.s:4: Error: The instruction is not recognized. /tmp/x.s:5: Error: The instruction is not recognized. /tmp/x.s:6: Error: The instruction is not recognized. [hjl@gnu-skx-1 gas]$ -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gas/26608] [2.36 Regression] The instruction is not recognized
https://sourceware.org/bugzilla/show_bug.cgi?id=26608 --- Comment #1 from H.J. Lu --- It is caused by 525a0aa301bb60cbd169c6ff6c83eb4d4c06be1f is the first bad commit commit 525a0aa301bb60cbd169c6ff6c83eb4d4c06be1f Author: Cooper Qu Date: Thu Sep 10 17:36:24 2020 +0800 CSKY: Add new arches while refine the cpu option process. -- You are receiving this mail because: You are on the CC list for the bug.