diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2003-02-15 22:43:07 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2003-02-15 22:43:07 +0000 |
commit | 4a0dddfd01348e3c2a7f9b347673233797e055d7 (patch) | |
tree | 048606d86c48e9f44cc3f7e00a71e609ae221b49 /libexec/ld.so/powerpc/archdep.h | |
parent | 6c34c2c4c127669edb0ec50693e3493ce3c5f154 (diff) |
After relocation is completed, remove write protection from GOT/PLT in ld.so.
Diffstat (limited to 'libexec/ld.so/powerpc/archdep.h')
-rw-r--r-- | libexec/ld.so/powerpc/archdep.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/ld.so/powerpc/archdep.h b/libexec/ld.so/powerpc/archdep.h index cb367e4f3a8..433fd09da00 100644 --- a/libexec/ld.so/powerpc/archdep.h +++ b/libexec/ld.so/powerpc/archdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: archdep.h,v 1.10 2002/10/25 10:39:52 pefo Exp $ */ +/* $OpenBSD: archdep.h,v 1.11 2003/02/15 22:43:06 drahn Exp $ */ /* * Copyright (c) 1998 Per Fogelstrom, Opsycon AB @@ -104,4 +104,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) + #endif /* _POWERPC_ARCHDEP_H_ */ |