41c41
< __FBSDID("$FreeBSD: head/lib/libc/amd64/sys/sbrk.S 114313 2003-04-30 18:16:33Z peter $");
---
> __FBSDID("$FreeBSD: head/lib/libc/amd64/sys/sbrk.S 115279 2003-05-24 17:35:23Z peter $");
57c57,62
< movq PIC_GOT(HIDENAME(curbrk)),%rax
---
> #ifdef PIC
> movq PIC_GOT(HIDENAME(curbrk)),%rdx
> movq (%rdx),%rax
> #else
> movq HIDENAME(curbrk)(%rip),%rax
> #endif
64c69,74
< movq PIC_GOT(HIDENAME(curbrk)),%rax
---
> #ifdef PIC
> movq PIC_GOT(HIDENAME(curbrk)),%rdx
> movq (%rdx),%rax
> #else
> movq HIDENAME(curbrk)(%rip),%rax
> #endif
66c76,80
< addq %rcx,PIC_GOT(HIDENAME(curbrk))
---
> #ifdef PIC
> addq %rcx,(%rdx)
> #else
> addq %rcx,HIDENAME(curbrk)(%rip)
> #endif
72c86,91
< jmp PIC_PLT(HIDENAME(cerror))
---
> #ifdef PIC
> movq PIC_GOT(HIDENAME(cerror)),%rdx
> jmp *%rdx
> #else
> jmp HIDENAME(cerror)
> #endif
< __FBSDID("$FreeBSD: head/lib/libc/amd64/sys/sbrk.S 114313 2003-04-30 18:16:33Z peter $");
---
> __FBSDID("$FreeBSD: head/lib/libc/amd64/sys/sbrk.S 115279 2003-05-24 17:35:23Z peter $");
57c57,62
< movq PIC_GOT(HIDENAME(curbrk)),%rax
---
> #ifdef PIC
> movq PIC_GOT(HIDENAME(curbrk)),%rdx
> movq (%rdx),%rax
> #else
> movq HIDENAME(curbrk)(%rip),%rax
> #endif
64c69,74
< movq PIC_GOT(HIDENAME(curbrk)),%rax
---
> #ifdef PIC
> movq PIC_GOT(HIDENAME(curbrk)),%rdx
> movq (%rdx),%rax
> #else
> movq HIDENAME(curbrk)(%rip),%rax
> #endif
66c76,80
< addq %rcx,PIC_GOT(HIDENAME(curbrk))
---
> #ifdef PIC
> addq %rcx,(%rdx)
> #else
> addq %rcx,HIDENAME(curbrk)(%rip)
> #endif
72c86,91
< jmp PIC_PLT(HIDENAME(cerror))
---
> #ifdef PIC
> movq PIC_GOT(HIDENAME(cerror)),%rdx
> jmp *%rdx
> #else
> jmp HIDENAME(cerror)
> #endif