mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
22b05d33b4
HPPA64 needs to add a DT_PHDR header for shared libs. That's fine when linking but shouldn't happen for strip/objcopy. Also PHDR must come first so there's no need to look at all program headers. bfd/ * elf64-hppa.c (elf64_hppa_modify_segment_map): Don't add PHDR for objcopy/strip or when a ld script specifies PHDRS. ld/ * testsuite/ld-elf/nobits-1.d: Remove xfail for hppa64. * testsuite/ld-elf/note-1.d: Likewise. * testsuite/ld-elf/note-2.d: Likewise.
9 lines
126 B
Makefile
9 lines
126 B
Makefile
#ld: -Tnote-1.t
|
|
#readelf: -l --wide
|
|
|
|
#...
|
|
Section to Segment mapping:
|
|
Segment Sections...
|
|
00 .foo
|
|
01 .note
|