Roman Divacky
1dfdc15bb0
Only use the cache after the early stage of loading. This is
...
because calling mmap() etc. may use GOT which is not set up
yet. Use calloc() instead of mmap() in cases where this
was the case before (sparc64, powerpc, arm).
Submitted by: Dimitry Andric (dimitry andric com)
Reviewed by: kan
Approved by: ed (mentor)
2010-05-18 08:55:23 +00:00
Warner Losh
6f76ed8008
The NetBSD Foundation has granted permission to remove clauses 3 and 4.
...
Obtained from: NetBSD
2010-02-16 21:49:36 +00:00
Robert Watson
d1f2f1c3f3
Now that the kernel defines CACHE_LINE_SIZE in machine/param.h, use
...
that definition in the custom locking code for the run-time linker
rather than local definitions.
Pointed out by: tinderbox
MFC after: 2 weeks
2009-04-19 23:02:50 +00:00
Alexander Kabaev
0eb88f2029
Implement ELF symbol versioning using GNU semantics. This code aims
...
to be compatible with symbol versioning support as implemented by
GNU libc and documented by http://people.redhat.com/~drepper/symbol-versioning
and LSB 3.0.
Implement dlvsym() function to allow lookups for a specific version of
a given symbol.
2005-12-18 19:43:33 +00:00
Olivier Houchard
2204e78f5e
No need to provide atomic_cmpset_32() anymore.
2005-04-07 22:04:49 +00:00
Olivier Houchard
c6ac5bfcae
Only provide the dummy, non-atomic atomic_cmpset_32() if
...
ARM_HAS_ATOMIC_CMPSET_32 isn't defined.
2005-02-26 22:49:19 +00:00
Olivier Houchard
25a252899e
Implement a dummy atomic_cmpset_32(). It should be safe to use it in rtld as
...
the signals are masked anyway.
2004-11-23 16:32:34 +00:00
John Baldwin
2939195e46
Remove these unused files before any other archs include the same bogus
...
file.
2004-11-12 18:05:30 +00:00
Olivier Houchard
34be051190
Don't try to relocate the dynamic loader in reloc_non_plt(). It has already
...
been done before.
2004-09-28 14:43:12 +00:00
Olivier Houchard
0e030636cb
Use add instead of saving the sp in a register.
2004-09-28 14:41:15 +00:00
Olivier Houchard
9ac88d19dc
Add stubs for TLS.
...
Arbitraly choose the 2nd variant until I figure out which one I should use.
2004-09-23 23:04:52 +00:00
Olivier Houchard
f77d42ce5c
Woohoo !
...
the latest binutils import mades this gross hack useless, so just remove it.
2004-06-17 17:53:16 +00:00
Olivier Houchard
3088daddf3
Work around a problem somewhere with binutils (?) on arm, hopefully without
...
breaking any other arch this time.
2004-05-15 00:13:14 +00:00
Olivier Houchard
e659267f1e
Import arm bits for rtld-elf.
...
Obtained from: NetBSD
2004-05-14 12:15:51 +00:00