This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Bug in ARM linker...
- To: scottb at netwinder dot org
- Subject: Re: Bug in ARM linker...
- From: Nick Clifton <nickc at cygnus dot com>
- Date: Thu, 25 Nov 1999 11:52:36 GMT
- CC: ian at zembu dot com, pb at nexus dot co dot uk, patb at corel dot ca, binutils at sourceware dot cygnus dot com
Hi Scott,
: Thanks for the patch. I tried it and it solves the problem. Should you
: make a similar change in coff-arm.c as well?
Yes :-)
: I have attached a patch that incorporates yours and adds a warning when
: the DT_TEXTREL tag is added to the dynamic segment.
: From: Ian Lance Taylor <ian@zembu.com>
:
: I think any warning should be generic, not ARM specific, and I think
: the warning should be controlled by a command line option such as the
: Solaris -assert pure-text option.
I'll leave this for you two to sort out. I have checked in the patch
to elf32-arm.h anc coff-arm.c to add the SEC_CODE and SEC_READONLY
attributes to the glue sections.
Cheers
Nick