• R/O
  • HTTP
  • SSH
  • HTTPS

List of commits

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

RSS
Rev. Time Author
0f05d69 2004-08-27 07:07:56 Eric Andersen

Update TODO list a bit

8b62fce 2004-08-27 05:43:25 Eric Andersen

Only print debug stuff when asked

52a3a4d 2004-08-27 03:38:19 Eric Andersen

Fixup a couple of warnings

17415ee 2004-08-27 03:36:23 Eric Andersen

Avoid multiple passes to perform mips GOT relocations, and do
the whole lot in a single pass.
-Erik

9d7a22d 2004-08-27 02:03:09 Manuel Novoa III

Fixes from gentoo.

94a9a5a 2004-08-26 23:17:10 Joakim Tjernlund

Let ldso find libc's malloc function and set _dl_malloc_function.
This removes some crap in libdl.c(and future libs which needs
to access ldso functions).
What do you think?

ee55de4 2004-08-26 23:00:04 Joakim Tjernlund

Added test for RTLD_GLOBAL flag in _dl_find_hash().
Fixed a bug in libdl.c where the RTLD_GLOBAL was assigned
wronly.

f866641 2004-08-26 20:30:48 Eric Andersen

Relocations of the application's global GOT entries were not being run, and
only the global GOT entry relocations for the loaded shared libs were being
handled. This made applications segfault when using un-fixedup symbols. After
many hours debugging to track down the problem, this patch makes the mips port
happy again.
-Erik

2c13012 2004-08-26 18:40:09 Joakim Tjernlund

Stefan Allius writes:
"I fixed the _dl_parse_copy_information in the same way than for the
powerpc and it works fine for me.
You may luck at the patch for the powerpc/elfinterp.c, where I change
the paramter of a dl_dprintf statement. Now we use the same
parameters than for the relocation copy."

Arch mantainers, please do the same.
When all arches has been fixed, we can remove of _dl_parse_copy_information,
it is just a waste of CPU cycles.

2f025ae 2004-08-26 08:46:46 Eric Andersen

Mike Frysinger writes:

this was sent earlier in a different form:
http://www.uclibc.org/lists/uclibc/2004-January/008136.html
find attached a smaller version ... perhaps adding a fprintf to stderr before
calling abort would be nice like in the glibc patch, but whatever

glibc has since adopted a similar fix for their malloc (third hunk, line 1970)
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/malloc/malloc.c.diff?r1=1.121&r2=1.122&cvsroot=glibc&f=h
-mike

a77ace0 2004-08-26 08:42:46 Eric Andersen

Mike Frysinger writes:

i sent this earlier but perhaps people missed it the first time around :)
http://www.uclibc.org/lists/uclibc/2004-August/009544.html

basically if you try to #include <sys/ucontext.h> on arm it'll fail because
ucontext.h utilizes typedefs found in bits/sigcontext.h ... i386 already has
this fix in uClibc

find attached a trivial patch to fix this
-mike

772a500 2004-08-26 08:10:43 Eric Andersen

Joakim Tjernlund writes:

Hi Manuel & Erik

I think I know why MIPS is broken. _dl_perform_mips_global_got_relocations() is
broken. It will due to my latest changes reloctate ldso. This
function needs to die and its job should be done inside _dl_parse_relocation_information().
It is mostly a copy and paste job,

Also PERFORM_BOOTSTRAP_GOT and PERFORM_BOOTSTRAP_RELOCATION should be fixed, they
use symbols which aren't passed as arguments.

Jocke

f291640 2004-08-26 02:24:19 Manuel Novoa III

Patch by Carl SHAW <carl.shaw@st.com>...

Below is a patch to make the pread and pwrite calls work on the SH
architecture. I've only tested this on the SH4 with a 2.4.24 kernel - a
fairly recent kernel is required as the problem is partially fixed in
the kernel itself. For more information (in relation to glibc, but the
problem is the same) see the thread at

http://sourceforge.net/mailarchive/message.php?msg_id=2375908

Someone should really test this on the SH2/3...

ac55068 2004-08-26 00:19:00 Joakim Tjernlund

Patch from Stefan Allius:
Remove unused function parameter in ldso.
Remove echo option '-e' since it is not supported on Solaris.

8e4a1b8 2004-08-25 23:22:05 Joakim Tjernlund

Hopefully fix Laszlo and Jacobs dlopen problem.

25a92c7 2004-08-24 05:09:15 Eric Andersen

Note a security item for the next release

e9d95cf 2004-08-22 15:04:57 Eric Andersen

Make the stub profiling stuff work

01ccabf 2004-08-22 06:42:51 Eric Andersen

The "Delete current profiling code because it is complete crap"
TODO item is now done.

09f85c7 2004-08-22 06:39:51 Eric Andersen

Attempt to support 'gcc -finstrument-functions', which seems much
more sane than 'gcc -pg' and seems much easier to support.
-Erik

6e112da 2004-08-22 06:19:29 Eric Andersen

Kill off all support for 'gcc -pg' / 'gprof' style profiling. There is both a
size and performance penalty to profiling applications this way, as well as
Heisenberg effects, where the act of measuring changes what is measured.
There are better tools for doing profiling, such as OProfile, that do not
require gcc to instrument the application code.
-Erik

e50f6d1 2004-08-21 05:46:01 Eric Andersen

Enable only for architectures where __NR_madvise is defined
-Erik

508c294 2004-08-20 08:04:26 Eric Andersen

Never directly include kernel sources

a3a586b 2004-08-20 05:21:26 Eric Andersen

'pagesize' was local to dl-startup.c. In ldso.c we need
to use '_dl_pagesize'
-Erik

721201d 2004-08-20 01:44:19 Manuel Novoa III

Fix dependencies.

7761b10 2004-08-19 18:52:27 Joakim Tjernlund

Accunt for ELF_MACHINE_PLTREL_OVERLAP when relocating ldso.

85c39a6 2004-08-19 18:34:11 Joakim Tjernlund

Remove poor man's malloc. Not needed anymore.

86eecc5 2004-08-19 18:06:15 Joakim Tjernlund

Move "debug_addr" ptr from dl-startup.c to ldso.c

0a98c1b 2004-08-19 17:53:29 Joakim Tjernlund

Move the app specific stuff from dl-startup.c to ldso.c.

4135087 2004-08-19 17:08:27 Joakim Tjernlund

Oops, forgot to remove unused variable.

60b67c2 2004-08-19 17:03:58 Joakim Tjernlund

This is now done in ldso.c