diff options
author | Ulrich Drepper <drepper@gmail.com> | 2012-01-08 00:45:01 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2012-01-08 00:45:01 -0500 |
commit | a0da5fe1e49b819b4d90b77915e21cddd397d064 (patch) | |
tree | e1f1c0660ab131287cfcc0f64065b946715d06b1 /sysdeps/unix/sparc | |
parent | a784e502472fb3a1afa4d01a47c66b52d23e00f6 (diff) | |
download | glibc-a0da5fe1e49b819b4d90b77915e21cddd397d064.zip glibc-a0da5fe1e49b819b4d90b77915e21cddd397d064.tar.gz glibc-a0da5fe1e49b819b4d90b77915e21cddd397d064.tar.bz2 |
More fallout from supporting only ELF
Diffstat (limited to 'sysdeps/unix/sparc')
-rw-r--r-- | sysdeps/unix/sparc/start.c | 4 | ||||
-rw-r--r-- | sysdeps/unix/sparc/sysdep.S | 7 | ||||
-rw-r--r-- | sysdeps/unix/sparc/sysdep.h | 2 |
3 files changed, 2 insertions, 11 deletions
diff --git a/sysdeps/unix/sparc/start.c b/sysdeps/unix/sparc/start.c index a664189..6efe696 100644 --- a/sysdeps/unix/sparc/start.c +++ b/sysdeps/unix/sparc/start.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991,92,93,94,95,96,97,2004 Free Software Foundation, Inc. +/* Copyright (C) 1991-1997,2004,2012 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 @@ -52,9 +52,7 @@ /* The first piece of initialized data. */ int __data_start = 0; -#ifdef HAVE_WEAK_SYMBOLS weak_alias (__data_start, data_start) -#endif extern void __libc_init (int argc, char **argv, char **envp) __THROW; extern int main (int argc, char **argv, char **envp) __THROW; diff --git a/sysdeps/unix/sparc/sysdep.S b/sysdeps/unix/sparc/sysdep.S index 7e2e4d4..5a29275 100644 --- a/sysdeps/unix/sparc/sysdep.S +++ b/sysdeps/unix/sparc/sysdep.S @@ -1,4 +1,4 @@ -/* Copyright (C) 1994, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1994, 1997, 2012 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 @@ -25,12 +25,7 @@ .text .align 2 -#undef syscall_error -#ifdef NO_UNDERSCORES __syscall_error: -#else -syscall_error: -#endif #if defined (EWOULDBLOCK_sys) && EWOULDBLOCK_sys != EAGAIN /* We translate the system's EWOULDBLOCK error into EAGAIN. The GNU C library always defines EWOULDBLOCK==EAGAIN. diff --git a/sysdeps/unix/sparc/sysdep.h b/sysdeps/unix/sparc/sysdep.h index fbfb74c..f83b1c7 100644 --- a/sysdeps/unix/sparc/sysdep.h +++ b/sysdeps/unix/sparc/sysdep.h @@ -22,12 +22,10 @@ #ifdef __ASSEMBLER__ -#ifdef NO_UNDERSCORES /* Since C identifiers are not normally prefixed with an underscore on this system, the asm identifier `syscall_error' intrudes on the C name space. Make sure we use an innocuous name. */ #define syscall_error C_SYMBOL_NAME(__syscall_error) -#endif #ifdef PIC #define SETUP_PIC_REG(reg, tmp) \ |