diff options
author | 2013-04-18 21:06:40 +0000 | |
---|---|---|
committer | 2013-04-18 21:06:40 +0000 | |
commit | f0a5cb6e23c3317004bb71e46224b9ef9095d11d (patch) | |
tree | a9d19f27fab70940a9c658e79dbf85447f4318fd | |
parent | Lower boot blocks load address, so that they fit within 8MB. Step 1 of many (diff) | |
download | wireguard-openbsd-f0a5cb6e23c3317004bb71e46224b9ef9095d11d.tar.xz wireguard-openbsd-f0a5cb6e23c3317004bb71e46224b9ef9095d11d.zip |
Use __guard_local as the stack protector canary symbol, as already done in
gcc 4.
-rw-r--r-- | gnu/usr.bin/gcc/gcc/protector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/gcc/gcc/protector.c b/gnu/usr.bin/gcc/gcc/protector.c index 926e12257ca..9d50c47fdfd 100644 --- a/gnu/usr.bin/gcc/gcc/protector.c +++ b/gnu/usr.bin/gcc/gcc/protector.c @@ -867,7 +867,7 @@ rtl_prologue (insn) start_sequence (); - _guard = gen_rtx_MEM (GUARD_m, gen_rtx_SYMBOL_REF (Pmode, "__guard")); + _guard = gen_rtx_MEM (GUARD_m, gen_rtx_SYMBOL_REF (Pmode, "__guard_local")); emit_move_insn ( guard_area, _guard); _val = get_insns (); |