* elf32-hppa.c (elf32_hppa_size_dynamic_sections): Use info->executable
instead of !info->shared.
This commit is contained in:
parent
ef98136453
commit
3c27d5511c
@ -1,3 +1,8 @@
|
||||
2005-12-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||
|
||||
* elf32-hppa.c (elf32_hppa_size_dynamic_sections): Use info->executable
|
||||
instead of !info->shared.
|
||||
|
||||
2005-12-27 Jan-Benedict Glaw <jbglaw@lug-owl.de>
|
||||
|
||||
* vaxlinux.h: New file. (TRAD_CORE_EXTRA_SIZE_ALLOWED): Define.
|
||||
|
@ -2347,7 +2347,7 @@ elf32_hppa_size_dynamic_sections (bfd *output_bfd ATTRIBUTE_UNUSED,
|
||||
must add the entries now so that we get the correct size for
|
||||
the .dynamic section. The DT_DEBUG entry is filled in by the
|
||||
dynamic linker and used by the debugger. */
|
||||
if (!info->shared)
|
||||
if (info->executable)
|
||||
{
|
||||
if (!add_dynamic_entry (DT_DEBUG, 0))
|
||||
return FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user