This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH, COMMIT]: Clarify description of ! character in MEMORY region attributes
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sourceware dot org
- Date: Tue, 31 Aug 2010 11:24:43 +0100
- Subject: [PATCH, COMMIT]: Clarify description of ! character in MEMORY region attributes
Hi Guys,
I am checking in the patch below to clarify the description of the !
character in MEMORY region attributes. When I read the original
version I thought that it meant that the ! character had to be placed
after the characters that it was inverting, as in:
MEMORY { readonly (W!) : org = 0, len = 200 }
whereas the text was actually referring to the previous entries in the
table in the documentation. So I have reworded the description to
what I feel is a clearer explanation. Reading this version I would
now construct the above region as:
MEMORY { readonly (!W) : org = 0, len = 200 }
Which is the correct specification.
Cheers
Nick
ld/ChangeLog
2010-08-31 Nick Clifton <nickc@redhat.com>
* ld.texinfo (MEMORY): Clarify the behaviour of the ! character in
a region's attributes.
Index: ld/ld.texinfo
===================================================================
RCS file: /cvs/src/src/ld/ld.texinfo,v
retrieving revision 1.262
diff -c -3 -p -r1.262 ld.texinfo
*** ld/ld.texinfo 19 Aug 2010 05:51:49 -0000 1.262
--- ld/ld.texinfo 31 Aug 2010 10:16:47 -0000
*************** Initialized section
*** 4643,4649 ****
@item L
Same as @samp{I}
@item !
! Invert the sense of any of the preceding attributes
@end table
If a unmapped section matches any of the listed attributes other than
--- 4643,4649 ----
@item L
Same as @samp{I}
@item !
! Invert the sense of any of the attributes that follow
@end table
If a unmapped section matches any of the listed attributes other than