Use __PIC__ instead of PIC.
This commit is contained in:
parent
5ef1c4a3c2
commit
9814bea9f3
|
@ -1,5 +1,5 @@
|
||||||
/* Mach thread state definitions for machine-independent code. MIPS version.
|
/* Mach thread state definitions for machine-independent code. MIPS version.
|
||||||
Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
#define MACHINE_THREAD_STATE_FLAVOR MIPS_THREAD_STATE
|
#define MACHINE_THREAD_STATE_FLAVOR MIPS_THREAD_STATE
|
||||||
#define MACHINE_THREAD_STATE_COUNT MIPS_THREAD_STATE_COUNT
|
#define MACHINE_THREAD_STATE_COUNT MIPS_THREAD_STATE_COUNT
|
||||||
|
|
||||||
#ifdef PIC
|
#ifdef __PIC__
|
||||||
#define MACHINE_THREAD_STATE_SET_PC(ts, pc) \
|
#define MACHINE_THREAD_STATE_SET_PC(ts, pc) \
|
||||||
((ts)->PC = (ts)->r25 = (unsigned long int) (pc))
|
((ts)->PC = (ts)->r25 = (unsigned long int) (pc))
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1992, 1995, 1997, 1999 Free Software Foundation, Inc.
|
/* Copyright (C) 1992,95,97,99,2000 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Brendan Kehoe (brendan@zen.org).
|
Contributed by Brendan Kehoe (brendan@zen.org).
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
/* Note that while it's better structurally, going back to call __syscall_error
|
/* Note that while it's better structurally, going back to call __syscall_error
|
||||||
can make things confusing if you're debugging---it looks like it's jumping
|
can make things confusing if you're debugging---it looks like it's jumping
|
||||||
backwards into the previous fn. */
|
backwards into the previous fn. */
|
||||||
#ifdef PIC
|
#ifdef __PIC__
|
||||||
#define PSEUDO(name, syscall_name, args) \
|
#define PSEUDO(name, syscall_name, args) \
|
||||||
.align 2; \
|
.align 2; \
|
||||||
99: la t9,__syscall_error; \
|
99: la t9,__syscall_error; \
|
||||||
|
|
Loading…
Reference in New Issue