From a23d8409ecd8c7db53d341d61f534a8d5af1edc1 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sun, 26 Sep 2004 23:42:30 +0000 Subject: [PATCH] * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable --emit-stub-syms automatically when --emit-relocs. --- ld/ChangeLog | 5 +++++ ld/emultempl/ppc64elf.em | 1 + 2 files changed, 6 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index 218a3046e24..698b3ad12d8 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2004-09-27 Alan Modra + + * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable + --emit-stub-syms automatically when --emit-relocs. + 2004-09-24 Paul Brook * scripttempl/elf.sc: Keep .preinit_array, .init_array and diff --git a/ld/emultempl/ppc64elf.em b/ld/emultempl/ppc64elf.em index 094a4fb55ed..8699a82c4a5 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"); -- 2.30.2