aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-07-24 17:36:14 +0000
committerUlrich Drepper <drepper@redhat.com>2002-07-24 17:36:14 +0000
commit541ee341982f94660a1b6e2e1edd4b3a7bc694c2 (patch)
tree624e12f84a18a19870b400f895d07c5b193c7938 /sysdeps
parentb24fa78c3b52bd9414e4025fb01e33a1eae9f172 (diff)
downloadglibc-541ee341982f94660a1b6e2e1edd4b3a7bc694c2.tar
glibc-541ee341982f94660a1b6e2e1edd4b3a7bc694c2.tar.gz
glibc-541ee341982f94660a1b6e2e1edd4b3a7bc694c2.tar.bz2
glibc-541ee341982f94660a1b6e2e1edd4b3a7bc694c2.zip
Improve schedule.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/arm/brk.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/arm/brk.S b/sysdeps/unix/arm/brk.S
index c68fec6266..9e20dc6932 100644
--- a/sysdeps/unix/arm/brk.S
+++ b/sysdeps/unix/arm/brk.S
@@ -35,8 +35,8 @@ C_LABEL(__curbrk)
SYSCALL__ (brk, 1)
#ifdef PIC
ldr r1, 1f
- add r1, r1, pc
-2: ldr r2, _cb_addr
+ ldr r2, _cb_addr
+2: add r1, pc, r1
add r1, r1, r2
#else
ldr r1, _cb_addr
@@ -45,7 +45,7 @@ SYSCALL__ (brk, 1)
mov r0, $0
RETINSTR(mov, pc, r14)
#ifdef PIC
-1: .long _GLOBAL_OFFSET_TABLE_ - 2b - 4
+1: .long _GLOBAL_OFFSET_TABLE_ - 2b - 8
_cb_addr:
.long C_SYMBOL_NAME(__curbrk)(GOTOFF)
#else