* emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable

--emit-stub-syms automatically when --emit-relocs.
This commit is contained in:
Alan Modra 2004-09-26 23:42:30 +00:00
parent 36f391e846
commit a23d8409ec
2 changed files with 6 additions and 0 deletions

View file

@ -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

View file

@ -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");