]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/glibc/glibc-2.2.5/pt-initfini-alpha.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / glibc / glibc-2.2.5 / pt-initfini-alpha.patch
1 --- glibc-2.2.5/linuxthreads/sysdeps/alpha/elf/pt-initfini.c.old        Fri Jun  6 22:02:08 2003
2 +++ glibc-2.2.5/linuxthreads/sysdeps/alpha/elf/pt-initfini.c    Fri Jun  6 22:02:33 2003
3 @@ -37,60 +37,60 @@
4     files, all of which may have different GP values.  So we must reload
5     the GP value from crti.o in crtn.o.  */
6  
7 -__asm__ ("
8 -
9 -#include \"defs.h\"
10 -
11 -/*@HEADER_ENDS*/
12 -
13 -/*@_init_PROLOG_BEGINS*/
14 -       .section .init, \"ax\", @progbits
15 -       .globl  _init
16 -       .ent    _init
17 -_init:
18 -       ldgp    $29, 0($27)
19 -       subq    $30, 16, $30
20 -       lda     $27, __pthread_initialize_minimal
21 -       stq     $26, 0($30)
22 -       stq     $29, 8($30)
23 -       .prologue 1
24 -       jsr     $26, ($27), __pthread_initialize_minimal
25 -       ldq     $29, 8($30)
26 -       .align 3
27 -       .end    _init
28 -       .size   _init, 0
29 -/*@_init_PROLOG_ENDS*/
30 -
31 -/*@_init_EPILOG_BEGINS*/
32 -       .section .init, \"ax\", @progbits
33 -       ldq     $26, 0($30)
34 -       ldq     $29, 8($30)
35 -       addq    $30, 16, $30
36 -       ret
37 -/*@_init_EPILOG_ENDS*/
38 -
39 -/*@_fini_PROLOG_BEGINS*/
40 -       .section .fini, \"ax\", @progbits
41 -       .globl  _fini
42 -       .ent    _fini
43 -_fini:
44 -       ldgp    $29, 0($27)
45 -       subq    $30, 16, $30
46 -       stq     $26, 0($30)
47 -       stq     $29, 8($30)
48 -       .prologue 1
49 -       .align 3
50 -       .end    _fini
51 -       .size   _fini, 0
52 -/*@_fini_PROLOG_ENDS*/
53 -
54 -/*@_fini_EPILOG_BEGINS*/
55 -       .section .fini, \"ax\", @progbits
56 -       ldq     $26, 0($30)
57 -       ldq     $29, 8($30)
58 -       addq    $30, 16, $30
59 -       ret
60 -/*@_fini_EPILOG_ENDS*/
61 -
62 -/*@TRAILER_BEGINS*/
63 +__asm__ ("\n\
64 +\n\
65 +#include \"defs.h\"\n\
66 +\n\
67 +/*@HEADER_ENDS*/\n\
68 +\n\
69 +/*@_init_PROLOG_BEGINS*/\n\
70 +       .section .init, \"ax\", @progbits\n\
71 +       .globl  _init\n\
72 +       .ent    _init\n\
73 +_init:\n\
74 +       ldgp    $29, 0($27)\n\
75 +       subq    $30, 16, $30\n\
76 +       lda     $27, __pthread_initialize_minimal\n\
77 +       stq     $26, 0($30)\n\
78 +       stq     $29, 8($30)\n\
79 +       .prologue 1\n\
80 +       jsr     $26, ($27), __pthread_initialize_minimal\n\
81 +       ldq     $29, 8($30)\n\
82 +       .align 3\n\
83 +       .end    _init\n\
84 +       .size   _init, 0\n\
85 +/*@_init_PROLOG_ENDS*/\n\
86 +\n\
87 +/*@_init_EPILOG_BEGINS*/\n\
88 +       .section .init, \"ax\", @progbits\n\
89 +       ldq     $26, 0($30)\n\
90 +       ldq     $29, 8($30)\n\
91 +       addq    $30, 16, $30\n\
92 +       ret\n\
93 +/*@_init_EPILOG_ENDS*/\n\
94 +\n\
95 +/*@_fini_PROLOG_BEGINS*/\n\
96 +       .section .fini, \"ax\", @progbits\n\
97 +       .globl  _fini\n\
98 +       .ent    _fini\n\
99 +_fini:\n\
100 +       ldgp    $29, 0($27)\n\
101 +       subq    $30, 16, $30\n\
102 +       stq     $26, 0($30)\n\
103 +       stq     $29, 8($30)\n\
104 +       .prologue 1\n\
105 +       .align 3\n\
106 +       .end    _fini\n\
107 +       .size   _fini, 0\n\
108 +/*@_fini_PROLOG_ENDS*/\n\
109 +\n\
110 +/*@_fini_EPILOG_BEGINS*/\n\
111 +       .section .fini, \"ax\", @progbits\n\
112 +       ldq     $26, 0($30)\n\
113 +       ldq     $29, 8($30)\n\
114 +       addq    $30, 16, $30\n\
115 +       ret\n\
116 +/*@_fini_EPILOG_ENDS*/\n\
117 +\n\
118 +/*@TRAILER_BEGINS*/\n\
119  ");