]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/ChangeLog
PR27451, -z start_stop_gc for powerpc64
authorAlan Modra <amodra@gmail.com>
Tue, 2 Mar 2021 10:55:20 +0000 (21:25 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 2 Mar 2021 11:19:56 +0000 (21:49 +1030)
commitb80e421f9136117389be9d96210b35b3d562d725
tree218091e1eab9d0be37a1b4bf1d7488c037a9412e
parentf5b9c288a3057f0f04e74f00fdb0e79d171d54a8
PR27451, -z start_stop_gc for powerpc64

PowerPC64 has its own gc_mark_dynamic_ref.

bfd/
PR 27451
* elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Ignore synthesized
linker defined start/stop symbols when start_stop_gc.
ld/
* testsuite/ld-powerpc/startstop.d,
* testsuite/ld-powerpc/startstop.r,
* testsuite/ld-powerpc/startstop.s: New test.
* testsuite/ld-powerpc/powerpc.exp: Run it.
bfd/ChangeLog
bfd/elf64-ppc.c
ld/ChangeLog
ld/testsuite/ld-powerpc/powerpc.exp
ld/testsuite/ld-powerpc/startstop.d [new file with mode: 0644]
ld/testsuite/ld-powerpc/startstop.r [new file with mode: 0644]
ld/testsuite/ld-powerpc/startstop.s [new file with mode: 0644]