Deleted Added
full compact
asm.h (171914) asm.h (254463)
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * William Jolitz.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * from: @(#)DEFS.h 5.1 (Berkeley) 4/23/90
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * William Jolitz.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * from: @(#)DEFS.h 5.1 (Berkeley) 4/23/90
33 * $FreeBSD: head/sys/amd64/include/asm.h 171914 2007-08-22 04:26:07Z jkoshy $
33 * $FreeBSD: head/sys/amd64/include/asm.h 254463 2013-08-17 19:24:58Z jilles $
34 */
35
36#ifndef _MACHINE_ASM_H_
37#define _MACHINE_ASM_H_
38
39#include <sys/cdefs.h>
40
41#ifdef PIC
42#define PIC_PLT(x) x@PLT
43#define PIC_GOT(x) x@GOTPCREL(%rip)
44#else
45#define PIC_PLT(x) x
34 */
35
36#ifndef _MACHINE_ASM_H_
37#define _MACHINE_ASM_H_
38
39#include <sys/cdefs.h>
40
41#ifdef PIC
42#define PIC_PLT(x) x@PLT
43#define PIC_GOT(x) x@GOTPCREL(%rip)
44#else
45#define PIC_PLT(x) x
46#define PIC_GOT(x) x
47#endif
48
49/*
50 * CNAME and HIDENAME manage the relationship between symbol names in C
51 * and the equivalent assembly language names. CNAME is given a name as
52 * it would be used in a C program. It expands to the equivalent assembly
53 * language name. HIDENAME is given an assembly-language name, and expands
54 * to a possibly-modified form that will be invisible to C programs.

--- 37 unchanged lines hidden ---
46#endif
47
48/*
49 * CNAME and HIDENAME manage the relationship between symbol names in C
50 * and the equivalent assembly language names. CNAME is given a name as
51 * it would be used in a C program. It expands to the equivalent assembly
52 * language name. HIDENAME is given an assembly-language name, and expands
53 * to a possibly-modified form that will be invisible to C programs.

--- 37 unchanged lines hidden ---