This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
* sysdeps/alpha/elf/initfini.c: Use \n\ for multiline string.
linuxthreads/
* sysdeps/alpha/elf/pt-initfini.c: Use \n\ for multiline string.
Index: linuxthreads/sysdeps/alpha/elf/pt-initfini.c
===================================================================
RCS file: /cvs/glibc/libc/linuxthreads/sysdeps/alpha/elf/pt-initfini.c,v
retrieving revision 1.1
diff -c -p -d -r1.1 pt-initfini.c
*** pt-initfini.c 2002/01/07 23:00:52 1.1
--- pt-initfini.c 2002/02/09 01:10:19
***************
*** 37,96 ****
files, all of which may have different GP values. So we must reload
the GP value from crti.o in crtn.o. */
! __asm__ ("
!
! #include \"defs.h\"
!
! /*@HEADER_ENDS*/
!
! /*@_init_PROLOG_BEGINS*/
! .section .init, \"ax\", @progbits
! .globl _init
! .ent _init
! _init:
! ldgp $29, 0($27)
! subq $30, 16, $30
! lda $27, __pthread_initialize_minimal
! stq $26, 0($30)
! stq $29, 8($30)
! .prologue 1
! jsr $26, ($27), __pthread_initialize_minimal
! ldq $29, 8($30)
! .align 3
! .end _init
! .size _init, 0
! /*@_init_PROLOG_ENDS*/
!
! /*@_init_EPILOG_BEGINS*/
! .section .init, \"ax\", @progbits
! ldq $26, 0($30)
! ldq $29, 8($30)
! addq $30, 16, $30
! ret
! /*@_init_EPILOG_ENDS*/
!
! /*@_fini_PROLOG_BEGINS*/
! .section .fini, \"ax\", @progbits
! .globl _fini
! .ent _fini
! _fini:
! ldgp $29, 0($27)
! subq $30, 16, $30
! stq $26, 0($30)
! stq $29, 8($30)
! .prologue 1
! .align 3
! .end _fini
! .size _fini, 0
! /*@_fini_PROLOG_ENDS*/
!
! /*@_fini_EPILOG_BEGINS*/
! .section .fini, \"ax\", @progbits
! ldq $26, 0($30)
! ldq $29, 8($30)
! addq $30, 16, $30
! ret
! /*@_fini_EPILOG_ENDS*/
!
! /*@TRAILER_BEGINS*/
");
--- 37,94 ----
files, all of which may have different GP values. So we must reload
the GP value from crti.o in crtn.o. */
! __asm__ (" \n\
! #include \"defs.h\" \n\
! \n\
! /*@HEADER_ENDS*/ \n\
! \n\
! /*@_init_PROLOG_BEGINS*/ \n\
! .section .init, \"ax\", @progbits \n\
! .globl _init \n\
! .ent _init \n\
! _init: \n\
! ldgp $29, 0($27) \n\
! subq $30, 16, $30 \n\
! stq $26, 0($30) \n\
! stq $29, 8($30) \n\
! .prologue 1 \n\
! jsr $26, __pthread_initialize_minimal \n\
! ldq $29, 8($30) \n\
! .align 3 \n\
! .end _init \n\
! .size _init, 0 \n\
! /*@_init_PROLOG_ENDS*/ \n\
! \n\
! /*@_init_EPILOG_BEGINS*/ \n\
! .section .init, \"ax\", @progbits \n\
! ldq $26, 0($30) \n\
! ldq $29, 8($30) \n\
! addq $30, 16, $30 \n\
! ret \n\
! /*@_init_EPILOG_ENDS*/ \n\
! \n\
! /*@_fini_PROLOG_BEGINS*/ \n\
! .section .fini, \"ax\", @progbits \n\
! .globl _fini \n\
! .ent _fini \n\
! _fini: \n\
! ldgp $29, 0($27) \n\
! subq $30, 16, $30 \n\
! stq $26, 0($30) \n\
! stq $29, 8($30) \n\
! .prologue 1 \n\
! .align 3 \n\
! .end _fini \n\
! .size _fini, 0 \n\
! /*@_fini_PROLOG_ENDS*/ \n\
! \n\
! /*@_fini_EPILOG_BEGINS*/ \n\
! .section .fini, \"ax\", @progbits \n\
! ldq $26, 0($30) \n\
! ldq $29, 8($30) \n\
! addq $30, 16, $30 \n\
! ret \n\
! /*@_fini_EPILOG_ENDS*/ \n\
! \n\
! /*@TRAILER_BEGINS*/ \n\
");
Index: sysdeps/alpha/elf/initfini.c
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/alpha/elf/initfini.c,v
retrieving revision 1.1
diff -c -p -d -r1.1 initfini.c
*** initfini.c 2001/09/01 19:24:46 1.1
--- initfini.c 2002/02/09 01:10:19
***************
*** 1,5 ****
/* Special .init and .fini section support for Alpha.
! Copyright (C) 2001 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
--- 1,5 ----
/* Special .init and .fini section support for Alpha.
! Copyright (C) 2001, 2002 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
***************
*** 36,98 ****
However, _init and _fini are constructed from pieces of many object
files, all of which may have different GP values. So we must reload
the GP value from crti.o in crtn.o. */
-
- __asm__ ("
-
- #include \"defs.h\"
-
- /*@HEADER_ENDS*/
-
- /*@_init_PROLOG_BEGINS*/
- .section .init, \"ax\", @progbits
- .globl _init
- .ent _init
- _init:
- ldgp $29, 0($27)
- subq $30, 16, $30
- lda $27, __gmon_start__
- stq $26, 0($30)
- stq $29, 8($30)
- .prologue 1
- beq $27, 1f
- jsr $26, ($27), __gmon_start__
- ldq $29, 8($30)
- 1:
- .align 3
- .end _init
- .size _init, 0
- /*@_init_PROLOG_ENDS*/
-
- /*@_init_EPILOG_BEGINS*/
- .section .init, \"ax\", @progbits
- ldq $26, 0($30)
- ldq $29, 8($30)
- addq $30, 16, $30
- ret
- /*@_init_EPILOG_ENDS*/
-
- /*@_fini_PROLOG_BEGINS*/
- .section .fini, \"ax\", @progbits
- .globl _fini
- .ent _fini
- _fini:
- ldgp $29, 0($27)
- subq $30, 16, $30
- stq $26, 0($30)
- stq $29, 8($30)
- .prologue 1
- .align 3
- .end _fini
- .size _fini, 0
- /*@_fini_PROLOG_ENDS*/
-
- /*@_fini_EPILOG_BEGINS*/
- .section .fini, \"ax\", @progbits
- ldq $26, 0($30)
- ldq $29, 8($30)
- addq $30, 16, $30
- ret
- /*@_fini_EPILOG_ENDS*/
! /*@TRAILER_BEGINS*/
");
--- 36,97 ----
However, _init and _fini are constructed from pieces of many object
files, all of which may have different GP values. So we must reload
the GP value from crti.o in crtn.o. */
! __asm__ (" \n\
! #include \"defs.h\" \n\
! \n\
! /*@HEADER_ENDS*/ \n\
! \n\
! /*@_init_PROLOG_BEGINS*/ \n\
! .section .init, \"ax\", @progbits \n\
! .globl _init \n\
! .ent _init \n\
! _init: \n\
! ldgp $29, 0($27) \n\
! subq $30, 16, $30 \n\
! lda $27, __gmon_start__ \n\
! stq $26, 0($30) \n\
! stq $29, 8($30) \n\
! .prologue 1 \n\
! beq $27, 1f \n\
! jsr $26, ($27), __gmon_start__ \n\
! ldq $29, 8($30) \n\
! .align 3 \n\
! 1: \n\
! .end _init \n\
! .size _init, 0 \n\
! /*@_init_PROLOG_ENDS*/ \n\
! \n\
! /*@_init_EPILOG_BEGINS*/ \n\
! .section .init, \"ax\", @progbits \n\
! ldq $26, 0($30) \n\
! ldq $29, 8($30) \n\
! addq $30, 16, $30 \n\
! ret \n\
! /*@_init_EPILOG_ENDS*/ \n\
! \n\
! /*@_fini_PROLOG_BEGINS*/ \n\
! .section .fini, \"ax\", @progbits \n\
! .globl _fini \n\
! .ent _fini \n\
! _fini: \n\
! ldgp $29, 0($27) \n\
! subq $30, 16, $30 \n\
! stq $26, 0($30) \n\
! stq $29, 8($30) \n\
! .prologue 1 \n\
! .align 3 \n\
! .end _fini \n\
! .size _fini, 0 \n\
! /*@_fini_PROLOG_ENDS*/ \n\
! \n\
! /*@_fini_EPILOG_BEGINS*/ \n\
! .section .fini, \"ax\", @progbits \n\
! ldq $26, 0($30) \n\
! ldq $29, 8($30) \n\
! addq $30, 16, $30 \n\
! ret \n\
! /*@_fini_EPILOG_ENDS*/ \n\
! \n\
! /*@TRAILER_BEGINS*/ \n\
");
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |