]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/glibc/glibc-2.2.5/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 / initfini-alpha.patch
1
2 #
3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4 #
5
6 --- glibc-2.2.5/sysdeps/alpha/elf/initfini.c~initfini-alpha.patch       2004-09-03 19:00:33.000000000 -0500
7 +++ glibc-2.2.5/sysdeps/alpha/elf/initfini.c    2004-09-03 19:00:38.000000000 -0500
8 @@ -37,62 +37,62 @@
9     files, all of which may have different GP values.  So we must reload
10     the GP value from crti.o in crtn.o.  */
11  
12 -__asm__ ("
13 -
14 -#include \"defs.h\"
15 -
16 -/*@HEADER_ENDS*/
17 -
18 -/*@_init_PROLOG_BEGINS*/
19 -       .section .init, \"ax\", @progbits
20 -       .globl  _init
21 -       .ent    _init
22 -_init:
23 -       ldgp    $29, 0($27)
24 -       subq    $30, 16, $30
25 -       lda     $27, __gmon_start__
26 -       stq     $26, 0($30)
27 -       stq     $29, 8($30)
28 -       .prologue 1
29 -       beq     $27, 1f
30 -       jsr     $26, ($27), __gmon_start__
31 -       ldq     $29, 8($30)
32 -1:
33 -       .align 3
34 -       .end    _init
35 -       .size   _init, 0
36 -/*@_init_PROLOG_ENDS*/
37 -
38 -/*@_init_EPILOG_BEGINS*/
39 -       .section .init, \"ax\", @progbits
40 -       ldq     $26, 0($30)
41 -       ldq     $29, 8($30)
42 -       addq    $30, 16, $30
43 -       ret
44 -/*@_init_EPILOG_ENDS*/
45 -
46 -/*@_fini_PROLOG_BEGINS*/
47 -       .section .fini, \"ax\", @progbits
48 -       .globl  _fini
49 -       .ent    _fini
50 -_fini:
51 -       ldgp    $29, 0($27)
52 -       subq    $30, 16, $30
53 -       stq     $26, 0($30)
54 -       stq     $29, 8($30)
55 -       .prologue 1
56 -       .align 3
57 -       .end    _fini
58 -       .size   _fini, 0
59 -/*@_fini_PROLOG_ENDS*/
60 -
61 -/*@_fini_EPILOG_BEGINS*/
62 -       .section .fini, \"ax\", @progbits
63 -       ldq     $26, 0($30)
64 -       ldq     $29, 8($30)
65 -       addq    $30, 16, $30
66 -       ret
67 -/*@_fini_EPILOG_ENDS*/
68 -
69 -/*@TRAILER_BEGINS*/
70 +__asm__ ("\n\
71 +\n\
72 +#include \"defs.h\"\n\
73 +\n\
74 +/*@HEADER_ENDS*/\n\
75 +\n\
76 +/*@_init_PROLOG_BEGINS*/\n\
77 +       .section .init, \"ax\", @progbits\n\
78 +       .globl  _init\n\
79 +       .ent    _init\n\
80 +_init:\n\
81 +       ldgp    $29, 0($27)\n\
82 +       subq    $30, 16, $30\n\
83 +       lda     $27, __gmon_start__\n\
84 +       stq     $26, 0($30)\n\
85 +       stq     $29, 8($30)\n\
86 +       .prologue 1\n\
87 +       beq     $27, 1f\n\
88 +       jsr     $26, ($27), __gmon_start__\n\
89 +       ldq     $29, 8($30)\n\
90 +1:\n\
91 +       .align 3\n\
92 +       .end    _init\n\
93 +       .size   _init, 0\n\
94 +/*@_init_PROLOG_ENDS*/\n\
95 +\n\
96 +/*@_init_EPILOG_BEGINS*/\n\
97 +       .section .init, \"ax\", @progbits\n\
98 +       ldq     $26, 0($30)\n\
99 +       ldq     $29, 8($30)\n\
100 +       addq    $30, 16, $30\n\
101 +       ret\n\
102 +/*@_init_EPILOG_ENDS*/\n\
103 +\n\
104 +/*@_fini_PROLOG_BEGINS*/\n\
105 +       .section .fini, \"ax\", @progbits\n\
106 +       .globl  _fini\n\
107 +       .ent    _fini\n\
108 +_fini:\n\
109 +       ldgp    $29, 0($27)\n\
110 +       subq    $30, 16, $30\n\
111 +       stq     $26, 0($30)\n\
112 +       stq     $29, 8($30)\n\
113 +       .prologue 1\n\
114 +       .align 3\n\
115 +       .end    _fini\n\
116 +       .size   _fini, 0\n\
117 +/*@_fini_PROLOG_ENDS*/\n\
118 +\n\
119 +/*@_fini_EPILOG_BEGINS*/\n\
120 +       .section .fini, \"ax\", @progbits\n\
121 +       ldq     $26, 0($30)\n\
122 +       ldq     $29, 8($30)\n\
123 +       addq    $30, 16, $30\n\
124 +       ret\n\
125 +/*@_fini_EPILOG_ENDS*/\n\
126 +\n\
127 +/*@TRAILER_BEGINS*/\n\
128  ");