Skip to content

Commit

Permalink
* sysdeps/sparc/sparc32/elf/start.S: Remove cfi_* markup.
Browse files Browse the repository at this point in the history
* sysdeps/sparc/sparc64/elf/start.S: Likewise. 
* sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start): Likewise. 
* sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start): Likewise.
	* sysdeps/sparc/sparc32/elf/start.S: Remove cfi_* markup.
	* sysdeps/sparc/sparc64/elf/start.S: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start): Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start): Likewise.
  • Loading branch information
Jakub Jelinek committed Sep 18, 2007
1 parent b90395e commit 0068056
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 18 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
2007-09-18 Jakub Jelinek <jakub@redhat.com>

* sysdeps/sparc/sparc32/elf/start.S: Remove cfi_* markup.
* sysdeps/sparc/sparc64/elf/start.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start): Likewise.

* sysdeps/generic/ldsodefs.h (DL_LOOKUP_GSCOPE_LOCK): New definition.
* elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Or in
DL_LOOKUP_GSCOPE_LOCK into flags after THREAD_GSCOPE_SET_FLAG ().
Expand Down
7 changes: 1 addition & 6 deletions sysdeps/sparc/sparc32/elf/start.S
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Startup code for elf32-sparc
Copyright (C) 1997, 1998, 2002, 2004 Free Software Foundation, Inc.
Copyright (C) 1997, 1998, 2002, 2004, 2007 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Richard Henderson <richard@gnu.ai.mit.edu>, 1997.
Expand Down Expand Up @@ -48,8 +48,6 @@
.global _start
.type _start,#function
_start:
cfi_startproc

#ifdef SHARED
sethi %hi(_GLOBAL_OFFSET_TABLE_-4), %l7
call .LLGETPC0
Expand All @@ -60,7 +58,6 @@ _start:
drop their arguments. */
mov %g0, %fp
sub %sp, 6*4, %sp
cfi_adjust_cfa_offset(6*4)

/* Extract the arguments and environment as encoded on the stack. The
argument info starts after one register window (16 words) past the SP. */
Expand Down Expand Up @@ -93,8 +90,6 @@ _start:
/* Die very horribly if exit returns. */
unimp

cfi_endproc

.size _start, .-_start

/* Define a symbol for the first piece of initialized data. */
Expand Down
7 changes: 1 addition & 6 deletions sysdeps/sparc/sparc64/elf/start.S
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Startup code for elf64-sparc
Copyright (C) 1997, 1998, 2002, 2004 Free Software Foundation, Inc.
Copyright (C) 1997, 1998, 2002, 2004, 2007 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Richard Henderson <richard@gnu.ai.mit.edu>, 1997.
Expand Down Expand Up @@ -48,8 +48,6 @@
.global _start
.type _start,#function
_start:
cfi_startproc

#ifdef SHARED
sethi %hi(_GLOBAL_OFFSET_TABLE_-4), %l7
call .LLGETPC0
Expand All @@ -60,7 +58,6 @@ _start:
drop their arguments. */
mov %g0, %fp
sub %sp, 6*8, %sp
cfi_adjust_cfa_offset(6*8)

/* Extract the arguments and environment as encoded on the stack. The
argument info starts after one register window (16 words) past the SP,
Expand Down Expand Up @@ -94,8 +91,6 @@ _start:
/* Die very horribly if exit returns. */
illtrap 0

cfi_endproc

.size _start, .-_start

/* Define a symbol for the first piece of initialized data. */
Expand Down
4 changes: 0 additions & 4 deletions sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ END(__clone)

.type __thread_start,@function
__thread_start:
cfi_startproc

#ifdef RESET_PID
sethi %hi(CLONE_THREAD), %l0
andcc %g4, %l0, %g0
Expand All @@ -104,8 +102,6 @@ __thread_start:
call HIDDEN_JUMPTARGET(_exit),0
nop

cfi_endproc

.size __thread_start, .-__thread_start

weak_alias (__clone, clone)
2 changes: 0 additions & 2 deletions sysdeps/unix/sysv/linux/sparc/sparc64/clone.S
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ END(__clone)

.type __thread_start,@function
__thread_start:
cfi_startproc
#ifdef RESET_PID
sethi %hi(CLONE_THREAD), %l0
andcc %g4, %l0, %g0
Expand All @@ -97,7 +96,6 @@ __thread_start:
mov %g3,%o0
call HIDDEN_JUMPTARGET(_exit),0
nop
cfi_endproc

.size __thread_start, .-__thread_start

Expand Down

0 comments on commit 0068056

Please sign in to comment.