OSDN Git Service

android-x86/bionic.git
10 years agoam a5bab412: Merge "Fix struct statfs for LP64."
Elliott Hughes [Sat, 19 Oct 2013 00:37:03 +0000 (17:37 -0700)]
am a5bab412: Merge "Fix struct statfs for LP64."

* commit 'a5bab412e0bcb4f9e449d594330819c321cf18ad':
  Fix struct statfs for LP64.

10 years agoMerge "Fix struct statfs for LP64."
Elliott Hughes [Sat, 19 Oct 2013 00:35:49 +0000 (00:35 +0000)]
Merge "Fix struct statfs for LP64."

10 years agoFix struct statfs for LP64.
Elliott Hughes [Sat, 19 Oct 2013 00:00:11 +0000 (17:00 -0700)]
Fix struct statfs for LP64.

Change-Id: I9649d881588931a1d672b65ddcf94009daadb0ef

10 years agoam 25269b88: Merge "Fix the time unit tests for systems with 64-bit time_t."
Elliott Hughes [Fri, 18 Oct 2013 23:57:03 +0000 (16:57 -0700)]
am 25269b88: Merge "Fix the time unit tests for systems with 64-bit time_t."

* commit '25269b88749061ff80e8a97b738e4bf6bc7e829a':
  Fix the time unit tests for systems with 64-bit time_t.

10 years agoMerge "Fix the time unit tests for systems with 64-bit time_t."
Elliott Hughes [Fri, 18 Oct 2013 23:53:02 +0000 (23:53 +0000)]
Merge "Fix the time unit tests for systems with 64-bit time_t."

10 years agoFix the time unit tests for systems with 64-bit time_t.
Elliott Hughes [Fri, 18 Oct 2013 23:21:54 +0000 (16:21 -0700)]
Fix the time unit tests for systems with 64-bit time_t.

Change-Id: I29df50b25d022c1c00906e71b612defa58e46e81

10 years agoam d0402acd: Merge "x86_64: Fix bionic tests build-and-run"
Elliott Hughes [Fri, 18 Oct 2013 22:09:12 +0000 (15:09 -0700)]
am d0402acd: Merge "x86_64: Fix bionic tests build-and-run"

* commit 'd0402acdc76e1ea412085b3b633f5ae798022350':
  x86_64: Fix bionic tests build-and-run

10 years agoMerge "x86_64: Fix bionic tests build-and-run"
Elliott Hughes [Fri, 18 Oct 2013 22:07:03 +0000 (22:07 +0000)]
Merge "x86_64: Fix bionic tests build-and-run"

10 years agox86_64: Fix bionic tests build-and-run
Pavel Chupin [Thu, 17 Oct 2013 10:41:34 +0000 (14:41 +0400)]
x86_64: Fix bionic tests build-and-run

Change-Id: Iab48362893a212afbcbc362fdfaff5bfa5b55259
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
10 years agoam e3cc1555: Merge "Fix some test assumptions that are wrong for __LP64__."
Elliott Hughes [Fri, 18 Oct 2013 20:32:42 +0000 (13:32 -0700)]
am e3cc1555: Merge "Fix some test assumptions that are wrong for __LP64__."

* commit 'e3cc1555f6e478109cc3b648f41d4039efc0fdcc':
  Fix some test assumptions that are wrong for __LP64__.

10 years agoam 79f79c90: Merge "x86_64: Fix sys/stat.h"
Elliott Hughes [Fri, 18 Oct 2013 20:29:18 +0000 (13:29 -0700)]
am 79f79c90: Merge "x86_64: Fix sys/stat.h"

* commit '79f79c907f03ff71f800ae2b7a4a00dfb64f0538':
  x86_64: Fix sys/stat.h

10 years agoMerge "Fix some test assumptions that are wrong for __LP64__."
Elliott Hughes [Fri, 18 Oct 2013 20:28:21 +0000 (20:28 +0000)]
Merge "Fix some test assumptions that are wrong for __LP64__."

10 years agoMerge "x86_64: Fix sys/stat.h"
Elliott Hughes [Fri, 18 Oct 2013 20:25:09 +0000 (20:25 +0000)]
Merge "x86_64: Fix sys/stat.h"

10 years agox86_64: Fix sys/stat.h
Pavel Chupin [Tue, 18 Dec 2012 13:25:01 +0000 (17:25 +0400)]
x86_64: Fix sys/stat.h

Add 64-bit stat structure mapping 64-bit stat syscall.

Change-Id: Ice517616391bee1d556b6c03e7f5ee610050e6c6
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
10 years agoFix some test assumptions that are wrong for __LP64__.
Elliott Hughes [Fri, 18 Oct 2013 20:17:18 +0000 (13:17 -0700)]
Fix some test assumptions that are wrong for __LP64__.

Change-Id: Ic79cd5858ceb611640a76bd03f3da4925d3150d9

10 years agoam e9797ac6: Merge "Fix clone.S for x86_64."
Elliott Hughes [Fri, 18 Oct 2013 05:56:03 +0000 (22:56 -0700)]
am e9797ac6: Merge "Fix clone.S for x86_64."

* commit 'e9797ac6756481c0c219eb6b99f9062fd6dfb770':
  Fix clone.S for x86_64.

10 years agoMerge "Fix clone.S for x86_64."
Elliott Hughes [Fri, 18 Oct 2013 05:54:28 +0000 (05:54 +0000)]
Merge "Fix clone.S for x86_64."

10 years agoFix clone.S for x86_64.
Elliott Hughes [Fri, 18 Oct 2013 05:22:31 +0000 (22:22 -0700)]
Fix clone.S for x86_64.

We need to pull the arguments off the child stack and put them into the
registers they're expected to be in.

Change-Id: I064b3258cdd89d513c632857cabb46e52492af2b

10 years agoam 8ea34537: Merge "Add missing aliases for off64_t functions in 64-bit land."
Elliott Hughes [Fri, 18 Oct 2013 04:45:28 +0000 (21:45 -0700)]
am 8ea34537: Merge "Add missing aliases for off64_t functions in 64-bit land."

* commit '8ea3453719854fe9eba4cdc32e2b42d904ab1aea':
  Add missing aliases for off64_t functions in 64-bit land.

10 years agoMerge "Add missing aliases for off64_t functions in 64-bit land."
Elliott Hughes [Fri, 18 Oct 2013 04:42:08 +0000 (04:42 +0000)]
Merge "Add missing aliases for off64_t functions in 64-bit land."

10 years agoam 88dcfb5e: Merge "Add ffs and memcmp16 to x86_64."
Elliott Hughes [Fri, 18 Oct 2013 04:35:44 +0000 (21:35 -0700)]
am 88dcfb5e: Merge "Add ffs and memcmp16 to x86_64."

* commit '88dcfb5ebaba0b02dac5d096491ea4278b849bb5':
  Add ffs and memcmp16 to x86_64.

10 years agoMerge "Add ffs and memcmp16 to x86_64."
Elliott Hughes [Fri, 18 Oct 2013 04:33:29 +0000 (04:33 +0000)]
Merge "Add ffs and memcmp16 to x86_64."

10 years agoAdd ffs and memcmp16 to x86_64.
Elliott Hughes [Fri, 18 Oct 2013 00:03:22 +0000 (17:03 -0700)]
Add ffs and memcmp16 to x86_64.

Change-Id: I652c1356f1c7c52299977181c2cf154386979380

10 years agoAdd missing aliases for off64_t functions in 64-bit land.
Elliott Hughes [Thu, 17 Oct 2013 23:56:40 +0000 (16:56 -0700)]
Add missing aliases for off64_t functions in 64-bit land.

See the comment in SYSCALLS.TXT for an explanation.

Change-Id: I33d4056e84160c3cca74b7b588e9924a569753ed

10 years agoam 5b191604: Merge "Add SOCK_CLOEXEC and SOCK_NONBLOCK socket flags."
Elliott Hughes [Thu, 17 Oct 2013 20:47:28 +0000 (13:47 -0700)]
am 5b191604: Merge "Add SOCK_CLOEXEC and SOCK_NONBLOCK socket flags."

* commit '5b1916043728f7f869f1286b6e04662a3d7d472b':
  Add SOCK_CLOEXEC and SOCK_NONBLOCK socket flags.

10 years agoMerge "Add SOCK_CLOEXEC and SOCK_NONBLOCK socket flags."
Elliott Hughes [Thu, 17 Oct 2013 20:44:06 +0000 (20:44 +0000)]
Merge "Add SOCK_CLOEXEC and SOCK_NONBLOCK socket flags."

10 years agoAdd SOCK_CLOEXEC and SOCK_NONBLOCK socket flags.
Andrei Emeltchenko [Mon, 14 Oct 2013 13:48:26 +0000 (16:48 +0300)]
Add SOCK_CLOEXEC and SOCK_NONBLOCK socket flags.

SOCK_CLOEXEC is used to atomically set close-on-exec flag for the new
descriptor(s), and SOCK_NONBLOCK is used to mark descriptor(s) as
non-blocking.

Change-Id: I8ba6a70543d23759e3ddcc7ff9c21b567184d681

10 years agoam 70cf2077: Merge "Build the linker with the same -std flags as the rest of bionic."
Elliott Hughes [Thu, 17 Oct 2013 20:17:31 +0000 (13:17 -0700)]
am 70cf2077: Merge "Build the linker with the same -std flags as the rest of bionic."

* commit '70cf2077619cd2d177756e2bb1cf3fbf870ef355':
  Build the linker with the same -std flags as the rest of bionic.

10 years agoMerge "Build the linker with the same -std flags as the rest of bionic."
Elliott Hughes [Thu, 17 Oct 2013 20:15:41 +0000 (20:15 +0000)]
Merge "Build the linker with the same -std flags as the rest of bionic."

10 years agoBuild the linker with the same -std flags as the rest of bionic.
Elliott Hughes [Thu, 17 Oct 2013 20:06:20 +0000 (13:06 -0700)]
Build the linker with the same -std flags as the rest of bionic.

Change-Id: I5bdb28ecfdf78a90f6b072077a1c5ffd63f5d2ae

10 years agoam 41b87c65: Merge "x86_64: Add R_X86_64_64 relocation handling"
Elliott Hughes [Thu, 17 Oct 2013 19:55:09 +0000 (12:55 -0700)]
am 41b87c65: Merge "x86_64: Add R_X86_64_64 relocation handling"

* commit '41b87c651280d1a9a98a309c5a5e77e240920d4e':
  x86_64: Add R_X86_64_64 relocation handling

10 years agoam 922e2af4: Merge "O_CLOEXEC is always defined for arm, mips, x86, and x86_64."
Elliott Hughes [Thu, 17 Oct 2013 19:55:08 +0000 (12:55 -0700)]
am 922e2af4: Merge "O_CLOEXEC is always defined for arm, mips, x86, and x86_64."

* commit '922e2af432b38c3a454a1cae9e4d269c28c5ff8c':
  O_CLOEXEC is always defined for arm, mips, x86, and x86_64.

10 years agoMerge "x86_64: Add R_X86_64_64 relocation handling"
Elliott Hughes [Thu, 17 Oct 2013 19:51:10 +0000 (19:51 +0000)]
Merge "x86_64: Add R_X86_64_64 relocation handling"

10 years agoMerge "O_CLOEXEC is always defined for arm, mips, x86, and x86_64."
Elliott Hughes [Thu, 17 Oct 2013 19:45:35 +0000 (19:45 +0000)]
Merge "O_CLOEXEC is always defined for arm, mips, x86, and x86_64."

10 years agoam 967cd1bc: Merge "Fix sigaction(3) for 64-bit."
Elliott Hughes [Thu, 17 Oct 2013 18:49:30 +0000 (11:49 -0700)]
am 967cd1bc: Merge "Fix sigaction(3) for 64-bit."

* commit '967cd1bcaf5e75314b3cff2ea7bbd0eb18ab7438':
  Fix sigaction(3) for 64-bit.

10 years agoO_CLOEXEC is always defined for arm, mips, x86, and x86_64.
Elliott Hughes [Thu, 17 Oct 2013 18:45:22 +0000 (11:45 -0700)]
O_CLOEXEC is always defined for arm, mips, x86, and x86_64.

I built all four, just to be sure.

Change-Id: I5c818575c8142fccfc8fb163468832807a535e90

10 years agoMerge "Fix sigaction(3) for 64-bit."
Elliott Hughes [Thu, 17 Oct 2013 18:38:31 +0000 (18:38 +0000)]
Merge "Fix sigaction(3) for 64-bit."

10 years agoFix sigaction(3) for 64-bit.
Elliott Hughes [Thu, 17 Oct 2013 05:27:54 +0000 (22:27 -0700)]
Fix sigaction(3) for 64-bit.

Also clean up <signal.h> and revert the hacks that were necessary
for 64-bit in linker/debugger.cpp until now.

Change-Id: I3b0554ca8a49ee1c97cda086ce2c1954ebc11892

10 years agoam f89f1eaa: Merge "Refresh libc/kernel/common/linux/auxvec.h"
Ben Cheng [Wed, 16 Oct 2013 23:56:27 +0000 (16:56 -0700)]
am f89f1eaa: Merge "Refresh libc/kernel/common/linux/auxvec.h"

* commit 'f89f1eaa6071111c2ef584e97efb23f1b5dbdd2d':
  Refresh libc/kernel/common/linux/auxvec.h

10 years agoMerge "Refresh libc/kernel/common/linux/auxvec.h"
Ben Cheng [Wed, 16 Oct 2013 23:52:17 +0000 (23:52 +0000)]
Merge "Refresh libc/kernel/common/linux/auxvec.h"

10 years agoRefresh libc/kernel/common/linux/auxvec.h
Ben Cheng [Wed, 16 Oct 2013 23:50:14 +0000 (16:50 -0700)]
Refresh libc/kernel/common/linux/auxvec.h

Change-Id: If9bb50a2f233cdb60e91bd979876edb917e0f66d

10 years agoam 3fdd6b83: Merge "Add processed uapi kernel headers (common and aarch64-specific)"
Ben Cheng [Wed, 16 Oct 2013 23:32:24 +0000 (16:32 -0700)]
am 3fdd6b83: Merge "Add processed uapi kernel headers (common and aarch64-specific)"

* commit '3fdd6b83379f46d2ae78f376b3630f9d481d6dbb':
  Add processed uapi kernel headers (common and aarch64-specific)

10 years agoam bffe261a: Merge "Sort the syscalls.mk files, give all generated files the same...
Elliott Hughes [Wed, 16 Oct 2013 23:32:23 +0000 (16:32 -0700)]
am bffe261a: Merge "Sort the syscalls.mk files, give all generated files the same header."

* commit 'bffe261a1fcb2099e2188e2e4ca65209b64bc75a':
  Sort the syscalls.mk files, give all generated files the same header.

10 years agoMerge "Add processed uapi kernel headers (common and aarch64-specific)"
Ben Cheng [Wed, 16 Oct 2013 23:17:52 +0000 (23:17 +0000)]
Merge "Add processed uapi kernel headers (common and aarch64-specific)"

10 years agoAdd processed uapi kernel headers (common and aarch64-specific)
Ben Cheng [Wed, 16 Oct 2013 23:09:24 +0000 (16:09 -0700)]
Add processed uapi kernel headers (common and aarch64-specific)

Change-Id: If0be7b83bd8fe7cb02472d173f7c452aabf61124

10 years agoMerge "Sort the syscalls.mk files, give all generated files the same header."
Elliott Hughes [Wed, 16 Oct 2013 23:06:48 +0000 (23:06 +0000)]
Merge "Sort the syscalls.mk files, give all generated files the same header."

10 years agoam f0447ddb: Merge "Tweaked the cleanup scripts to handle uapi and aarch64 headers."
Ben Cheng [Wed, 16 Oct 2013 22:35:50 +0000 (15:35 -0700)]
am f0447ddb: Merge "Tweaked the cleanup scripts to handle uapi and aarch64 headers."

* commit 'f0447ddb042150af0e13a364df98dd11673d95d3':
  Tweaked the cleanup scripts to handle uapi and aarch64 headers.

10 years agoMerge "Tweaked the cleanup scripts to handle uapi and aarch64 headers."
Ben Cheng [Wed, 16 Oct 2013 22:32:11 +0000 (22:32 +0000)]
Merge "Tweaked the cleanup scripts to handle uapi and aarch64 headers."

10 years agoTweaked the cleanup scripts to handle uapi and aarch64 headers.
Ben Cheng [Wed, 16 Oct 2013 22:28:56 +0000 (15:28 -0700)]
Tweaked the cleanup scripts to handle uapi and aarch64 headers.

The processed uapi directory is now placed at libc/kernel/uapi as
opposed to libc/kernel/common/uapi as it contains
architectural-dependent headers now.

Change-Id: I53f814704a4d231b452fde398cd94257a0fb2eea

10 years agoSort the syscalls.mk files, give all generated files the same header.
Elliott Hughes [Wed, 16 Oct 2013 21:27:59 +0000 (14:27 -0700)]
Sort the syscalls.mk files, give all generated files the same header.

No non-comment changes to the .S files.

Change-Id: Iafcfd004c3ea92b64268f80ab16df615b97cefac

10 years agoam 1f29c2f5: Merge "Switch sigpending over to rt_sigpending."
Elliott Hughes [Wed, 16 Oct 2013 21:13:10 +0000 (14:13 -0700)]
am 1f29c2f5: Merge "Switch sigpending over to rt_sigpending."

* commit '1f29c2f51097b68110bc2766a7c1560d6a8831d0':
  Switch sigpending over to rt_sigpending.

10 years agoMerge "Switch sigpending over to rt_sigpending."
Elliott Hughes [Wed, 16 Oct 2013 21:09:59 +0000 (21:09 +0000)]
Merge "Switch sigpending over to rt_sigpending."

10 years agoSwitch sigpending over to rt_sigpending.
Elliott Hughes [Wed, 16 Oct 2013 19:53:58 +0000 (12:53 -0700)]
Switch sigpending over to rt_sigpending.

Change-Id: I7b28984796b5fb343cfbcc47e0afc3a84293d417

10 years agox86_64: Add R_X86_64_64 relocation handling
Pavel Chupin [Wed, 16 Oct 2013 15:13:58 +0000 (19:13 +0400)]
x86_64: Add R_X86_64_64 relocation handling

Change-Id: I86ffc56fa6a9053bed44e92a579530c2beb8eb2c
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
10 years agoam 26242bf2: Merge "Remove support for the useless \'custom\' option in SYSCALLS...
Elliott Hughes [Wed, 16 Oct 2013 02:54:40 +0000 (19:54 -0700)]
am 26242bf2: Merge "Remove support for the useless \'custom\' option in SYSCALLS.TXT."

* commit '26242bf266fc7ee72a972ff0e4b12c024df4993c':
  Remove support for the useless 'custom' option in SYSCALLS.TXT.

10 years agoMerge "Remove support for the useless 'custom' option in SYSCALLS.TXT."
Elliott Hughes [Wed, 16 Oct 2013 02:51:34 +0000 (02:51 +0000)]
Merge "Remove support for the useless 'custom' option in SYSCALLS.TXT."

10 years agoRemove support for the useless 'custom' option in SYSCALLS.TXT.
Elliott Hughes [Wed, 16 Oct 2013 01:18:58 +0000 (18:18 -0700)]
Remove support for the useless 'custom' option in SYSCALLS.TXT.

This cruft dates from a time when bionic would only output syscall
contants for the syscalls mentioned in SYSCALLS.TXT. I fixed that
a long time ago, but never followed through with the removal of what
was then confusingly called "stub" and was recently renamed "custom".

Change-Id: I8f3872a200b2dc8325e357cc5ee505ea4212ef95

10 years agoam 608c65f6: Merge "Fix sigsuspend to use rt_sigsuspend on all platforms."
Elliott Hughes [Wed, 16 Oct 2013 01:17:53 +0000 (18:17 -0700)]
am 608c65f6: Merge "Fix sigsuspend to use rt_sigsuspend on all platforms."

* commit '608c65f6955213179db4140cc57c40a2a88d5846':
  Fix sigsuspend to use rt_sigsuspend on all platforms.

10 years agoMerge "Fix sigsuspend to use rt_sigsuspend on all platforms."
Elliott Hughes [Wed, 16 Oct 2013 01:15:59 +0000 (01:15 +0000)]
Merge "Fix sigsuspend to use rt_sigsuspend on all platforms."

10 years agoFix sigsuspend to use rt_sigsuspend on all platforms.
Elliott Hughes [Wed, 16 Oct 2013 01:01:56 +0000 (18:01 -0700)]
Fix sigsuspend to use rt_sigsuspend on all platforms.

Change-Id: I981c1a66d35480d4457a0a08a1b042dac94daa5b

10 years agoam c100a100: Merge "\'Avoid confusing "read prevented write" log messages\' 2."
Elliott Hughes [Wed, 16 Oct 2013 00:35:27 +0000 (17:35 -0700)]
am c100a100: Merge "\'Avoid confusing "read prevented write" log messages\' 2."

* commit 'c100a10069a16eca57f5f9ab838ff98d7db6eb03':
  'Avoid confusing "read prevented write" log messages' 2.

10 years agoMerge "'Avoid confusing "read prevented write" log messages' 2."
Elliott Hughes [Wed, 16 Oct 2013 00:31:19 +0000 (00:31 +0000)]
Merge "'Avoid confusing "read prevented write" log messages' 2."

10 years ago'Avoid confusing "read prevented write" log messages' 2.
Elliott Hughes [Wed, 16 Oct 2013 00:17:05 +0000 (17:17 -0700)]
'Avoid confusing "read prevented write" log messages' 2.

This time it's assembler.

Change-Id: Iae6369833b8046b8eda70238bb4ed0cae64269ea

10 years agoam d9913b0b: Merge "Make pthread_create report sched_setscheduler failures on LP64."
Elliott Hughes [Wed, 16 Oct 2013 00:12:16 +0000 (17:12 -0700)]
am d9913b0b: Merge "Make pthread_create report sched_setscheduler failures on LP64."

* commit 'd9913b0b0dfad473bd1cb81463ac0d6b68a0deb6':
  Make pthread_create report sched_setscheduler failures on LP64.

10 years agoMerge "Make pthread_create report sched_setscheduler failures on LP64."
Elliott Hughes [Wed, 16 Oct 2013 00:09:54 +0000 (00:09 +0000)]
Merge "Make pthread_create report sched_setscheduler failures on LP64."

10 years agoam 76725214: Merge "Avoid confusing "read prevented write" log messages."
Elliott Hughes [Tue, 15 Oct 2013 23:56:34 +0000 (16:56 -0700)]
am 76725214: Merge "Avoid confusing "read prevented write" log messages."

* commit '7672521440c8b7f98795c3fb4295227398e3e296':
  Avoid confusing "read prevented write" log messages.

10 years agoam d16391bb: Merge "Fix indentation in sched_getaffinity."
Elliott Hughes [Tue, 15 Oct 2013 23:56:33 +0000 (16:56 -0700)]
am d16391bb: Merge "Fix indentation in sched_getaffinity."

* commit 'd16391bb88d92a58e3492921ac75a1d5d86031b7':
  Fix indentation in sched_getaffinity.

10 years agoMerge "Avoid confusing "read prevented write" log messages."
Elliott Hughes [Tue, 15 Oct 2013 23:53:45 +0000 (23:53 +0000)]
Merge "Avoid confusing "read prevented write" log messages."

10 years agoMerge "Fix indentation in sched_getaffinity."
Elliott Hughes [Tue, 15 Oct 2013 23:53:24 +0000 (23:53 +0000)]
Merge "Fix indentation in sched_getaffinity."

10 years agoMake pthread_create report sched_setscheduler failures on LP64.
Elliott Hughes [Tue, 15 Oct 2013 23:51:17 +0000 (16:51 -0700)]
Make pthread_create report sched_setscheduler failures on LP64.

We couldn't fix this for 32-bit because there's too much broken
code out there. (Pretty much everyone asks for real-time
scheduling for all their threads, and the kernel says "don't be
stupid".)

Change-Id: I43c5271e6b6bb91278b9a19eec08cbf05391e3c4

10 years agoFix indentation in sched_getaffinity.
Elliott Hughes [Tue, 15 Oct 2013 23:49:49 +0000 (16:49 -0700)]
Fix indentation in sched_getaffinity.

Change-Id: I966852149a0255ca132cd7a15f135a875ce400d0

10 years agoAvoid confusing "read prevented write" log messages.
Elliott Hughes [Tue, 15 Oct 2013 23:43:38 +0000 (16:43 -0700)]
Avoid confusing "read prevented write" log messages.

Moving to a "function: message" style avoids ambiguity.

Change-Id: If9d590e50265c61725d3673bd03796e65edd2d5e

10 years agoam dc9d8d05: Merge "Modify prefetch for krait memcpy."
Christopher Ferris [Tue, 15 Oct 2013 21:16:47 +0000 (14:16 -0700)]
am dc9d8d05: Merge "Modify prefetch for krait memcpy."

* commit 'dc9d8d050a43e1cd32f1337e79187124bb15d938':
  Modify prefetch for krait memcpy.

10 years agoam 22b83da4: Merge "Clean up the sigprocmask/pthread_sigmask implementation."
Elliott Hughes [Tue, 15 Oct 2013 21:13:32 +0000 (14:13 -0700)]
am 22b83da4: Merge "Clean up the sigprocmask/pthread_sigmask implementation."

* commit '22b83da476263bff28fcc6a4696ced58b61d2c1d':
  Clean up the sigprocmask/pthread_sigmask implementation.

10 years agoMerge "Modify prefetch for krait memcpy."
Christopher Ferris [Tue, 15 Oct 2013 21:12:30 +0000 (21:12 +0000)]
Merge "Modify prefetch for krait memcpy."

10 years agoMerge "Clean up the sigprocmask/pthread_sigmask implementation."
Elliott Hughes [Tue, 15 Oct 2013 21:10:20 +0000 (21:10 +0000)]
Merge "Clean up the sigprocmask/pthread_sigmask implementation."

10 years agoModify prefetch for krait memcpy.
Christopher Ferris [Tue, 15 Oct 2013 19:10:06 +0000 (12:10 -0700)]
Modify prefetch for krait memcpy.

I originally modified the krait mainloop prefetch from cacheline * 8 to * 2.
This causes a perf degradation for copies bigger than will fit in the cache.
Fixing this back to the original * 8. I tried other multiples, but * 8 is th
sweet spot on krait.

Bug: 11221806

Change-Id: I1f75fad6440f7417e664795a6e7b5616f6a29c45

10 years agoClean up the sigprocmask/pthread_sigmask implementation.
Elliott Hughes [Tue, 15 Oct 2013 18:23:57 +0000 (11:23 -0700)]
Clean up the sigprocmask/pthread_sigmask implementation.

Let's have both use rt_sigprocmask, like in glibc. The 64-bit ABIs
can share the same code as the 32-bit ABIs.

Also, let's test the return side of these calls, not just the
setting.

Bug: 11069919
Change-Id: I11da99f85b5b481870943c520d05ec929b15eddb

10 years agoam abeafbd6: Merge "Wrap sprintf()/snprintf() macros to prevent expansion errors."
Stephen Hines [Fri, 11 Oct 2013 23:30:04 +0000 (16:30 -0700)]
am abeafbd6: Merge "Wrap sprintf()/snprintf() macros to prevent expansion errors."

* commit 'abeafbd6d5e11044dd305e48134bc3d84319a3da':
  Wrap sprintf()/snprintf() macros to prevent expansion errors.

10 years agoam 8704ada3: Merge "Fix clang warnings in bionic."
Stephen Hines [Fri, 11 Oct 2013 23:30:03 +0000 (16:30 -0700)]
am 8704ada3: Merge "Fix clang warnings in bionic."

* commit '8704ada3d8fae067ed48c2b6da5a1ba4ab062e1a':
  Fix clang warnings in bionic.

10 years agoMerge "Wrap sprintf()/snprintf() macros to prevent expansion errors."
Stephen Hines [Fri, 11 Oct 2013 23:28:31 +0000 (23:28 +0000)]
Merge "Wrap sprintf()/snprintf() macros to prevent expansion errors."

10 years agoMerge "Fix clang warnings in bionic."
Stephen Hines [Fri, 11 Oct 2013 23:27:40 +0000 (23:27 +0000)]
Merge "Fix clang warnings in bionic."

10 years agoFix clang warnings in bionic.
Stephen Hines [Fri, 11 Oct 2013 23:03:21 +0000 (16:03 -0700)]
Fix clang warnings in bionic.

This fixes a few diverse issues that clang warns on in bionic. First,
it specifies the appropriate converted types for format specifiers.
The "h" and "hh" modifiers specify that the user is passing a short or
char respectively. We were passing int deliberately in both cases and
relying on the compiler to implicitly downcast to the smaller type.
We also remove the non-standard "d" suffix from our double-precision
floating point constant. This is an extension for gcc that clang does
not implement. The third fix is to mark the c1 variable as unused,
since it truly is neither read nor written.

Change-Id: I4793352b9d3e58f1f4cac9e7581ef4b2a70b43c7

10 years agoWrap sprintf()/snprintf() macros to prevent expansion errors.
Stephen Hines [Fri, 11 Oct 2013 07:45:24 +0000 (00:45 -0700)]
Wrap sprintf()/snprintf() macros to prevent expansion errors.

Previously, FORTIFY_SOURCE used single macros to define these standard
functions for use with clang. This can cause conflicts with other macros used
to call these functions, particularly when those macros expand the number of
arguments to the function. This change wraps our macro definitions, so that
expansion properly takes place for programmer arguments first.

Change-Id: I55929b1fd2a643b9d14a17631c4bcab3b0b712cf

10 years agoam eda2679e: Merge "FORTIFY_SOURCE: fortify read()"
Nick Kralevich [Thu, 10 Oct 2013 04:25:51 +0000 (21:25 -0700)]
am eda2679e: Merge "FORTIFY_SOURCE: fortify read()"

* commit 'eda2679e30b997d036e0ec572cda054adc2ac3a6':
  FORTIFY_SOURCE: fortify read()

10 years agoam 39385aa7: Merge "Clean up the cpuacct cruft."
Elliott Hughes [Thu, 10 Oct 2013 04:25:50 +0000 (21:25 -0700)]
am 39385aa7: Merge "Clean up the cpuacct cruft."

* commit '39385aa78c5d437cfabc26a1bccdf050a8c94ac4':
  Clean up the cpuacct cruft.

10 years agoMerge "FORTIFY_SOURCE: fortify read()"
Nick Kralevich [Thu, 10 Oct 2013 04:11:48 +0000 (04:11 +0000)]
Merge "FORTIFY_SOURCE: fortify read()"

10 years agoMerge "Clean up the cpuacct cruft."
Elliott Hughes [Thu, 10 Oct 2013 04:08:43 +0000 (04:08 +0000)]
Merge "Clean up the cpuacct cruft."

10 years agoFORTIFY_SOURCE: fortify read()
Nick Kralevich [Thu, 10 Oct 2013 03:16:34 +0000 (20:16 -0700)]
FORTIFY_SOURCE: fortify read()

Change-Id: Ic7de163fe121db13e00560adb257331bc709814d

10 years agoClean up the cpuacct cruft.
Elliott Hughes [Thu, 10 Oct 2013 00:35:36 +0000 (17:35 -0700)]
Clean up the cpuacct cruft.

Change-Id: I6ed63af8dfc2368e211420389fa8af4d5dc0908f

10 years agoam 92f3cc50: Merge "x86_64: Rename 64-bit linker to linker64"
Elliott Hughes [Wed, 9 Oct 2013 23:54:16 +0000 (16:54 -0700)]
am 92f3cc50: Merge "x86_64: Rename 64-bit linker to linker64"

* commit '92f3cc50c8d884d1eb3496ebfba7d3916fc711e8':
  x86_64: Rename 64-bit linker to linker64

10 years agoMerge "x86_64: Rename 64-bit linker to linker64"
Elliott Hughes [Wed, 9 Oct 2013 23:51:28 +0000 (23:51 +0000)]
Merge "x86_64: Rename 64-bit linker to linker64"

10 years agoam 848efa9d: Merge "Revert "FORTIFY_SOURCE: fortify read()""
Nick Kralevich [Wed, 9 Oct 2013 23:50:54 +0000 (16:50 -0700)]
am 848efa9d: Merge "Revert "FORTIFY_SOURCE: fortify read()""

* commit '848efa9dae84ac4e5e45869abe26225affeb2038':
  Revert "FORTIFY_SOURCE: fortify read()"

10 years agox86_64: Rename 64-bit linker to linker64
Pavel Chupin [Wed, 6 Feb 2013 15:21:46 +0000 (19:21 +0400)]
x86_64: Rename 64-bit linker to linker64

That's for having both on the same system.

Change-Id: Ic2bc2c015e6486e8b6a7576f7b28d2d027534368
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
10 years agoMerge "Revert "FORTIFY_SOURCE: fortify read()""
Nick Kralevich [Wed, 9 Oct 2013 23:47:58 +0000 (23:47 +0000)]
Merge "Revert "FORTIFY_SOURCE: fortify read()""

10 years agoam 777ebe86: Merge "Fix MIPS build."
Elliott Hughes [Wed, 9 Oct 2013 23:46:33 +0000 (16:46 -0700)]
am 777ebe86: Merge "Fix MIPS build."

* commit '777ebe86677f6fd88c87995652146b2ead19a95f':
  Fix MIPS build.

10 years agoRevert "FORTIFY_SOURCE: fortify read()"
Nick Kralevich [Wed, 9 Oct 2013 23:44:30 +0000 (16:44 -0700)]
Revert "FORTIFY_SOURCE: fortify read()"

This change reverts
fb3f956d075676c0438f2ee2bf3a5be659dfc04b.
65c99de2cb7a569ea17ca35e2f8f1e033421864b

Change-Id: Id5774eeede41130579115cf67a72ee914f2b47d5

10 years agoMerge "Fix MIPS build."
Elliott Hughes [Wed, 9 Oct 2013 23:43:23 +0000 (23:43 +0000)]
Merge "Fix MIPS build."

10 years agoFix MIPS build.
Elliott Hughes [Wed, 9 Oct 2013 23:40:33 +0000 (16:40 -0700)]
Fix MIPS build.

Warnings are errors for all home-grown bionic code, and the arch-specific
code now counts as home-grown bionic code (it was mistakenly counted as
"not ours" before).

Change-Id: I9c6a881b0dc596bae7dfe112c5c189e073800a3a

10 years agoam 37953ee3: Merge "Fix build."
Elliott Hughes [Wed, 9 Oct 2013 23:33:59 +0000 (16:33 -0700)]
am 37953ee3: Merge "Fix build."

* commit '37953ee3feb60b84e43349df0b13544367ca1cd7':
  Fix build.