Get rid of the eclipse files.
1 --- glibc-2.2.5/sysdeps/sparc/sparc32/dl-machine.h.old Sat Jun 7 18:19:03 2003
2 +++ glibc-2.2.5/sysdeps/sparc/sparc32/dl-machine.h Sat Jun 7 18:20:04 2003
4 and then redirect to the address it returns. */
5 #define TRAMPOLINE_TEMPLATE(tramp_name, fixup_name) \
8 - .globl " #tramp_name "
9 - .type " #tramp_name ", @function
12 - /* Set up the arguments to fixup --
13 - %o0 = link_map out of plt0
14 - %o1 = offset of reloc entry
15 - %o2 = return address */
19 - call " #fixup_name "
23 - .size " #tramp_name ", . - " #tramp_name "
25 + .globl " #tramp_name "\n\
26 + .type " #tramp_name ", @function\n\
29 + /* Set up the arguments to fixup --\n\
30 + %o0 = link_map out of plt0\n\
31 + %o1 = offset of reloc entry\n\
32 + %o2 = return address */\n\
33 + ld [%o7 + 8], %o0\n\
36 + call " #fixup_name "\n\
37 + sub %o1, 4*12, %o1\n\
40 + .size " #tramp_name ", . - " #tramp_name "\n\
45 its return value is the user program's entry point. */
47 #define RTLD_START __asm__ ("\
50 - .type _start, @function
53 - /* Allocate space for functions to drop their arguments. */
55 - /* Pass pointer to argument block to _dl_start. */
59 - .globl _dl_start_user
60 - .type _dl_start_user, @function
62 - /* Load the PIC register. */
64 - sethi %hi(_GLOBAL_OFFSET_TABLE_-(1b-.)), %l7
65 -2: or %l7, %lo(_GLOBAL_OFFSET_TABLE_-(1b-.)), %l7
67 - /* Save the user entry point address in %l0 */
69 - /* Store the highest stack address. */
70 - sethi %hi(__libc_stack_end), %g2
71 - or %g2, %lo(__libc_stack_end), %g2
73 - sethi %hi(_dl_skip_args), %g2
75 - or %g2, %lo(_dl_skip_args), %g2
77 - /* See if we were run as a command with the executable file name as an
78 - extra leading argument. If so, adjust the contents of the stack. */
83 - ld [%sp+22*4], %i5 /* load argc */
84 - /* Find out how far to shift. */
85 - sethi %hi(_dl_argv), %l3
86 - or %l3, %lo(_dl_argv), %l3
96 - /* Copy down argv */
103 - /* Copy down env */
110 - /* Copy down auxiliary table. */
119 - /* %o0 = _dl_loaded, %o1 = argc, %o2 = argv, %o3 = envp. */
120 -3: sethi %hi(_dl_loaded), %o0
122 - orcc %o0, %lo(_dl_loaded), %o0
130 - /* Pass our finalizer function to the user in %g1. */
131 - sethi %hi(_dl_fini), %g1
132 - or %g1, %lo(_dl_fini), %g1
134 - /* Jump to the user's entry point and deallocate the extra stack we got. */
137 - .size _dl_start_user, . - _dl_start_user
140 + .type _start, @function\n\
143 + /* Allocate space for functions to drop their arguments. */\n\
144 + sub %sp, 6*4, %sp\n\
145 + /* Pass pointer to argument block to _dl_start. */\n\
147 + add %sp, 22*4, %o0\n\
149 + .globl _dl_start_user\n\
150 + .type _dl_start_user, @function\n\
152 + /* Load the PIC register. */\n\
154 + sethi %hi(_GLOBAL_OFFSET_TABLE_-(1b-.)), %l7\n\
155 +2: or %l7, %lo(_GLOBAL_OFFSET_TABLE_-(1b-.)), %l7\n\
156 + add %l7, %o7, %l7\n\
157 + /* Save the user entry point address in %l0 */\n\
159 + /* Store the highest stack address. */\n\
160 + sethi %hi(__libc_stack_end), %g2\n\
161 + or %g2, %lo(__libc_stack_end), %g2\n\
162 + ld [%l7 + %g2], %l1\n\
163 + sethi %hi(_dl_skip_args), %g2\n\
164 + add %sp, 6*4, %l2\n\
165 + or %g2, %lo(_dl_skip_args), %g2\n\
167 + /* See if we were run as a command with the executable file name as an\n\
168 + extra leading argument. If so, adjust the contents of the stack. */\n\
169 + ld [%l7+%g2], %i0\n\
173 + ld [%sp+22*4], %i5 /* load argc */\n\
174 + /* Find out how far to shift. */\n\
175 + sethi %hi(_dl_argv), %l3\n\
176 + or %l3, %lo(_dl_argv), %l3\n\
177 + ld [%l7+%l3], %l3\n\
178 + sub %i5, %i0, %i5\n\
181 + st %i5, [%sp+22*4]\n\
182 + sub %l4, %i2, %l4\n\
183 + add %sp, 23*4, %i1\n\
184 + add %i1, %i2, %i2\n\
186 + /* Copy down argv */\n\
187 +21: ld [%i2], %i3\n\
193 + /* Copy down env */\n\
194 +22: ld [%i2], %i3\n\
200 + /* Copy down auxiliary table. */\n\
201 +23: ld [%i2], %i3\n\
209 + /* %o0 = _dl_loaded, %o1 = argc, %o2 = argv, %o3 = envp. */\n\
210 +3: sethi %hi(_dl_loaded), %o0\n\
211 + add %sp, 23*4, %o2\n\
212 + orcc %o0, %lo(_dl_loaded), %o0\n\
214 + ld [%l7+%o0], %o0\n\
217 + add %o2, %o3, %o3\n\
220 + /* Pass our finalizer function to the user in %g1. */\n\
221 + sethi %hi(_dl_fini), %g1\n\
222 + or %g1, %lo(_dl_fini), %g1\n\
223 + ld [%l7+%g1], %g1\n\
224 + /* Jump to the user's entry point and deallocate the extra stack we got. */\n\
226 + add %sp, 6*4, %sp\n\
227 + .size _dl_start_user, . - _dl_start_user\n\
230 static inline Elf32_Addr