mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-09 04:11:27 +08:00
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.
|
||||
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.
|
||||
|
||||
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_COUNT MIPS_THREAD_STATE_COUNT
|
||||
|
||||
#ifdef PIC
|
||||
#ifdef __PIC__
|
||||
#define MACHINE_THREAD_STATE_SET_PC(ts, pc) \
|
||||
((ts)->PC = (ts)->r25 = (unsigned long int) (pc))
|
||||
#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.
|
||||
Contributed by Brendan Kehoe (brendan@zen.org).
|
||||
|
||||
@ -32,7 +32,7 @@
|
||||
/* 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
|
||||
backwards into the previous fn. */
|
||||
#ifdef PIC
|
||||
#ifdef __PIC__
|
||||
#define PSEUDO(name, syscall_name, args) \
|
||||
.align 2; \
|
||||
99: la t9,__syscall_error; \
|
||||
|
Loading…
Reference in New Issue
Block a user