This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: SDAREL output sections
>>>>> "Geoff" == Geoff Keating <geoffk@geoffk.org> writes:
>> Cc: binutils@sourceware.cygnus.com
>> From: Momchil Velikov <velco@fadata.bg>
>> Date: 19 Feb 2001 00:50:26 +0200
>>
>> Well, then, how about changing the checks to test the input section
>> instead of the output one and letting the linker report relocation
>> overflows if the input section is inappropriately output ?
Geoff> Because this would prevent people from overriding the test by folding,
Geoff> say, the .data section into .sdata.
The test, as it stands now, prevents people (well, me) from folding the
.sdata section into .data.
Regards,
-velco