* elf32-sparc.c (elf32_sparc_size_dynamic_sections): If there is

no .rela.plt section, don't output a DT_PLTGOT dynamic entry.
Handles the case of a shared library with no function calls.
This commit is contained in:
Ian Lance Taylor
1997-03-21 18:09:12 +00:00
parent 7aef7107a8
commit 0727fe1023
2 changed files with 25 additions and 9 deletions

View File

@ -1,3 +1,8 @@
Fri Mar 21 13:08:26 1997 Ian Lance Taylor <ian@cygnus.com>
* elf32-sparc.c (elf32_sparc_size_dynamic_sections): If there is
no .rela.plt section, don't output a DT_PLTGOT dynamic entry.
Thu Mar 20 12:39:02 1997 Ian Lance Taylor <ian@cygnus.com>
Based on patches from Philippe De Muyter <phdm@info.ucl.ac.be>.