Commit Graph

6411 Commits

Author SHA1 Message Date
Christopher Ferris
7bc9b73a65 am fa088df4: am 4fbd0277: am f084f7dc: Merge "Fix up failing glibc tests."
* commit 'fa088df49ef6508b1e8072a37e67d95b2a4c60f3':
  Fix up failing glibc tests.
2013-10-29 18:36:20 -07:00
Elliott Hughes
8695949391 am ee99ebbc: am 7a8e20c9: Merge "Explain the sigprocmask in pthread_exit."
* commit 'ee99ebbc8f0447880f316a10b2249f813f964172':
  Explain the sigprocmask in pthread_exit.
2013-10-29 18:31:06 -07:00
Christopher Ferris
fa088df49e am 4fbd0277: am f084f7dc: Merge "Fix up failing glibc tests."
* commit '4fbd0277aedd9cf1e81648e9a849c52211a65adf':
  Fix up failing glibc tests.
2013-10-29 18:31:05 -07:00
Elliott Hughes
2f287bc728 Factor out some of the makefile cruft.
I really don't want to add yet another copy for aarch64.

Also sort arm, mips, and x86.

Also silence the "TARGET_ARCH_VARIANT" warning for non-ARM; Intel and MIPS
have both complained about it.

Change-Id: I32c592a90c0cf0cdae250d84035b3e4655543781
2013-10-29 16:59:54 -07:00
Elliott Hughes
ee99ebbc8f am 7a8e20c9: Merge "Explain the sigprocmask in pthread_exit."
* commit '7a8e20c9c7c11b0ef11b718f18be5e2df22edc1a':
  Explain the sigprocmask in pthread_exit.
2013-10-29 16:31:23 -07:00
Elliott Hughes
7a8e20c9c7 Merge "Explain the sigprocmask in pthread_exit." 2013-10-29 23:29:07 +00:00
Elliott Hughes
2b6e43e00e Explain the sigprocmask in pthread_exit.
Also remove the SIGSEGV special case, which was probably because
hand-written __exit_with_stack_teardown stubs used to try to cause
SIGSEGV if the exit system call returned (which it never does, so
that dead code disappeared).

Also move the sigprocmask into the only case where it's necessary ---
the one where we unmap the stack that would be used by a signal
handler.

Change-Id: Ie40d20c1ae2f5e7125131b6b492cba7a2c6d08e9
2013-10-29 16:11:06 -07:00
Christopher Ferris
4fbd0277ae am f084f7dc: Merge "Fix up failing glibc tests."
* commit 'f084f7dc1e4601f96c44eeb422615d7ac742b2d0':
  Fix up failing glibc tests.
2013-10-29 15:35:34 -07:00
Christopher Ferris
f084f7dc1e Merge "Fix up failing glibc tests." 2013-10-29 22:32:33 +00:00
Christopher Ferris
13613137bc Fix up failing glibc tests.
There is a known bug running clone with the CLONE_VM flag, so for host
create an empty test.

Change the expected output of the stdio test for a glibc difference.

Change the pause test to use ScopedSignalHandler to setup/restore the SIGALRM
handler.

After this, running bionic-unit-tests-glibc passes for all tests.

Bug: 11389824

Change-Id: Ib304eae4164115835a54991dfdca5821ecc3db5e
2013-10-29 14:55:11 -07:00
Elliott Hughes
e7c3bbab8d am 5abb9b15: am 3030157f: am 8e6e7cda: Merge "Update <sys/exec_elf.h> to include EM_AARCH64."
* commit '5abb9b15d11c700b8dd58aaa613a72af60c2f1ae':
  Update <sys/exec_elf.h> to include EM_AARCH64.
2013-10-29 08:59:46 -07:00
Elliott Hughes
5abb9b15d1 am 3030157f: am 8e6e7cda: Merge "Update <sys/exec_elf.h> to include EM_AARCH64."
* commit '3030157f82e012612ef4c6d999878be2f65116dd':
  Update <sys/exec_elf.h> to include EM_AARCH64.
2013-10-29 08:57:41 -07:00
Elliott Hughes
3030157f82 am 8e6e7cda: Merge "Update <sys/exec_elf.h> to include EM_AARCH64."
* commit '8e6e7cdadbb4efdeefaa73fe94f7a9a1722745a7':
  Update <sys/exec_elf.h> to include EM_AARCH64.
2013-10-29 08:53:53 -07:00
Elliott Hughes
8e6e7cdadb Merge "Update <sys/exec_elf.h> to include EM_AARCH64." 2013-10-29 15:50:33 +00:00
Elliott Hughes
126405039e Update <sys/exec_elf.h> to include EM_AARCH64.
Upstream added the constant for us.

Change-Id: I197e32d2e5b3fd499d069546ccfcc1d35d65e0a0
2013-10-28 21:28:40 -07:00
Elliott Hughes
e5bd139fd8 am bb9a8198: am e89d16d2: am 6e504fda: Merge "AArch64: Add support for AArch64 to stdlib/strtod.c"
* commit 'bb9a819857fdde4a12d57d19912dc4a4d4c6bd21':
  AArch64: Add support for AArch64 to stdlib/strtod.c
2013-10-28 16:41:04 -07:00
Elliott Hughes
bb9a819857 am e89d16d2: am 6e504fda: Merge "AArch64: Add support for AArch64 to stdlib/strtod.c"
* commit 'e89d16d24bb9d07856c7cc95464bfae970f4e847':
  AArch64: Add support for AArch64 to stdlib/strtod.c
2013-10-28 16:36:46 -07:00
Elliott Hughes
6af6c59a89 am 8d729753: am d4e28c23: am 830de5cb: Merge "AArch64: Autogenerated syscalls for AArch64"
* commit '8d7297538c781893b4619fbac50182632d8bc4fb':
  AArch64: Autogenerated syscalls for AArch64
2013-10-28 16:29:16 -07:00
Elliott Hughes
e89d16d24b am 6e504fda: Merge "AArch64: Add support for AArch64 to stdlib/strtod.c"
* commit '6e504fdaff6cb85edca312db56ce79f3477e4db1':
  AArch64: Add support for AArch64 to stdlib/strtod.c
2013-10-28 16:27:37 -07:00
Elliott Hughes
731892a72d am 61f8f7b5: am 48e0ee8a: am 93b7b819: Merge "AArch64: Add support for AArch64 to the syscall interface"
* commit '61f8f7b5106aaca8ae5c797fdf5b6e7e192b61ac':
  AArch64: Add support for AArch64 to the syscall interface
2013-10-28 16:25:53 -07:00
Elliott Hughes
8d7297538c am d4e28c23: am 830de5cb: Merge "AArch64: Autogenerated syscalls for AArch64"
* commit 'd4e28c236b592a4968bff354ad7ad192d5a3f36d':
  AArch64: Autogenerated syscalls for AArch64
2013-10-28 16:25:47 -07:00
Elliott Hughes
6e504fdaff Merge "AArch64: Add support for AArch64 to stdlib/strtod.c" 2013-10-28 23:25:27 +00:00
Serban Constantinescu
65ca282ecd AArch64: Add support for AArch64 to stdlib/strtod.c
This patch adds support for AArch64 to strtod.c definitions.

Change-Id: I9491c4371d921c00e73ae169877a9a71225731fb
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
2013-10-28 16:24:51 -07:00
Elliott Hughes
d4e28c236b am 830de5cb: Merge "AArch64: Autogenerated syscalls for AArch64"
* commit '830de5cb30ba163f9c34fc87f624d6604adc3232':
  AArch64: Autogenerated syscalls for AArch64
2013-10-28 16:23:14 -07:00
Elliott Hughes
61f8f7b510 am 48e0ee8a: am 93b7b819: Merge "AArch64: Add support for AArch64 to the syscall interface"
* commit '48e0ee8a0900e820b2fb1bae6347e0d39da62096':
  AArch64: Add support for AArch64 to the syscall interface
2013-10-28 16:22:26 -07:00
Elliott Hughes
a6197366df am 87de1a01: am 5911e25b: am 07d3c6ce: Merge "Fix the *rand48 functions on LP64."
* commit '87de1a01546e5c23cab0770eb03ccaa3ffad93c7':
  Fix the *rand48 functions on LP64.
2013-10-28 16:21:28 -07:00
Elliott Hughes
48e0ee8a09 am 93b7b819: Merge "AArch64: Add support for AArch64 to the syscall interface"
* commit '93b7b8191238a8735141ed0f0b1222d8a30be3cc':
  AArch64: Add support for AArch64 to the syscall interface
2013-10-28 16:19:59 -07:00
Elliott Hughes
830de5cb30 Merge "AArch64: Autogenerated syscalls for AArch64" 2013-10-28 23:19:46 +00:00
Elliott Hughes
87de1a0154 am 5911e25b: am 07d3c6ce: Merge "Fix the *rand48 functions on LP64."
* commit '5911e25bfc8ef3815d0e1ab4f5829ff74a523088':
  Fix the *rand48 functions on LP64.
2013-10-28 16:19:02 -07:00
Serban Constantinescu
7f8863dc07 AArch64: Autogenerated syscalls for AArch64
This patch adds AArch64 syscalls, autogenerated using:
        ./libc/tools/gensyscalls.py

Change-Id: I1cc60430423ecb52a35448bf2c358b82136b2f16
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
2013-10-28 16:18:42 -07:00
Elliott Hughes
93b7b81912 Merge "AArch64: Add support for AArch64 to the syscall interface" 2013-10-28 23:17:23 +00:00
Elliott Hughes
5911e25bfc am 07d3c6ce: Merge "Fix the *rand48 functions on LP64."
* commit '07d3c6cecc8016577c9dbd827e85154c077604da':
  Fix the *rand48 functions on LP64.
2013-10-28 16:16:41 -07:00
Serban Constantinescu
feaa89a1bc AArch64: Add support for AArch64 to the syscall interface
This patch adds support for AArch64 to the syscall interface. The kernel
implementation exports a set of canonical syscalls, therefore some of
the userspace exported syscalls are implemented as stubs based on the
canonical set.

Change-Id: Ia965d71e97769b8be9d7655193fc40303964c4df
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
2013-10-28 16:16:34 -07:00
Elliott Hughes
07d3c6cecc Merge "Fix the *rand48 functions on LP64." 2013-10-28 23:09:49 +00:00
Elliott Hughes
60fd3450bf Fix the *rand48 functions on LP64.
I reported the mrand48 bug upstream, and 'matt' fixed the whole family
of functions!

Change-Id: I07fbc034e86499ce89599c3026a741738fd0cfc0
2013-10-28 15:24:26 -07:00
Elliott Hughes
c5ed7d4d6a am 85d8536f: am 6ec070a0: am 020bcdae: Merge "Update <sys/exec_elf.h> to get the DF_* flags."
* commit '85d8536f34895a2d18fcc2dcbe7f79d3ed97b58c':
  Update <sys/exec_elf.h> to get the DF_* flags.
2013-10-28 15:09:03 -07:00
Elliott Hughes
85d8536f34 am 6ec070a0: am 020bcdae: Merge "Update <sys/exec_elf.h> to get the DF_* flags."
* commit '6ec070a01509c3477be6d36cd46b81c9b3876733':
  Update <sys/exec_elf.h> to get the DF_* flags.
2013-10-28 15:06:58 -07:00
Elliott Hughes
6ec070a015 am 020bcdae: Merge "Update <sys/exec_elf.h> to get the DF_* flags."
* commit '020bcdaef349b6bd82302a0656fdf9aaff30bdb3':
  Update <sys/exec_elf.h> to get the DF_* flags.
2013-10-28 15:05:49 -07:00
Elliott Hughes
020bcdaef3 Merge "Update <sys/exec_elf.h> to get the DF_* flags." 2013-10-28 22:03:55 +00:00
Elliott Hughes
74ce45972d Update <sys/exec_elf.h> to get the DF_* flags.
Change-Id: Ia9e785f6b95122f94ee3b01a312db1d5bb91a72e
2013-10-28 14:59:41 -07:00
Elliott Hughes
50cadd942c am 92c6e988: am 224aee2f: am 486d99f0: Merge "Don\'t allow text relocations on 64-bit."
* commit '92c6e988cda228f7255c9050dfa9ea10a2082432':
  Don't allow text relocations on 64-bit.
2013-10-28 14:45:08 -07:00
Elliott Hughes
92c6e988cd am 224aee2f: am 486d99f0: Merge "Don\'t allow text relocations on 64-bit."
* commit '224aee2f5cebcccf832c8a204163192bc752c5a1':
  Don't allow text relocations on 64-bit.
2013-10-28 14:41:45 -07:00
Elliott Hughes
224aee2f5c am 486d99f0: Merge "Don\'t allow text relocations on 64-bit."
* commit '486d99f050a609c16641614edc72d71746ce859a':
  Don't allow text relocations on 64-bit.
2013-10-28 14:39:05 -07:00
Elliott Hughes
486d99f050 Merge "Don't allow text relocations on 64-bit." 2013-10-28 21:36:23 +00:00
Elliott Hughes
e4d792adb8 Don't allow text relocations on 64-bit.
I've also updated our <sys/exec_elf.h> to match upstream.

Change-Id: I52f9fce3167541811208d273ff23ceaa112f7135
2013-10-28 14:34:56 -07:00
Elliott Hughes
aa97d508dc am d1c7766a: am e9f6c480: am 3ec5d895: Merge "Fix utime/utimes when passed a NULL pointer."
* commit 'd1c7766aea5a4a6c864f6ad7ac097cf6bc2a587a':
  Fix utime/utimes when passed a NULL pointer.
2013-10-28 13:36:25 -07:00
Elliott Hughes
d1c7766aea am e9f6c480: am 3ec5d895: Merge "Fix utime/utimes when passed a NULL pointer."
* commit 'e9f6c4800816df3acec0d5683667b5aac290f049':
  Fix utime/utimes when passed a NULL pointer.
2013-10-28 13:34:32 -07:00
Elliott Hughes
e9f6c48008 am 3ec5d895: Merge "Fix utime/utimes when passed a NULL pointer."
* commit '3ec5d8954b41f2e51d6ff7851533f1db1eba9a09':
  Fix utime/utimes when passed a NULL pointer.
2013-10-28 13:32:44 -07:00
Elliott Hughes
3ec5d8954b Merge "Fix utime/utimes when passed a NULL pointer." 2013-10-28 20:29:24 +00:00
Elliott Hughes
27586ebe1a Fix utime/utimes when passed a NULL pointer.
Bug: 11383777
Change-Id: If944a42f3adfa8a6ce91c167c249e009ed63300a
2013-10-28 13:21:06 -07:00