| Commit message (Expand) | Author | Age | Files | Lines |
| * | arm: add __aeabi_atexit()•••arm eabi requires this symbol for static C++ dtors.
usually it is provided by libstdc++, but when a C++ program
doesn't use the std lib (free-standing), the libc has to provide
it.
this was encountered while building transmission, which
depends on such a C++ library (libutp).
this function is nearly identical to __cxa_atexit, but it has the
order of argumens swapped for "performance reasons".
see page 25 of
http://infocenter.arm.com/help/topic/com.arm.doc.ihi0043d/IHI0043D_rtabi.pdf
there are other aeabi specific C++ support functions missing, but
it is not clear yet that GCC makes use of them so we omit them for
the moment.
| rofl0r | 2013-02-06 | 1 | -0/+6 |
| * | add missing mmap options and madvices to bits/mman.h based on linux headers | Szabolcs Nagy | 2013-01-12 | 6 | -0/+41 |
| * | add missing EXTPROC flag to bits/termios.h•••mips and powerpc already had this termios flag defined
| Szabolcs Nagy | 2013-01-12 | 4 | -0/+4 |
| * | add missing F_GETOWNER_UIDS flag to bits/fcntl.h | Szabolcs Nagy | 2013-01-12 | 6 | -0/+11 |
| * | add missing EHWPOISON to bits/errno.h•••it was already defined for mips, but was missing from other archs
| Szabolcs Nagy | 2013-01-12 | 5 | -0/+5 |
| * | x86_64/bits/signal.h: fix typo in REG_CSGSFS | rofl0r | 2012-12-19 | 1 | -1/+1 |
| * | fix trailing whitespace issues that crept in here and there | Rich Felker | 2012-12-07 | 1 | -9/+9 |
| * | move signal.h REG_* macros under _GNU_SOURCE protection•••they were accidentally exposed under just baseline POSIX, which is a
big namespace pollution issue. thankfully glibc only exposes them
under _GNU_SOURCE, not under any of its other options, so omitting
the pollution in the default _BSD_SOURCE profile does not hurt
application compatibility at all.
| Rich Felker | 2012-12-06 | 2 | -44/+48 |
| * | bits/signal.h: add register names for x86(_64)•••glibc exposes them from ucontext.h.
since that header includes signal.h, it is safe to put them
into bits/signal.h, if _GNU_SOURCE is defined.
| rofl0r | 2012-12-06 | 2 | -0/+46 |
| * | add more arch-specific MAP_ macros to bits/mman.h•••these are also needed by qemu.
| rofl0r | 2012-12-06 | 6 | -0/+24 |
| * | remove MAP_32 from non-x86 archs•••both kernel and glibc define it only on x86(_64).
| rofl0r | 2012-12-06 | 3 | -3/+0 |
| * | add MAP_NORESERVE to bits/mman.h•••this is needed for qemu, and since it differs for each arch
it can't be circumvented easily by using a macro in CFLAGS.
| rofl0r | 2012-12-06 | 6 | -0/+6 |
| * | fix regression in arm user.h that happened during big user.h changes | Rich Felker | 2012-12-04 | 1 | -0/+1 |
| * | remove stat member aliases from ppc-specific bits/stat.h•••if these are to be supported, they belong in the main stat.h, not
repeated for each arch.
| Rich Felker | 2012-11-26 | 1 | -6/+0 |
| * | fixup mcontext stuff to expost gregset_t/fpregset_t as appropriate | Rich Felker | 2012-11-25 | 6 | -10/+32 |
| * | make sys/procfs.h mostly work on most archs•••these structures are purely for use by trace/debug tools and tools
working with core files. the definition of fpregset_t, which was
previously here, has been removed because it was wrong; fpregset_t
should be the type used in mcontext_t, not the type used in
ptrace/core stuff.
| Rich Felker | 2012-11-25 | 5 | -8/+30 |
| * | remove microblaze user.h incorrectly copied from arm | Rich Felker | 2012-11-25 | 1 | -40/+1 |
| * | begin sys/user.h and sys/reg.h fixes for ports•••aside from microblaze, these should be roughly correct for all archs
now. some misc junk macros and typedefs are missing, which should
probably be added for max compatibility with trace/debug tools.
| Rich Felker | 2012-11-23 | 4 | -98/+78 |
| * | fix powerpc ucontext, again..•••it should now really match the kernel. some of the removed padding
corresponded to the difference between user and kernel sigset_t. the
space at the end was redundant with the uc_mcontext member and seems
to have been added as a result of misunderstanding glibc's definition
versus the kernel's.
| Rich Felker | 2012-11-23 | 1 | -5/+0 |
| * | fix termios constants on mips | Rich Felker | 2012-11-23 | 1 | -10/+21 |
| * | sigcontext/mcontext cleanup for arch-specific bits•••with these changes, the members/types of mcontext_t and related stuff
should closely match the glibc definitions. unlike glibc, however, the
definitions here avoid using typedefs as much as possible and work
directly with the underlying types, to minimize namespace pollution
from signal.h in the default (_BSD_SOURCE) profile.
this is a first step in improving compatibility with applications
which poke at context/register information -- mainly debuggers, trace
utilities, etc. additional definitions in ucontext.h and other headers
may be needed later.
if feature test macros are used to request a conforming namespace,
mcontext_t is replaced with an opaque structure of the equivalent size
and alignment; conforming programs cannot examine its contents anyway.
| Rich Felker | 2012-11-23 | 5 | -81/+94 |
| * | fix powerpc setjmp/longjmp to save/restore float regs; enlarge/align jmp_buf | Rich Felker | 2012-11-23 | 1 | -1/+1 |
| * | fix up leftover, incorrect NSIG definitions in arch-specific signal.h | Rich Felker | 2012-11-23 | 5 | -5/+0 |
| * | remove stuff that doesn't belong in powerpc 32-bit sigcontext•••these fields were wrongly copied from the kernel's ppc64 struct def
| Rich Felker | 2012-11-23 | 1 | -4/+0 |
| * | more ppc signal.h typedef order fixes | Rich Felker | 2012-11-21 | 1 | -13/+13 |
| * | fix misordered typedefs in ppc signal.h | Rich Felker | 2012-11-21 | 1 | -2/+2 |
| * | ppc signal/NSIG related fix (warning fix, redefinition) | Rich Felker | 2012-11-21 | 1 | -2/+1 |
| * | add back NSIG, removed from powerpc in last commit, but for all archs•••unlike the previous definition, NSIG/_NSIG is supposed to be one more
than the highest signal number. adding this will allow simplifying
libc-internal code that makes signal-related syscalls, which can be
done as a later step. some apps might use it too; while this usage is
questionable, it's at least not insane.
| Rich Felker | 2012-11-21 | 6 | -0/+12 |
| * | make powerpc signal.h namespace-clean for posix/isoc•••also handle the non-GNUC case where alignment attribute is not available
by simply omitting it. this will not cause problems except for
inclusion of mcontex_t/ucontext_t in application-defined structures,
since the natural alignment of the uc_mcontext member relative to the
start of ucontext_t is already correct. and shame on whoever designed
this for making it impossible to satisfy the ABI requirements without
GNUC extensions.
| Rich Felker | 2012-11-21 | 1 | -19/+32 |
| * | fix powerpc types to match abi, and some feature test issues | Rich Felker | 2012-11-21 | 3 | -7/+8 |
| * | fix invalid usage of mcontext_t in powerpc signal.h | rofl0r | 2012-11-21 | 1 | -1/+1 |
| * | fix breakage from introducing bits header for sys/io.h•••apparently some other archs have sys/io.h and should not break just
because they don't have the x86 port io functions. provide a blank
bits/io.h everywhere for now.
| Rich Felker | 2012-11-18 | 6 | -6/+0 |
| * | add port io functions to sys/io.h•••based on proposal by Isaac Dunham. nonexistance of bits/io.h will
cause inclusion of sys/io.h to produce an error on archs that are not
supposed to have it. this is probably the desired behavior, but the
error message may be a bit unusual.
| Rich Felker | 2012-11-18 | 2 | -0/+160 |
| * | add missing const on powerpc FE_DFL_ENV | Rich Felker | 2012-11-18 | 1 | -1/+1 |
| * | fenv support for ppc, untested•••based on code sent to the mailing list by nsz, with minor changes.
| Rich Felker | 2012-11-18 | 1 | -7/+28 |
| * | fcntl.h: O_SEARCH was missing for powerpc•••put some macros that do not differ between architectures in the
main header and remove from bits.
restructure mips header so it has the same structure as the others.
| rofl0r | 2012-11-18 | 5 | -24/+9 |
| * | ppc socket.h: add forgotten cmsghdr | rofl0r | 2012-11-18 | 1 | -0/+7 |
| * | dynamic linking support for powerpc•••incomplete but at least partly working. requires all files to be
compiled in the new "secure" plt model, not the old one that put plt
code in the data segment. TLS is untested but may work. invoking the
dynamic linker explicitly to load a program does not yet handle argv
correctly.
| Rich Felker | 2012-11-16 | 1 | -8/+27 |
| * | fix ppc stat structure definition | Rich Felker | 2012-11-16 | 1 | -4/+3 |
| * | fix powerpc termios.h and ioctl.h | rofl0r | 2012-11-16 | 2 | -192/+232 |
| * | disable SO_REUSEPORT in sys/socket.h•••although a number is reserved for it, this option is not implemented
on Linux and does not work. defining it causes some applications to
use it, and subsequently break due to its failure.
| Rich Felker | 2012-11-15 | 1 | -1/+1 |
| * | ppc wchar_t is long, not int | Rich Felker | 2012-11-15 | 1 | -1/+1 |
| * | fix powerpc atomic compare-and-swap function•••previous version did not compare at all; it was just a fancy atomic
write. untested. further atomic fixes may be needed.
| Rich Felker | 2012-11-14 | 1 | -6/+7 |
| * | update ppc atomic code to match the endian-agnostic version on other archs | Rich Felker | 2012-11-14 | 1 | -14/+6 |
| * | fix wchar limits mistakenly copied from arm | Rich Felker | 2012-11-14 | 1 | -2/+2 |
| * | PPC port cleaned up, static linking works well now. | rofl0r | 2012-11-13 | 35 | -956/+1025 |
| * | import preliminary ppc work by rdp. | Richard Pennington | 2012-11-13 | 29 | -0/+1971 |
| * | fix numerous mips abi constant definition mismatches | Rich Felker | 2012-11-05 | 3 | -89/+120 |
| * | fix struct stat size/padding on microblaze | Rich Felker | 2012-10-19 | 1 | -1/+2 |
| * | inline syscalls for microblaze | Rich Felker | 2012-10-18 | 1 | -0/+97 |