summaryrefslogtreecommitdiff
path: root/Rules.mak
AgeCommit message (Collapse)Author
2009-11-09Rules.mak fix typo (qstrup -> qstrip)Austin Foxley
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-10-22build with -fmerge-all-constantsMike Frysinger
Glibc is already using this flag and it gives us a slight code shrink in a few functions. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-10-22test/plt: add a script to find PLT usageMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-10-09check_ld some more flagsBernhard Reutner-Fischer
gold does not currently implement these. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-10-08add and use qstripBernhard Reutner-Fischer
qstrip substitites quotes and strips the result. Avoiding single-quotes helps vim's poor syntax highlighting. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-09-16handle make ARCH= configBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-09-14Revert "default ?conf to native arch"Bernhard Reutner-Fischer
This reverts commit 6625518cd6894338937a74ca6b9187b7b8167b03. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-08-25default ?conf to native archBernhard Reutner-Fischer
Default is now the native arch, you can start a fresh .config via 'make ARCH=ia64 menuconfig'. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-08-17support building out-of-treeBernhard Reutner-Fischer
Handle O= Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-08-01Rules.mak: Fix references to svn.Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2009-07-21s/UCLIBC_INTERNAL/_LIBC/gDenys Vlasenko
Undo my old mistake. I added UCLIBC_INTERNAL define, but later I realized _LIBC is doing exactly the same thing. This change converts all usages of UCLIBC_INTERNAL to _LIBC, removing all instances of UCLIBC_INTERNAL. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-07-15use -EB/-EL for all targetsMike Frysinger
These are common linker options rather than target specific ones, so they should be safe to use for all targets. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-07-05use -isystem with gcc pathsMike Frysinger
Use -isystem to include gcc header paths rather than -I as these are system paths, not uClibc specific paths. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-05-04sh: Fix FPU config optionPeter Griffin
Change to UCLIBC_HAS_FPU because UCLIBC_HAS_FLOATS can be used with UCLIBC_HAS_SOFT_FLOAT option.
2009-03-25- do not pass -Wl with -shared in LDFLAGS_NOSTRIP (Peter S. Mazinger)Bernhard Reutner-Fischer
2009-02-23- also filter out headers-yBernhard Reutner-Fischer
2009-02-03- fix install_headers on hosts where ld does not support gnu hash-style butBernhard Reutner-Fischer
uClibc is configured to use it.
2009-01-28"make utils" now successfully makes utils for targetDenis Vlasenko
2009-01-22- also link librt with --as-needed and do so unconditionally to work aroundBernhard Reutner-Fischer
bugs in gentoo's QA. Just add UCLIBC_HAS_SSP to the "and" of link.asneeded to properly take SSP into account, if you prefer.
2009-01-14- make sure to pass the correct PIE flags to gcc (Peter S. Mazinger)Bernhard Reutner-Fischer
2009-01-14- make sure not to have relocs in Scrt1.o (Peter S. Mazinger)Bernhard Reutner-Fischer
2009-01-11utils/Makefile.in: de-obfuscate it a bitDenis Vlasenko
Rules.mak: use -Os, not -O2
2008-12-27ctype: remove some trivial macros from ctype.h;Denis Vlasenko
remove __tolower and __toupper (they existed only in SOME configs!); remove usages of _tolower (some of them clearly buggy) from uclibc code; add a few more -U<define> options to unifdef pass over installed headers; document it on docs/wchar_and_locale.txt text data bss dec hex filename - 514963 2727 15396 533086 8225e lib/libuClibc-0.9.30-svn.so + 514888 2727 15396 533011 82213 lib/libuClibc-0.9.30-svn.so
2008-12-26include/libc-string_i386.h: fix a bug where memset('\xff') misbehavesDenis Vlasenko
Rules.mak: add -funsigned-char, to forestall future PITA
2008-12-16fix testing "gcc -mpreferred-stack-boundary=2" on x86_64Denis Vlasenko
2008-12-13Make it again possible to have compact and small stack usageDenis Vlasenko
on non-SSE capable processors. I'm doing it the second time. text data bss dec hex filename 238539 1367 11280 251186 3d532 uClibc.z2/lib/libuClibc-0.9.30-svn.so 229457 1367 11280 242104 3b1b8 uClibc.z3/lib/libuClibc-0.9.30-svn.so
2008-11-12- adjust trunk version infoBernhard Reutner-Fischer
2008-11-11- update recommendation for pregenerated locales.Bernhard Reutner-Fischer
- update name of locale-tarball. We will retroactively fill them in, eventually
2008-11-07- less verbose make cleanBernhard Reutner-Fischer
2008-11-03Remove commented out CFLAGS assigment which is also set on next lineHans-Christian Egtvedt
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-28- mark trunk as BUGFIX-ONLY after 0.9.30-rc3Bernhard Reutner-Fischer
2008-10-28- bump version to 0.9.30-rc3Bernhard Reutner-Fischer
2008-10-15- mark trunk as -rc2-svnBernhard Reutner-Fischer
2008-10-15- bump version to 0.9.30-rc2Bernhard Reutner-Fischer
2008-10-10- make sure to match the start of the MAKE_VERSIONBernhard Reutner-Fischer
2008-10-08- add/use variables to make build-tools configurableBernhard Reutner-Fischer
2008-10-03- add long double math wrappers (Ned Ludd)Bernhard Reutner-Fischer
2008-09-25- add CONFIG_MIPS_ISA_MIPS32R2 (Julian Brown)Bernhard Reutner-Fischer
2008-08-21Disable -msoft-float usage on SH, gcc doesn't support it.Paul Mundt
2008-07-17- poison non-standard keywords:Bernhard Reutner-Fischer
Make sure that we can be built with non-C99 compilers, too. Use __\1__ instead.
2008-07-08Fix the test build system by installing headers on a local folderCarmelo Amoroso
instead of using internal headers. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-06-09- Improve prerequisites and avoid spurious reconfigurations.Bernhard Reutner-Fischer
More details: http://uclibc.org/lists/uclibc/2008-June/019509.html
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.