summaryrefslogtreecommitdiff
path: root/extra/Configs/Config.arm
AgeCommit message (Collapse)Author
2024-04-18Fix vDSO support for all supported architectures.Dmitry Chestnykh
- Cleanup dl-vdso.c code. - Pass `void *` as first arg to `load_vdso()`, using 32-bit type is completely wrong on 64bit architectures. - Split libc code and vDSO-related code. Move arch-specific implementations into separate files. The performance improvement is for example 50-60 times on ARMv7 and about 4 times on x86_64. Signed-off-by: Dmitry Chestnykh <dm.chestnykh@gmail.com>
2016-03-31arm: simplify handling of Thumb related optionsThomas Petazzoni
Currently, the Thumb support on ARM has three related Config.in options, which are not trivial for users to understand, and are in fact not needed: - The USE_BX option is not needed: knowing whether BX is available or not is easy. If you have an ARM > v4 or ARMv4T, then BX is available, otherwise it's not. This is the logic used in glibc. - The USE_LDREXSTREX option is not needed: whenever Thumb2 is available, ldrex/strex are available, so we can simply rely on __thumb2__ to determine whether ldrex/strex should be used, without requiring a Config.in option. - Once USE_BX and USE_LDREXSTREX are removed, the only thing left that COMPILE_IN_THUMB does is to set -mthumb. This makes the option unnecessary, as on ARM at least, the user is already supposed to pass -march=<foo> or other compiler options tuning the library for a specific ARM variant. There is no reason to do otherwise for Thumb, which allows to get rid of the COMPILE_IN_THUMB option. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-12unbreak support for ARM no MMU caseWaldemar Brodkorb
As suggested on the uCLibc mailing list: http://lists.uclibc.org/pipermail/uclibc/2014-November/048702.html http://lists.uclibc.org/pipermail/uclibc/2014-November/048703.html http://lists.uclibc.org/pipermail/uclibc/2014-November/048704.html
2013-02-20Config.in: Introduce symbol for arches with deprecated syscallsMarkos Chandras
Linuxthreads(old and new) need deprecated syscalls to build. Existing architectures support these system calls but new architectures don't. This symbol has no functional change apart from hidding the Linuxthreads symbols from arches that don't support them. Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-01-10libc: add {get,set,swap,make}context user context manipulation functionsFlorian Fainelli
Add the obsolescent SUSv3 family of user context manipulating functions for arm, i386, mips, x86_64. Signed-off-by: Timon ter Braak <timonterbraak@gmail.com> Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-06-11ARM: detect BX availibility at build timeYann E. MORIN
The "use BX" option is now a suggestion that BX be used if available. Use a macro to detect if BX is available at build time. If so, and the user requested it be used, then use it. Otherwise, error out. Macro courtesy Khem RAJ: http://lists.uclibc.org/pipermail/uclibc/2009-April/042301.html Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Cc: Khem Raj <raj.khem@gmail.com> Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Cc: Carmelo AMOROSO <carmelo.amoroso@st.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-06-11ARM: transform the EABI/OABI choice into a booleanYann E. MORIN
The CONFIG_ARM_OABI option is never used. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Cc: Khem Raj <raj.khem@gmail.com> Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Cc: Carmelo AMOROSO <carmelo.amoroso@st.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-06-11ARM: remove sub-arch/variants selection from menuconfigYann E. MORIN
Rely on the compiler to be correctly set up to generate appropriate code for the target variant. This exposes the Thumb option, as it is no longer auto-selected. The "Use BX" no longer depends on supported CPU to be selected, so it now defaults to 'n' as it shall work by default on CPUs that do not have BX. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Cc: Khem Raj <raj.khem@gmail.com> Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Cc: Carmelo AMOROSO <carmelo.amoroso@st.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-06-11ARM: introduce blind options to select & force THUMB modeYann E. MORIN
Add three new blind options to set use of Thumb mode: - COMPILE_IN_THUMB_MODE - if set, CFLAGS will contain -mthumb - if unset, the compiler's default is used - HAS_THUMB - CPUS with Thumb instruction set can select this - use of BX depends on this - FORCE_THUMB - CPUs that are Thumb-only must select this - this selects: HAS_THUMB, COMPILE_IN_THUMB_MODE and USE_BX Also, remove leading space in Rules.mak. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Cc: Khem Raj <raj.khem@gmail.com> Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Cc: Carmelo AMOROSO <carmelo.amoroso@st.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-06-11ARM: reorder "Use BX" optionYann E. MORIN
"Use BX" is not available on all CPUs, so the option depends on a correct CPU to be chosen . It is weird that e BX" then appears _above_ the CPU selection, not below. Move the "Use BX" after the CPU selection. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Cc: Khem Raj <raj.khem@gmail.com> Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Cc: Carmelo AMOROSO <carmelo.amoroso@st.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-02-14arm: use EABI per defaultBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-19remove ARCH_CFLAGS, ARCH_LDFLAGS and CROSSPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> 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>
2008-10-06- wrap overlong linesBernhard Reutner-Fischer
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.
2007-03-20- add arm1176 optionsBernhard Reutner-Fischer
2007-03-16No configs actually set LIBGCC_CFLAGS to anything, and it's not even Rob Landley
written into the resulting .config, so remove it.
2007-02-14make sure we declare TARGET_ARCH as a stringMike Frysinger
2006-12-03make ABI into a listMike Frysinger
2006-10-07Add config options to select ARM ARMv5 and Intel iwmmxt variants.Khem Raj
2006-02-18simplify endian config/selectionMike Frysinger
2006-02-09add ARM 7TDMI to processor selection listDavid Anders
2006-02-09fix ARM types that are known to have MMU's to select ARCH_HAS_MMUDavid Anders
2006-01-31Khem Raj says:Mike Frysinger
add support for using BX instruction for THUMB aware architectures
2006-01-29Patch by Joseph S. Myers to add support for ARM EABIMike Frysinger
2006-01-20s/TARGET_ARCH_FEATURES/FORCE_OPTIONS_FOR_ARCH/ to fix sed breakage as ↵Mike Frysinger
pointed out by Joseph S. Myers
2006-01-19fix breakage from HAVE_ELF removal and standardize all the arch config filesMike Frysinger
2006-01-19Remove HAVE_ELFPeter S. Mazinger
2005-11-11remove unused ARCH_LDFLAGS and touchup broken whitespaceMike Frysinger
2005-05-13ARM1136JF-S support.Paul Mundt
2004-01-16Fixup selection of endianness, since select does not work on choiceEric Andersen
items, we have to declare what endianness cpus are capable of supporting and work using dependancies.
2003-11-18Kill ARCH_HAS_NO_MMU and use HAS_FPU only. Wether floating point opsManuel Novoa III
are implemented in hardware or via kernel emulation doesn't matter to the libc code.
2003-11-04Rework the config system. Better utilize the Kconfig languageEric Andersen
which should simplify enabling arbitrary architectures. -Erik
2003-10-31Some more soft float fixes... for arm in particular (libfloat).Manuel Novoa III
Remove the ADD_LIBGCC_FUNCTIONS option and do things the right way. Either we have a shared libgcc available, or the libgcc routines aren't PIC and don't belong in the shared libc anyway.
2003-09-08Force enable ADD_LIBGCC_FUNCTIONS on armEric Andersen
2003-08-18Cleanup arm architecture optimizations and add big endian arm as well.Eric Andersen
2003-05-30Enable ADD_LIBGCC_FUNCTIONS by default on armEric Andersen
2003-01-16Update build rules a bit. fix quoting problems. Update defaultEric Andersen
x86 compiler optimization to not force building i386 opcodes.
2002-11-08Update doc referenceEric Andersen
2002-11-03Yet more config system updating.Eric Andersen
2002-11-02update all the Config files for the various arches so they work with the newEric Andersen
config system. Hopefully I got everything here correct... -Erik
2002-10-31Make it so arch specific stuff can be simpler. Initial attempt atEric Andersen
making CPU_CFLAGS, which should allow things to be optimized per-CPU and/or per-system. -Erik
2002-08-25Kill the HAS_LONG_LONG option. It really did not make a lot ofEric Andersen
sense to exclude it, gcc always supports long long, and we never fully excluded long long anyways (off64_t for example). -Erik
2002-08-08Update default config filesEric Andersen
2002-07-18Miles Bader implemented a new mmap based malloc which is muchEric Andersen
smarter than the old "malloc-simple", and actually works, unlike the old "malloc". So kill the old "malloc-simple" and the old "malloc" and replace them with Miles' new malloc implementation. Update Config files to match. Thanks Miles!
2002-07-03Update Config files for current locale and wide char configuration options.Manuel Novoa III
2002-07-02Resync the install definesEric Andersen
-Erik
2002-06-19Fix incorrect comment re malloc-930716Eric Andersen
-Erik
2002-02-20Enable thread supportEric Andersen