This website requires JavaScript.
Explore
Help
Sign In
mirror
/
binutils-gdb
Watch
2
Star
0
Fork
0
You've already forked binutils-gdb
mirror of
https://sourceware.org/git/binutils-gdb.git
synced
2024-12-27 04:52:05 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
6cb22d4a8e
binutils-gdb
/
ld
/
testsuite
/
ld-elf
/
pr26094-1b.c
7 lines
60 B
C
Raw
Normal View
History
Unescape
Escape
ELF: Properly handle section symbols When defining the section symbol, __start_FOO, for the section FOO: 1. Treat the common symbol, __start_FOO, in input object file as definition. 2. Clear verinfo.verdef. bfd/ PR ld/26094 * elflink.c (bfd_elf_define_start_stop): Handle common symbols. Clear verinfo.verdef. ld/ PR ld/26094 * testsuite/ld-elf/pr26094-1.ver: New fike. * testsuite/ld-elf/pr26094-1a.c: Likewise. * testsuite/ld-elf/pr26094-1a.rd: Likewise. * testsuite/ld-elf/pr26094-1b.c: Likewise. * testsuite/ld-elf/pr26094-1b.rd: Likewise. * testsuite/ld-elf/pr26094-1c.c: Likewise. * testsuite/ld-elf/shared.exp: Run ld/26094 tests.
2020-06-10 20:31:19 +08:00
extern
void
*
foo
(
)
;
Fix a compile time warning in the linker testsuite when compiling using clang. * testsuite/ld-elf/pr26094-1b.c (main): Change return type to int.
2020-06-11 16:27:41 +08:00
int
main
(
void
)
ELF: Properly handle section symbols When defining the section symbol, __start_FOO, for the section FOO: 1. Treat the common symbol, __start_FOO, in input object file as definition. 2. Clear verinfo.verdef. bfd/ PR ld/26094 * elflink.c (bfd_elf_define_start_stop): Handle common symbols. Clear verinfo.verdef. ld/ PR ld/26094 * testsuite/ld-elf/pr26094-1.ver: New fike. * testsuite/ld-elf/pr26094-1a.c: Likewise. * testsuite/ld-elf/pr26094-1a.rd: Likewise. * testsuite/ld-elf/pr26094-1b.c: Likewise. * testsuite/ld-elf/pr26094-1b.rd: Likewise. * testsuite/ld-elf/pr26094-1c.c: Likewise. * testsuite/ld-elf/shared.exp: Run ld/26094 tests.
2020-06-10 20:31:19 +08:00
{
Fix a compile time warning in the linker testsuite when compiling using clang. * testsuite/ld-elf/pr26094-1b.c (main): Change return type to int.
2020-06-11 16:27:41 +08:00
foo
(
)
;
return
0
;
}
Reference in New Issue
Copy Permalink