diff options
author | Alan Modra <amodra@gmail.com> | 2004-09-26 23:42:30 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-09-26 23:42:30 +0000 |
commit | a23d8409ecd8c7db53d341d61f534a8d5af1edc1 (patch) | |
tree | 3c300f007499b0589f0a66b1631c96106d43abaf /ld | |
parent | 36f391e8468841ecac893dcf60ddbc359fd28962 (diff) | |
download | gdb-a23d8409ecd8c7db53d341d61f534a8d5af1edc1.zip gdb-a23d8409ecd8c7db53d341d61f534a8d5af1edc1.tar.gz gdb-a23d8409ecd8c7db53d341d61f534a8d5af1edc1.tar.bz2 |
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable
--emit-stub-syms automatically when --emit-relocs.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/emultempl/ppc64elf.em | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 218a304..698b3ad 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2004-09-27 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable + --emit-stub-syms automatically when --emit-relocs. + 2004-09-24 Paul Brook <paul@codeosurcery.com> * scripttempl/elf.sc: Keep .preinit_array, .init_array and diff --git a/ld/emultempl/ppc64elf.em b/ld/emultempl/ppc64elf.em index 094a4fb..8699a82 100644 --- a/ld/emultempl/ppc64elf.em +++ b/ld/emultempl/ppc64elf.em @@ -368,6 +368,7 @@ gld${EMULATION_NAME}_finish (void) char *msg = NULL; char *line, *endline; + emit_stub_syms |= link_info.emitrelocations; if (!ppc64_elf_build_stubs (emit_stub_syms, &link_info, config.stats ? &msg : NULL)) einfo ("%X%P: can not build stubs: %E\n"); |