Deleted Added
full compact
rfork_thread.S (184547) rfork_thread.S (217106)
1/*-
2 * Copyright (c) 2000 Peter Wemm <peter@FreeBSD.org>
3 * Copyright (c) 2003 Alan L. Cox <alc@cs.rice.edu>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 12 unchanged lines hidden (view full) ---

21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 */
27
28#include <machine/asm.h>
1/*-
2 * Copyright (c) 2000 Peter Wemm <peter@FreeBSD.org>
3 * Copyright (c) 2003 Alan L. Cox <alc@cs.rice.edu>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 12 unchanged lines hidden (view full) ---

21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 */
27
28#include <machine/asm.h>
29__FBSDID("$FreeBSD: head/lib/libc/amd64/gen/rfork_thread.S 184547 2008-11-02 01:10:54Z peter $");
29__FBSDID("$FreeBSD: head/lib/libc/amd64/gen/rfork_thread.S 217106 2011-01-07 16:08:40Z kib $");
30
31/*
32 * With thanks to John Dyson for the original version of this.
33 */
34
35#include <SYS.h>
36
37/*

--- 57 unchanged lines hidden (view full) ---

95 popq %rbx
96#ifdef PIC
97 movq PIC_GOT(HIDENAME(cerror)), %rdx
98 jmp *%rdx
99#else
100 jmp HIDENAME(cerror)
101#endif
102END(rfork_thread)
30
31/*
32 * With thanks to John Dyson for the original version of this.
33 */
34
35#include <SYS.h>
36
37/*

--- 57 unchanged lines hidden (view full) ---

95 popq %rbx
96#ifdef PIC
97 movq PIC_GOT(HIDENAME(cerror)), %rdx
98 jmp *%rdx
99#else
100 jmp HIDENAME(cerror)
101#endif
102END(rfork_thread)
103
104 .section .note.GNU-stack,"",%progbits