summaryrefslogtreecommitdiffstats
path: root/extra/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Kill initfini.awkEric Andersen2003-11-051-121/+0
|
* Kill off "mipsel" and just use "mips"Eric Andersen2003-11-051-4/+0
|
* this script is no longer used, and can be removed.Eric Andersen2003-11-011-84/+0
|
* oops.Eric Andersen2003-09-301-8/+8
|
* Patch from Philip Nye fixing mmu-lessEric Andersen2003-09-171-1/+1
|
* Stefan Allius writes:Eric Andersen2003-09-112-5/+5
| | | | | | | | | 1. Under Solaris the test command with the 'string' argument don't work well. So I added the '-n' argument, which might work on all platforms. 2. The sed under Solaris don't support the '-s' argument, which is a GNU extension. I changed it to '-e' which works fine for me.
* Fix grammarEric Andersen2003-09-091-4/+4
|
* Minor cosmetic cleanups to avoid getting spurious bug reports.Eric Andersen2003-09-041-5/+19
|
* Let "$KERNEL_SOURCE/include/asm" be either a link or a directory.Eric Andersen2003-09-031-2/+2
|
* Remove a bunch of guessing about the location of the kernelEric Andersen2003-09-011-0/+154
| | | | | | headers. Move most of that into a script, and warn loudly when having to guess. -Erik
* Work around a bug in nm from binutils-2.14.90.0.5.Manuel Novoa III2003-08-181-1/+1
|
* Patch from Peter S. Mazinger to make the get-needed-libgcc-objectsEric Andersen2003-06-051-1/+1
| | | | script work with newer binutils versions.
* Patch from Stefan Allius:Eric Andersen2003-03-051-11/+31
| | | | | | | | | | | | | | | 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
* Initial effort at adding profiling support.Eric Andersen2003-03-032-3/+8
|
* Cleanup makefiles and make clean a bitEric Andersen2003-01-231-2/+2
|
* It seems SCO puts touch in a wierd placeEric Andersen2002-12-121-1/+1
|
* Make support for global constructors and global destructors beEric Andersen2002-11-271-1/+1
| | | | | | configurable, so people who do not need or want ctor/dtor support can disable it and make their binaries a little bit smaller. -Erik
* Patch from Yoshinori Sato to update the h8300 architecture.Eric Andersen2002-11-211-0/+2
|
* Patch from Stefan Allius for libgcc multilib supportEric Andersen2002-11-081-5/+3
| | | | | | | | | | | | | | | | | | 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. ---------------------------------
* Another update to initfini.awk and initfini.c from Stefan AlliusEric Andersen2002-11-031-13/+15
| | | | | to hopefully address SH wierdness. Now works on other architecture properly as well.
* Fixup script to avoid potential spurious whining over empty object files.Eric Andersen2002-10-311-6/+9
| | | | -Erik
* For now, comment out the broken partEric Andersen2002-10-291-6/+6
|
* Remove my horrible SH hack infavor of this fix for initfini.awk fromEric Andersen2002-10-291-1/+16
| | | | Stefan Allius <allius@atecom.com>, which does a better job.
* Add appropriate -I options so that any files included by unistd.h areMiles Bader2002-10-281-3/+6
| | | | | found correctly. Tweak the whitespace of the generated file.
* Kill the now redundant initfini.plEric Andersen2002-10-141-156/+0
| | | | -Erik
* Patch from Christian MICHON <christian_michon@yahoo.fr> to reimplementEric Andersen2002-10-141-0/+77
| | | | | | 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.
* Patch from Stefan Allius <allius@atecom.com>:Eric Andersen2002-10-011-5/+2
| | | | | | | | | | | | | | | | | | | ----------------------------------- 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. -----------------------------------
* This commit contains a patch from Stefan Allius <allius@atecom.com> to changeEric Andersen2002-10-012-2/+5
| | | | | | | 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.
* Change <bits/syscall.h> to <bits/sysnum.h>.Miles Bader2002-09-051-4/+4
|
* Make sure that bits/syscalls.h always includes bits/syscall.hEric Andersen2002-08-271-1/+2
| | | | -Erik
* Work from Stefan Allius which allows superH to use the commonEric Andersen2002-08-191-2/+8
| | | | method for building crti.o and crtn.o
* Cleanup exit a bit, from Ronald WahlEric Andersen2002-08-161-1/+3
|
* Ignore symbol '_gp_disp' if it's missing from 'libgcc.a'. That's okay for"Steven J. Hill"2002-08-071-1/+1
| | | | MIPS platforms.
* When symbols are missing, its supposed to be an error...Eric Andersen2002-08-061-0/+3
| | | | -Erik
* Rework syscall handling. Rewrite syscall handlers for x86 and ARM.Eric Andersen2002-07-221-2/+1
| | | | | | 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
* Changes needed for MIPS with regards to the .init and .fini sections."Steven J. Hill"2002-05-201-4/+9
|
* Teach initfini to build properly on arches where gcc tries to beEric Andersen2002-04-031-0/+8
| | | | | sneaky behind our back... -Erik
* Don't let this worry about _init and _finiEric Andersen2002-03-151-1/+1
|
* Fix location of crt0.oEric Andersen2002-03-151-1/+1
|
* Build our own crti.o and crtn.o with a cross arch method that IEric Andersen2002-03-131-0/+140
| | | | | can live with much better the what glibc does. -Erik
* Add include guardsEric Andersen2002-02-041-0/+3
|
* Don't complain about _GLOBAL_OFFSET_TABLE_Eric Andersen2002-01-311-1/+1
|
* Failed to call sort before calling uniq in several spots,Eric Andersen2002-01-111-2/+2
| | | | | thereby causing ld to choke during the gcc build. -Erik
* Change all 'cd <foo>; bar' constructs to 'cd <foo> && bar' forEric Andersen2002-01-011-4/+4
| | | | | proper error checking -Erik
* A small patch from Erwin Authried <eauth@softsys.co.at>Eric Andersen2001-10-121-2/+2
| | | | | *) changed ARM crt0.S / crt0pic.S selection -- depends on DOPIC now. *) Minor tweek to syscall definitions
* Patch from John Tyner <jtyner@cs.ucr.edu> to avoid redefinedEric Andersen2001-09-131-2/+2
| | | | symbols by piping results through uniq
* Just take whatever the kernel headers gave us, spaces and all. This isEric Andersen2001-07-031-1/+1
| | | | | | to accomodate arm, where rmk has made the syscall numbers be very very strangely setup, -Erik
* Added a script to create bits/syscall.h for each arch.Manuel Novoa III2001-06-281-0/+25
| | | | | | | | | | | 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.
* Define "NM = $(CROSS)nm" and use $NM and $AR in get-needed-libgcc-objects.shEric Andersen2001-05-291-8/+8
| | | | in all cases.
* Fix up some problems noted by August Hoerandl <ahoerandl@gmx.at>Eric Andersen2001-05-171-3/+3
| | | | | when cross compiling with shared lib support, there were spots where the native 'ld' was mistakenly being called.