summaryrefslogtreecommitdiff
path: root/Rules.mak
AgeCommit message (Collapse)Author
2008-06-01A slight improvement over my previous commit which ensured we always rebuildBernd Schmidt
libc when one of the source files changes. Since there are more places which want to depend on $(libc), fix them all to use a new variable $(libc.depend), which contains the filename for which we have a rule.
2008-05-23- use -print-file-nameBernhard Reutner-Fischer
2008-04-30guard against older ld's not understanding --sort-section alignmentDenis Vlasenko
2008-04-30Rules.mak: fix -falign/-malign mixupDenis Vlasenko
2008-04-29build system: use a bit more aggressive gcc/ld optimizations,Denis Vlasenko
mostly related to ELF section ans padding, not code gen. Resulting reductions in size (only biggest ones are shown) uClibc.t4 - new, uClibc.t3 - old: 15673 244 92 16009 3e89 uClibc.t4-stdcfg_so/lib/ld-uClibc-0.9.29.so 15673 244 92 16009 3e89 uClibc.t4-stdcfg_so/lib/ld-uClibc.so 15673 244 92 16009 3e89 uClibc.t4-stdcfg_so/lib/ld-uClibc.so.0 15678 244 92 16014 3e8e uClibc.t3-stdcfg_so/lib/ld-uClibc-0.9.29.so 15678 244 92 16014 3e8e uClibc.t3-stdcfg_so/lib/ld-uClibc.so 15678 244 92 16014 3e8e uClibc.t3-stdcfg_so/lib/ld-uClibc.so.0 39910 200 4 40114 9cb2 uClibc.t4-stdcfg_so/lib/libm-0.9.29.so 39910 200 4 40114 9cb2 uClibc.t4-stdcfg_so/lib/libm.so 39910 200 4 40114 9cb2 uClibc.t4-stdcfg_so/lib/libm.so.0 40179 200 4 40383 9dbf uClibc.t3-stdcfg_so/lib/libm-0.9.29.so 40179 200 4 40383 9dbf uClibc.t3-stdcfg_so/lib/libm.so 40179 200 4 40383 9dbf uClibc.t3-stdcfg_so/lib/libm.so.0 234104 1472 5980 241556 3af94 uClibc.t4-stdcfg_so/lib/libc.so.0 234104 1472 5980 241556 3af94 uClibc.t4-stdcfg_so/lib/libuClibc-0.9.29.so 235319 1472 5992 242783 3b45f uClibc.t3-stdcfg_so/lib/libc.so.0 235319 1472 5992 242783 3b45f uClibc.t3-stdcfg_so/lib/libuClibc-0.9.29.so
2008-04-28Experimentally move libc_hidden_proto(time) to time.h.Denis Vlasenko
The only code change observed is actually a case where we were not doing that as needed: 00000000 <__GI_tzset>: -53 push %ebx -e8 00 00 00 00 call 6 <__GI_tzset+0x6> -5b pop %ebx -81 c3 03 00 00 00 add $0x3,%ebx - R_386_GOTPC _GLOBAL_OFFSET_TABLE_ 6a 00 push $0x0 -e8 fc ff ff ff call 10 <__GI_tzset+0x10> - R_386_PLT32 time +e8 fc ff ff ff call 3 <__GI_tzset+0x3> + R_386_PC32 __GI_time 3d ff 4e 98 45 cmp $0x45984eff,%eax 0f 9e c0 setle %al 0f b6 c0 movzbl %al,%eax 50 push %eax -e8 fc ff ff ff call 21 <__GI_tzset+0x21> +e8 fc ff ff ff call 14 <__GI_tzset+0x14> R_386_PC32 _time_tzset 58 pop %eax 5a pop %edx -5b pop %ebx c3 ret No mass migration of libc_hidden_proto(foo) planned. Lets wait for potential fallout first.
2008-03-26Paul Brook writes:Bernhard Reutner-Fischer
The attached patch adds support for compiling arm uClibc as pure Thumb code. This is needed because some recent ARM codes do not implement traditional ARM mode. Specifically: * Cortex-M1 - An extremely minimal FPGA based core that only implements Thumb-1 (aka ARMv6-M). * Cortex-M3 - A Thumb-2 only ARMv7-M core. Most of uClibc already builds in Thumb mode, all that is left are a handful of assembly bits. Tested on arm-uclinuxeabi.
2008-01-18A patch from our Blackfin repository, originally from Mike Frysinger.Bernd Schmidt
Add sysdeps/linux/$(TARGET_ARCH) to the list of includes. Needed by some of the Blackfin specific string assembly files.
2008-01-17A patch from our Blackfin repository, originally from Jie Zhang. This fixesBernd Schmidt
a problem where the linker was trying to use the wrong symbol name for the init function. Define SYMBOL_PREFIX as _ in Rules.mak for h8300, bfin, i960, microblaze, and v850. Add -D__UCLIBC_UNDERSCORES__ in CFLAGS for targets which define SYMBOL_PREFIX as _. Remove defines and undefs from uClibc_arch_features.h of each target. Add $(SYMBOL_PREFIX) to __uClibc_init when passed by ld option -init.
2008-01-16- check for -nostdlibBernhard Reutner-Fischer
2008-01-08sh64 uses a 32-bit ABI, don't bother with lib64 silliness.Paul Mundt
2008-01-05Chris Zankel writes:Mike Frysinger
The following patches add support for the Xtensa processor architecture to uClibc. They are based on a recent SVN checkout (12/05/2007). The first patch (attached to this post) adds Xtensa support to various shared configuration and make files. The following patches then include the Xtensa specific files and directories. I welcome any feedback and would appreciate it if you could include the patches into the mainline tree. I am certainly committed to maintain the port. Bob Wilson was kind enough to review the patches. Some notes about the architecture: Xtensa is a configurable and extensible processor architecture developed by Tensilica. For more information, please visit: www.linux-xtensa.org.
2008-01-05pop -m32 onto LDFLAGS/CFLAGS to make building on x86_64 multilib systems ↵Mike Frysinger
transparent
2007-11-23Add necessary Makefile rules for the Blackfin.Bernd Schmidt
2007-11-16Added AVR32 support to uClibc. Signed-off-by: Hans-Christian Egtvedt ↵Carmelo Amoroso
<hcegtvedt@atmel.com>
2007-11-07- fix whitespaceBernhard Reutner-Fischer
2007-11-07Added support for GNU hash style into dynamic linkerCarmelo Amoroso
2007-10-16- move UCLIBC_EXTRA_LDFLAGS below pinning LDFLAGSBernhard Reutner-Fischer
2007-10-13- use the compiler-driver instead of the linkerBernhard Reutner-Fischer
- adjust setting flags accordingly to use (hardcoded, see below) -Wl, Potential improvements: *) --warn-unresolved-symbols should perhaps be used for all libs *) eventually rename LDFLAGS to CC_LDFLAGS *) probe for compiler driver's notion of flag to use for passing in linker flags (i.e. don't hardcode "-Wl,")
2007-10-13- allow for passing in UCLIBC_EXTRA_LDFLAGSBernhard Reutner-Fischer
2007-09-21Jie Zhang writes:Mike Frysinger
GCC 4.3 will put fixed headers in a seperate include-fixed directory. And I don't think that there are people who are still using the 'stupid' GCC which cannot handle -iwithprefix, at least it works with gcc-3.3.x.
2007-09-15simplify binutils as-needed support and enable it all the time regardless of sspMike Frysinger
2007-06-22as noted by psm, make sure we accumulate PICFLAG-y back into PICFLAGMike Frysinger
2007-06-22pull from Blackfin repo: add -mid-shared-library for ↵Mike Frysinger
UCLIBC_FORMAT_SHARED_FLAT and -msep-data for UCLIBC_FORMAT_FLAT_SEP_DATA
2007-04-17force ourselves to write proper code and develop testscasesMike Frysinger
2007-04-17dont force a . before EXTRAVERSION so we can be a little more flexible with ↵Mike Frysinger
versioning
2007-03-20- add arm1176 optionsBernhard Reutner-Fischer
2007-03-19dont want to actually bump EXTRAVERSIONMike Frysinger
2007-03-19#1273 if EXTRAVERSION is set, make sure we respect itMike Frysinger
2007-02-18rewrite all superh targets to just shMike Frysinger
2007-02-18rewrite all sparc targets to just sparcMike Frysinger
2007-02-18rewrite parisc to hppaMike Frysinger
2007-02-14make arch default to hostarchMike Frysinger
2007-02-13Add missing bits/fenv.h that got lost in the e500 port.Joakim Tjernlund
clean up E500 math support somewhat. From Steve Papacharalambous with mods by me.
2007-02-12Rehash the PowerPC e500 port to avoid creating symlinks Joakim Tjernlund
in the powerpc arch code and make more code common with classic PowerPC. From Steve Papacharalambous Lets hope I didn't break something.
2007-02-08enable -std=gnu99 by default nowMike Frysinger
2007-02-04Add support for PowerPC e500, libc part only.Joakim Tjernlund
Math support to be done. From Steve Papacharalambous, stevep@freescale.com
2007-01-28Bernhard Fischer writes: add undef/nonnull warnings to EXTRA_WARNINGSMike Frysinger
2007-01-05Support SecurePLTs for PowerPC. You need a toolchain that supportsJoakim Tjernlund
config option --enable-secureplt. The assembler must also supports R_PPC_REL16* relocations. gcc 4.1.1 and binutils 2.17 is known to do this.
2006-12-12we just want the kernel headers, not the whole kernel source ... so people ↵Mike Frysinger
may need to update their paths slightly
2006-12-11kill off the need for fix_includes.sh by utilizing KERNEL_SOURCE directlyMike Frysinger
2006-12-11tie PICFLAG:=-mfdpic to format rather than architectureMike Frysinger
2006-12-08Richard Sandiford writes: add support for init/fini arrays in shared flat ↵Mike Frysinger
libraries
2006-11-22Correct -march cflag value for thumb capable ARM processors: Thanks Paul BrookKhem Raj
2006-11-04mips64 patch from Atsushi Nemoto:Eric Andersen
Add selection of 3 ABI. CPU_CFLAGS is needed to generate correct sysnum.h. Fix test/Rules.mak.
2006-10-07Add config options to select ARM ARMv5 and Intel iwmmxt variants.Khem Raj
2006-08-25fix from psm to make sure host make is new enoughMike Frysinger
2006-07-05bump the version, in preparation for actually cutting a releaseEric Andersen
at some point in the relatively near future.
2006-07-05fixup my copyright notice, trim stale remnants of older notices whichEric Andersen
I had clearly run search/replace on that were cluttering things up.
2006-07-04Change symbol 'NOSTRIP' to 'DOSTRIP' since the double negativesEric Andersen
on i.e. NOSTRIP=n gets a bit confusing.