* emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable
authorAlan Modra <amodra@gmail.com>
Sun, 26 Sep 2004 23:42:30 +0000 (23:42 +0000)
committerAlan Modra <amodra@gmail.com>
Sun, 26 Sep 2004 23:42:30 +0000 (23:42 +0000)
--emit-stub-syms automatically when --emit-relocs.

ld/ChangeLog
ld/emultempl/ppc64elf.em

index 218a3046e248747d200b6a7dd2acb43d1958eccb..698b3ad12d880d5ad9a37e6b1db7b0a09c670458 100644 (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
index 094a4fb55ed4363d365b6c8b677600903962a901..8699a82c4a5c7dbdb3aa7ac519fe1bc8a3758fba 100644 (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");
This page took 0.026958 seconds and 4 git commands to generate.