This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] PT_GNU_STACK
On Thursday 29 May 2003 11:58 am, H. J. Lu wrote:
>
> Please noted that. I'd like to propose a generic note section to
> describe unique properties of a relocatable file:
>
> http://sources.redhat.com/ml/binutils/2003-05/msg00750.html
>
<quote>
> Please make it a generic solution for a generic problem. I have cases
> that each psABI may want to do things differrently. I suggest a generic
> node section:
>
> .section .note,".note-ABI-tag"
> .align 2
> data4 .L1 - .L0
> data4 .L3 - .L2
> data4 1
</quote>
Did you intend that as a sentinal for a "read sizes until '1'" list of note
entries?
If so, note (no pun intended) - ' stringz "" ' would break that read early.
Perhaps another value for the sentinal would be a good idea.
Or, make it a "two entry only" note and take out the sentinal.
</quote>
> .L0:
> stringz "Compiler vendor"
> .L1:
> .align 2
> .L2:
> data4 ABI flags
> .L3:
> .align 2>
>
>
> The linker provides a generic routine to process it. Each psABI can add
> additional bits to ABI flags and decide how to process them.
</guote>
Mike