diff options
Diffstat (limited to 'ld/emultempl/ppc64elf.em')
-rw-r--r-- | ld/emultempl/ppc64elf.em | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/emultempl/ppc64elf.em b/ld/emultempl/ppc64elf.em index 7e52434..27b20ce 100644 --- a/ld/emultempl/ppc64elf.em +++ b/ld/emultempl/ppc64elf.em @@ -47,6 +47,11 @@ gld${EMULATION_NAME}_after_allocation () static void gld${EMULATION_NAME}_finish () { + /* e_entry on PowerPC64 points to the function descriptor for + _start. If _start is missing, default to the first function + descriptor in the .opd section. */ + entry_section = ".opd"; + /* If generating a relocatable output file, then we don't have any stubs. */ if (link_info.relocateable) |