This is the mail archive of the binutils@sourceware.cygnus.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]

Re: Bug in ARM linker...


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]