summaryrefslogtreecommitdiff
path: root/extra/scripts
AgeCommit message (Collapse)Author
2003-09-09Fix grammarEric Andersen
2003-09-04Minor cosmetic cleanups to avoid getting spurious bug reports.Eric Andersen
2003-09-03Let "$KERNEL_SOURCE/include/asm" be either a link or a directory.Eric Andersen
2003-09-01Remove a bunch of guessing about the location of the kernelEric Andersen
headers. Move most of that into a script, and warn loudly when having to guess. -Erik
2003-08-18Work around a bug in nm from binutils-2.14.90.0.5.Manuel Novoa III
2003-06-05Patch from Peter S. Mazinger to make the get-needed-libgcc-objectsEric Andersen
script work with newer binutils versions.
2003-03-05Patch from Stefan Allius:Eric Andersen
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
2003-03-03Initial effort at adding profiling support.Eric Andersen
2003-01-23Cleanup makefiles and make clean a bitEric Andersen
2002-12-12It seems SCO puts touch in a wierd placeEric Andersen
2002-11-27Make support for global constructors and global destructors beEric Andersen
configurable, so people who do not need or want ctor/dtor support can disable it and make their binaries a little bit smaller. -Erik
2002-11-21Patch from Yoshinori Sato to update the h8300 architecture.Eric Andersen
2002-11-08Patch from Stefan Allius for libgcc multilib supportEric Andersen
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. ---------------------------------
2002-11-03Another update to initfini.awk and initfini.c from Stefan AlliusEric Andersen
to hopefully address SH wierdness. Now works on other architecture properly as well.
2002-10-31Fixup script to avoid potential spurious whining over empty object files.Eric Andersen
-Erik
2002-10-29For now, comment out the broken partEric Andersen
2002-10-29Remove my horrible SH hack infavor of this fix for initfini.awk fromEric Andersen
Stefan Allius <allius@atecom.com>, which does a better job.
2002-10-28Add appropriate -I options so that any files included by unistd.h areMiles Bader
found correctly. Tweak the whitespace of the generated file.
2002-10-14Kill the now redundant initfini.plEric Andersen
-Erik
2002-10-14Patch from Christian MICHON <christian_michon@yahoo.fr> to reimplementEric Andersen
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.
2002-10-01Patch from Stefan Allius <allius@atecom.com>:Eric Andersen
----------------------------------- 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. -----------------------------------
2002-10-01This commit contains a patch from Stefan Allius <allius@atecom.com> to changeEric Andersen
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.
2002-09-05Change <bits/syscall.h> to <bits/sysnum.h>.Miles Bader
2002-08-27Make sure that bits/syscalls.h always includes bits/syscall.hEric Andersen
-Erik
2002-08-19Work from Stefan Allius which allows superH to use the commonEric Andersen
method for building crti.o and crtn.o
2002-08-16Cleanup exit a bit, from Ronald WahlEric Andersen
2002-08-07Ignore symbol '_gp_disp' if it's missing from 'libgcc.a'. That's okay for"Steven J. Hill"
MIPS platforms.
2002-08-06When symbols are missing, its supposed to be an error...Eric Andersen
-Erik
2002-07-22Rework syscall handling. Rewrite syscall handlers for x86 and ARM.Eric Andersen
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
2002-05-20Changes needed for MIPS with regards to the .init and .fini sections."Steven J. Hill"
2002-04-03Teach initfini to build properly on arches where gcc tries to beEric Andersen
sneaky behind our back... -Erik
2002-03-15Don't let this worry about _init and _finiEric Andersen
2002-03-15Fix location of crt0.oEric Andersen
2002-03-13Build our own crti.o and crtn.o with a cross arch method that IEric Andersen
can live with much better the what glibc does. -Erik
2002-02-04Add include guardsEric Andersen
2002-01-31Don't complain about _GLOBAL_OFFSET_TABLE_Eric Andersen
2002-01-11Failed to call sort before calling uniq in several spots,Eric Andersen
thereby causing ld to choke during the gcc build. -Erik
2002-01-01Change all 'cd <foo>; bar' constructs to 'cd <foo> && bar' forEric Andersen
proper error checking -Erik
2001-10-12A small patch from Erwin Authried <eauth@softsys.co.at>Eric Andersen
*) changed ARM crt0.S / crt0pic.S selection -- depends on DOPIC now. *) Minor tweek to syscall definitions
2001-09-13Patch from John Tyner <jtyner@cs.ucr.edu> to avoid redefinedEric Andersen
symbols by piping results through uniq
2001-07-03Just take whatever the kernel headers gave us, spaces and all. This isEric Andersen
to accomodate arm, where rmk has made the syscall numbers be very very strangely setup, -Erik
2001-06-28Added a script to create bits/syscall.h for each arch.Manuel Novoa III
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.
2001-05-29Define "NM = $(CROSS)nm" and use $NM and $AR in get-needed-libgcc-objects.shEric Andersen
in all cases.
2001-05-17Fix up some problems noted by August Hoerandl <ahoerandl@gmx.at>Eric Andersen
when cross compiling with shared lib support, there were spots where the native 'ld' was mistakenly being called.
2001-03-18Part of the shared lib build rework.Manuel Novoa III
2001-01-25Clean up atexit.c; make sure sysconf and atexit agree; link in ref'd libgcc.aManuel Novoa III
objects with shared uClibc; allow disabling long long support.