outmacho: fix the .rodata -> __TEXT,__const mapping
commit085a4a9f98861ed904b37dee1e4c7906a1bc0929
authorH. Peter Anvin <hpa@linux.intel.com>
Wed, 17 Feb 2016 02:04:39 +0000 (16 18:04 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 17 Feb 2016 02:04:39 +0000 (16 18:04 -0800)
treecf3522146864b1d01dc6ed240a3f72f9b571956e
parent82a3082d643e2bf8da91bb178fa639eb494be4d6
outmacho: fix the .rodata -> __TEXT,__const mapping

For the mapping of .rodata to __TEXT,__const in the absence of
relocations, it would help if we changed the segment name *before* we
emit that part of the load command.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
output/outmacho.c