This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On Fri, May 28, 2004 at 10:56:09AM -0400, Daniel Jacobowitz wrote:I don't know why DT_TEXTREL isn't there for this case. It should be.
Perhaps because elf32-arm.h doesn't have something like readonly_dynrelocs as implemented in other backends.
Attachment:
binutils-2.15-elf32-arm-textrel.patch
Description: Binary data
if ((info->flags & DF_TEXTREL) != 0)
{
if (!add_dynamic_entry (DT_TEXTREL, 0))
return FALSE;
info->flags |= DF_TEXTREL;
} /* If any dynamic relocs apply to a read-only section,
then we need a DT_TEXTREL entry. */
if ((info->flags & DF_TEXTREL) == 0)
elf_link_hash_traverse (&htab->elf, readonly_dynrelocs,
(PTR) info); if ((info->flags & DF_TEXTREL) != 0)
{
if (!add_dynamic_entry (DT_TEXTREL, 0))
return FALSE;
}
}-- David Poole <dpoole _at_ mobl.com> Mobility Electronics, Idaho http://www.mobl.com 960 Broadway Avenue, Suite 300 Boise, ID 83706
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |