bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/23882] Documentation: LD: MEMORY command: clarification


From: nickc at redhat dot com
Subject: [Bug ld/23882] Documentation: LD: MEMORY command: clarification
Date: Thu, 15 Nov 2018 12:13:23 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=23882

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2018-11-15
                 CC|                            |nickc at redhat dot com
     Ever confirmed|0                           |1

--- Comment #1 from Nick Clifton <nickc at redhat dot com> ---
Hi Elias,

(In reply to Elias Benali from comment #0)

I like the patch, but I think that it is not quite right, since it is possible
to combine both match- and do-not-match attributes in the same memory region
specification.  What do you think of this revised wording:

   If an unmapped section matches any of the listed attributes other 
   than '!', it will be placed in the memory region.  The '!'
   attribute reverses the test for the characters that follow, so that 
   an unmapped section will be placed in the memory region only if it 
   does not match any of the attributes listed afterwards.  Thus an 
   attribute string of 'RW!X' will match any unmapped section that has 
   either or both of the 'R' and 'W' attributes, but only as long as
  the section does not also have the 'X' attribute.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]