rdivacky
7f3f7db379
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
imp
58afe79515
The NetBSD Foundation has granted permission to remove clauses 3 and 4.
...
Obtained from: NetBSD
2010-02-16 21:49:36 +00:00
rwatson
9d69b9825b
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
kan
8d6f05d58b
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
cognet
6bb6868e16
No need to provide atomic_cmpset_32() anymore.
2005-04-07 22:04:49 +00:00
cognet
3eb9286d7e
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
cognet
d983d8756d
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
jhb
c60825dcfe
Remove these unused files before any other archs include the same bogus
...
file.
2004-11-12 18:05:30 +00:00
cognet
504d9a68b3
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
cognet
a450d7f91f
Use add instead of saving the sp in a register.
2004-09-28 14:41:15 +00:00
cognet
f73db50f56
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
cognet
42e5ac9f05
Woohoo !
...
the latest binutils import mades this gross hack useless, so just remove it.
2004-06-17 17:53:16 +00:00
cognet
c80c24dad9
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
cognet
6cb32d10f5
Import arm bits for rtld-elf.
...
Obtained from: NetBSD
2004-05-14 12:15:51 +00:00