Use SHARED instead of PIC.

This commit is contained in:
Ulrich Drepper 2000-03-31 05:44:27 +00:00
parent 0772663d31
commit 73a35fc451
3 changed files with 6 additions and 6 deletions

View File

@ -39,7 +39,7 @@ init (int *data)
__getopt_clean_environment (envp); __getopt_clean_environment (envp);
} }
#ifdef PIC #ifdef SHARED
/* This function is called to initialize the shared C library. /* This function is called to initialize the shared C library.
It is called just before the user _start code from i386/elf/start.S, It is called just before the user _start code from i386/elf/start.S,
with the stack set up as that code gets it. */ with the stack set up as that code gets it. */
@ -63,7 +63,7 @@ _init (int argc, ...)
void void
__libc_init_first (int argc __attribute__ ((unused)), ...) __libc_init_first (int argc __attribute__ ((unused)), ...)
{ {
#ifndef PIC #ifndef SHARED
init (&argc); init (&argc);
#endif #endif
} }

View File

@ -34,7 +34,7 @@ init (int *data)
__libc_init (argc, argv, envp); __libc_init (argc, argv, envp);
} }
#ifdef PIC #ifdef SHARED
/* This function is called to initialize the shared C library. /* This function is called to initialize the shared C library.
It is called just before the user _start code from mips/elf/start.S, It is called just before the user _start code from mips/elf/start.S,
with the stack set up as that code gets it. */ with the stack set up as that code gets it. */
@ -58,7 +58,7 @@ _init (int argc, ...)
void void
__libc_init_first (int argc __attribute__ ((unused)), ...) __libc_init_first (int argc __attribute__ ((unused)), ...)
{ {
#ifndef PIC #ifndef SHARED
init (&argc); init (&argc);
#endif #endif
} }

View File

@ -1,5 +1,5 @@
/* Machine-specific calling sequence for `mcount' profiling function. MIPS /* Machine-specific calling sequence for `mcount' profiling function. MIPS
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
@ -21,7 +21,7 @@
/* Call __mcount with our the return PC for our caller, /* Call __mcount with our the return PC for our caller,
and the return PC our caller will return to. */ and the return PC our caller will return to. */
#ifdef PIC #ifdef __PIC__
#define CPLOAD ".cpload $25;" #define CPLOAD ".cpload $25;"
#else #else
#define CPLOAD #define CPLOAD