Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
headers. Move most of that into a script, and warn loudly
when having to guess.
-Erik
|
|
|
|
script work with newer binutils versions.
|
|
Hi Erik,
I patched the initfini.awk script, so we can build crt[in].S for the SuperH
targets with gmon-support.
The patch moves all labels into the wright sections, and add some assembler
statements to jump over them. (only activ on SH targets)
The patch also avoid any references of _GLOBAL_OFFSET_TABLE_ or *gmon_start*
in the crtn.S file. This should work on every target.
Bye Stefan
|
|
|
|
|
|
|
|
configurable, so people who do not need or want ctor/dtor support
can disable it and make their binaries a little bit smaller.
-Erik
|
|
|
|
this is the last patch, we need to make the support of multitarget libgcc
complete.
---------------------------------
In ldso/ldso/Makefile
I added the CPU_LDFLAGS-y to the LDFLAGS
---------------------------------
In libc/Makefile
I set the LDFLAGS for the script get-needed-objects.sh with CPU_LDFLAGS-y
---------------------------------
In extra/scripts/get-needed-object.sh
we now use the LIBGCC from Rules.mak and call LD with LDFLAGS
(==CPU_LDFLAGS-y). Addtionally I grep the NM output, to fix the unresolved
external __GLOBAL_OFFSET_TABLE__ on SuperH targets.
---------------------------------
|
|
to hopefully address SH wierdness. Now works on other architecture
properly as well.
|
|
-Erik
|
|
|
|
Stefan Allius <allius@atecom.com>, which does a better job.
|
|
found correctly.
Tweak the whitespace of the generated file.
|
|
-Erik
|
|
my little initfini.pl script in awk. This eliminates uClibc's
compile-time dependancy on perl, and lets us use the much lighter
weight awk, which facilitates building uClibc standalone environments.
|
|
-----------------------------------
In extra/Configs/Config.sh
I added the INCLUDE_PTHREADS statement and change the default values for
BUILD_UCLIBC_LDSO and HAVE_SHARED.
-----------------------------------
In extra/scripts/initfini.pl
My last patch removes two labels, which migth be used by the .size statements.
(Sorry, but I'm a perl beginner) I fixed it.
-----------------------------------
In libc/sysdeps/linux/common/initfini.c
I fixed two warnings "nested extern declaration of `i_am_not_a_leaf..
-----------------------------------
In libc/sysdeps/linux/sh/__init_brl.c brk.c sbrk.c
I fixed some compiler warnings which comes from a wrong
inclusion order.
-----------------------------------
|
|
how uClibc handles _init and _fini, allowing shared lib constructors and
destructors to initialize things in the correct sequence. Stefan ported the SH
architecture. I then ported x86, arm, and mips. x86 and arm are working fine,
but I don't think I quite got things correct for mips.
|
|
|
|
-Erik
|
|
method for building crti.o and crtn.o
|
|
|
|
MIPS platforms.
|
|
-Erik
|
|
Prepare to kill the UNIFIED_SYSCALL option and instead have it be
a per arch thing that is either enabled or not for that arch.
-Erik
|
|
|
|
sneaky behind our back...
-Erik
|
|
|
|
|
|
can live with much better the what glibc does.
-Erik
|
|
|
|
|
|
thereby causing ld to choke during the gcc build.
-Erik
|
|
proper error checking
-Erik
|
|
*) changed ARM crt0.S / crt0pic.S selection -- depends on DOPIC now.
*) Minor tweek to syscall definitions
|
|
symbols by piping results through uniq
|
|
to accomodate arm, where rmk has made the syscall numbers be very very
strangely setup,
-Erik
|
|
NOTE!!! This is run by "make -C libc/sysdeps/linux/$(TARGET_ARCH) headers"
in the main Makefile, but I only changed libc/sysdeps/linux/i386/Makefile
as I had no way of testing it for the other archs. Various arch maintainers,
please check and update the corresponding Makefile... or report bugs ;-)...
appropriately. You'll also want to "cvs del" syscall.h and add it to
a .cvsignore in $(ARCH)/bits.
Also added a define to uClibc_config.h, __UCLIBC_USE_UNIFIED_SYSCALL__, and
moved i386 unified syscall stuff out of common and into i386/bits/syscalls.h.
|
|
in all cases.
|
|
when cross compiling with shared lib support, there were spots
where the native 'ld' was mistakenly being called.
|
|
|
|
objects with shared uClibc; allow disabling long long support.
|