Commit Graph

10285 Commits

Author SHA1 Message Date
Christopher Ferris
40b85d34e0 am eee5f173: Merge "[MIPS64] Adjust kernel/tools for mips32,mips64 headers"
* commit 'eee5f173d1e55c1fe35ef664b6eb0aa3eeab942d':
  [MIPS64] Adjust kernel/tools for mips32,mips64 headers
2014-06-21 01:03:43 +00:00
Elliott Hughes
8e34804df8 am 3e2ea6ba: am fb0a3622: Merge "Cache getpid."
* commit '3e2ea6ba22092ab23f4836d68eec2528f6f88ed1':
  Cache getpid.
2014-06-20 23:14:37 +00:00
Elliott Hughes
3e2ea6ba22 am fb0a3622: Merge "Cache getpid."
* commit 'fb0a3622f79bb0a31dd4d0e2f9cea990075ef129':
  Cache getpid.
2014-06-20 22:40:16 +00:00
Dan Albert
54e9dc0213 Merge "Prevent symbols from libgcc from being reexported." 2014-06-20 21:00:34 +00:00
Dan Albert
0d7415fb22 Merge "Remove SHA1 from LP64 in favor of libcrypto." 2014-06-20 20:43:43 +00:00
Christopher Ferris
ac86f99405 Merge "[MIPS64] Regenerate mips kernel headers with fixed tool" 2014-06-20 20:43:43 +00:00
Duane Sand
2300332596 [MIPS64] Regenerate mips kernel headers with fixed tool
Change-Id: I530891123cba78edbea4aa8af88390213711ab16
2014-06-20 11:08:49 -07:00
Duane Sand
a69eaec4d4 [MIPS64] Adjust kernel/tools for mips32,mips64 headers
Define CONFIG_32BIT as _ABIO32 rather than as 1;
it needs to be undefined for calls from mips64.
We need  defined(CONFIG_32BIT) == !defined(CONFIG_64BIT),
and get that via  defined(_ABIO32) == !defined(__LP64__).

Define CONFIG_CPU_LITTLE_ENDIAN to get correctly-placed
struct msqid64_ds fillers on ipc calls from mips32.
Without this, big-endian fillers were erroneously used.
This bug exists in prior mips32 Android releases.

Define __SANE_USERSPACE_TYPES__ to use int_ll64.h
rather than int_ll64.h on mips64.
This depends on external/kernel-headers patch
 https://android-review.googlesource.com/#/c/98915/
 http://patchwork.linux-mips.org/patch/6890/

Change-Id: If65fa80746533723cdf46eebe95733bea7ce24ba
2014-06-20 10:46:28 -07:00
Christopher Ferris
eee5f173d1 Merge "[MIPS64] Adjust kernel/tools for mips32,mips64 headers" 2014-06-20 02:09:57 +00:00
Dan Albert
559f3cb532 Merge "Use __builtin_*_chk for bcopy/bzero." 2014-06-20 00:28:52 +00:00
Dan Albert
8ca440089f Use __builtin_*_chk for bcopy/bzero.
Replacing memmove/memset with their builtin check equivalents fixes an
implicit definition warning when only including strings.h.

Change-Id: I74f03b9506ea37f5c2f9c11498e379a70998b430
2014-06-23 08:30:40 -07:00
Elliott Hughes
fb0a3622f7 Merge "Cache getpid." 2014-06-20 00:26:25 +00:00
Elliott Hughes
7086ad6919 Cache getpid.
In practice, with this implementation we never need to make a system call.
We get the main thread's tid (which is the same as our pid) back from
the set_tid_address system call we have to make during initialization.
A new pthread will have the same pid as its parent, and a fork child's
main (and only) thread will have a pid equal to its tid, which we get for
free from the kernel before clone returns.

The only time we'd actually have to make a getpid system call now is if
we take a signal during fork and the signal handler calls getpid. (That,
or we call getpid in the dynamic linker while it's still dealing with its
own relocations and hasn't even set up the main thread yet.)

Bug: 15387103
Change-Id: I6d4718ed0a5c912fc75b5f738c49a023dbed5189
2014-06-20 09:06:57 -07:00
Elliott Hughes
d5706a1a84 am 87170203: am e58055f0: Merge "Expose tzname, daylight, and timezone."
* commit '8717020375529de8b6027b9040c34246e9a97f9d':
  Expose tzname, daylight, and timezone.
2014-06-19 23:21:10 +00:00
Elliott Hughes
8717020375 am e58055f0: Merge "Expose tzname, daylight, and timezone."
* commit 'e58055f05dbbb22a9e308c4b628b93d858f57685':
  Expose tzname, daylight, and timezone.
2014-06-19 23:17:15 +00:00
Elliott Hughes
dc042c64d1 am 9d963b40: am d1bf3778: Merge "Build tzcode with hidden visibility."
* commit '9d963b406b9e2ac98a820b868c99be91a0f5842d':
  Build tzcode with hidden visibility.
2014-06-19 22:34:29 +00:00
Elliott Hughes
9d963b406b am d1bf3778: Merge "Build tzcode with hidden visibility."
* commit 'd1bf37780d0bcaca3e6046171f958ebfea34bde1':
  Build tzcode with hidden visibility.
2014-06-19 22:31:01 +00:00
Elliott Hughes
e58055f05d Merge "Expose tzname, daylight, and timezone." 2014-06-19 22:08:31 +00:00
Elliott Hughes
06366724d5 Expose tzname, daylight, and timezone.
These were accidentally hidden.

Bug: 11156955
Change-Id: I380f00bdafa547aea13d4634f3de9ec6f0b50a6f
2014-06-19 16:08:03 -07:00
Elliott Hughes
dbb4328da3 am abd03d34: am 29e3a0e3: Merge "Fix arm64 localtime.c build."
* commit 'abd03d348c13b5d5301702151e0729f6a491092f':
  Fix arm64 localtime.c build.
2014-06-19 21:37:43 +00:00
Elliott Hughes
abd03d348c am 29e3a0e3: Merge "Fix arm64 localtime.c build."
* commit '29e3a0e312b7a76b91adfd77a399a390ffaed11d':
  Fix arm64 localtime.c build.
2014-06-19 21:31:49 +00:00
Elliott Hughes
15dcc6f4cb am ef0273e1: am 477b45b8: Merge "Build tzcode with -Werror."
* commit 'ef0273e130e171523e256efc2f077dbccca50ad6':
  Build tzcode with -Werror.
2014-06-19 21:29:14 +00:00
Elliott Hughes
ef0273e130 am 477b45b8: Merge "Build tzcode with -Werror."
* commit '477b45b89d84c9efec95c49a76cacbc9b2d5104c':
  Build tzcode with -Werror.
2014-06-19 21:22:31 +00:00
Elliott Hughes
d1bf37780d Merge "Build tzcode with hidden visibility." 2014-06-19 20:38:20 +00:00
Elliott Hughes
d10db82619 Build tzcode with hidden visibility.
Bug: 11156955
Change-Id: Ib98d837b56cbbdfd01687cb3054fe3103eec0da9
2014-06-19 14:49:30 -07:00
Elliott Hughes
29e3a0e312 Merge "Fix arm64 localtime.c build." 2014-06-19 20:38:20 +00:00
Elliott Hughes
2cb752664b Fix arm64 localtime.c build.
I'm sick of having so many different compilers.

Change-Id: I9088c38df2504e2b827d0ce5ba0fa551ae48f8f9
2014-06-19 14:19:24 -07:00
Elliott Hughes
a2e7dc7cef am 442a0b1c: am 942fa486: Merge "Update localtime.c."
* commit '442a0b1ca3a4a1ae0ddc022991bc25f8df92b23f':
  Update localtime.c.
2014-06-19 18:18:23 +00:00
Elliott Hughes
442a0b1ca3 am 942fa486: Merge "Update localtime.c."
* commit '942fa486f669da8bb5db724d5c4fdc93b4fb65d9':
  Update localtime.c.
2014-06-19 18:12:17 +00:00
Christopher Ferris
66802993d5 am fa817e64: am 5c864766: Merge "add 64-bit bionic implementation for denver arch"
* commit 'fa817e64e9a422b6c9380b81597cf8bf8d44849f':
  add 64-bit bionic implementation for denver arch
2014-06-19 18:09:11 +00:00
Christopher Ferris
fa817e64e9 am 5c864766: Merge "add 64-bit bionic implementation for denver arch"
* commit '5c8647665c7fa84f50f75a18f7455c8f9c927c39':
  add 64-bit bionic implementation for denver arch
2014-06-19 18:05:20 +00:00
Nick Kralevich
881e426524 am deca2451: am 8a7cffc8: Merge "Reenable support for non-PIE executables"
* commit 'deca2451e0bdcc98777f06bfbe8f9e10fc529778':
  Reenable support for non-PIE executables
2014-06-19 17:15:02 +00:00
Nick Kralevich
deca2451e0 am 8a7cffc8: Merge "Reenable support for non-PIE executables"
* commit '8a7cffc85dc4664a8bd7c3c526bfa56b25126864':
  Reenable support for non-PIE executables
2014-06-19 17:12:04 +00:00
Dan Albert
3b46eaa80c am 6eeb6176: am 0df59bd3: Merge "Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64.""
* commit '6eeb61767d367258bb5709265769a3a931090529':
  Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64."
2014-06-19 10:04:11 +00:00
Dan Albert
6eeb61767d am 0df59bd3: Merge "Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64.""
* commit '0df59bd3a5aed6c90dbac80f2c85968af52730d6':
  Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64."
2014-06-19 09:21:39 +00:00
Dan Albert
715242fd0f Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64."
This reverts commit dd4ad5c463.

Change-Id: If3c9771825e460ce68604082f4feb0ca783e56c6
2014-06-19 03:57:05 +00:00
Christopher Ferris
15d0e2a1c1 am 79cd486d: am 0b09153c: Merge "Move common macros into bionic_macros.h."
* commit '79cd486d54edd1fbaf6b33872f5c35e273d3c324':
  Move common macros into bionic_macros.h.
2014-06-18 23:03:26 +00:00
Christopher Ferris
79cd486d54 am 0b09153c: Merge "Move common macros into bionic_macros.h."
* commit '0b09153c12915c6d17434cf9fed2389f6fe4e713':
  Move common macros into bionic_macros.h.
2014-06-18 22:58:29 +00:00
Dan Albert
0df59bd3a5 Merge "Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64."" 2014-06-18 22:48:04 +00:00
Dan Albert
ee5b17b479 am 9fbcc435: am a5fe7b89: Merge "Hide _tolower_tab_ and _toupper_tab_ on LP64."
* commit '9fbcc435dc8ab7d82653230c810e3071c5b5cc06':
  Hide _tolower_tab_ and _toupper_tab_ on LP64.
2014-06-18 21:40:32 +00:00
Dan Albert
65e8bca624 am 9ac80645: am 49d5399b: Merge "Hide __atexit and remove __atexit_invalid."
* commit '9ac80645542e03559ecee6524d87791b1b1f5fd7':
  Hide __atexit and remove __atexit_invalid.
2014-06-18 21:40:29 +00:00
Dan Albert
9fbcc435dc am a5fe7b89: Merge "Hide _tolower_tab_ and _toupper_tab_ on LP64."
* commit 'a5fe7b89528d8a03063a3579e971c901a2fc6f32':
  Hide _tolower_tab_ and _toupper_tab_ on LP64.
2014-06-18 21:04:17 +00:00
Dan Albert
9ac8064554 am 49d5399b: Merge "Hide __atexit and remove __atexit_invalid."
* commit '49d5399bbcfae80d8b21f2303077b24257a1b966':
  Hide __atexit and remove __atexit_invalid.
2014-06-18 20:29:31 +00:00
Dan Albert
dd4ad5c463 Hide _tolower_tab_ and _toupper_tab_ on LP64.
We can't hide them on LP32 because they appeared in NDK headers.

Bug: 11156955
Change-Id: I22bf5a0f4d330c04b49565bc598cd0568128d4fc
2014-06-18 13:11:07 -07:00
Dan Albert
a5fe7b8952 Merge "Hide _tolower_tab_ and _toupper_tab_ on LP64." 2014-06-18 19:25:04 +00:00
Dmitriy Ivanov
8c79f5f895 am 6b8b3dd2: am 64dfbd24: Merge "Fix weak function lookups"
* commit '6b8b3dd28a145021281f69b485763748f29b7b03':
  Fix weak function lookups
2014-06-18 16:00:39 +00:00
Dmitriy Ivanov
6b8b3dd28a am 64dfbd24: Merge "Fix weak function lookups"
* commit '64dfbd242cddc3ef95576e27e3940d68b89b5fce':
  Fix weak function lookups
2014-06-18 15:56:19 +00:00
Dan Albert
1cd8f57cbc am b29a7f1d: am ef82c28d: Merge "Hide declaration of gets(3) for C11 and later."
* commit 'b29a7f1d29a1183c1f1a67433f36ae09cf1eee89':
  Hide declaration of gets(3) for C11 and later.
2014-06-18 01:54:57 +00:00
Dan Albert
b29a7f1d29 am ef82c28d: Merge "Hide declaration of gets(3) for C11 and later."
* commit 'ef82c28db63c6f333edb7e9d7e7ad1baa656343c':
  Hide declaration of gets(3) for C11 and later.
2014-06-18 01:22:00 +00:00
Dan Albert
3bb25acb46 am b86ffd8d: am 1ef3ba2b: Merge "Revert "Hide declaration of gets(3) for C11 and later.""
* commit 'b86ffd8d82c177b393e6ed3199ee94331776afc7':
  Revert "Hide declaration of gets(3) for C11 and later."
2014-06-17 23:44:26 +00:00