+2005-07-04 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
+
+ * elf32-m32r.c (m32r_elf_size_dynamic_sections): Use
+ info->executable instead of !info->shared where appropriate.
+
2005-07-04 Alan Modra <amodra@bigpond.net.au>
PR 1042
if (htab->root.dynamic_sections_created)
{
/* Set the contents of the .interp section to the interpreter. */
- if (! info->shared)
+ if (info->executable)
{
s = bfd_get_section_by_name (dynobj, ".interp");
BFD_ASSERT (s != NULL);
#define add_dynamic_entry(TAG, VAL) \
_bfd_elf_add_dynamic_entry (info, TAG, VAL)
- if (! info->shared)
+ if (info->executable)
{
if (! add_dynamic_entry (DT_DEBUG, 0))
return FALSE;
+2005-07-04 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
+
+ * emulparams/m32relf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.
+
2005-07-04 Aurelien Jarno <aurel32@debian.org>
* emultempl/elf32.em: Enable use of ld.so.conf for *-*-k*bsd-*.
# top of simulator memory (32MB).
OTHER_RELOCATING_SECTIONS='PROVIDE (_stack = 0x2000000);'
GENERATE_SHLIB_SCRIPT=yes
+GENERATE_PIE_SCRIPT=yes