/l4re-core-master/uclibc/lib/contrib/uclibc/ldso/ldso/c6x/ |
A D | elfinterp.c | 158 unsigned long old_val, new_val = 0; in _dl_do_reloc() local 194 old_val = *reloc_addr; in _dl_do_reloc() 206 new_val = (old_val & ~0x007fff00) | ((symbol_tpnt->dsbt_index & 0x7fff) << 8); in _dl_do_reloc() 210 new_val = (old_val & ~0x007fff80) | ((sym_val & 0xffff) << 7); in _dl_do_reloc() 214 new_val = (old_val & ~0x007fff80) | ((sym_val >> 9) & 0x007fff80); in _dl_do_reloc() 219 *reloc_addr = (old_val & ~0x0fffff80) | (((new_val >> 2) & 0x1fffff) << 7); in _dl_do_reloc() 241 _dl_dprintf(_dl_debug_file, "\tpatched: %x ==> %x @ %x\n", old_val, new_val, reloc_addr); in _dl_do_reloc() 255 unsigned long old_val; in _dl_do_lazy_reloc() local 260 old_val = *reloc_addr; in _dl_do_lazy_reloc() 266 *reloc_addr = DL_RELOC_ADDR(tpnt->loadaddr, old_val); in _dl_do_lazy_reloc() [all …]
|
/l4re-core-master/cxx/lib/util/include/ |
A D | atomic.h | 33 inline int compare_and_swap(X volatile *dst, X old_val, X new_val) in compare_and_swap() argument 38 return l4util_cmpxchg8((l4_uint8_t volatile*)dst, old_val, new_val); in compare_and_swap() 40 return l4util_cmpxchg16((l4_uint16_t volatile *)dst, old_val, new_val); in compare_and_swap() 43 return l4util_cmpxchg32((l4_uint32_t volatile*)dst, old_val, new_val); in compare_and_swap()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/ldso/ldso/frv/ |
A D | elfinterp.c | 162 unsigned long old_val; in _dl_do_reloc() local 200 old_val = reloc_addr_packed->v; in _dl_do_reloc() 202 old_val = *reloc_addr; in _dl_do_reloc() 205 old_val = 0; in _dl_do_reloc() 258 _dl_dprintf(_dl_debug_file, "\tpatched: %x ==> %x @ %x", old_val, reloc_value, reloc_addr); in _dl_do_reloc() 287 unsigned long old_val; in _dl_do_lazy_reloc() local 295 old_val = (unsigned long)reloc_addr->entry_point; in _dl_do_lazy_reloc() 313 …_dl_dprintf(_dl_debug_file, "\tpatched: %x ==> %x @ %x\n", old_val, reloc_addr->entry_point, reloc… in _dl_do_lazy_reloc()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/ldso/ldso/microblaze/ |
A D | elfinterp.c | 167 ElfW(Addr) old_val; in _dl_do_reloc() 207 old_val = *reloc_addr; in _dl_do_reloc() 209 old_val = 0; in _dl_do_reloc() 271 old_val, *reloc_addr, reloc_addr); in _dl_do_reloc() 285 ElfW(Addr) old_val; in _dl_do_lazy_reloc() 296 old_val = *reloc_addr; in _dl_do_lazy_reloc() 312 old_val, *reloc_addr, reloc_addr); in _dl_do_lazy_reloc()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/ldso/ldso/bfin/ |
A D | elfinterp.c | 167 unsigned long old_val; in _dl_do_reloc() local 210 old_val = reloc_addr_packed->v; in _dl_do_reloc() 212 old_val = *reloc_addr; in _dl_do_reloc() 215 old_val = 0; in _dl_do_reloc() 266 _dl_dprintf(_dl_debug_file, "\tpatched: %x ==> %x @ %x", old_val, reloc_value, reloc_addr); in _dl_do_reloc() 295 unsigned long old_val; in _dl_do_lazy_reloc() local 302 old_val = (unsigned long)reloc_addr->entry_point; in _dl_do_lazy_reloc() 318 …_dl_dprintf(_dl_debug_file, "\tpatched: %x ==> %x @ %x\n", old_val, reloc_addr->entry_point, reloc… in _dl_do_lazy_reloc()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/ldso/ldso/arc/ |
A D | elfinterp.c | 92 unsigned long old_val = 0; in _dl_do_reloc() local 106 old_val = *reloc_addr; in _dl_do_reloc() 153 old_val, *reloc_addr, reloc_addr, rpnt->r_addend); in _dl_do_reloc() 166 unsigned long old_val; in _dl_do_lazy_reloc() local 173 old_val = *reloc_addr; in _dl_do_lazy_reloc() 187 old_val, *reloc_addr, reloc_addr); in _dl_do_lazy_reloc()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/ldso/ldso/xtensa/ |
A D | elfinterp.c | 153 ElfW(Addr) old_val; in _dl_do_reloc() 187 old_val = *reloc_addr; in _dl_do_reloc() 222 old_val, *reloc_addr, reloc_addr); in _dl_do_reloc() 236 ElfW(Addr) old_val; in _dl_do_lazy_reloc() 243 old_val = *reloc_addr; in _dl_do_lazy_reloc() 261 old_val, *reloc_addr, reloc_addr); in _dl_do_lazy_reloc()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/ldso/ldso/i386/ |
A D | elfinterp.c | 169 unsigned long old_val; in _dl_do_reloc() local 205 if (reloc_type != R_386_NONE) old_val = *reloc_addr; else old_val = 0; in _dl_do_reloc() 267 old_val, *reloc_addr, reloc_addr); in _dl_do_reloc() 280 unsigned long old_val; in _dl_do_lazy_reloc() local 291 old_val = *reloc_addr; in _dl_do_lazy_reloc() 307 old_val, *reloc_addr, reloc_addr); in _dl_do_lazy_reloc()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/ldso/ldso/cris/ |
A D | elfinterp.c | 162 unsigned long old_val; in _dl_do_reloc() local 196 old_val = *reloc_addr; in _dl_do_reloc() 230 old_val, *reloc_addr, reloc_addr); in _dl_do_reloc() 243 unsigned long old_val; in _dl_do_lazy_reloc() local 255 old_val = *reloc_addr; in _dl_do_lazy_reloc() 271 old_val, *reloc_addr, reloc_addr); in _dl_do_lazy_reloc()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/ldso/ldso/m68k/ |
A D | elfinterp.c | 164 ElfW(Addr) old_val; in _dl_do_reloc() 194 old_val = *reloc_addr; in _dl_do_reloc() 258 old_val, *reloc_addr, reloc_addr); in _dl_do_reloc() 274 ElfW(Addr) old_val; in _dl_do_lazy_reloc() 285 old_val = *reloc_addr; in _dl_do_lazy_reloc() 301 old_val, *reloc_addr, reloc_addr); in _dl_do_lazy_reloc()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/ldso/ldso/metag/ |
A D | elfinterp.c | 166 unsigned long old_val = 0; in _dl_do_reloc() local 199 old_val = __get_unaligned_reloc(reloc_addr); in _dl_do_reloc() 257 old_val, new_val, reloc_addr); in _dl_do_reloc() 271 unsigned long old_val; in _dl_do_lazy_reloc() local 278 old_val = *reloc_addr; in _dl_do_lazy_reloc() 294 old_val, *reloc_addr, reloc_addr); in _dl_do_lazy_reloc()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/ldso/ldso/sh64/ |
A D | elfinterp.c | 174 unsigned long old_val; in _dl_do_reloc() local 213 old_val = *reloc_addr; in _dl_do_reloc() 291 old_val, *reloc_addr, reloc_addr); in _dl_do_reloc() 303 unsigned long old_val; in _dl_do_lazy_reloc() local 313 old_val = *reloc_addr; in _dl_do_lazy_reloc() 329 old_val, *reloc_addr, reloc_addr); in _dl_do_lazy_reloc()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/ldso/ldso/sh/ |
A D | elfinterp.c | 160 unsigned long old_val; in _dl_do_reloc() local 204 old_val = *reloc_addr; in _dl_do_reloc() 258 _dl_dprintf(_dl_debug_file, "\tpatched: %x ==> %x @ %x\n", old_val, *reloc_addr, reloc_addr); in _dl_do_reloc() 272 unsigned long old_val; in _dl_do_lazy_reloc() local 282 old_val = *reloc_addr; in _dl_do_lazy_reloc() 295 _dl_dprintf(_dl_debug_file, "\tpatched: %x ==> %x @ %x\n", old_val, *reloc_addr, reloc_addr); in _dl_do_lazy_reloc()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/ldso/ldso/x86_64/ |
A D | elfinterp.c | 167 ElfW(Addr) old_val; in _dl_do_reloc() 209 old_val = *reloc_addr; in _dl_do_reloc() 290 old_val, *reloc_addr, reloc_addr); in _dl_do_reloc() 304 ElfW(Addr) old_val; in _dl_do_lazy_reloc() 314 old_val = *reloc_addr; in _dl_do_lazy_reloc() 330 old_val, *reloc_addr, reloc_addr); in _dl_do_lazy_reloc()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/ldso/ldso/sparc/ |
A D | elfinterp.c | 178 ElfW(Addr) old_val; in _dl_do_reloc() 217 old_val = *reloc_addr; in _dl_do_reloc() 311 old_val, *reloc_addr, reloc_addr); in _dl_do_reloc() 327 ElfW(Addr) old_val; in _dl_do_lazy_reloc() 338 old_val = *reloc_addr; in _dl_do_lazy_reloc() 353 old_val, *reloc_addr, reloc_addr); in _dl_do_lazy_reloc()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/ldso/ldso/avr32/ |
A D | elfinterp.c | 128 unsigned long old_val; in _dl_do_reloc() local 159 old_val = *reloc_addr; in _dl_do_reloc() 179 old_val, *reloc_addr); in _dl_do_reloc()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/ldso/ldso/arm/ |
A D | elfinterp.c | 237 unsigned long old_val = *reloc_addr; in _dl_do_reloc() local 307 _dl_dprintf(_dl_debug_file, "\tpatch: %lx ==> %lx @ %p", old_val, *reloc_addr, reloc_addr); in _dl_do_reloc() 331 unsigned long old_val = *reloc_addr; in _dl_do_lazy_reloc() local 344 _dl_dprintf(_dl_debug_file, "\tpatch: %lx ==> %lx @ %p", old_val, *reloc_addr, reloc_addr); in _dl_do_lazy_reloc()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/ldso/ldso/arm64/ |
A D | elfinterp.c | 207 unsigned long old_val = *reloc_addr; in _dl_do_reloc() local 256 old_val, *reloc_addr, reloc_addr); in _dl_do_reloc() 278 unsigned long old_val = *reloc_addr; in _dl_do_lazy_reloc() local 299 old_val, *reloc_addr, reloc_addr); in _dl_do_lazy_reloc()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/ldso/ldso/mips/ |
A D | elfinterp.c | 165 unsigned long old_val=0; in _dl_parse_relocation_information() local 190 old_val = *reloc_addr; in _dl_parse_relocation_information() 322 _dl_dprintf(_dl_debug_file, "\tpatched: %lx ==> %lx @ %p\n", old_val, *reloc_addr, reloc_addr); in _dl_parse_relocation_information()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/ldso/ldso/powerpc/ |
A D | elfinterp.c | 197 unsigned long old_val; in _dl_do_reloc() local 228 old_val = *reloc_addr; in _dl_do_reloc() 336 _dl_dprintf(_dl_debug_file, "\tpatched: %x ==> %x @ %x\n", old_val, *reloc_addr, reloc_addr); in _dl_do_reloc()
|