diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2016-05-30 05:18:53 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2016-05-30 05:18:53 +0000 |
commit | c233936b15f6409cc6a397e57b4fd32a2d3cd319 (patch) | |
tree | 8363a51e9fb031a1f13ed45cc7868fa711019f30 /lib/libc/arch/arm | |
parent | 07f6786e17050d35830f1392086c1cd7b631fb06 (diff) |
Consistently reference '_end' instead of 'end' in the brk/sbrk implementation
ok deraadt@
Diffstat (limited to 'lib/libc/arch/arm')
-rw-r--r-- | lib/libc/arch/arm/Symbols.list | 1 | ||||
-rw-r--r-- | lib/libc/arch/arm/sys/brk.S | 6 | ||||
-rw-r--r-- | lib/libc/arch/arm/sys/sbrk.S | 6 |
3 files changed, 6 insertions, 7 deletions
diff --git a/lib/libc/arch/arm/Symbols.list b/lib/libc/arch/arm/Symbols.list index 6a3b0adb18a..26b3ee1a5b1 100644 --- a/lib/libc/arch/arm/Symbols.list +++ b/lib/libc/arch/arm/Symbols.list @@ -66,7 +66,6 @@ _softfloat_float_rounding_mode _stack add64 add96 -end eq64 fabsl frexpl diff --git a/lib/libc/arch/arm/sys/brk.S b/lib/libc/arch/arm/sys/brk.S index 05b8831a97c..691264cf417 100644 --- a/lib/libc/arch/arm/sys/brk.S +++ b/lib/libc/arch/arm/sys/brk.S @@ -1,4 +1,4 @@ -/* $OpenBSD: brk.S,v 1.7 2015/09/10 13:29:09 guenther Exp $ */ +/* $OpenBSD: brk.S,v 1.8 2016/05/30 05:18:52 guenther Exp $ */ /* $NetBSD: brk.S,v 1.7 2003/12/26 11:23:44 martin Exp $ */ /*- @@ -34,14 +34,14 @@ #include "SYS.h" - .globl _C_LABEL(end) + .globl _C_LABEL(_end) .globl __curbrk .data .align 0 .type __minbrk,#object __minbrk: - .word _C_LABEL(end) + .word _C_LABEL(_end) END(__minbrk) .weak brk diff --git a/lib/libc/arch/arm/sys/sbrk.S b/lib/libc/arch/arm/sys/sbrk.S index ff38e508730..4c3e57668df 100644 --- a/lib/libc/arch/arm/sys/sbrk.S +++ b/lib/libc/arch/arm/sys/sbrk.S @@ -1,4 +1,4 @@ -/* $OpenBSD: sbrk.S,v 1.7 2015/09/10 13:29:09 guenther Exp $ */ +/* $OpenBSD: sbrk.S,v 1.8 2016/05/30 05:18:52 guenther Exp $ */ /* $NetBSD: sbrk.S,v 1.7 2003/08/07 16:42:05 agc Exp $ */ /*- @@ -34,7 +34,7 @@ #include "SYS.h" - .globl _C_LABEL(end) + .globl _C_LABEL(_end) .data .align 0 @@ -42,7 +42,7 @@ .type __curbrk,#object .hidden __curbrk __curbrk: - .word _C_LABEL(end) + .word _C_LABEL(_end) END(__curbrk) .weak sbrk |