diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2017-01-09 22:51:05 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2017-01-09 22:51:05 +0000 |
commit | 91602f733fc8f36bc58a964d8d49479b01293aeb (patch) | |
tree | 4a8a0721223a481bea0b743b9ca2e37191945265 /libexec/ld.so/m88k | |
parent | 78cdd75ca94c869a8296979fb9d2d95913aafa3e (diff) |
Remove dependency on __got_{start,end} symbols and look at PT_GNU_RELRO
instead. Result in a few more pages that aren't writable on some platforms
(such as hppa). Based on an initial diff from guenther@.
Thanks to deraadt@ for testing.
ok guenther@
Diffstat (limited to 'libexec/ld.so/m88k')
-rw-r--r-- | libexec/ld.so/m88k/archdep.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libexec/ld.so/m88k/archdep.h b/libexec/ld.so/m88k/archdep.h index f55aa46bee9..40ae479b97b 100644 --- a/libexec/ld.so/m88k/archdep.h +++ b/libexec/ld.so/m88k/archdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: archdep.h,v 1.2 2015/12/06 23:36:12 guenther Exp $ */ +/* $OpenBSD: archdep.h,v 1.3 2017/01/09 22:51:04 kettenis Exp $ */ /* * Copyright (c) 1998 Per Fogelstrom, Opsycon AB @@ -62,6 +62,4 @@ RELOC_DYN(Elf32_Rela *r, const Elf32_Sym *s, Elf32_Addr *p, unsigned long v) #define RELOC_GOT(obj, offs) do { } while (0) -#define GOT_PERMS PROT_READ - #endif /* _M88K_ARCHDEP_H_ */ |