diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-09-19 20:16:26 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-09-19 20:16:26 +0000 |
commit | 8399bf044329273ba9c1283800a8d5b059571625 (patch) | |
tree | bcc21b1ba2737698eb39b3076ecf2b0ad503e116 /libexec/ld.so/powerpc | |
parent | a2f83ef51654bb8bf88b0d55c5978c3d7c58838c (diff) |
Remove PROT_EXEC bit from GOT_PERMS. ld.so doesn't need it anymore, and
rcrt0.o will add it for BSS-PLT binaries if necessary.
ok guenther@
Diffstat (limited to 'libexec/ld.so/powerpc')
-rw-r--r-- | libexec/ld.so/powerpc/archdep.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/powerpc/archdep.h b/libexec/ld.so/powerpc/archdep.h index 8e9733a5af0..caa1c944336 100644 --- a/libexec/ld.so/powerpc/archdep.h +++ b/libexec/ld.so/powerpc/archdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: archdep.h,v 1.16 2014/11/03 17:50:56 guenther Exp $ */ +/* $OpenBSD: archdep.h,v 1.17 2015/09/19 20:16:25 kettenis Exp $ */ /* * Copyright (c) 1998 Per Fogelstrom, Opsycon AB @@ -93,6 +93,6 @@ RELOC_RELA(Elf32_Rela *r, const Elf32_Sym *s, Elf32_Addr *p, unsigned long v, #define RELOC_GOT(obj, offs) -#define GOT_PERMS (PROT_READ|PROT_EXEC) +#define GOT_PERMS PROT_READ #endif /* _POWERPC_ARCHDEP_H_ */ |