diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2013-12-30 10:30:39 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2013-12-30 10:30:39 +0000 |
commit | ac96ee281526243d3d946cf27a78f34571c65864 (patch) | |
tree | ad814fccf771d02a02f8908276f1a2f4c2904fd5 /gnu/usr.bin/binutils-2.17/ld | |
parent | 685db9b83a228d813868ee98eabfc97c66f24666 (diff) |
Recognize PT_OPENBSD_RANDOMIZE in linker scripts.
ok miod@, matthew@
Diffstat (limited to 'gnu/usr.bin/binutils-2.17/ld')
-rw-r--r-- | gnu/usr.bin/binutils-2.17/ld/ldgram.y | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils-2.17/ld/ldgram.y b/gnu/usr.bin/binutils-2.17/ld/ldgram.y index 3829e6ae00a..890b64dfcdb 100644 --- a/gnu/usr.bin/binutils-2.17/ld/ldgram.y +++ b/gnu/usr.bin/binutils-2.17/ld/ldgram.y @@ -1089,6 +1089,8 @@ phdr_type: $$ = exp_intop (0x6474e550); else if (strcmp (s, "PT_GNU_STACK") == 0) $$ = exp_intop (0x6474e551); + else if (strcmp (s, "PT_OPENBSD_RANDOMIZE") == 0) + $$ = exp_intop (0x65a3dbe6); else { einfo (_("\ |