This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: linker functionality
- To: Timothy Wall <twall at cygnus dot com>
- Subject: Re: linker functionality
- From: Ian Lance Taylor <ian at zembu dot com>
- Date: 26 Feb 2001 00:03:18 -0800
- Cc: binutils at sources dot redhat dot com
- References: <3A9A0B0A.CE8C2599@cygnus.com>
Timothy Wall <twall@cygnus.com> writes:
> I'm planning to add a target-specific patch to the linker to (minimally)
> emit a warning when relocations are found in read-only (lit shared)
> sections (since they're not supported by the target). Is there any
> comparable functionality already existing that I should be aware of?
You should be aware of the `-assert pure-text' option used on SunOS
and the `-z text' option used on Solaris. This would appear to have a
similar meaning to what you describe, but are currently ignore by the
GNU linker. If they are indeed what you describe, then I suggest
implementing them, rather than adding a new option.
Ian