OSDN Git Service

android-x86/bionic.git
10 years agoam 6b69b753: am 4d2ab4c7: Merge "Fix linker crashes during unknown symbol lookup"
Elliott Hughes [Thu, 31 Oct 2013 22:13:39 +0000 (15:13 -0700)]
am 6b69b753: am 4d2ab4c7: Merge "Fix linker crashes during unknown symbol lookup"

* commit '6b69b753d7c9820fb4fd7f88a047931c645834c8':
  Fix linker crashes during unknown symbol lookup

10 years agoam 4d2ab4c7: Merge "Fix linker crashes during unknown symbol lookup"
Elliott Hughes [Thu, 31 Oct 2013 22:10:25 +0000 (15:10 -0700)]
am 4d2ab4c7: Merge "Fix linker crashes during unknown symbol lookup"

* commit '4d2ab4c758a8c76193452b139778e90531721930':
  Fix linker crashes during unknown symbol lookup

10 years agoMerge "Fix linker crashes during unknown symbol lookup"
Elliott Hughes [Thu, 31 Oct 2013 22:06:59 +0000 (22:06 +0000)]
Merge "Fix linker crashes during unknown symbol lookup"

10 years agoFix linker crashes during unknown symbol lookup
Sergey Melnikov [Thu, 31 Oct 2013 14:02:12 +0000 (18:02 +0400)]
Fix linker crashes during unknown symbol lookup

Integration of kernel VDSO into internal bionic data structures using
common functions.
Fix for dl_iterate_phdr function: the function provides incorrect
address of object in case of nonzero virtual and base addresses.
Location in address space of a particular program header should be
calculated using the formula:  addr = base_addr + virtual_addr.

Signed-off-by: Sergey Melnikov <sergey.melnikov@intel.com>
Change-Id: Ie2ab4257fd456242aab8afed0bd5bd6b29e81d6d

10 years agoam 61ec6a62: am cc9b7456: Merge "Move the pthread debugging flags to the right place."
Elliott Hughes [Thu, 31 Oct 2013 21:26:46 +0000 (14:26 -0700)]
am 61ec6a62: am cc9b7456: Merge "Move the pthread debugging flags to the right place."

* commit '61ec6a621c699d68246a3dfe724fa13f0555ecf4':
  Move the pthread debugging flags to the right place.

10 years agoam cc9b7456: Merge "Move the pthread debugging flags to the right place."
Elliott Hughes [Thu, 31 Oct 2013 21:25:03 +0000 (14:25 -0700)]
am cc9b7456: Merge "Move the pthread debugging flags to the right place."

* commit 'cc9b7456b66b7c7c218a9d1f00d7aef1f5ecf409':
  Move the pthread debugging flags to the right place.

10 years agoMerge "Move the pthread debugging flags to the right place."
Elliott Hughes [Thu, 31 Oct 2013 21:23:29 +0000 (21:23 +0000)]
Merge "Move the pthread debugging flags to the right place."

10 years agoMove the pthread debugging flags to the right place.
Elliott Hughes [Thu, 31 Oct 2013 21:09:39 +0000 (14:09 -0700)]
Move the pthread debugging flags to the right place.

Change-Id: Ie805bd837d1f72cdf1818e056c0baeb0857e4e84

10 years agoam 5ab8d33a: Upgrade to tzdata2013h.
Elliott Hughes [Thu, 31 Oct 2013 20:50:33 +0000 (13:50 -0700)]
am 5ab8d33a: Upgrade to tzdata2013h.

* commit '5ab8d33aa64a4ca12172dba92df172f70629874d':
  Upgrade to tzdata2013h.

10 years agoam 1658691e: am 0360e3ab: Merge "<pthread.h> fixes and pthread cleanup."
Elliott Hughes [Thu, 31 Oct 2013 20:43:18 +0000 (13:43 -0700)]
am 1658691e: am 0360e3ab: Merge "<pthread.h> fixes and pthread cleanup."

* commit '1658691e0cfe2eb221bee837649de1907a579a0b':
  <pthread.h> fixes and pthread cleanup.

10 years agoUpgrade to tzdata2013h.
Elliott Hughes [Mon, 28 Oct 2013 16:38:00 +0000 (09:38 -0700)]
Upgrade to tzdata2013h.

From the release notes:

  Changes affecting current and future time stamps:

    Libya has switched its time zone back to UTC+2 without DST,
    instead of UTC+1 with DST.  (Thanks to Even Scharning.)

    Western Sahara (Africa/El_Aaiun) uses Morocco's DST rules.
    (Thanks to Gwillim Law.)

  Changes affecting future time stamps:

    Acre and (we guess) western Amazonas will switch from UTC-4 to UTC-5
    on 2013-11-10.  This affects America/Rio_Branco and America/Eirunepe.
    (Thanks to Steffen Thorsen.)

    Add entries for DST transitions in Morocco in the year 2038.
    This avoids some year-2038 glitches introduced in 2013g.
    (Thanks to Yoshito Umaoka for reporting the problem.)

(cherry picked from commit 3df3879bd679f2a8cf29000036c751c93275c094)

Change-Id: Ibdac6cc1db0fe24c62fe68e99d057dface6b6745

10 years agoam 0360e3ab: Merge "<pthread.h> fixes and pthread cleanup."
Elliott Hughes [Thu, 31 Oct 2013 20:41:00 +0000 (13:41 -0700)]
am 0360e3ab: Merge "<pthread.h> fixes and pthread cleanup."

* commit '0360e3ab2d21d4b4b3d5590765857bef595c0046':
  <pthread.h> fixes and pthread cleanup.

10 years agoMerge "<pthread.h> fixes and pthread cleanup."
Elliott Hughes [Thu, 31 Oct 2013 20:36:48 +0000 (20:36 +0000)]
Merge "<pthread.h> fixes and pthread cleanup."

10 years ago<pthread.h> fixes and pthread cleanup.
Elliott Hughes [Wed, 30 Oct 2013 21:40:09 +0000 (14:40 -0700)]
<pthread.h> fixes and pthread cleanup.

<pthread.h> was missing nonnull attributes, noreturn on pthread_exit,
and had incorrect cv qualifiers for several standard functions.

I've also marked the non-standard stuff (where I count glibc rather
than POSIX as "standard") so we can revisit this cruft for LP64 and
try to ensure we're compatible with glibc.

I've also broken out the pthread_cond* functions into a new file.

I've made the remaining pthread files (plus ptrace) part of the bionic code
and fixed all the warnings.

I've added a few more smoke tests for chunks of untested pthread functionality.

We no longer need the libc_static_common_src_files hack for any of the
pthread implementation because we long since stripped out the rest of
the armv5 support, and this hack was just to ensure that __get_tls in libc.a
went via the kernel if necessary.

This patch also finishes the job of breaking up the pthread.c monolith, and
adds a handful of new tests.

Change-Id: Idc0ae7f5d8aa65989598acd4c01a874fe21582c7

10 years agoam 9be24f71: am d0d0b52d: Merge "Remove an obsolete ARM gdb hack."
Elliott Hughes [Wed, 30 Oct 2013 21:42:59 +0000 (14:42 -0700)]
am 9be24f71: am d0d0b52d: Merge "Remove an obsolete ARM gdb hack."

* commit '9be24f71604d4e667bf23d77bb953a29737b3f2d':
  Remove an obsolete ARM gdb hack.

10 years agoam d0d0b52d: Merge "Remove an obsolete ARM gdb hack."
Elliott Hughes [Wed, 30 Oct 2013 21:40:17 +0000 (14:40 -0700)]
am d0d0b52d: Merge "Remove an obsolete ARM gdb hack."

* commit 'd0d0b52da375bfa85947a4257198791f615f18a8':
  Remove an obsolete ARM gdb hack.

10 years agoMerge "Remove an obsolete ARM gdb hack."
Elliott Hughes [Wed, 30 Oct 2013 21:37:56 +0000 (21:37 +0000)]
Merge "Remove an obsolete ARM gdb hack."

10 years agoRemove an obsolete ARM gdb hack.
Elliott Hughes [Wed, 30 Oct 2013 21:32:42 +0000 (14:32 -0700)]
Remove an obsolete ARM gdb hack.

Experiment shows that the claim in the makefile was false: gdb works fine
setting breakpoints in these functions when compiled without special treatment.

Change-Id: Ibdf4dd5a14d171c954b8c2089daaf28e1c310be9

10 years agoam 6cf34775: am 47a73363: Merge "Factor out some of the makefile cruft."
Elliott Hughes [Wed, 30 Oct 2013 02:18:56 +0000 (19:18 -0700)]
am 6cf34775: am 47a73363: Merge "Factor out some of the makefile cruft."

* commit '6cf34775513859dd48b986162e761aff57df82fb':
  Factor out some of the makefile cruft.

10 years agoam 47a73363: Merge "Factor out some of the makefile cruft."
Elliott Hughes [Wed, 30 Oct 2013 02:15:37 +0000 (19:15 -0700)]
am 47a73363: Merge "Factor out some of the makefile cruft."

* commit '47a73363fcdb88811eedbe484720fb08dc30a995':
  Factor out some of the makefile cruft.

10 years agoMerge "Factor out some of the makefile cruft."
Elliott Hughes [Wed, 30 Oct 2013 02:13:34 +0000 (02:13 +0000)]
Merge "Factor out some of the makefile cruft."

10 years agoam ee99ebbc: am 7a8e20c9: Merge "Explain the sigprocmask in pthread_exit."
Elliott Hughes [Wed, 30 Oct 2013 01:31:06 +0000 (18:31 -0700)]
am ee99ebbc: am 7a8e20c9: Merge "Explain the sigprocmask in pthread_exit."

* commit 'ee99ebbc8f0447880f316a10b2249f813f964172':
  Explain the sigprocmask in pthread_exit.

10 years agoam 4fbd0277: am f084f7dc: Merge "Fix up failing glibc tests."
Christopher Ferris [Wed, 30 Oct 2013 01:31:05 +0000 (18:31 -0700)]
am 4fbd0277: am f084f7dc: Merge "Fix up failing glibc tests."

* commit '4fbd0277aedd9cf1e81648e9a849c52211a65adf':
  Fix up failing glibc tests.

10 years agoFactor out some of the makefile cruft.
Elliott Hughes [Tue, 29 Oct 2013 23:59:54 +0000 (16:59 -0700)]
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

10 years agoam 7a8e20c9: Merge "Explain the sigprocmask in pthread_exit."
Elliott Hughes [Tue, 29 Oct 2013 23:31:23 +0000 (16:31 -0700)]
am 7a8e20c9: Merge "Explain the sigprocmask in pthread_exit."

* commit '7a8e20c9c7c11b0ef11b718f18be5e2df22edc1a':
  Explain the sigprocmask in pthread_exit.

10 years agoMerge "Explain the sigprocmask in pthread_exit."
Elliott Hughes [Tue, 29 Oct 2013 23:29:07 +0000 (23:29 +0000)]
Merge "Explain the sigprocmask in pthread_exit."

10 years agoExplain the sigprocmask in pthread_exit.
Elliott Hughes [Tue, 29 Oct 2013 23:11:06 +0000 (16:11 -0700)]
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

10 years agoam f084f7dc: Merge "Fix up failing glibc tests."
Christopher Ferris [Tue, 29 Oct 2013 22:35:34 +0000 (15:35 -0700)]
am f084f7dc: Merge "Fix up failing glibc tests."

* commit 'f084f7dc1e4601f96c44eeb422615d7ac742b2d0':
  Fix up failing glibc tests.

10 years agoMerge "Fix up failing glibc tests."
Christopher Ferris [Tue, 29 Oct 2013 22:32:33 +0000 (22:32 +0000)]
Merge "Fix up failing glibc tests."

10 years agoFix up failing glibc tests.
Christopher Ferris [Mon, 28 Oct 2013 22:24:04 +0000 (15:24 -0700)]
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

10 years agoam 3030157f: am 8e6e7cda: Merge "Update <sys/exec_elf.h> to include EM_AARCH64."
Elliott Hughes [Tue, 29 Oct 2013 15:57:41 +0000 (08:57 -0700)]
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.

10 years agoam 8e6e7cda: Merge "Update <sys/exec_elf.h> to include EM_AARCH64."
Elliott Hughes [Tue, 29 Oct 2013 15:53:53 +0000 (08:53 -0700)]
am 8e6e7cda: Merge "Update <sys/exec_elf.h> to include EM_AARCH64."

* commit '8e6e7cdadbb4efdeefaa73fe94f7a9a1722745a7':
  Update <sys/exec_elf.h> to include EM_AARCH64.

10 years agoMerge "Update <sys/exec_elf.h> to include EM_AARCH64."
Elliott Hughes [Tue, 29 Oct 2013 15:50:33 +0000 (15:50 +0000)]
Merge "Update <sys/exec_elf.h> to include EM_AARCH64."

10 years agoUpdate <sys/exec_elf.h> to include EM_AARCH64.
Elliott Hughes [Tue, 29 Oct 2013 04:28:40 +0000 (21:28 -0700)]
Update <sys/exec_elf.h> to include EM_AARCH64.

Upstream added the constant for us.

Change-Id: I197e32d2e5b3fd499d069546ccfcc1d35d65e0a0

10 years agoam e89d16d2: am 6e504fda: Merge "AArch64: Add support for AArch64 to stdlib/strtod.c"
Elliott Hughes [Mon, 28 Oct 2013 23:36:46 +0000 (16:36 -0700)]
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

10 years agoam 6e504fda: Merge "AArch64: Add support for AArch64 to stdlib/strtod.c"
Elliott Hughes [Mon, 28 Oct 2013 23:27:37 +0000 (16:27 -0700)]
am 6e504fda: Merge "AArch64: Add support for AArch64 to stdlib/strtod.c"

* commit '6e504fdaff6cb85edca312db56ce79f3477e4db1':
  AArch64: Add support for AArch64 to stdlib/strtod.c

10 years agoam d4e28c23: am 830de5cb: Merge "AArch64: Autogenerated syscalls for AArch64"
Elliott Hughes [Mon, 28 Oct 2013 23:25:47 +0000 (16:25 -0700)]
am d4e28c23: am 830de5cb: Merge "AArch64: Autogenerated syscalls for AArch64"

* commit 'd4e28c236b592a4968bff354ad7ad192d5a3f36d':
  AArch64: Autogenerated syscalls for AArch64

10 years agoMerge "AArch64: Add support for AArch64 to stdlib/strtod.c"
Elliott Hughes [Mon, 28 Oct 2013 23:25:27 +0000 (23:25 +0000)]
Merge "AArch64: Add support for AArch64 to stdlib/strtod.c"

10 years agoAArch64: Add support for AArch64 to stdlib/strtod.c
Serban Constantinescu [Tue, 8 Oct 2013 18:32:36 +0000 (19:32 +0100)]
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>
10 years agoam 830de5cb: Merge "AArch64: Autogenerated syscalls for AArch64"
Elliott Hughes [Mon, 28 Oct 2013 23:23:14 +0000 (16:23 -0700)]
am 830de5cb: Merge "AArch64: Autogenerated syscalls for AArch64"

* commit '830de5cb30ba163f9c34fc87f624d6604adc3232':
  AArch64: Autogenerated syscalls for AArch64

10 years agoam 48e0ee8a: am 93b7b819: Merge "AArch64: Add support for AArch64 to the syscall...
Elliott Hughes [Mon, 28 Oct 2013 23:22:26 +0000 (16:22 -0700)]
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

10 years agoam 93b7b819: Merge "AArch64: Add support for AArch64 to the syscall interface"
Elliott Hughes [Mon, 28 Oct 2013 23:19:59 +0000 (16:19 -0700)]
am 93b7b819: Merge "AArch64: Add support for AArch64 to the syscall interface"

* commit '93b7b8191238a8735141ed0f0b1222d8a30be3cc':
  AArch64: Add support for AArch64 to the syscall interface

10 years agoMerge "AArch64: Autogenerated syscalls for AArch64"
Elliott Hughes [Mon, 28 Oct 2013 23:19:46 +0000 (23:19 +0000)]
Merge "AArch64: Autogenerated syscalls for AArch64"

10 years agoam 5911e25b: am 07d3c6ce: Merge "Fix the *rand48 functions on LP64."
Elliott Hughes [Mon, 28 Oct 2013 23:19:02 +0000 (16:19 -0700)]
am 5911e25b: am 07d3c6ce: Merge "Fix the *rand48 functions on LP64."

* commit '5911e25bfc8ef3815d0e1ab4f5829ff74a523088':
  Fix the *rand48 functions on LP64.

10 years agoAArch64: Autogenerated syscalls for AArch64
Serban Constantinescu [Thu, 10 Oct 2013 22:05:06 +0000 (23:05 +0100)]
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>
10 years agoMerge "AArch64: Add support for AArch64 to the syscall interface"
Elliott Hughes [Mon, 28 Oct 2013 23:17:23 +0000 (23:17 +0000)]
Merge "AArch64: Add support for AArch64 to the syscall interface"

10 years agoam 07d3c6ce: Merge "Fix the *rand48 functions on LP64."
Elliott Hughes [Mon, 28 Oct 2013 23:16:41 +0000 (16:16 -0700)]
am 07d3c6ce: Merge "Fix the *rand48 functions on LP64."

* commit '07d3c6cecc8016577c9dbd827e85154c077604da':
  Fix the *rand48 functions on LP64.

10 years agoAArch64: Add support for AArch64 to the syscall interface
Serban Constantinescu [Mon, 7 Oct 2013 15:49:09 +0000 (16:49 +0100)]
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>
10 years agoMerge "Fix the *rand48 functions on LP64."
Elliott Hughes [Mon, 28 Oct 2013 23:09:49 +0000 (23:09 +0000)]
Merge "Fix the *rand48 functions on LP64."

10 years agoFix the *rand48 functions on LP64.
Elliott Hughes [Mon, 28 Oct 2013 22:24:26 +0000 (15:24 -0700)]
Fix the *rand48 functions on LP64.

I reported the mrand48 bug upstream, and 'matt' fixed the whole family
of functions!

Change-Id: I07fbc034e86499ce89599c3026a741738fd0cfc0

10 years agoam 6ec070a0: am 020bcdae: Merge "Update <sys/exec_elf.h> to get the DF_* flags."
Elliott Hughes [Mon, 28 Oct 2013 22:06:58 +0000 (15:06 -0700)]
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.

10 years agoam 020bcdae: Merge "Update <sys/exec_elf.h> to get the DF_* flags."
Elliott Hughes [Mon, 28 Oct 2013 22:05:49 +0000 (15:05 -0700)]
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.

10 years agoMerge "Update <sys/exec_elf.h> to get the DF_* flags."
Elliott Hughes [Mon, 28 Oct 2013 22:03:54 +0000 (22:03 +0000)]
Merge "Update <sys/exec_elf.h> to get the DF_* flags."

10 years agoUpdate <sys/exec_elf.h> to get the DF_* flags.
Elliott Hughes [Mon, 28 Oct 2013 21:59:41 +0000 (14:59 -0700)]
Update <sys/exec_elf.h> to get the DF_* flags.

Change-Id: Ia9e785f6b95122f94ee3b01a312db1d5bb91a72e

10 years agoam 224aee2f: am 486d99f0: Merge "Don\'t allow text relocations on 64-bit."
Elliott Hughes [Mon, 28 Oct 2013 21:41:45 +0000 (14:41 -0700)]
am 224aee2f: am 486d99f0: Merge "Don\'t allow text relocations on 64-bit."

* commit '224aee2f5cebcccf832c8a204163192bc752c5a1':
  Don't allow text relocations on 64-bit.

10 years agoam 486d99f0: Merge "Don\'t allow text relocations on 64-bit."
Elliott Hughes [Mon, 28 Oct 2013 21:39:05 +0000 (14:39 -0700)]
am 486d99f0: Merge "Don\'t allow text relocations on 64-bit."

* commit '486d99f050a609c16641614edc72d71746ce859a':
  Don't allow text relocations on 64-bit.

10 years agoMerge "Don't allow text relocations on 64-bit."
Elliott Hughes [Mon, 28 Oct 2013 21:36:23 +0000 (21:36 +0000)]
Merge "Don't allow text relocations on 64-bit."

10 years agoDon't allow text relocations on 64-bit.
Elliott Hughes [Mon, 28 Oct 2013 21:19:05 +0000 (14:19 -0700)]
Don't allow text relocations on 64-bit.

I've also updated our <sys/exec_elf.h> to match upstream.

Change-Id: I52f9fce3167541811208d273ff23ceaa112f7135

10 years agoam e9f6c480: am 3ec5d895: Merge "Fix utime/utimes when passed a NULL pointer."
Elliott Hughes [Mon, 28 Oct 2013 20:34:32 +0000 (13:34 -0700)]
am e9f6c480: am 3ec5d895: Merge "Fix utime/utimes when passed a NULL pointer."

* commit 'e9f6c4800816df3acec0d5683667b5aac290f049':
  Fix utime/utimes when passed a NULL pointer.

10 years agoam 3ec5d895: Merge "Fix utime/utimes when passed a NULL pointer."
Elliott Hughes [Mon, 28 Oct 2013 20:32:44 +0000 (13:32 -0700)]
am 3ec5d895: Merge "Fix utime/utimes when passed a NULL pointer."

* commit '3ec5d8954b41f2e51d6ff7851533f1db1eba9a09':
  Fix utime/utimes when passed a NULL pointer.

10 years agoMerge "Fix utime/utimes when passed a NULL pointer."
Elliott Hughes [Mon, 28 Oct 2013 20:29:24 +0000 (20:29 +0000)]
Merge "Fix utime/utimes when passed a NULL pointer."

10 years agoFix utime/utimes when passed a NULL pointer.
Elliott Hughes [Mon, 28 Oct 2013 20:21:06 +0000 (13:21 -0700)]
Fix utime/utimes when passed a NULL pointer.

Bug: 11383777
Change-Id: If944a42f3adfa8a6ce91c167c249e009ed63300a

10 years agoam c98827e7: am d4e9f076: Merge "Clean up linker architecture macros."
Elliott Hughes [Mon, 28 Oct 2013 18:08:40 +0000 (11:08 -0700)]
am c98827e7: am d4e9f076: Merge "Clean up linker architecture macros."

* commit 'c98827e70ab2a3798f2369a4b5a23e3afc18552c':
  Clean up linker architecture macros.

10 years agoam d4e9f076: Merge "Clean up linker architecture macros."
Elliott Hughes [Mon, 28 Oct 2013 18:06:47 +0000 (11:06 -0700)]
am d4e9f076: Merge "Clean up linker architecture macros."

* commit 'd4e9f076d621dcf6450acba178e65d63c076ae6e':
  Clean up linker architecture macros.

10 years agoMerge "Clean up linker architecture macros."
Elliott Hughes [Mon, 28 Oct 2013 18:04:22 +0000 (18:04 +0000)]
Merge "Clean up linker architecture macros."

10 years agoClean up linker architecture macros.
Elliott Hughes [Sat, 26 Oct 2013 00:38:02 +0000 (17:38 -0700)]
Clean up linker architecture macros.

We don't need our own architecture macros; the standard ones will do.

This patch also fixes some __x86_64__ tests to be USE_RELA tests instead,
because they're not actually x86_64-specific.

I've cleaned up architecture-specific code slightly so where possible
all the code corresponding to a particular architecture is together.

This patch also fixes a bug in LP64 DT_PLTGOT handling, which should be
an error rather than falling through into DT_DEBUG! There was another #ifdef
bug where we'd only report unexpected DT_ entries on MIPS.

Change-Id: Id1d04e372611f641c1aa278a18e379f28af9eaf5

10 years agoam d9916301: am f7f6b268: Merge "Upgrade to tzdata2013h."
Elliott Hughes [Mon, 28 Oct 2013 17:03:20 +0000 (10:03 -0700)]
am d9916301: am f7f6b268: Merge "Upgrade to tzdata2013h."

* commit 'd9916301a926c925439efa3cd1bba53e49f10dfc':
  Upgrade to tzdata2013h.

10 years agoam f7f6b268: Merge "Upgrade to tzdata2013h."
Elliott Hughes [Mon, 28 Oct 2013 17:01:51 +0000 (10:01 -0700)]
am f7f6b268: Merge "Upgrade to tzdata2013h."

* commit 'f7f6b2686d466d695d813593a8b268abdf7ca29d':
  Upgrade to tzdata2013h.

10 years agoMerge "Upgrade to tzdata2013h."
Elliott Hughes [Mon, 28 Oct 2013 17:00:16 +0000 (17:00 +0000)]
Merge "Upgrade to tzdata2013h."

10 years agoUpgrade to tzdata2013h.
Elliott Hughes [Mon, 28 Oct 2013 16:38:00 +0000 (09:38 -0700)]
Upgrade to tzdata2013h.

From the release notes:

  Changes affecting current and future time stamps:

    Libya has switched its time zone back to UTC+2 without DST,
    instead of UTC+1 with DST.  (Thanks to Even Scharning.)

    Western Sahara (Africa/El_Aaiun) uses Morocco's DST rules.
    (Thanks to Gwillim Law.)

  Changes affecting future time stamps:

    Acre and (we guess) western Amazonas will switch from UTC-4 to UTC-5
    on 2013-11-10.  This affects America/Rio_Branco and America/Eirunepe.
    (Thanks to Steffen Thorsen.)

    Add entries for DST transitions in Morocco in the year 2038.
    This avoids some year-2038 glitches introduced in 2013g.
    (Thanks to Yoshito Umaoka for reporting the problem.)

Change-Id: Ic855df19773e3fbf13b941b5bfa91dcee9e181e1

10 years agoam 763fe341: am 93fcfeee: Merge "Update running bionic unit tests on host."
Christopher Ferris [Fri, 25 Oct 2013 17:40:26 +0000 (10:40 -0700)]
am 763fe341: am 93fcfeee: Merge "Update running bionic unit tests on host."

* commit '763fe3419c677e28d209ec319f743d65ff0e69c4':
  Update running bionic unit tests on host.

10 years agoam 93fcfeee: Merge "Update running bionic unit tests on host."
Christopher Ferris [Fri, 25 Oct 2013 17:38:41 +0000 (10:38 -0700)]
am 93fcfeee: Merge "Update running bionic unit tests on host."

* commit '93fcfeee2b4de4c65fc766bf10601397592341d7':
  Update running bionic unit tests on host.

10 years agoMerge "Update running bionic unit tests on host."
Christopher Ferris [Fri, 25 Oct 2013 17:37:02 +0000 (17:37 +0000)]
Merge "Update running bionic unit tests on host."

10 years agoUpdate running bionic unit tests on host.
Christopher Ferris [Fri, 25 Oct 2013 17:06:57 +0000 (10:06 -0700)]
Update running bionic unit tests on host.

Add a bionic-unit-tests-glibc-run target to run the glibc bionic unit tests.

Modify the bionic-unit-tests-run-on-host to make sure that the /system/bin
directory is created properly.

Also remove the EXTERNAL_STORAGE variable which isn't used any more.

Bug: 11234772
Change-Id: I9aea501d05700b29e938f672474d550b1872a78b

10 years agoam 155f5c5f: am ad8fb26a: Merge "Fix the exit syscall stub\'s name."
Elliott Hughes [Fri, 25 Oct 2013 16:29:38 +0000 (09:29 -0700)]
am 155f5c5f: am ad8fb26a: Merge "Fix the exit syscall stub\'s name."

* commit '155f5c5ff9a86ed5319570ae13cc9a061930b0cb':
  Fix the exit syscall stub's name.

10 years agoam ad8fb26a: Merge "Fix the exit syscall stub\'s name."
Elliott Hughes [Fri, 25 Oct 2013 16:28:15 +0000 (09:28 -0700)]
am ad8fb26a: Merge "Fix the exit syscall stub\'s name."

* commit 'ad8fb26aff16b239fd79fd7223435bdae2462f72':
  Fix the exit syscall stub's name.

10 years agoMerge "Fix the exit syscall stub's name."
Elliott Hughes [Fri, 25 Oct 2013 16:25:22 +0000 (16:25 +0000)]
Merge "Fix the exit syscall stub's name."

10 years agoam 6b7fc098: am 421e911a: Merge "Simplify defining the linker architecture macro."
Elliott Hughes [Fri, 25 Oct 2013 16:06:55 +0000 (09:06 -0700)]
am 6b7fc098: am 421e911a: Merge "Simplify defining the linker architecture macro."

* commit '6b7fc098c4f2f9e9683fac119f344e9c890bae1a':
  Simplify defining the linker architecture macro.

10 years agoam 421e911a: Merge "Simplify defining the linker architecture macro."
Elliott Hughes [Fri, 25 Oct 2013 16:04:31 +0000 (09:04 -0700)]
am 421e911a: Merge "Simplify defining the linker architecture macro."

* commit '421e911a0bebd24bf197b092d17a3000cfec2c15':
  Simplify defining the linker architecture macro.

10 years agoMerge "Simplify defining the linker architecture macro."
Elliott Hughes [Fri, 25 Oct 2013 16:01:20 +0000 (16:01 +0000)]
Merge "Simplify defining the linker architecture macro."

10 years agoSimplify defining the linker architecture macro.
Elliott Hughes [Fri, 25 Oct 2013 06:18:13 +0000 (23:18 -0700)]
Simplify defining the linker architecture macro.

Like the new TODO says, though, do we need this at all? Wouldn't we be better
off just using the regular architecture-specific macros? This is a dynamic
linker, so there's never a possibility of cross-linking.

Change-Id: I7be6b8663f5e585c4024a49aae383430c86a3c1b

10 years agoFix the exit syscall stub's name.
Elliott Hughes [Fri, 25 Oct 2013 05:36:58 +0000 (22:36 -0700)]
Fix the exit syscall stub's name.

I've left the exit_group syscall as _exit because otherwise we'd have to
convince the compiler that our _exit (which just calls __exit_group) is
actually "noreturn", and it seems like that would be less clean than just
cutting out the middleman.

We'll just have to trust ourselves not to add anything to SYSCALLS.TXT
that ought to be private but that only has a single leading underscore.
Hopefully we can manage that.

Change-Id: Iac47faea9f516186e1774381846c54cafabc4354

10 years agoam fa262c13: am bbefbf1a: Merge "Use hidden visibility for generated stubs whose...
Elliott Hughes [Fri, 25 Oct 2013 00:26:22 +0000 (17:26 -0700)]
am fa262c13: am bbefbf1a: Merge "Use hidden visibility for generated stubs whose names begin with underscores."

* commit 'fa262c13d9115cd84545ad4a0898d18770702e15':
  Use hidden visibility for generated stubs whose names begin with underscores.

10 years agoam bbefbf1a: Merge "Use hidden visibility for generated stubs whose names begin with...
Elliott Hughes [Fri, 25 Oct 2013 00:23:16 +0000 (17:23 -0700)]
am bbefbf1a: Merge "Use hidden visibility for generated stubs whose names begin with underscores."

* commit 'bbefbf1a75052e4c887309299fb4532705aa843d':
  Use hidden visibility for generated stubs whose names begin with underscores.

10 years agoam c2404f6c: am d60a625d: Merge "Start moving 32-bit cruft somewhere it won\'t pollut...
Elliott Hughes [Fri, 25 Oct 2013 00:22:35 +0000 (17:22 -0700)]
am c2404f6c: am d60a625d: Merge "Start moving 32-bit cruft somewhere it won\'t pollute 64-bit."

* commit 'c2404f6c1d29a47c0bc6cdf510c91e43f8a1e424':
  Start moving 32-bit cruft somewhere it won't pollute 64-bit.

10 years agoMerge "Use hidden visibility for generated stubs whose names begin with underscores."
Elliott Hughes [Fri, 25 Oct 2013 00:20:24 +0000 (00:20 +0000)]
Merge "Use hidden visibility for generated stubs whose names begin with underscores."

10 years agoam d60a625d: Merge "Start moving 32-bit cruft somewhere it won\'t pollute 64-bit."
Elliott Hughes [Fri, 25 Oct 2013 00:19:54 +0000 (17:19 -0700)]
am d60a625d: Merge "Start moving 32-bit cruft somewhere it won\'t pollute 64-bit."

* commit 'd60a625dd5e544fb49056d864898ff82bca99950':
  Start moving 32-bit cruft somewhere it won't pollute 64-bit.

10 years agoMerge "Start moving 32-bit cruft somewhere it won't pollute 64-bit."
Elliott Hughes [Fri, 25 Oct 2013 00:18:15 +0000 (00:18 +0000)]
Merge "Start moving 32-bit cruft somewhere it won't pollute 64-bit."

10 years agoStart moving 32-bit cruft somewhere it won't pollute 64-bit.
Elliott Hughes [Fri, 25 Oct 2013 00:14:55 +0000 (17:14 -0700)]
Start moving 32-bit cruft somewhere it won't pollute 64-bit.

Change-Id: I03a6a50a5243f29e50fb58a3cf8b5e7198640baa

10 years agoUse hidden visibility for generated stubs whose names begin with underscores.
Elliott Hughes [Fri, 25 Oct 2013 00:03:20 +0000 (17:03 -0700)]
Use hidden visibility for generated stubs whose names begin with underscores.

Change-Id: Idb39fd04b7a14114801624e744e76e0e7913d951

10 years agoam 4b832714: am 97288549: Merge "Let the compiler worry about implementing ffs(3)."
Elliott Hughes [Thu, 24 Oct 2013 23:41:34 +0000 (16:41 -0700)]
am 4b832714: am 97288549: Merge "Let the compiler worry about implementing ffs(3)."

* commit '4b83271437727fcc2b2400b5c81dc4d3cbb7391e':
  Let the compiler worry about implementing ffs(3).

10 years agoam 0c4778d8: am a1b9f0d4: Merge "Revert "Don\'t warn about x86 text relocations....
Elliott Hughes [Thu, 24 Oct 2013 23:41:32 +0000 (16:41 -0700)]
am 0c4778d8: am a1b9f0d4: Merge "Revert "Don\'t warn about x86 text relocations. They\'re too prevalent.""

* commit '0c4778d8a24aa21367a23475e598f51214fb0fc3':
  Revert "Don't warn about x86 text relocations. They're too prevalent."

10 years agoam 97288549: Merge "Let the compiler worry about implementing ffs(3)."
Elliott Hughes [Thu, 24 Oct 2013 23:37:27 +0000 (16:37 -0700)]
am 97288549: Merge "Let the compiler worry about implementing ffs(3)."

* commit '972885499255a9368e96332f9da0d28b2436d042':
  Let the compiler worry about implementing ffs(3).

10 years agoMerge "Let the compiler worry about implementing ffs(3)."
Elliott Hughes [Thu, 24 Oct 2013 23:35:51 +0000 (23:35 +0000)]
Merge "Let the compiler worry about implementing ffs(3)."

10 years agoLet the compiler worry about implementing ffs(3).
Elliott Hughes [Thu, 24 Oct 2013 23:29:40 +0000 (16:29 -0700)]
Let the compiler worry about implementing ffs(3).

It does at least as good a job as our old hand-written assembly anyway.

Change-Id: If7c4a1ac508bace0b71ee7b67808caa6eabf11d2

10 years agoam a1b9f0d4: Merge "Revert "Don\'t warn about x86 text relocations. They\'re too...
Elliott Hughes [Thu, 24 Oct 2013 23:10:20 +0000 (16:10 -0700)]
am a1b9f0d4: Merge "Revert "Don\'t warn about x86 text relocations. They\'re too prevalent.""

* commit 'a1b9f0d4436fea551f641ad02d49610fb5eab0f0':
  Revert "Don't warn about x86 text relocations. They're too prevalent."

10 years agoMerge "Revert "Don't warn about x86 text relocations. They're too prevalent.""
Elliott Hughes [Thu, 24 Oct 2013 23:05:24 +0000 (23:05 +0000)]
Merge "Revert "Don't warn about x86 text relocations. They're too prevalent.""

10 years agoRevert "Don't warn about x86 text relocations. They're too prevalent."
Elliott Hughes [Thu, 24 Oct 2013 22:58:28 +0000 (22:58 +0000)]
Revert "Don't warn about x86 text relocations. They're too prevalent."

This reverts commit 5be2c5998c996ff9d5efb94c127d9b832a295822.

Change-Id: I3fc8ca530cdbd74c834fb9cfabe812c9386419fc

10 years agoam e4ab1b67: am f8dfb6f2: Merge "Remove dependencies on obsolete __ARCH_WANT_SYSCALL_...
Elliott Hughes [Thu, 24 Oct 2013 22:56:17 +0000 (15:56 -0700)]
am e4ab1b67: am f8dfb6f2: Merge "Remove dependencies on obsolete __ARCH_WANT_SYSCALL_DEPRECATED system calls."

* commit 'e4ab1b6795e325fe346c792e6254592a8db16d4e':
  Remove dependencies on obsolete __ARCH_WANT_SYSCALL_DEPRECATED system calls.

10 years agoam f8dfb6f2: Merge "Remove dependencies on obsolete __ARCH_WANT_SYSCALL_DEPRECATED...
Elliott Hughes [Thu, 24 Oct 2013 22:53:10 +0000 (15:53 -0700)]
am f8dfb6f2: Merge "Remove dependencies on obsolete __ARCH_WANT_SYSCALL_DEPRECATED system calls."

* commit 'f8dfb6f249da6fc9c91cc8b94fa28c19e598faa6':
  Remove dependencies on obsolete __ARCH_WANT_SYSCALL_DEPRECATED system calls.