- 04 7月, 2016 30 次提交
-
-
由 Szabolcs Nagy 提交于
last time elf.h was thoroughly updated sh was not yet supported so these processor specific e_flags were missing.
-
由 Szabolcs Nagy 提交于
new regset in linux v3.18 for ptrace.
-
-
由 Szabolcs Nagy 提交于
marks different RLD_MAP for debugging PIE binaries.
-
-
-
由 Szabolcs Nagy 提交于
-
-
由 Szabolcs Nagy 提交于
add ilp32 related relocs and alternative names for a few macros following https://sourceware.org/ml/libc-alpha/2014-11/msg00455.html
-
由 Szabolcs Nagy 提交于
following the corresponding binutils and glibc changes https://sourceware.org/ml/binutils/2013-10/msg00372.html
-
由 Szabolcs Nagy 提交于
it was changed to EM_OR1K in 200d1547 as that was meant to be the official name, but glibc and the latest gabi spec still uses the EM_OPENRISC name: http://www.sco.com/developers/gabi/latest/ch4.eheader.html binutils defines both macros so we should do the same for backward compatibility.
-
由 Rich Felker 提交于
placing the opening brace on the same line as the struct keyword/tag is the style I prefer and seems to be the prevailing practice in more recent additions. these changes were generated by the command: find include/ arch/*/bits -name '*.h' \ -exec sed -i '/^struct [^;{]*$/{N;s/\n/ /;}' {} + and subsequently checked by hand to ensure that the regex did not pick up any false positives.
-
由 Rich Felker 提交于
-
由 Rich Felker 提交于
with this change, all three files are identical.
-
由 Szabolcs Nagy 提交于
it seems it was a typo.
-
由 Szabolcs Nagy 提交于
these were incorrectly using the generic definitions.
-
由 Szabolcs Nagy 提交于
same changes to the defined macros as in powerpc and generic bits.
-
由 Szabolcs Nagy 提交于
same changes as in the generic header. and BOTHER and IBSHIFT were removed (present in linux uapi but not in glibc) and TIOCSER_TEMT was added (present in glibc).
-
由 Szabolcs Nagy 提交于
add EXTA, EXTB, CIBAUD, CMSPAR, XCASE macros and hide them as well as CBAUD, ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN in standard mode. the new macros are both in glibc termios.h and in linux asm/termbits.h, the later also contains IBSHIFT and BOTHER, those were not added. these are not standard macros, but some of them are in the reserved namespace so could be exposed, the ones which are not reserved are CIBAUD, CMSPAR and XCASE (which was removed in issue 6), the rest got hidden to be consistent with glibc.
-
由 Rich Felker 提交于
-
由 Szabolcs Nagy 提交于
arm ioctl.h is the same as the generic one except this macro, so a workaround solution is used to avoid another ioctl.h copy.
-
由 Szabolcs Nagy 提交于
musl does not define these on other targets either.
-
由 Szabolcs Nagy 提交于
it seems it was a typo.
-
由 Szabolcs Nagy 提交于
TIOCM_ macros were wrongly using the asm-generic/termios.h definitions instead of the mips specific ones from asm/termios.h
-
由 Szabolcs Nagy 提交于
mips and powerpc use their own asm/ioctls.h, not the asm-generic/ioctls.h and they lack termiox macros that are available on other targets. see kernel commit 1d65b4a088de407e99714fdc27862449db04fb5c
-
由 Szabolcs Nagy 提交于
these are defined in linux asm/ioctls.h. (powerpc64 and powerpc bits/ioctl.h are now identical)
-
由 Szabolcs Nagy 提交于
glibc ioctl.h has it too.
-
由 Szabolcs Nagy 提交于
TIOCTTYGSTRUCT, TIOCGHAYESESP, TIOCSHAYESESP and TIOCM_MODEM_BITS were removed from the linux uapi and not present in glibc ioctl.h
-
由 Szabolcs Nagy 提交于
they were slightly different in musl, but should be the same: the linux uapi and glibc headers are not different.
-
- 03 7月, 2016 1 次提交
-
-
由 Rich Felker 提交于
the (unused) speed fields were omitted when these ports were first added (within this release cycle, so not present in any release yet) in accordance with how glibc defines the structure on mips archs. however their omission does not match existing musl practice/intent. glibc provides its own, mostly-unified termios structure definition and performs translation in userspace to match the kernel structure for the arch, but has gratuitous differences on a few archs like mips, presumably as a result of historical mistakes. some other libcs use the kernel definitions directly. musl essentially does that, by matching the kernel layout in the part of the structure the kernel will read/write, but leaves additional space at the end for extensibility. these are nominally the (nonstandard) speed fields and (on most archs) extra c_cc elements, but since they are not used they could be repurposed if there's ever a need.
-
- 02 7月, 2016 1 次提交
-
-
由 Rich Felker 提交于
commit 6d38c9cf provided an arm-specific version of posix_fadvise to address the alternate argument order the kernel expects on arm, but neglected to address that powerpc (32-bit) has the same issue. instead of having arch variant files in duplicate, simply put the alternate version in the top-level file under the control of a macro defined in syscall_arch.h.
-
- 01 7月, 2016 1 次提交
-
-
由 Bobby Bingham 提交于
-
- 30 6月, 2016 2 次提交
-
-
由 Rich Felker 提交于
the arm version of the syscall has a custom argument ordering to avoid needing a 7-argument syscall due to 64-bit argument alignment.
-
由 Rich Felker 提交于
when commit 0b6eb2df added the parentheses around __syscall to invoke the function directly, there was no __syscall7 in the syscall macro infrastructure, so this hack was needed. commit 9a3bbce4 fixed that but failed to remove the hack.
-
- 29 6月, 2016 4 次提交
-
-
由 Natanael Copa 提交于
loop over an address family / resource record mapping to avoid repetitive code.
-
由 Natanael Copa 提交于
don't send a query that may be malformed.
-
由 Rich Felker 提交于
-
由 Rich Felker 提交于
the kernel ABI value for RUSAGE_CHILDREN is -1, not 1. the latter is actually interpreted as RUSAGE_THREAD, to obtain values for just the calling thread and not the whole process.
-
- 28 6月, 2016 1 次提交
-
-
由 Rich Felker 提交于
mistakenly ordering strings before addresses in the result buffer broke the alignment that the preceding code had set up.
-