Compare commits

...

2145 Commits

Author SHA1 Message Date
Neil Fuller
4177bd8d16 Fixes to the update-tzdata.py tool
We build one too many times. Creating a missing directory
is sufficient.

The tz2icu needs some files in the CWD. Added symlinks.

Bug: 19230091
(cherry-pick of commit 0662c3e5b3)
Change-Id: Ie21d848f1b776ec745473b9122e003fdf0acf105
2015-02-02 17:53:19 +00:00
Neil Fuller
700eb048fb Update tzdata to tzdata2015a
Time Zone Data v. 2015a (Released 2015-01-29)
http://www.iana.org/time-zones/repository/releases/tzdata2015a.tar.gz

Information from NEWS:

Release 2015a - 2015-01-29 22:35:20 -0800

  Changes affecting future time stamps

    The Mexican state of Quintana Roo, represented by America/Cancun,
    will shift from Central Time with DST to Eastern Time without DST
    on 2015-02-01 at 02:00.  (Thanks to Steffen Thorsen and Gwillim Law.)

    Chile will not change clocks in April or thereafter; its new standard time
    will be its old daylight saving time.  This affects America/Santiago,
    Pacific/Easter, and Antarctica/Palmer.  (Thanks to Juan Correa.)

    New leap second 2015-06-30 23:59:60 UTC as per IERS Bulletin C 49.
    (Thanks to Tim Parenti.)

  Changes affecting past time stamps

    Iceland observed DST in 1919 and 1921, and its 1939 fallback
    transition was Oct. 29, not Nov. 29.  Remove incorrect data from
    Shanks about time in Iceland between 1837 and 1908.

    Some more zones have been turned into links, when they differed
    from existing zones only for older time stamps.  As usual,
    these changes affect UTC offsets in pre-1970 time stamps only.
    Their old contents have been moved to the 'backzone' file.
    The affected zones are: Asia/Aden, Asia/Bahrain, Asia/Kuwait,
    and Asia/Muscat.

  Changes affecting code

    tzalloc now scrubs time zone abbreviations compatibly with the way
    that tzset always has, by replacing invalid bytes with '_' and by
    shortening too-long abbreviations.

    tzselect ports to POSIX awk implementations, no longer mishandles
    POSIX TZ settings when GNU awk is used, and reports POSIX TZ
    settings to the user.  (Thanks to Stefan Kuhn.)

  Changes affecting build procedure

    'make check' now checks for links to links in the data.
    One such link (for Africa/Asmera) has been fixed.
    (Thanks to Stephen Colebourne for pointing out the problem.)

  Changes affecting commentary

    The leapseconds file commentary now mentions the expiration date.
    (Problem reported by Martin Burnicki.)

    Update Mexican Library of Congress URL.

Bug: 19212588
Change-Id: Idc07ac862901500d4a1dbd0f4aadcfd0aa9d10b8
2015-02-02 11:32:10 +00:00
Dmitriy Ivanov
d9e211ca1f Print error when prelink fails for main executable
Bug: 18931021
Change-Id: Ieefdcf60f1506af522714300030754a4ed61c08e
2015-01-07 11:23:34 -08:00
Elliott Hughes
c7450f7738 Restore symbols from <arpa/nameser.h>.
Bug: 18627252
Bug: https://code.google.com/p/android/issues/detail?id=81690

(cherry picked from commit 42804c4b30)

Change-Id: Idd33578b31bba9a4afdfd15c7b193d10974aea90
2014-12-04 13:45:22 -08:00
Elliott Hughes
27d276f3a6 Avoid pathological behavior in OpenBSD's fread.
(cherry picked from commit 20841a137b)

Bug: https://code.google.com/p/android/issues/detail?id=81155
Bug: 18556607
Change-Id: Ibdfebc20dce4c34ad565014523c9b074e90ea665
2014-12-02 14:54:52 -08:00
Elliott Hughes
152e978f73 Merge "Put stdin/stdout/stderr symbols in place." into lmp-mr1-dev 2014-12-02 18:56:50 +00:00
Elliott Hughes
111461aaae Put stdin/stdout/stderr symbols in place.
To help with future binary compatibility.

Bug: 18553223
Change-Id: Ia8103b4f189c18528b11948ac9e520f61b9ccc0e
2014-12-01 21:27:59 -08:00
Lorenzo Colitti
e5477f83b0 Fail queries fast if no DNS servers are configured.
When no DNS servers are configured (and thus there is no chance
that the DNS query will suceed), res_nsend returns early, but
it does not tell the cache that the query has failed.
Therefore, if the caller retries the query, it will block for
PENDING_REQUEST_TIMEOUT (= 20 seconds) waiting for the "existing
query" (which isn't actually doing anything) to complete.

Bug: 18240188
Bug: 18327075
Change-Id: I0df13ff4a17ee65e640be96695a3af31b020963a
2014-12-01 20:03:25 +00:00
Elliott Hughes
432f645887 Fix flockfile(3) and friends for stdin/stdout/stderr too.
stdin/stdout/stderr are special; their mutexes are initialized by
__sinit. There's no unit test for this, because __sinit has already
been called by the time the first unit test runs, but you could
reproduce this failure with a trivial main() that calls flockfile
or ftrylockfile on one of the standard streams before otherwise
using stdio.

Bug: 18208568

(cherry picked from commit c48c3e4bb3)

Change-Id: Ia0c43ed4ac69daea8152aee9516415a6e3f8a042
2014-11-19 15:49:09 -08:00
Elliott Hughes
047d943ee9 sysconf(3) returns long.
On LP32, this makes no difference. Not an ABI change.

On LP64, results are going to be in %rax or x0 whether they're 32- or 64-bit,
and the only difference is going to be whether the top bits are clobbered.

(cherry picked from commit 60d84af172)

Bug: 18390956
Change-Id: I722461498bc5494e2972fb07d5189dffe76e8993
2014-11-14 15:37:49 -08:00
Daniel Rosenberg
4a50d8ead7 bionic: libc: Added path to vendor build properties file.
Signed-off-by: Daniel Rosenberg <drosen@google.com>

(cherry picked from commit 71d220c1de)

Bug: 18281574
Change-Id: I2843f23ecb4c4ca79b230d8041bbca02dbedeadc
2014-11-13 13:09:59 -08:00
Elliott Hughes
c05314a0b2 Merge "Fix tzdata update tools for 'backzone'." into lmp-mr1-dev 2014-11-12 17:19:57 +00:00
Elliott Hughes
1ca3350f4c Upgrade bionic to tzdata2014j.
From the release notes:

   Changes affecting current and future time stamps

     Turks & Caicos' switch from US eastern time to UTC-4 year-round
     did not occur on 2014-11-02 at 02:00.  It's currently scheduled
     for 2015-11-01 at 02:00.  (Thanks to Chris Walton.)

   Changes affecting past time stamps

     Many pre-1989 time stamps have been corrected for Asia/Seoul and
     Asia/Pyongyang, based on sources for the Korean-language Wikipedia
     entry for time in Korea.  (Thanks to Sanghyuk Jung.)  Also, no
     longer guess that Pyongyang mimicked Seoul time after World War II,
     as this is politically implausible.

     Some more zones have been turned into links, when they differed
     from existing zones only for older time stamps.  As usual,
     these changes affect UTC offsets in pre-1970 time stamps only.
     Their old contents have been moved to the 'backzone' file.
     The affected zones are: Africa/Addis_Ababa, Africa/Asmara,
     Africa/Dar_es_Salaam, Africa/Djibouti, Africa/Kampala,
     Africa/Mogadishu, Indian/Antananarivo, Indian/Comoro, and
     Indian/Mayotte.

Bug: 18330681

(cherry picked from commit b11d8e057c)

Change-Id: Ifd48e7446e400dccae3afd5cbef96ca843775477
2014-11-11 19:56:09 -08:00
Elliott Hughes
371dcc189f Fix tzdata update tools for 'backzone'.
To maintain the status quo, we need to pull in backzone file. This file
can't be built on its own, so the easiest fix is to give zic(1) all the
files at once.

We also now have a situation where we have links to links, so we need to
dereference them until we find actual data.

Bug: 18330681

(cherry picked from commit 2c2463bd30)

Change-Id: I654b80518a7144038d8b3ea7223f49e2b1d2ad13
2014-11-11 19:55:35 -08:00
Dmitriy Ivanov
9d3382d97a Revert "Fix dlsym() to take into account RTLD_GLOBAL/LOCAL"
This reverts commit c85e82dde5.

Bug: 18222321
Bug: 18211780
Change-Id: I32f4048bd5ea85dc8a3dfccce8cf141b241ab692
2014-11-03 22:15:29 -08:00
Dmitriy Ivanov
69c5d108a5 Revert "Add RTLD_NODELETE flag support"
This reverts commit c87f65d2cd.

Bug: 18222321
Bug: 18211780
Change-Id: I00252e26a28a41ab9f1e2dd3b32f0f80d86297f1
2014-11-03 22:15:26 -08:00
Dmitriy Ivanov
00dce52553 Revert "Fix relocation to look for symbols in local group"
This reverts commit fd2747bb58.

Bug: 18222321
Bug: 18211780
Change-Id: I2d4ebab1e73b7277161af76b99f8249825b22d65
2014-11-03 22:15:20 -08:00
Dmitriy Ivanov
eae0977255 Revert "Remove unnecessary lookups during relocations"
This reverts commit 6442dbd3bc.

Bug: 18222321
Bug: 18211780
Change-Id: I87b18a32238a1f75afe56149221b6691f50d9f56
2014-11-03 22:15:17 -08:00
Dmitriy Ivanov
4402804c35 Revert "Fix mips build"
This reverts commit bf3d5ef5fd.

Bug: 18222321
Bug: 18211780
Change-Id: I902ed888197b358c77303f1acb6d5ffd7ae6dcd3
2014-11-03 22:15:13 -08:00
Dmitriy Ivanov
f947be2889 Revert "Fix symbol lookup order during relocation"
This reverts commit 976402cca1.

Bug: 18222321
Bug: 18211780
Change-Id: Iafdd3d843db7b1cf288be9a0232022816622c944
2014-11-03 22:15:08 -08:00
Dmitriy Ivanov
494bee796a Revert "Fix arm64 and arm builds."
This reverts commit 445111a1c9.

Bug: 18222321
Bug: 18211780
Change-Id: I4fa9e1b63ec9b528f8bfed73c2ec15046c43a2fe
2014-11-03 22:14:19 -08:00
Elliott Hughes
d18f4b2578 Ensure we initialize stdin/stdout/stderr's recursive mutexes.
(cherry-pick of 6a03abcfd23f31d1df06eb0059830e22621282bb.)

Bug: 18208568
Change-Id: I9da16ce0f9375bc363d1d02be706d73fd3b1e150
2014-11-03 13:46:41 -08:00
Dmitriy Ivanov
445111a1c9 Fix arm64 and arm builds.
Bug: 18186310

(cherry picked from commit 4e446b19d8)

Change-Id: Ibc77a9ade36dc6b9bf5a316b5ab9ae5f0a70e826
2014-10-31 19:29:04 -07:00
Dmitriy Ivanov
976402cca1 Fix symbol lookup order during relocation
Relocate symbol against DF_1_GLOBAL shared libraries
  loaded before this shared library. This includes
  main executable, ld_preloads and other libraries
  that have DF_1_GLOBAL flag set.

Bug: 2643900
Bug: 15432753
Bug: 18186310

(cherry picked from commit d225a5e652)

Change-Id: I4e889cdf2dfbf8230b0790053d311ee6b0d0ee2d
2014-10-31 17:10:30 -07:00
Dmitriy Ivanov
bf3d5ef5fd Fix mips build
Bug: 18186310

(cherry picked from commit 90b74fb867)

Change-Id: I8d4ed254e5c421b65b62c401abdb1ee07e5dc3b2
2014-10-31 17:04:00 -07:00
Dmitriy Ivanov
6442dbd3bc Remove unnecessary lookups during relocations
local_group includes this library and its dependencies.

Bug: 18186310

(cherry picked from commit e47b3f8456)

Change-Id: I93c2d873e924df7319569307444bf603d7d27bf0
2014-10-31 17:04:00 -07:00
Dmitriy Ivanov
fd2747bb58 Fix relocation to look for symbols in local group
The local group is a sequence of libraries in default (breadth-first)
  order. It allows RTLD_LOCALLY loaded library to correctly relocate
  symbols within its group (see test-cases).

  Local group lookup is performed after main executable and ld_preloads.

Bug: 2643900
Bug: 15432753
Bug: 18186310

(cherry picked from commit cfa97f172d)

Change-Id: I5fa8c673f929e4652c738912c7ae078d7ec286d2
2014-10-31 17:04:00 -07:00
Dmitriy Ivanov
4d0c1f673f Correct way to specify additional dependencies
Previous one was not covering all the targets

Bug: 17548097
Bug: 18186310

(cherry picked from commit 4a9e1937c5)

Change-Id: I2cd9e58893555d16cbfe291b2d1279621489d5ad
2014-10-31 17:04:00 -07:00
Dmitriy Ivanov
382e06ce8e Add dlfcn_test to glibc test suite.
Bug: 18186310

(cherry picked from commit eb27bbae8f)

Change-Id: I1d608dfa12dbafbdcdb8bc6d818c5872404c19e0
2014-10-31 17:04:00 -07:00
Dmitriy Ivanov
e4bc6f026a Ignore DT_BIND_NOW (0x18)
Bug: 18186310
Bug: 17552334

(cherry picked from commit ea6eae182a)

Change-Id: I07d6f6fbb462fea329581d0da02f6d88be1c262f
2014-10-31 17:04:00 -07:00
Dmitriy Ivanov
1d3e81a9e7 Resolve "unused DT entry" warnings for x86_64
Bug: 18186310

(cherry picked from commit 513e29e16f)

Change-Id: I1e4c5af2cdc09dc978c7a78fcdcf8796c919751e
2014-10-31 17:04:00 -07:00
Dmitriy Ivanov
c87f65d2cd Add RTLD_NODELETE flag support
Bug: 18186310
Bug: https://code.google.com/p/android/issues/detail?id=64069

(cherry picked from commit 1b20dafdbe)

Change-Id: Ic02eec22a7c322ece65eb40730a3404f611526b1
2014-10-31 17:04:00 -07:00
Dmitriy Ivanov
210ff1b27b Fix mips build
Bug: 18186310

(cherry picked from commit ecf532fa1c)

Change-Id: Ia12f2fa28c8cd3204eb7d6b4c7d872f4e81fb8ef
2014-10-31 17:04:00 -07:00
Dmitriy Ivanov
0f47d9c1ce Fix unused DT entry warnings.
DT_STRSZ Implement strtab boundary checks
 DT_FLAGS_1 Warn if flags other than DF_1_NOW|DF_1_GLOBAL are set

Bug: 17552334
Bug: 18186310

(cherry picked from commit 6cdeb5234d)

Change-Id: I7ffc7bc600798308a77ad949a644949b64250ae2
2014-10-31 17:03:59 -07:00
Dmitriy Ivanov
f90e21004e Return has_DT_SYMBOLIC flag.
This reverts commit 8f61d99183

 Despite the fact that static linker does all the work while linking
 -Bsymbolic executables, according to the SCO doc following DT_SYMBOLIC
 and DF_SYMBOLIC flags is still a requirement for the dynamic linker
 as well.

 (see http://www.sco.com/developers/gabi/2012-12-31/ch5.dynamic.html)

Bug: 18186310

(cherry picked from commit 96bc37f2e1)

Change-Id: Ie217be4f3305d877066e4cfe91975ae1c7768330
2014-10-31 17:03:59 -07:00
Elliott Hughes
748fbe5c41 Fix a couple more cases of missing CLOEXEC.
The debuggerd case can probably never happen, because you're crashing at this
point anyway. The system property one seems possible though.

Bug: 18186310

(cherry picked from commit 0dc39f9952)

Change-Id: I3e84488fc246f6c28cbd82e96d0cd4343a12c28a
2014-10-31 17:03:21 -07:00
Dmitriy Ivanov
d5eb10875a Temporary disable DL_WARNs for unused DT_*
Bug: 17552334
Bug: 18186310

(cherry picked from commit 1b77423eff)

Change-Id: I8a9d05195a862bc287fff7156913606f0311b8bb
2014-10-31 17:02:14 -07:00
Dmitriy Ivanov
09608848ed Fix 64bit build
Bug: 18186310

(cherry picked from commit f240aa8089)

Change-Id: Id46f1f9be90a17a58fb44d3540095c8c685c9726
2014-10-31 17:02:14 -07:00
Dmitriy Ivanov
634a045c5c Fix some unused DT_ warnings
* DT_PLTGOT - ignored for non-mips
 * DT_RELCOUNT/RELACOUNT - ignored
 * DT_RELENT/RELAENT - sanity checks
 * DT_SYMENT - sanity check
 * DT_SONAME - ignore for now.

Bug: 18186310

(cherry picked from commit 4a6e9a835a)

Change-Id: Ib40095f0770d65628fc7abac5a471378de35ebe7
2014-10-31 17:02:14 -07:00
Dmitriy Ivanov
b364d95380 Remove has_DT_SYMBOLIC flag
From the elf-spec: "Symbolically bound shared objects are
  identified by the .dynamic entry DT_SYMBOLIC. This tag is
  informational only; the runtime linker processes symbol
  lookups from these objects in the same manner as any
  other object."

Bug: 18186310

(cherry picked from commit 8f61d99183)

Change-Id: I37024799ac8d1837993c8ae78780a448bedd6539
2014-10-31 17:02:13 -07:00
Dmitriy Ivanov
c85e82dde5 Fix dlsym() to take into account RTLD_GLOBAL/LOCAL
Symbols from libraries opened with RTLD_LOCAL (default)
  should not be visible via dlsym(RLTD_DEFAULT/RTLD_NEXT, .)

Bug: 17512583
Bug: 18186310

(cherry picked from commit e8ba50fe0d)

Change-Id: Idf6bbe2233fb2bfc0c88677e7d1fc518fb3f7a8b
2014-10-31 17:02:13 -07:00
Dmitriy Ivanov
926797a8a9 Reformatting
No functional changes.

Bug: 18186310

(cherry picked from commit 6abf624d12)]

Change-Id: I0acf52d8ee7fe2d4f44bc832cbe9fabe1782f03f
2014-10-31 17:02:13 -07:00
Dan Albert
653263a964 Only use <atomic> for C++11 and newer.
Any pre-C++11 clients of stdatomic.h that use libc++ are being forced
over to <atomic>, which they don't have the language support to use.

Bug:17736764

Change-Id: I62445c1f2541410a1569498c09433c7196635537
(cherry picked from commit 3ce0769aa5)
2014-10-30 13:22:34 -07:00
Elliott Hughes
b0693ec582 Merge changes I0feda6b2,I22d13fde,I49d7d09d,Ice490bfe into lmp-mr1-dev
* changes:
  Fix the type of u_ar0 in <sys/user.h>.
  Add greg_t for arm64.
  POSIX says <signal.h> gets you ucontext_t.
  Add in_port_t and move it and in_addr_t to the correct header file.
2014-10-29 23:22:30 +00:00
Elliott Hughes
0c4e98adbe Fix the type of u_ar0 in <sys/user.h>.
(cherry picked from commit e03950fa0c)

Bug: 18172268
Change-Id: I0feda6b253882f68f47bcf30fad998286cc7f620
2014-10-29 11:57:36 -07:00
Elliott Hughes
d0fb6a2940 Add greg_t for arm64.
This was already present for the other architectures. I think we skipped
this because glibc seems to have an incorrect definition (int rather than
long), but the kernel has the sane definition (just not in a uapi header).

(cherry picked from commit 8e4d371091)

Bug: 18172268
Change-Id: I22d13fdeb6431ea122dd028a229782dcaf2286b2
2014-10-29 11:56:59 -07:00
Elliott Hughes
ab4d5cf242 POSIX says <signal.h> gets you ucontext_t.
POSIX also says that ucontext_t's uc_sigmask has type sigset_t.

MIPS64 strace needs this.

The #define is to keep chromium off our lawn; otherwise it tries to redefine
all this stuff itself. We should probably clean that up and remove the #define.

(cherry picked from commit 26a8eb50a8)

Bug: 18172268
Change-Id: I49d7d09dabfc6c6926a8e1f4b235d041e2f2fc4d
2014-10-29 11:55:02 -07:00
Elliott Hughes
eedbf70e8e Add in_port_t and move it and in_addr_t to the correct header file.
No one's reported this, but I saw it in an Android port of fuser(1).

We still have lots of problems in our network headers because we
get most of the structs direct from the kernel, and it doesn't use
types like this (which is why we've got away without this one for
so long). One day we should probably look at cleaning that up, but
doing so can wait.

(cherry picked from commit 35d226e05d)

Bug: 18172268
Change-Id: Ice490bfe84afb04722d738128053d4c533b8a664
2014-10-29 11:49:45 -07:00
Christopher Ferris
98d57c95bc Add stpcpy assembler version.
For generic, continue to use the C version of the code.

Bug: 13746695

(cherry picked from commit 7d849ac378)

Change-Id: Iae44785f37f9bb59103ab78fb9f74c92f8a95c7f
2014-10-29 11:07:03 -07:00
Christopher Ferris
1c8ea807eb Cleanup arm assembly.
Remove the old arm directives.
Change the non-local labels to .L labels.
Add cfi directives to strcpy.S.

Bug: 18157900

(cherry picked from commit c8bd2abab2)

Change-Id: Ifa1c3d16553d142eaa0d744af040f0352538106c
2014-10-28 18:19:33 -07:00
Christopher Ferris
0cc59dd303 Add __memcpy_chk assembly for 64 bit.
Bug: 17623887

(cherry picked from commit 8cf61dab5f)

Change-Id: I91e66ca0c26f04b50308059f9c89d388d55f6e3a
2014-10-28 16:18:47 -07:00
Elliott Hughes
86d16a053e Clean up the architecture-specific makefiles.
Group things appropriately and name each group.

Bug: 18160821

(cherry picked from commit 7c02d9428c)

Change-Id: I863242515af44058154d03e2d8c34678e682d66a
2014-10-28 15:13:36 -07:00
Elliott Hughes
b378c27226 No arm source refers to SOFTFLOAT.
So why bother #defining it?

Bug: 18160821

(cherry picked from commit b1a6c319c4)

Change-Id: I9cd9c144ba7071fddda12fa16d1232ad861b66be
2014-10-28 15:13:04 -07:00
Elliott Hughes
22e2c9d963 Fix mips signed/unsigned signal_test.cpp build breakage.
(cherry picked from commit aa13e839f0)

Bug: 17436734
Change-Id: I167fc5d74c49cca7031c5739bc53fdf3bde71887
2014-10-28 14:02:10 -07:00
Christopher Ferris
43dc3a9aae Remove the unnecessary generic-neon code.
Bug: 18156619
(cherry picked from commit 2169e17482)

Change-Id: I4a7f5bb9ad4c27b274f3a3c86c1617ca0578b98f
2014-10-28 12:07:25 -07:00
Elliott Hughes
1ea31a2901 Merge "Don't mask out SA_RESTORER from sa_flags." into lmp-mr1-dev 2014-10-28 15:36:56 +00:00
Elliott Hughes
cd99bbfd50 Merge "Disable tzdata in $ANDROID_DATA." into lmp-mr1-dev 2014-10-28 15:06:31 +00:00
Elliott Hughes
28ea229bb2 Don't mask out SA_RESTORER from sa_flags.
glibc doesn't do this, and we probably shouldn't either.

Bug: 16703540
Bug: 17436734

(cherry picked from commit afe58ad989)

Change-Id: Iada5d0ae814f438cb276f056b2b5e3675f0e3666
2014-10-28 07:55:53 -07:00
Pavel Chupin
8eb8c39299 [x86,x86_64] Fix libgcc unwinding through signal
This change provides __restore/__restore_rt on x86 and __restore_rt on
x86_64 with unwinding information to be able to unwind through signal
frame via libgcc provided unwinding interface. See comments inlined for
more details.

Also remove the test that had a dependency on
__attribute__((cleanup(foo_cleanup))). It doesn't provide us with any
better test coverage than we have from the newer tests, and it doesn't
work well across a variety architectures (presumably because no one uses
this attribute in the real world).

Tested this on host via bionic-unit-tests-run-on-host on both x86 and
x86-64.

Bug: 17436734
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>

(cherry picked from commit 50321e2e66)

Change-Id: Iba90e36958b00c7cc7db5eeebf888dc89ce4d619
2014-10-27 16:42:49 -07:00
Elliott Hughes
190dce9e56 Stack unwinding unit tests.
Bug: 17436734

(cherry picked from commit bee1993a14)

Change-Id: I7205a862ba2c3b474e287f5e9c8982cef4610af9
2014-10-27 16:42:37 -07:00
Elliott Hughes
e5e61a0a92 Use the kernel's sa_restorer for aarch64.
gdb was happy with what we had, but libgcc and libunwind weren't.
libgcc is happy with the kernel's restorer (because of the extra nop),
though libunwind looks like it's going to need code changes regardless.

We could make our restorer more like the kernel's one, but why bother
when we can just let the kernel supply the canonical one?

Bug: 17436734

(cherry picked from commit 1cff9a8964)

Change-Id: Ie13d73fd97395e1979a67c2294e036a97c50000d
2014-10-27 16:42:19 -07:00
Elliott Hughes
5054e1a121 Fix 32-bit arm unwinding through signal frames.
gdb was already okay; libgcc and libunwind need a little extra help.

Bug: 17436734

(cherry picked from commit 148dff3ec6)

Change-Id: I2cc997017acc57c930284af5264f353656b98c7b
2014-10-27 16:41:56 -07:00
Elliott Hughes
7dc2b7b30d Fix signal trampolines.
* LP32 should use sa_restorer too. gdb expects this, and future (>= 3.15) x86
  kernels will apparently stop supporting the case where SA_RESTORER isn't
  set.

* gdb and libunwind care about the exact instruction sequences, so we need to
  modify the code slightly in a few cases to match what they're looking for.

* gdb also cares about the exact function names (for some architectures),
  so we need to use __restore and __restore_rt rather than __sigreturn and
  __rt_sigreturn.

* It's possible that we don't have a VDSO; dl_iterate_phdr shouldn't assume
  that getauxval(AT_SYSINFO_EHDR) will return a non-null pointer.

This fixes unwinding through a signal handler in gdb for all architectures.
It doesn't fix libunwind for arm and arm64. I'll keep investigating that...

(cherry picked from commit 36f451a6d9)

Bug: 17436734
Change-Id: Ic1ea1184db6655c5d96180dc07bcc09628e647cb
2014-10-27 16:41:28 -07:00
Elliott Hughes
4c30130a21 Disable tzdata in $ANDROID_DATA.
Bug: 18139284
Change-Id: I2670dc1791d635139a5d39a438dc08777439476b
2014-10-27 13:38:21 -07:00
Elliott Hughes
aa6cd5819c Use mxcr_mask instead of mxcsr_mask to match glibc.
Bug: 18097559

(cherry picked from commit f485547b92)

Change-Id: I242105faa8210abc9635a951b25b127cd64ed23c
2014-10-24 08:43:34 -07:00
Elliott Hughes
8fab8119dd Update bionic to tzdata2014i.
From the release notes:

   Changes affecting future time stamps

     Pacific/Fiji will observe DST from 2014-11-02 02:00 to
     2015-01-18 03:00.  (Thanks to Ken Rylander for the heads-up.)
     Guess that future years will use a similar pattern.

     A new Zone Pacific/Bougainville, for the part of Papua New
     Guinea that plans to switch from UTC+10 to UTC+11 on
     2014-12-28 at 02:00.  (Thanks to Kiley Walbom for the
     heads-up.)

   Changes affecting time zone abbreviations

     Since Belarus is not changing its clocks even though Moscow
     is, the time zone abbreviation in Europe/Minsk is changing
     from FET to its more-traditional value MSK on 2014-10-26 at
     01:00.  (Thanks to Alexander Bokovoy for the heads-up about
     Belarus.)

     The new abbreviation IDT stands for the pre-1976 use of UT+8
     in Indochina, to distinguish it better from ICT (UT+7).

   Changes affecting past time stamps

     Many time stamps have been corrected for Asia/Ho_Chi_Minh
     before 1976 (thanks to Trần Ngọc Quân for an indirect pointer
     to Trần Tiến Bình's authoritative book).  Asia/Ho_Chi_Minh has
     been added to zone1970.tab, to give tzselect users in Vietnam
     two choices, since north and south Vietnam disagreed after our
     1970 cutoff.

     Asia/Phnom_Penh and Asia/Vientiane have been turned into
     links, as they differed from existing zones only for older
     time stamps.  As usual, these changes affect pre-1970 time
     stamps only.  Their old contents have been moved to the
     'backzone' file.

Bug: 18085936

(cherry picked from commit a05c2a2a70)

Change-Id: If0253cc1515e1bc98e99c6e24eec797836ca7c27
2014-10-22 13:45:25 -07:00
Christopher Ferris
82eeec689f Merge "Fix generic __memcpy_chk implementation." into lmp-mr1-dev 2014-10-22 20:16:18 +00:00
Christopher Ferris
9b7b0d82eb Merge "Fix race condition in timer disarm/delete." into lmp-mr1-dev 2014-10-22 19:43:44 +00:00
Christopher Ferris
f13e1eb92f Fix generic __memcpy_chk implementation.
- Clean up the labels (add .L to make them local).
- Change to using cfi directives.
- Fix unwinding of the __memcpy_chk fail path.

Bug: 18033671

(cherry pick from commit 7123d4371a)

Change-Id: Ife93bcbfc1949ef29fc8e2dc515b7120632b82b1
2014-10-22 12:02:13 -07:00
Dmitriy Ivanov
702ab5b37e Rename library_offset to library_fd_offset
replace lseek() and use pread() instead
 add test for library_fd_offset > file_size case

Bug: 17762003

(cherry picked from commit a6c1279098)

Change-Id: Ie117c745081ee33d07db5341115ff6c8e98b0dec
2014-10-22 16:35:04 +00:00
Ying Wang
3c5c720b0b Build dlext_testzip as custom module.
Use $(BUILD_SYSTEM)/base_rules to build it as custom module, so that
it's exposed to utilities like mm/mmma etc.

Bug: 17887283
Bug: 17762003

(cherry picked from commit 667853d477)

Change-Id: I405797d16f20dc09e5d84b93b6727b634db2fc2c
2014-10-22 08:30:43 +00:00
Christopher Ferris
0724132c32 Fix race condition in timer disarm/delete.
When setting a repeat timer using the SIGEV_THREAD mechanism, it's possible
that the callback can be called after the timer is disarmed or deleted.
This happens because the kernel can generate signals that the timer thread
will continue to handle even after the timer is supposed to be off.

Add two new tests to verify that disarming/deleting doesn't continue to
call the callback.

Modify the repeat test to finish more quickly than before.

Refactor the Counter implementation a bit.

Bug: 18039727
Change-Id: I73192c915cdacf608521b1792c54e5af14a34907
2014-10-21 18:31:02 -07:00
Dmitriy Ivanov
de01780f46 Add file_offset parameter to android_extinfo
Bug: 17762003

(cherry picked from commit 07e5bc152d)

Change-Id: I72d527831384ff5dde013a4c8dfe639fbec165f5
2014-10-21 13:52:49 -07:00
Hans Boehm
c712ceeec4 Make memory_order_acquire visible in global namespace
We were missing that using directive when including <atomic>.

Bug:17736764
Change-Id: Ie8ca92a952749415567bcd5fa21d56629a364660
(cherry picked from commit 76ac4d0853)
2014-10-20 11:41:34 -07:00
Christopher Ferris
59a02860a4 Merge "Return total footprint, not high water mark." into lmp-mr1-dev 2014-10-13 19:36:56 +00:00
Christopher Ferris
f4ada9c9ce Return total footprint, not high water mark.
The mallinfo usmblks value returned by dlmalloc is a little misleading.
It's not the current max, it's the historical high water mark. This
leads to dumpsys meminfo producing native memory numbers that don't add up.
Change this to the real total footprint, not this high water mark.

Bug: 17265653
Change-Id: Id0293a1b50c9b0be8795405049f537a51ab0e8b7
2014-10-13 12:29:30 -07:00
Christopher Ferris
e0fafb019e am c891e240: Add back symbols to fix Greed for Glory franchise.
* commit 'c891e24073830e07ba7373dee554ff2c70e1d313':
  Add back symbols to fix Greed for Glory franchise.
2014-10-10 20:47:00 +00:00
Elliott Hughes
2f25cf373c Fix pthread_attr_getstack under valgrind.
valgrind seems to mess with the stack enough that the kernel will
report "[stack:pid]" rather than "[stack]" in /proc/self/maps, so
switch to the task-specific file instead to force "[stack]". (There
are two conditions in the kernel code that decides which form to
output.)

Bug: 17897476

(cherry picked from commit 9afb2f2106)

Change-Id: I92c331ef6fb5868af49e75bc595710d290a95f5b
2014-10-10 10:57:48 -07:00
Christopher Ferris
c891e24073 Add back symbols to fix Greed for Glory franchise.
Bug: 17813018
Change-Id: Id939426ee5303117b9601e7915fcfec5024fc621
2014-10-09 18:31:01 -07:00
Christopher Ferris
7f4618cbc8 am c9734d24: Re-add dlmalloc for 32 bit.
* commit 'c9734d24d92f4737f5ab3808c77d816a1b084582':
  Re-add dlmalloc for 32 bit.
2014-10-09 22:02:00 +00:00
Christopher Ferris
c9734d24d9 Re-add dlmalloc for 32 bit.
It turns out that appportable has a version that calls dlmalloc directly.
Re-add the dlmalloc symbol for 32 bit only as a compatibility shim that
calls malloc.

Bug: 17881362
Change-Id: I8f20963b0b8d323489dc083e4063779e0d1d7447
2014-10-09 11:10:23 -07:00
Elliott Hughes
e5d4fc39e3 am 1543fdf6: Work around a bug in Immersion\'s libImmEmulatorJ.so.
* commit '1543fdf616ddebee7819214437527f380e5c743b':
  Work around a bug in Immersion's libImmEmulatorJ.so.
2014-10-08 05:24:46 +00:00
Dan Albert
55ee845b8e Inline helpers need to be exported unmangled.
__open_2() is used by the fortify implementation of open(2) in
fcntl.h, and as such needs an unmangled C name. For some reason
(inlining?), this doesn't cause problems at the default optimization
level, but does for -O0.

The rest of these didn't cause build failures, but they look suspect
and probably will, we just haven't caught them yet.

(cherry-pick of 658727e111 with conflicts
in stdio.h and string.h.)

Bug: 17784968
Change-Id: I7391a7a8999ee204eaf6abd14a3d5373ea419d5b
2014-10-07 18:51:24 -07:00
Nick Kralevich
ce92b41a00 cdefs.h: add artificial attribute to FORTIFY_SOURCE functions
Otherwise the gcc compiler warning doesn't show up.

Add -Wno-error to fortify related tests. Fortify related tests
are expected to be examples of bad programs, and in many
cases shouldn't compile cleanly. Rewriting them to compile
cleanly isn't feasible nor desirable.

Bug: 17784968

(cherry picked from commit 1aaa17802c)

Change-Id: Ib6df1a3f44b55b1fff222e78395c10c51cd39817
2014-10-07 16:37:04 -07:00
Elliott Hughes
1543fdf616 Work around a bug in Immersion's libImmEmulatorJ.so.
This library calls pthread_mutex_lock and pthread_mutex_unlock with a NULL
pthread_mutex_t*. This gives them (and their users) one release to fix things.

Bug: 17443936

(cherry picked from commit 7d3f553f98)

Change-Id: Ie26bbecd3a74d61113b51c18832872499b97ee86
(cherry picked from commit b5e7eba6d1)
2014-10-07 23:17:14 +00:00
Elliott Hughes
b5e7eba6d1 Work around a bug in Immersion's libImmEmulatorJ.so.
This library calls pthread_mutex_lock and pthread_mutex_unlock with a NULL
pthread_mutex_t*. This gives them (and their users) one release to fix things.

Bug: 17443936

(cherry picked from commit 7d3f553f98)

Change-Id: Ie26bbecd3a74d61113b51c18832872499b97ee86
2014-10-07 16:08:46 -07:00
Elliott Hughes
ea8dea8cb7 Merge "Improve <sys/cdefs.h>." into lmp-mr1-dev 2014-10-07 18:51:36 +00:00
Elliott Hughes
d87d401ab1 Improve <sys/cdefs.h>.
Fix and use __RENAME (and lose ___RENAME --- two underscores should be
enough for anybody). This was the point of this change, because I want
to use __RENAME to support the two basename variants and the two
strerror_r variants.

Lose a bunch of macros that weren't being used.

Lose three dead files from the DNS code.

Bug: 17784968

(cherry picked from commit 2cfb4e8e2e)

Change-Id: I5e96146f92c0521248c78c0933bec5e9a9818222
2014-10-07 11:40:09 -07:00
Christopher Ferris
4aace3852d am 2cf15571: am 40bc7cd4: (-s ours) DO NOT MERGE Re-add .save directive for arm assembler code.
* commit '2cf155713aaba451065d593335d544f2ada24ddf':
  DO NOT MERGE  Re-add .save directive for arm assembler code.
2014-10-07 17:42:39 +00:00
Christopher Ferris
2cf155713a am 40bc7cd4: (-s ours) DO NOT MERGE Re-add .save directive for arm assembler code.
* commit '40bc7cd4ed9fb848a7b3d934f69669f64ceed707':
  DO NOT MERGE  Re-add .save directive for arm assembler code.
2014-10-07 15:27:36 +00:00
Elliott Hughes
6c4e16f634 Merge "further cleanup memcpy fortify implementation" into lmp-mr1-dev 2014-10-07 00:30:34 +00:00
Christopher Ferris
27355affc1 am d11eac34: Force export symbols on all x86 variants in libc.
* commit 'd11eac3455a059a092ceee92eda9905e1d661e94':
  Force export symbols on all x86 variants in libc.
2014-10-07 00:20:10 +00:00
Nick Kralevich
db408bf421 further cleanup memcpy fortify implementation
Bug: 17784968

(cherry picked from commit b84f667e93)

Change-Id: I68fc2cc0a1ee7f0887edf3681eb83ef678de1383
2014-10-06 16:18:32 -07:00
Christopher Ferris
d11eac3455 Force export symbols on all x86 variants in libc.
For silvermont, the __popcountsi2 symbol does not get exported by libc.
But for atom, this symbol is exported. Since we already exported this symbol
for previous releases, it's better to just follow through and force
the export, but only for 32 bit. x86 64 bit will not export this symbol.

Bug: 17681440
Change-Id: I6c62245f0960910f64baaaf6d9d090bf3ea5f435
2014-10-06 15:51:26 -07:00
Nick Kralevich
7ad2147a08 string.h: remove unused variable
(cherry picked from commit 48be71d02b)

Bug: 17784968
Change-Id: Iac7732fb4f7fe42977cb9f62472bb636e17e5232
2014-10-06 10:17:01 -07:00
Alex Van Brunt
02542b3bbd am a5087148: Reimplement clock(3) using clock_gettime(3)
* commit 'a508714800242b294291060641ed35d719bdc857':
  Reimplement clock(3) using clock_gettime(3)
2014-10-04 16:44:11 +00:00
Alex Van Brunt
a508714800 Reimplement clock(3) using clock_gettime(3)
Unlike times(), clock_gettime() is implemented as a vDSO on many architectures.
So, using clock_gettime() will return a more accurate time and do so with less
overhead because it does have the overhead of calling into the kernel.

It is also significantly more accurate because it measures the actual time in
nanoseconds rather than the number of ticks (typically 1 millisecond or more).

Bug: 17814435

(cherry picked from commit 8d0b2dbf21)

Change-Id: Id4945d9f387330518f78669809639952e9227ed9
2014-10-03 19:05:52 -07:00
Elliott Hughes
22f5a61d95 am ea9800e9: Explain why clock(3) isn\'t broken.
* commit 'ea9800e98598c71fe76c4e2a0d0498b6bd490a83':
  Explain why clock(3) isn't broken.
2014-10-04 00:06:27 +00:00
Elliott Hughes
ea9800e985 Explain why clock(3) isn't broken.
Bug: 17441123
Bug: 17814435

(cherry picked from commit f83c208b82)

Change-Id: I2065afe73b79a8d86404edee16e983625d902cdc
2014-10-03 16:46:20 -07:00
Ningsheng Jian
04f5f4100c Fix gdb could not get shared library list issue
Get dynamic flags from phdr table's correct entry rather the first
entry, so that the following DT_DEBUG entry can be set.

Also fix the undefined reference to LoadTask::deleter issue under gcc
-O0 option.

Bug: 17524778

(cherry picked from commit e93be99da0)

Change-Id: I347792dab25c7b19c3fc690e03d20899ce1e26e0
2014-10-02 15:35:47 -07:00
Dmitriy Ivanov
1cd0c6777f L-MR1 specific fixes
Reset soinfo version to 0.
 Disable ifunc test for arm64 because of old toolchain
 in lmp-mr1-dev branch

 Note: this commit should be reverted in -plus-aosp branch.

Change-Id: I2d6d996d43bc35d5d4975c745779f43a988b31e6
2014-10-01 16:26:49 -07:00
Dmitriy Ivanov
7d971ec14b Fix unload of recursively linked library
Expanded test for recursive libs. Fixed bug with unnecessary
  soinfo_free of already loaded library.

(cherry picked from commit a6ac54a215)

Change-Id: I6907c723d9fbdf6b2777f3f236b1e29b0843edd6
2014-10-01 16:04:58 -07:00
Dmitriy Ivanov
f4cb631364 Add IFUNC support for arm64 and IRELATIVE reloc
There are number of changes in the way IFUNC related relocations are done:
 1. IRELATIVE relocations are now supported for x86/x86_64 and arm64.
 2. IFUNC relocations are now relying on static linker to generate
    them in correct order - this removes necessety of additional
    relocation pass for ifuncs.
 3. Related to 2: rela?.dyn relocations are preformed before .plt ones.
 4. Ifunc are resolved on symbol lookup this approach allowed to avoid
    mprotect(PROT_WRITE) call on r-x program segments.

Bug: 17399706
Bug: 17177284

(cherry picked from commit 9aea164457)

Change-Id: Ie19d900fc203beb93faf8943b0d06d534a6de4ad
2014-10-01 16:04:31 -07:00
Dmitriy Ivanov
ef1306d777 Refactoring: C++11 style DISABLE_ bionic marcos
Enable the -std=gnu++11 flag for libstdc++ static and
  dynamic libs.

  ScopeGuard uses DISABLE_ macros instead of '= delete';

(cherry picked from commit d9ff722661)

Change-Id: If2573d080770e18b36b56106f2369f7bb682cd3c
2014-10-01 16:03:51 -07:00
Dmitriy Ivanov
61c4147fa8 Reset enviroment for math_tests
Bug: 17390824

(cherry picked from commit 7b956ede3f)

Change-Id: I5d804ceb5e69533584161bfed6787529cd8296fb
2014-10-01 16:03:40 -07:00
Dmitriy Ivanov
ae69a9584b Load libraries in breadth-first order
This patch fixes the problem with symbol search order
  for dlsym(RTLD_DEFAULT/RTLD_NEXT, .) by loading libraries
  and ld_preloads in correct order.

Bug: https://code.google.com/p/android/issues/detail?id=74255
Attempt: 2

(cherry picked from commit 14669a939d)

Change-Id: Id87540c96a2242220967b6fa5d84ddcd829e2b97
2014-10-01 16:01:28 -07:00
Dmitriy Ivanov
c0133a73b6 Revert "Load libraries in breadth-first order"
This reverts commit a3ad450a2e.

(cherry picked from commit 498eb18b82)

Change-Id: Iec7eab83d0c0ed1604e1e8ea3f9e9d0ce1d29680
2014-10-01 16:00:52 -07:00
Dmitriy Ivanov
8de1ddece0 Fix order of soinfo links (repairs libcxx tests).
(cherry picked from commit b2a30ee8d2)

Change-Id: I59c5333bc050cbbea14051cea9220be2f64ee383
2014-10-01 16:00:41 -07:00
Dmitriy Ivanov
59c12a6527 Load libraries in breadth-first order
This patch fixes the problem with symbol search order
  for dlsym(RTLD_DEFAULT/RTLD_NEXT, .) by loading libraries
  and ld_preloads in correct order.

Bug: https://code.google.com/p/android/issues/detail?id=74255

(cherry picked from commit a3ad450a2e)

Change-Id: I1125de10272c84e4f075cbc72859c1f6b3e89943
2014-10-01 16:00:29 -07:00
Chih-Hung Hsieh
81fe2b16dc Enable clang compilation with libc but not linker.
Clang is still disabled for x86 and x86_64 long double code,
for x86_64 special assembly instruction, and the linker module.

BUG: 17163651
BUG: 17302991
BUG: 17403674

(cherry picked from commit b58db8b083)

Change-Id: I916c05056d37a9c287b0a5ae3b1a209d98c8f70e
2014-10-01 15:57:09 -07:00
Dmitriy Ivanov
7210c41fdc Encapsulate soinfo_link_image and soinfo_relocate
Also get rid of needed[] array for these functions

(cherry picked from commit 29bbc9dd4c)

Change-Id: Id208621f66afa2e02a6b3facacee7d874466d81b
2014-10-01 15:56:44 -07:00
Dmitriy Ivanov
4466bd72fb Implement LinkedList::visit()
(cherry picked from commit a492605849)

Change-Id: I59554be45c910bfe33494016595a5ade9daad230
2014-10-01 15:56:23 -07:00
Dmitriy Ivanov
ff01f6fcce Introduce size-based r/w allocators
(cherry picked from commit 0cd83ebb0e)

Change-Id: Ib037bd5313c9a78b6051482f14e789aa820b4dd1
2014-10-01 15:55:58 -07:00
Dmitriy Ivanov
4d01d08c29 Erase elements in LinkedList::remove_if
(cherry picked from commit 4bea498544)

Change-Id: I1ffe248bc2b7572f38fbd987e9c6db5ecbd4559d
2014-10-01 15:55:35 -07:00
Dmitriy Ivanov
cfad7ae934 Replace NULL with nullptr
(cherry picked from commit 851135bf99)

Change-Id: Ic4997907680db7472ef38ffb0f0ca66fff37b797
2014-10-01 15:54:26 -07:00
Dmitriy Ivanov
5dfe802d0d Remove unnecessary calls to LinkedList::clear()
(cherry picked from commit 608217e167)

Change-Id: I031359d79b2e77977ace197ef410e41539dc0ce6
2014-10-01 15:53:07 -07:00
Dmitriy Ivanov
93c3f4203c Enable __cxa_atexit && __cxa_finalize for linker
This allows adding destructors to classes used
 for global variables.

(cherry picked from commit 14241402de)

Change-Id: I1d8776130d1e01a8c53d23a2949f5010f4c96b16
2014-10-01 15:52:38 -07:00
Dmitriy Ivanov
3bbd218ef1 Bump soinfo version
This includes:
 1. Placing has_ifunc after fields with version = 0
 2. Switch to has_min_version(v) function.
 3. Minor soinfo initialization refactoring (placement new + ctor)

(cherry picked from commit 0d15094287)

Change-Id: Idf135fdd3d4826b5653f32add2adc6db5d4a4f95
2014-10-01 15:52:15 -07:00
Dmitriy Ivanov
bd321c1106 Run constructors before resolving ifunc functions
Bug: 17177284

(cherry picked from commit 9598b8c415)

Change-Id: I2c9631ee1cd77f8cf95ec0216a35b605c8786454
2014-10-01 15:51:47 -07:00
Brigid Smith
31b88da843 Added test for ifunc support in dynamic linker.
ifuncs now work in i386 and x86_64 when called in the same library as
well as in a different library.

Bug:6657325
(cherry picked from commit c5a13efa9b)

Change-Id: I321d780bc2f9bd1baa749e1acacd2683aefe827b
2014-10-01 15:50:38 -07:00
Elliott Hughes
e4f8962ab5 Merge "Update bionic to tzdata 2014h." into lmp-mr1-dev 2014-10-01 18:02:51 +00:00
Elliott Hughes
d18205049d Update bionic to tzdata 2014h.
From the release notes:

  Changes affecting past time stamps

    America/Jamaica's 1974 spring-forward transition was Jan. 6, not Apr. 28.

    Shanks says Asia/Novokuznetsk switched from LMT (not "NMT") on 1924-05-01,
    not 1920-01-06.  The old entry was based on a misinterpretation of Shanks.

    Some more zones have been turned into links, when they differed
    from existing zones only for older time stamps.  As usual,
    these changes affect UTC offsets in pre-1970 time stamps only.
    Their old contents have been moved to the 'backzone' file.
    The affected zones are: Africa/Blantyre, Africa/Bujumbura,
    Africa/Gaborone, Africa/Harare, Africa/Kigali, Africa/Lubumbashi,
    Africa/Lusaka, Africa/Maseru, and Africa/Mbabane.

Bug: 17731498

(cherry picked from commit 0c8fb51e6b)

Change-Id: Icf8a9cbd309951b4ffc20c74eb1e78c1e39c222f
2014-10-01 10:21:07 -07:00
Elliott Hughes
b5f5b0e418 Fix update-tzdata.py to rebuild icu4c .dat file.
Bug: 17731498

(cherry picked from commit f8896c6c93)

Change-Id: If97e1ccf593a2ed6c2356077e660d6fd88a05875
2014-10-01 10:07:24 -07:00
Elliott Hughes
aaad548535 Merge "Re-expose more stdio implementation details for LP32." into lmp-dev 2014-09-25 03:06:30 +00:00
Elliott Hughes
5def2f5aec Re-expose more stdio implementation details for LP32.
Keeps a variety of apps running.

Bug: 17047819
Change-Id: I55882ec95f2b59a5df76e5a89c23aa315609e01d
2014-09-24 17:20:53 -07:00
Christopher Ferris
6c69afdb6d Fix sys_stat.mkfifo when not run as root.
It's not allowed for a shell user to create a fifo in /data/local/tmp.
Make the test do nothing if not run as root.

Bug: 17646702
Change-Id: I932262fa233eae8b5dd607a2398a47c50a208701
2014-09-24 16:01:18 -07:00
Dan Albert
086bb382db Fix incorrect parameter types for locale funcs.
strtoll(3), strtoull(3), wcstoll(3), and wcstoull(3) all take an _int_
as a base, not a size_t. This is an ABI compatibility issue.

Bug: 17628622
Change-Id: I17f8eead34ce2112005899fc30162067573023ec
(cherry picked from commit 3c5037f1b3)
2014-09-24 09:00:42 -07:00
Christopher Ferris
027d2717d0 Pull input.h from v3.16.1 kernel headers.
Bug: 17407564
Change-Id: Idcfc40a7254605280e3d5474c61ae1ab7b2b7b51
2014-09-14 12:08:37 -07:00
Elliott Hughes
7e00b44e80 Expose __swsetup for LP32 binary compatibility.
Bug: 17476127
Change-Id: I0ef1355ac913d782c268a638f88642d6cfc236c2
2014-09-11 16:41:11 -07:00
Elliott Hughes
27efc48814 Add pthread_gettid_np and re-expose __get_thread for LP32.
A lot of third-party code calls the private __get_thread symbol,
often as part of a backport of bionic's pthread_rwlock implementation.
Hopefully this will go away for LP64 (since you're guaranteed the
real implementation there), but there are still APIs that take a tid
and no way to convert between a pthread_t and a tid. pthread_gettid_np
is a public API for that. To aid the transition, make __get_thread
available again for LP32.

Bug: 14079438
Change-Id: I43fabc7f1918250d31d4665ffa4ca352d0dbeac1
2014-09-11 16:11:43 -07:00
Elliott Hughes
9e833bf0cf Fix mips __fadvise64.S build failure.
Bug: 12449798

(cherry picked from commit 9990b3973b)

Change-Id: Iba92e2aa262666a59fc38b870dfd9f4082eeb628
2014-09-11 10:15:14 -07:00
Elliott Hughes
176c32787c Merge "Add posix_fadvise(3)." into lmp-dev 2014-09-11 15:43:05 +00:00
Elliott Hughes
0000826378 Add posix_fadvise(3).
Bug: 12449798
Change-Id: I07cbf3f670a0d1304b68148325a774f266b5c433
2014-09-10 20:30:23 -07:00
Lorenzo Colitti
33a73bfa07 When comparing DNS server configs, also compare number of servers
Bug: 16070602
Change-Id: I605f1cca50b08479ebcad290b3bd179f59be8a96
2014-09-11 08:36:12 +09:00
Elliott Hughes
7efad83d43 Ensure __set_errno is still visible on LP32.
The use of the .hidden directive to avoid going via the PLT for
__set_errno had the side-effect of actually making __set_errno
hidden (which is odd because assembler directives don't usually
affect symbols defined in a different file --- you can't even
create a weak reference to a symbol that's defined in a different
file).

This change switches the system call stubs over to a new always-hidden
__set_errno_internal and has a visible __set_errno on LP32 just for
binary compatibility with old NDK apps.

Bug: 17423135
Change-Id: I6b6d7a05dda85f923d22e5ffd169a91e23499b7b
2014-09-08 15:36:21 -07:00
Elliott Hughes
c8f6b82f87 Merge "Don't expose non-standard basename_r and dirname_r in LP64." into lmp-dev 2014-09-08 18:07:08 +00:00
Elliott Hughes
51c8355d5c Add arc4random_addrandom binary compatibility.
This was in <stdlib.h> in older releases. It's no longer used, but we can
preserve backwards compatibility by making it a no-op.

Bug: 16205834
Change-Id: Idde7b46df4f253e39675600bcf82352879a716e7
2014-09-08 10:47:45 -07:00
Christopher Ferris
47ed03f70c Merge "Add dlmalloc_usable_size for 32 bit arches." into lmp-dev 2014-09-06 19:58:40 +00:00
Christopher Ferris
1c365cb494 Add dlmalloc_usable_size for 32 bit arches.
Bug: 17337831
Change-Id: I50c50559a5dfa083c85f064042bc0726718c988b
2014-09-05 18:37:30 -07:00
Elliott Hughes
f0e9458ea5 Don't expose non-standard basename_r and dirname_r in LP64.
Bug: 17407423
Change-Id: I47fe499a4c396bf09d7b78fd828728d04777398b
2014-09-05 16:12:42 -07:00
Elliott Hughes
5beddb7d64 Fix pthread_attr_getstack__main_thread.
There were two problems here:

* This would fail when run with unlimited stack, because it didn't know
  that bionic reports unlimited stacks as 8MiB.

* This would leave RLIMIT_STACK small, causing failures to exec (so the
  popen and system tests would fail).

(cherry-pick of 27a9aed819 plus the
new ScopeGuard.h from a3ad450a2e3fb6b3fe359683b247eba20896f646.)

Bug: 17394276
Change-Id: I5b92dc64ca089400223b2d9a3743e9b9d57c1bc2
2014-09-04 20:34:03 -07:00
Elliott Hughes
1e010d6039 Add back a dummy arc4random_stir for compatibility.
The current arc4random implementation stirs itself as needed, but we
need to keep an arc4random_stir symbol around for binary compatibility.

Bug: 17291075
Change-Id: Iaf6171c3ec65c39c1868364d5b35ea280e29a363
2014-09-03 15:53:11 -07:00
Elliott Hughes
cb093d1f55 Merge "Upgrade bionic to tzdata2014g." into lmp-dev 2014-09-02 21:39:03 +00:00
Hans Boehm
9ac60bf82b Make stdatomic.h work with gcc4.6 host compiler
This is needed to make L work correctly, and bionic tests pass
again, after applying the equivalent of
commit 00aaea3645 there.

It makes the preexisting code that uses __sync implementations
much more useful, although we should no longer be exercising that
code in AOSP.

Specifically fixes:

We were invoking __has_extension and __has_builtin for GCC compilations.
They're clang specific. Restructured the tests.

The __sync implementation was not defining the LOCK_FREE macros.

ATOMIC_VAR_INIT was using named field initializations.  These are a
C, not C++, feature, that is not supported by g++ 4.6.

The stdatomic bionic test still failed with 4.6 and glibc with our
questionable LOCK_FREE macro implementation.  Don't run that piece
with 4.6.

In L, this is a prerequisite for fixing:

    Bug:16880454
    Bug:16513433

Change-Id: I9b61e42307f96a114dce7552b6ead4ad1c544eab
(cherry picked from commit 32429606bf)
2014-09-02 11:37:02 -07:00
Elliott Hughes
b519ea4903 Upgrade bionic to tzdata2014g.
From the release notes:

  Changes affecting future time stamps

    Turks & Caicos is switching from US eastern time to UTC-4 year-round,
    modeled as a switch from EST/EDT to AST on 2014-11-02 at 02:00.

  Changes affecting past time stamps

    Time in Russia or the USSR before 1926 or so has been corrected by
    a few seconds in the following zones: Asia/Irkutsk,
    Asia/Krasnoyarsk, Asia/Omsk, Asia/Samarkand, Asia/Tbilisi,
    Asia/Vladivostok, Asia/Yakutsk, Europe/Riga, Europe/Samara.  For
    Asia/Yekaterinburg the correction is a few minutes.  (Thanks to
    Vladimir Karpinsky.)

    The Portuguese decree of 1911-05-26 took effect on 1912-01-01.
    This affects 1911 time stamps in Africa/Bissau, Africa/Luanda,
    Atlantic/Azores, and Atlantic/Madeira.  Also, Lisbon's pre-1912
    GMT offset was -0:36:45 (rounded from -0:36:44.68), not -0:36:32.
    (Thanks to Stephen Colebourne for pointing to the decree.)

    Asia/Dhaka ended DST on 2009-12-31 at 24:00, not 23:59.

    A new file 'backzone' contains data which may appeal to
    connoisseurs of old time stamps, although it is out of scope for
    the tz database, is often poorly sourced, and contains some data
    that is known to be incorrect.  The new file is not recommended
    for ordinary use and its entries are not installed by default.
    (Thanks to Lester Caine for the high-quality Jersey, Guernsey, and
    Isle of Man entries.)

    Some more zones have been turned into links, when they differed
    from existing zones only for older time stamps.  As usual,
    these changes affect UTC offsets in pre-1970 time stamps only.
    Their old contents have been moved to the 'backzone' file.
    The affected zones are: Africa/Bangui, Africa/Brazzaville,
    Africa/Douala, Africa/Kinshasa, Africa/Libreville, Africa/Luanda,
    Africa/Malabo, Africa/Niamey, and Africa/Porto-Novo.

Bug: 17277574

(cherry picked from commit 9685c30a23)

Change-Id: I6120be3a0ec76af2d07ca6f9ea6f83d81d215803
2014-09-02 11:33:16 -07:00
Hans Boehm
2b10e2f122 Undefine _Atomic before redefining
Stdatomic.h was potentially redefining _Atomic, in spite of a
prior definition by <atomic>.  This could cause g++ builds that
included <stdatomic.h> with an available <atomic> header to break.

A functional stdatomic.h is a prerequisite for fixing the
following bugs.  This is the middle of 3 AOSP updates to
bionics stdatomic.h that are needded to get there.

Bug:16880454
Bug:16513433

Change-Id: I562c7115118c0587d594d4d5b62d25101e47bfd8
(cherry picked from commit 3e4a0099a1)
2014-09-02 10:32:34 -07:00
Hans Boehm
c8cf3513ec Fix, generalize stdatomic.h; improve test.
We seem to use this stdatomic.h sometimes, and slightly different prebuilts
at other times, making them all difficult to test, and making it unclear
which one we're testing.  This generalizes the bionic header so that it
can be used directly as the prebuilt header as well.  So long as they
don't diverge again, that should somewhat improve test coverage.

Use the correct builtin for atomic_is_lock_free.

Fix atomic_flag_init.

Turn on atomic tests even with __GLIBC__, since they now appear to pass.

Include uchar.h in stdatomic.h where needed.

Add a basic memory ordering test.

Fix bit-rotted comments in bionic tests makefile.

Prerequisite for fixing b/16880454 and

Bug:16513433

Change-Id: If6a14c1075b379395ba5d93357d56025c0ffab68
(cherry picked from commit 00aaea3645)
2014-09-02 10:32:33 -07:00
Dmitriy Ivanov
c191a8adee Merge "Look into ld_preloads before current library" into lmp-dev 2014-09-01 21:08:55 +00:00
Elliott Hughes
b2eb09a9ed Use __GNUC_PREREQ rather than __GNUC_PREREQ__ to match glibc.
Bug: 16874785

(cherry picked from commit e0c56efddf)

Change-Id: I9c922ba019f648766fc399d1c4e35e789e25acd4
2014-08-29 16:10:57 -07:00
Dmitriy Ivanov
05e190c093 Look into ld_preloads before current library
Change lookup order during relocation so that
 ld_preloads always precede caller (unless caller
 is main executable).

 Asan needs this change in order to intercept libc->libc
 calls.

Bug: 15432753
Change-Id: If69aa16efe59aa35bb30e96feb83d08f1efbec86
2014-08-29 11:46:06 -07:00
Elliott Hughes
67f1f3b171 Have pthread_attr_getstack for the main thread report RLIMIT_STACK...
...rather than just what's already mapped in. This seems somewhat
contrary to POSIX's "All pages within the stack described by stackaddr
and stacksize shall be both readable and writable by the thread", but
it's what glibc does.

Bug: 17111575

(cherry picked from commit 9e4ffa7032)

Change-Id: I73f219a569917b2e4546c09436d7ef5231facc07
2014-08-27 16:50:53 -07:00
Elliott Hughes
a0eeb0b69f Merge "Fix pthread_getattr_np for the main thread." into lmp-dev 2014-08-27 23:49:56 +00:00
Christopher Ferris
598d25bf78 Merge "Replace snprintf calls in linker." into lmp-dev 2014-08-27 22:42:11 +00:00
Christopher Ferris
172955a4e3 Replace snprintf calls in linker.
When enabling debug malloc, the snprintf calls in the linker fails to
update the buffer.

The problem is that snprintf makes a call to pthread_getspecific that
returns a valid pointer, but the data it points to is zero. This should
never happen and causes the snprintf to stop and do nothing.

Temporarily replace snprintf with a different implementation to work
around this issue.

Bug: 16874447
Bug: 17302493
Change-Id: I7a500f28adf153150cf2812fae745ff41f1c48d3
2014-08-27 15:30:43 -07:00
Elliott Hughes
6cc4e3b6ce Merge "call uselocale() before freelocale() to make sure that g_local_key has a valid locale." into lmp-dev 2014-08-27 17:25:23 +00:00
Wally Yau
8a46cf0fcf call uselocale() before freelocale() to make sure that g_local_key has a valid locale.
For tests that call uselocale(), the locale is stored in the
g_userlocale_key thread-specific key. If freelocale() is called later,
then g_uselocal_key points to a deleted pointer. CTS eventually calls
vfprintf to print the result, which calls MB_CUR_MAX and MB_CUR_MAX
accesses the deleted locale stored in g_uselocale_key, causing unpredictable
errors.

Fixed the tests by calling uselocale() with the old locale before
calling freelocale.

Bug: 17299565
Change-Id: I87efa2a9b16999a11d587f68d3aeedcbe6ac8a2c
2014-08-27 17:22:29 +00:00
Christopher Ferris
3f7635f490 Use the default unwind code.
This speeds up the debug malloc code by using the original unwinding code.
The only catch is that it has to link in the libc++ arm unwind code or
there will be crashes when attempting to unwind through libc++ compiled
code.

Bug: 16874447
Change-Id: Ifdbbcbd4137d668b25cf3c2bd59535e06ebfa5a7
2014-08-26 16:02:51 -07:00
Elliott Hughes
6421823410 Fix pthread_getattr_np for the main thread.
On most architectures the kernel subtracts a random offset to the stack
pointer in create_elf_tables by calling arch_align_stack before writing
the auxval table and so on. On all but x86 this doesn't cause a problem
because the random offset is less than a page, but on x86 it's up to two
pages. This means that our old technique of rounding the stack pointer
doesn't work. (Our old implementation of that technique was wrong too.)

It's also incorrect to assume that the main thread's stack base and size
are constant. Likewise to assume that the main thread has a guard page.
The main thread is not like other threads.

This patch switches to reading /proc/self/maps (and checking RLIMIT_STACK)
whenever we're asked.

Bug: 17111575
Signed-off-by: Fengwei Yin <fengwei.yin@intel.com>

(cherry picked from commit 57b7a6110e)

Change-Id: I87e679ee1c0db8092f2d1221c8e7c1461545c5a4
2014-08-26 12:55:01 -07:00
Elliott Hughes
84d0683a82 Fix unistd.getpid_caching_and_clone.
This test only works if you're root (strictly: if you have permission to
CLONE_NEWNS), so it's useful to us when we're doing ad hoc testing (since
that's usually done as root), but it's not useful as part of CTS or when
running the tests on the host.

Bug: 16705621
Bug: 17170200
Change-Id: Ia92c871b15f7e45fc174bb59bc95540fd00ae745
2014-08-21 19:23:53 -07:00
Elliott Hughes
2d80400a9e Fix some 32-bit-isms in <stdio.h>.
Bug: 17157793
Change-Id: I8290e240b92e5617f4c12c0eacad6e622e677b6a
2014-08-20 12:14:21 -07:00
Dan Albert
1506fc178e Expose android_set_abort_message().
Removes the leading underscores from __android_set_abort_message() and
moves its declaration into a public header file.

Bug: 17059126
Change-Id: I470c79db47ec783ea7a54b800f8b78ecbe7479ab
(cherry picked from commit ce6b1abbb1)
(cherry picked from commit 3a25ab952b)
2014-08-19 18:46:45 +00:00
Dmitriy Ivanov
e3ad34b3bc Merge "Revert "Add support for protected local symbol lookup."" into lmp-dev 2014-08-18 21:31:41 +00:00
Dmitriy Ivanov
9419420919 Revert "Add support for protected local symbol lookup."
This reverts commit d97e9f546e.

Bug: 17107521
Change-Id: I2b81ce2b5a4a2d166133a2626e49d81b6aef3672
2014-08-18 15:11:50 -07:00
Dan Albert
6df7b60998 Hide C++ stuff in libc. Put it back in libstdc++.
Bug: 17062445
Change-Id: I027b186719654c2865b08c3fa83f90fa00c1e838
(cherry picked from commit fd5ee9aebc)
2014-08-18 13:56:07 -07:00
Christopher Ferris
9e56ce4cd3 Merge "Fix leak_realloc, copy entire allocation." into lmp-dev 2014-08-16 04:01:11 +00:00
Christopher Ferris
5df0839cea Fix leak_realloc, copy entire allocation.
Bug: 16874447
Change-Id: Ie54a73fd75529961195fa5173d9116d0ae897b03
2014-08-15 18:55:53 -07:00
Dmitriy Ivanov
d8e007695c Merge "Keep symbols for linker" into lmp-dev 2014-08-15 21:23:40 +00:00
Dmitriy Ivanov
be4348e7c7 Keep symbols for linker
Bug: 17011146

(cherry picked from commit ad5e8b5073)

Change-Id: Ib1d3f8d6d38af98586658e01ed1ec79d2c5b4d42
2014-08-15 14:18:26 -07:00
Hans Boehm
f0f66c0264 Have stdatomic.h punt to C++ atomic when possible
This is an alternate, somewhat simpler, fix that makes it safe to
include both <atomic> and <stdatomic.h> from C++ code in either order.
It means that C code consistently uses one implementation of atomics
and C++ another.  We still have to make sure that those two
implementations interoperate correctly at runtime; in particular,
any flavor of atomic object needs to be represented exactly like the
underlying type, with the proper alignment constraint.

Bug:17007799
Change-Id: Iffcfc5220d8fa150f89dd083a121b24d23f268fc
(cherry picked from commit 019d395811)
2014-08-15 11:42:36 -07:00
Dan Albert
e2050ae1aa Merge "Change name of MB_CUR_MAX implementation function." into lmp-dev 2014-08-14 19:49:28 +00:00
Dan Albert
bafee43161 Change name of MB_CUR_MAX implementation function.
Glibc calls theirs __ctype_get_mb_cur_max. Make ours match to cut down
on differences between bionic and glibc.

Bug: 11156955
Change-Id: Ib7231f01aa9676dff30aea0af25d597bfe07bc73
2014-08-14 14:01:44 -07:00
Dan Albert
553c0ea52b Merge "Move mtctxres.c to libc_dns.a." into lmp-dev 2014-08-14 16:46:52 +00:00
Dan Albert
9f533972ae Move mtctxres.c to libc_dns.a.
Has the effect of making ___mtctxres hidden.

Bug: 11156955
Change-Id: I5aa5f49344ad5ecb33f48737430561b329bcbb0d
(cherry picked from commit 891ec7a6e4)
2014-08-14 16:46:22 -07:00
Christopher Ferris
0533195e16 Merge "malloc_usable_size returns the original size." into lmp-dev 2014-08-14 16:46:52 +00:00
Christopher Ferris
59c1ee44d0 malloc_usable_size returns the original size.
Bug: 16874447
Change-Id: Ie3ce683fd1f58b837b8ea91dc798e561b8593356
2014-08-14 12:48:04 -07:00
Dmitriy Ivanov
4bea4c631f Label pages mapped by linker_allocator
(cherry picked from commit 51a22a12ab)

Bug: 17013324
Change-Id: I345c9d0fecc29d3626c5be01cc3c0ed1583ac361
2014-08-13 18:15:29 -07:00
Dmitriy Ivanov
8a84d383fb Optimize symbol lookup
Do not run symbol lookup on already visited soinfos
 Not taking into account already visited libraries
 dramatically slows down dlsym in cases when there
 are multiple occurrences of a large library in
 dependency tree.

Bug: 16977077

(cherry picked from commit 042426ba63)

Change-Id: I69d59e395e8112f119343e8a4d72fe31cd449f31
2014-08-13 09:30:52 -07:00
Dan Albert
d332bc6878 Hide __libc_malloc_dispatch.
Now that -Bsymbolic is fixed, we can hide __libc_malloc_dispatch without
breaking ASAN.

Bug: 11156955
Change-Id: Ia2fc9b046a74e666b33aa6c6c5435f70a63b8021
2014-08-12 16:54:24 -07:00
Elliott Hughes
72d7e667c7 Fix our x86 PIC_PROLOGUE.
The old definition only worked for functions that didn't use numbered
local labels. Upstream uses '666' not only as some kind of BSD in-joke,
but also because there's little likelihood of any function having
labels that high.

There's a wider question about whether we actually want to go via the
PLT at all in this code, but that's a question for another day.

Bug: 16906712
Change-Id: I3cd8ecc448b33f942bb6e783931808ef39091489
2014-08-09 18:45:55 -07:00
Dan Albert
f4d21fba06 Merge "Make __set_errno hidden in asm." into lmp-dev 2014-08-09 00:45:27 +00:00
Dan Albert
e35fd48a83 Make __set_errno hidden in asm.
This fixes the build after the -Bsymbolic change.

Bug: 16853291
Change-Id: I989c9fec3c32e0289ea257a3bd2b7fd2709b6ce2
(cherry picked from commit bc9f9f25bf)
2014-08-08 15:37:50 -07:00
Christopher Ferris
49de01a5be Add a way to disable backtracing in malloc debug.
The property libc.debug.malloc.nobacktrace set to non-zero disables
getting backtracing when using mode 1 or mode 10.

Bug: 16874447

Change-Id: I7650ba9f4385b5110b743cab01e877fc69545b3c
2014-08-08 00:16:29 -07:00
Elliott Hughes
43227c0b40 Android is all-PIC/PIE.
Clean up the x86/x86_64 assembler. The motivator (other than reducing
confusion) was that asm.h incorrectly checked PIC rather than __PIC__.

Bug: 16823325

(cherry picked from commit 6b6364a7fc)

Change-Id: I89ca57fa0eb34a36de6cb11ea85f71054fce709d
2014-08-07 11:28:34 -07:00
Christopher Ferris
3e7b8e2a8b Merge "Do a second key cleanup in pthread_exit." into lmp-dev 2014-08-06 23:54:36 +00:00
Christopher Ferris
18d93f2793 Do a second key cleanup in pthread_exit.
During pthread_exit, the keys are cleaned. Unfortunately, a call to
free occurs after the cleanup and the memory for some of the keys
is recreated when using jemalloc. The solution is to do the key
cleanup twice.

Also, modify the pthread_detach__leak test to be less flaky
when run on a jemalloc system.

Bug: 16513133
Change-Id: Ic17e8344bdc1ba053c4f5b6d827a4c19c57860c1
2014-08-06 17:12:30 -07:00
Elliott Hughes
501eb513ae Merge "Upgrade bionic to tzdata2014f." into lmp-dev 2014-08-06 23:54:36 +00:00
Elliott Hughes
6edf8985c1 Merge "Fix the tzdata update tools." into lmp-dev 2014-08-06 23:49:20 +00:00
Elliott Hughes
90cb5ffb85 Fix the tzdata update tools.
The recent libcore ZoneInfo changes mean that we can no longer
compile libcore's ZoneInfo against the RI. Luckily, the field in
our data file that we needed ZoneInfo for isn't actually used.
This change removes our dependence on libcore.

I've left the field in to avoid a file format change. We can remove
the field if/when we next have a real need to bump the file format.

Bug: 16168653
Change-Id: Iedad2252c2b49f4d8bb2c7d9078b39b622444ca7
2014-08-06 15:29:10 -07:00
Elliott Hughes
0dc2c1db6f Upgrade bionic to tzdata2014f.
From the release notes:

  Changes affecting future time stamps

    Russia will subtract an hour from most of its time zones on
    2014-10-26 at 02:00 local time.  (Thanks to Alexander Krivenyshev.)
    There are a few exceptions: Magadan Oblast (Asia/Magadan) and
    Zabaykalsky Krai are subtracting two hours; conversely, Chukotka
    Autonomous Okrug (Asia/Anadyr), Kamchatka Krai (Asia/Kamchatka),
    Kemerovo Oblast (Asia/Novokuznetsk), and the Samara Oblast and the
    Udmurt Republic (Europe/Samara) are not changing their clocks.  The
    changed zones are Europe/Kaliningrad, Europe/Moscow,
    Europe/Simferopol, Europe/Volgograd, Asia/Yekaterinburg, Asia/Omsk,
    Asia/Novosibirsk, Asia/Krasnoyarsk, Asia/Irkutsk, Asia/Yakutsk,
    Asia/Vladivostok, Asia/Khandyga, Asia/Sakhalin, and Asia/Ust-Nera;
    Asia/Magadan will have two hours subtracted; and Asia/Novokuznetsk's
    time zone abbreviation is affected, but not its UTC offset.  Two
    zones are added: Asia/Chita (split from Asia/Yakutsk, and also with
    two hours subtracted) and Asia/Srednekolymsk (split from
    Asia/Magadan, but with only one hour subtracted).  (Thanks to Tim
    Parenti for much of the above.)

  Changes affecting past time stamps

    China's five zones have been simplified to two, since the post-1970
    differences in the other three seem to have been imaginary.  The
    zones Asia/Harbin, Asia/Chongqing, and Asia/Kashgar have been
    removed; backwards-compatibility links still work, albeit with
    different behaviors for time stamps before May 1980.  Asia/Urumqi's
    1980 transition to UTC+8 has been removed, so that it is now at
    UTC+6 and not UTC+8.  (Thanks to Luther Ma and to Alois Treindl;
    Treindl sent helpful translations of two papers by Guo Qingsheng.)

    Some zones have been turned into links, when they differed from
    existing zones only for older UTC offsets where the data were likely
    invented.  These changes affect UTC offsets in pre-1970 time stamps
    only.  This is similar to the change in release 2013e, except this
    time for western Africa.  The affected zones are: Africa/Bamako,
    Africa/Banjul, Africa/Conakry, Africa/Dakar, Africa/Freetown,
    Africa/Lome, Africa/Nouakchott, Africa/Ouagadougou, Africa/Sao_Tome,
    and Atlantic/St_Helena.  This also affects the
    backwards-compatibility link Africa/Timbuktu.  (Thanks to Alan
    Barrett, Stephen Colebourne, Tim Parenti, and David Patte for
    reporting problems in earlier versions of this change.)

    Asia/Shanghai's pre-standard-time UT offset has been changed from
    8:05:57 to 8:05:43, the location of Xujiahui Observatory.  Its
    transition to standard time has been changed from 1928 to 1901.

    Asia/Taipei switched to JWST on 1896-01-01, then to JST on
    1937-10-01, then to CST on 1945-09-21 at 01:00, and did not observe
    DST in 1945.  In 1946 it observed DST from 05-15 through 09-30; in
    1947 from 04-15 through 10-31; and in 1979 from 07-01 through 09-30.
    (Thanks to Yu-Cheng Chuang.)

    Asia/Riyadh's transition to standard time is now 1947-03-14, not
    1950.

    Europe/Helsinki's 1942 fall-back transition was 10-04 at 01:00, not
    10-03 at 00:00.  (Thanks to Konstantin Hyppönen.)

    Pacific/Pago_Pago has been changed from UTC-11:30 to UTC-11 for the
    period from 1911 to 1950.

    Pacific/Chatham has been changed to New Zealand standard time plus
    45 minutes for the period before 1957, reflecting a 1956 remark in
    the New Zealand parliament.

    Europe/Budapest has several pre-1946 corrections: in 1918 the
    transition out of DST was on 09-16, not 09-29; in 1919 it was on
    11-24, not 09-15; in 1945 it was on 11-01, not 11-03; in 1941 the
    transition to DST was 04-08 not 04-06 at 02:00; and there was no DST
    in 1920.

    Africa/Accra is now assumed to have observed DST from 1920 through
    1935.

    Time in Russia before 1927 or so has been corrected by a few seconds
    in the following zones: Europe/Moscow, Asia/Irkutsk, Asia/Tbilisi,
    Asia/Tashkent, Asia/Vladivostok, Asia/Yekaterinburg,
    Europe/Helsinki, and Europe/Riga.  Also, Moscow's location has been
    changed to its Kilometer 0 point.  (Thanks to Vladimir Karpinsky for
    the Moscow changes.)

Bug: 16168653
Change-Id: I23827254bcf50dd07a2192ed34b02224d73e07a0
2014-08-06 15:26:13 -07:00
Dan Albert
bc0d65c114 Merge "Proper MB_CUR_MAX." into lmp-dev 2014-08-06 17:14:55 +00:00
Dan Albert
6035e6cc83 Proper MB_CUR_MAX.
Previously this was hard coded to 4. This is only the case for UTF-8
locales.

As a side effect, this properly reports C.UTF-8 as the default locale
instead of C.

Change-Id: I7c73cc8fe6ffac61d211cd5f75287e36de06f4fc
(cherry picked from commit 1aec7c1a35)
2014-08-06 13:17:43 -07:00
Dan Albert
5b39a44575 Merge "Fix mbsrtowcs(3) src param for finished string." into lmp-dev 2014-08-06 17:19:40 +00:00
Dan Albert
938a8008a6 Fix mbsrtowcs(3) src param for finished string.
A mistake I made while cleaning this up the first time through.
mbstrtowcs(3) sets the src param to null if it finishes the string.

Change-Id: I6263646e25d9537043b7025fd1dd6ae195f365e2
(cherry picked from commit b6cc8e00cd)
2014-08-06 13:00:54 -07:00
Dan Albert
40079b0031 Fixes build.
This change somehow went missing from the vfork change.

Change-Id: I807a2072080eac20601c694e85ba5723220289d8
(cherry picked from commit 9eae8405e8)
2014-08-06 12:32:28 -07:00
Dan Albert
5386a741e7 Revert "Replaces vfork() implementation with fork()"
We're getting cold feet on this one... let's put it back.

This reverts commit 210331d976.

Change-Id: I6b0d3c2b1dbf7f1dc9566979a91b7504c2189269
(cherry picked from commit 6a918870ba)
2014-08-06 12:32:22 -07:00
Elliott Hughes
00a8344ae8 Merge "Workaround b/16818336 which fails build under aggressive inlining." into lmp-dev 2014-08-06 17:14:55 +00:00
Dehao Chen
7aa27e1c1a Workaround b/16818336 which fails build under aggressive inlining.
Change-Id: Ifcd596714c427a2ec39502b9c0af9082ded91884
2014-08-05 18:09:01 -07:00
Paul Jensen
7a5f0952a2 Merge "Revert most of "Cleanup: Delete dead code."" into lmp-dev 2014-08-05 00:19:02 +00:00
Elliott Hughes
59b0933e6d Explain how wcswcs ended up in ndk_cruft.cpp.
(cherry picked from commit 1628eb1d43)

Change-Id: I335b35038781d0426b3647727e6c4f22c83e187b
2014-08-06 10:58:17 -07:00
Paul Jensen
1544eae56e Revert most of "Cleanup: Delete dead code."
This reverts most of commit 2582f02a01.
The DNS cache flushing code needs to be called when routes change.

Change-Id: I5b04121bc428cc6a2e136b6c3269c395bfb4981f
bug:16549455
2014-08-06 13:38:16 -04:00
Dmitriy Ivanov
db7a17d4ff Revert "Revert "Fix dlsym(3) to do breadth first search.""
This reverts commit 1b1966d944.

Change-Id: I05d6d3481aaf8f3e260d2e5e950248519a1d347f
2014-08-04 23:39:22 +00:00
Dmitriy Ivanov
1b1966d944 Revert "Fix dlsym(3) to do breadth first search."
This reverts commit 422106a24d.

Change-Id: I9e26a6933d10eb30438b521450f2010997ca5aee
2014-08-04 16:38:57 +00:00
Christopher Ferris
61833de613 Fix memchr with a zero length.
The memchr implementation for 64 bit fails if these conditions occur:

- The buffer is 32 byte aligned.
- The buffer contains the character in the first byte.
- The count sent in is zero.

The function should return NULL, but it's not.

Bug: 16676625

(cherry picked from commit e03e1eac0b)

Change-Id: Ie4cca2c445127a0936ee2b96651a8e7204fbaffd
2014-07-30 16:33:11 -07:00
Elliott Hughes
4f76469e88 Implement <sys/fsuid.h>.
(cherry picked from commit 79310994d2)

Change-Id: I47688273691e5c95e5e9302eba254ccaaaad40ca
2014-07-30 16:18:03 -07:00
Duane Sand
cd54195262 [MIPSR6] Use C-coded string ops on mips32r6/mips64r6
The existing assembler code uses deprecated lwl/lwr/swl/swr ops.
Replacing those with misalignment-forgiving lw/sw ops may
involve careful performance tuning.

(cherry picked from commit bc5a3ec6df)

Change-Id: I35167da27f2d406339b7f24b4a1fb270c87bc12e
2014-07-30 15:17:12 -07:00
Elliott Hughes
11bf8a3025 Only wipe TLS for user-supplied stacks.
Bug: 16667988

(cherry picked from commit 40a5217448)

Change-Id: I7550fa47b76e643323aa3e2a53529e393c829e47
2014-07-30 14:56:34 -07:00
Christopher Ferris
c701e5b335 Use libunwindbacktrace for debug malloc code.
Create a method of disabling the debug allocation code paths so that
it's possible to use the libunwindbacktrace library without any
modifications.

Use this path to create and destroy the maps for the process. It's not
stricly necessary in the init code since the symbols are not modified
until after the initialize calls.

Also, remove the debug_XXX source files that doesn't need to be in libc.so.

Fix the maps reading code since it was completely broken for 64 bit.

Bug: 16408686

(cherry picked from commit 861c0ef37b)

Change-Id: I04445f0cf9a1e85172b64d57df92eb7939ce2332
2014-07-29 19:30:09 -07:00
Elliott Hughes
1242f7eb67 Remove declarations for things that don't exist.
The <grp.h> ones prevent gdb from building out of the box.

(cherry picked from commit f4c1a36a45)

Change-Id: I6958f2f1731de8c03df20b383decd414b78100aa
2014-07-29 17:48:01 -07:00
Elliott Hughes
f6aa17798c Merge "Revert "Added a bionic systrace class and tracing to pthread_mutex.cpp."" into lmp-dev 2014-07-29 21:36:00 +00:00
Elliott Hughes
26c1420fbb Revert "Added a bionic systrace class and tracing to pthread_mutex.cpp."
This reverts commit a09fe118b1.

Change-Id: Ia2eb07b57a25dc2ac76fecc0925efb2bed998156
2014-07-29 23:52:29 +00:00
Dan Albert
e872c9239a Merge "en_US.UTF-8 is also supported." into lmp-dev 2014-07-29 21:36:00 +00:00
Dan Albert
7149362d33 en_US.UTF-8 is also supported.
Change-Id: Ic35fad3596dc5e24ee8ae35543a274a471f27bb2
(cherry picked from commit 1abb8bd21d)
2014-07-29 14:20:47 -07:00
Dan Albert
d0a80a927f There is no _MIN for unsigned types.
Change-Id: I49c38e51197b750210bdbf28c9cf6db30452a206
(cherry picked from commit ee7f1b5946)
2014-07-29 14:20:37 -07:00
Dan Albert
4e58609587 Fix mbsrtowcs(3)'s handling of len parameter.
The len parameter is a _maximum_ length. The previous code was treating
it as an exact length, causing the following typical call to fail:

    mbsrtowcs(out, &in, sizeof(out), state); // sizeof(out) > strlen(in)

Change-Id: I48e474fd54ea5f122bc168a4d74bfe08704f28cc
(cherry picked from commit 6b55ba54ef)
2014-07-29 14:20:31 -07:00
Dan Albert
1dd1b88bde __libc_fatal should print a newline to stderr.
Change-Id: I088dc880d7488a65beac8cda95f530f3db41f112
(cherry picked from commit 97e31dedf0)
2014-07-29 14:20:15 -07:00
Elliott Hughes
2ea0a58e01 Fix linkage of grantpt(3).
Also clean up the implementation of all the pty functions, add tests,
and fix the stub implementations of ttyname(3) and ttyname_r(3).

Bug: https://code.google.com/p/android/issues/detail?id=58888

(cherry picked from commit 4916706cfe)

Change-Id: I5cb7a1c17b156456e4c4818e65f256eb8d045424
2014-07-29 10:48:34 -07:00
Brigid Smith
a09fe118b1 Added a bionic systrace class and tracing to pthread_mutex.cpp.
bionic_systrace.h contains an implementation of tracing that
can be used with systrace.py and its associated viewer.  pthread_mutex
now uses this tracing to track pthread_mutex contention, which can be
enabled by using the "bionic" command line option to systrace.

Bug: 15116468

(cherry picked from commit a406ee6d5f)

Change-Id: Ic98fc303689fe9384974150d0d258c50806a55e4
2014-07-29 09:41:44 -07:00
Dmitriy Ivanov
1a5db57d5a Fix mips/mips64 build
Add _start entry label to mips/mips64 linker begin.S

(cherry picked from commit ed48534718)

Change-Id: Id1b6bb3258f3bfbe3b7ec9491a977f56e44bed14
2014-07-28 22:00:01 -07:00
Dmitriy Ivanov
5febb0da6f Fix 'adb shell /system/bin/linker' crash
Bug: https://code.google.com/p/android/issues/detail?id=63174

(cherry picked from commit efe13832dc)

Change-Id: I43629e4a14870f67abc2dd5ff2e3040c47b2168d
2014-07-28 16:50:44 -07:00
Elliott Hughes
2be1be47aa Revert "Add a hack to <stdlib.h> until we can fix libvpx."
This reverts commit 3fb5097a7e.
libvpx is now fixed.

Bug: 15598056
Change-Id: Icca974e667f92206505f484bd291726eb0150f68
2014-07-28 16:16:38 -07:00
Elliott Hughes
78e4f8fed2 syscall(3)'s return type should be long.
This doesn't require us to change any of the syscall implementations
because (a) the LP32 ones have sizeof(int) == sizeof(long) anyway,
which is how we never noticed this bug before and (b) the LP64 ones
all use a 64-bit register for the result (and for the syscall number
too).

Bug: https://code.google.com/p/android/issues/detail?id=73952
Bug: 16568314

(cherry picked from commit 21972b61ec)

Change-Id: Ifbc424be29e5650ec72a24df25dd35f24fdd5b3c
2014-07-28 15:39:24 -07:00
Elliott Hughes
b1b60c30bf Use vsnprintf(3) in syslog(3).
It seemed like a clever trick to use the internal log message formatting
code in syslog(3), but on reflection that means you can't (for example)
format floating point numbers. This patch switches us over to using good
old vsnprintf(3), even though that requires us to jump through a few hoops.

There's no obvious way to unit test this, so I wrote a little program and
ran that.

Bug: 14292866
Change-Id: I9c83500ba9cbb209b6f496067a91bf69434eeef5
2014-07-28 09:33:00 -07:00
Elliott Hughes
c1a6a72560 Remove localtime_tz and strftime_tz.
This also brings our copy of strftime.c much closer to upstream, though
we still have several GNU extensions and hacks to deal with Android32's
broken time_t.

Bug: 15765976

(cherry picked from commit 39d903aea9)

Change-Id: Ie278d3e976b7adc77bad5ce795dd4899cfbf3648
2014-07-25 17:28:52 -07:00
Elliott Hughes
708c112054 Start hiding "private/bionic_time.h".
Bug: 15765976

(cherry picked from commit 905e6d58aa)

Change-Id: Ic7435308e8b521886f42ac7bf59531924921ea67
2014-07-25 15:24:57 -07:00
Dan Albert
9379ce694d Merge "There is no _MIN for unsigned types." into lmp-dev 2014-07-25 21:16:23 +00:00
Dan Albert
a1a813da81 Merge "Fix mbsrtowcs(3)'s handling of len parameter." into lmp-dev 2014-07-28 22:45:16 +00:00
Dan Albert
8db0ce7050 Merge "__libc_fatal should print a newline to stderr." into lmp-dev 2014-07-25 21:16:23 +00:00
Dmitriy Ivanov
422106a24d Fix dlsym(3) to do breadth first search.
dlsym(3) with handle != RTLD_DEFAULT|RTLD_NEXT performs
  breadth first search through the dependency tree.

Bug: 16653281

(cherry picked from commit aa0f2bdbc2)

Change-Id: I0ba8c2034ab341f8a279cdb4e2e7e47f1aef7897
2014-07-29 15:02:15 -07:00
Dmitriy Ivanov
6554996948 Fix global variable initialization for linker
Linker now calls init functions for itself.

(cherry picked from commit 4151ea73b7)

Change-Id: I3300fe22de8ad8466a5b1c2d551429769a42852d
2014-07-24 16:49:36 -07:00
Raghu Gandham
34b258dd69 [MIPS] Fix atomic_is_lock_free test for mips32.
On 32-bit MIPS, 64-bit atomic ops are achieved through locks.
So allow the test to fail for atomic_intmax_t on 32-bit MIPS.

(cherry picked from commit f1837377d2)

Change-Id: I973d999c31c9ab89b5a7b709beff6486b93408f2
2014-07-24 16:22:02 -07:00
Elliott Hughes
b902641d73 Implement twalk(3), add unit tests.
I've also added insque(3) and remque(3) (from NetBSD because the OpenBSD
ones are currently broken for non-circular lists).

I've not added the three hash table functions that should be in this header
because they operate on a single global hash table and thus aren't likely
to be useful.

Bug: https://code.google.com/p/android/issues/detail?id=73719

(cherry picked from commit 3e424d0a24)

Change-Id: I5882a6b48c80fea8ac6b9c27e7b9de10b202b4ff
2014-07-24 15:14:06 -07:00
Duane Sand
5ade7e3f6b [MIPS] Drop soft-fp targets
(cherry picked from commit ba23bd0a40)

Change-Id: Ica09192c2760d38ceebc14e23a5d3ba94c20764c
2014-07-24 11:17:55 -07:00
Duane Sand
c86950cb3f [MIPSR6] setjmp supports mips32r6 and FP64A/FPXX reg models
Save and restore floating point registers via 64-bit
load/stores when possible.  Use assembler's builtin macro
ops to generate pairs of 32-bit load/stores on Mips I cpus.

Some cpus or FR modes have only 16 even-numbered dp fp regs.
This is exposed by _MIPS_FPSET, defined by existing compilers.

(cherry picked from commit dd37251c47)

Change-Id: Ibd43653701a363a77af85121d3cbd229d132a06a
2014-07-23 21:04:20 -07:00
Christopher Ferris
bc74ecfaf5 HACK: Disable syslog going to android log.
Bug: 14292866

Change-Id: I3adc448dbacfeecd32508ddccf27be3aa653e466
2014-07-23 18:08:09 -07:00
Nick Kralevich
92d8b2320a debuggerd: if PR_GET_DUMPABLE=0, don't ask for dumping
PR_GET_DUMPABLE is used by an application to indicate whether or
not core dumps / PTRACE_ATTACH should work.

Security sensitive applications often set PR_SET_DUMPABLE to 0 to
disable core dumps, to avoid leaking sensitive memory to persistent
storage. Similarly, they also set PR_SET_DUMPABLE to zero to prevent
PTRACE_ATTACH from working, again to avoid leaking the contents
of sensitive memory.

Honor PR_GET_DUMPABLE when connecting to debuggerd. If an application
has said it doesn't want its memory dumped, then we shouldn't
ask debuggerd to dump memory on its behalf.

FORTIFY_SOURCE tests: Modify the fortify_source tests to set
PR_SET_DUMPABLE=0. This reduces the total runtime of
/data/nativetest/bionic-unit-tests/bionic-unit-tests32 from approx
53 seconds to 25 seconds. There's no need to connect to debuggerd
when running these tests.

Bug: 16513137

(cherry picked from commit be0e43b776)

Change-Id: I6e1a9bce564e94fc19893d639b15f38c549cabfa
2014-07-23 16:07:33 -07:00
Colin Cross
49fbec6d9a HACK: remove %m support from printf.
The change that added this support causes a cpu hard lock on one
device.  This code clearly isn't at fault, but disabling it to
unblock until we can find a real fix.

Bug: 16484311
Change-Id: I33834dc49d959ae403b10d2c7cad12ae2950f772
2014-07-23 14:56:20 -07:00
Elliott Hughes
4126c12961 Fix belated review comments on syslog change.
Bug: 14292866

(cherry picked from commit afe6360627)

Change-Id: I8e3cc6b37b2539e51a27261ffb5d6e58266ce11d
2014-07-23 13:11:15 -07:00
Elliott Hughes
2aa142ffb2 Fix generate-NOTICE to cope better with BSD __COPYRIGHT macros.
(cherry picked from commit 5d2f86f363)

Change-Id: Iddf22c8d9ff7a4d1205d37bb58c6235af681d795
2014-07-23 11:36:21 -07:00
Elliott Hughes
4ac83fad3c Fix a couple of bugs in generate-NOTICE and regenerate the NOTICE files.
(cherry picked from commit 3758a244cf)

Change-Id: I6ffb83b4a7b7746b095205c664cf025a72ead179
2014-07-23 09:39:40 -07:00
Elliott Hughes
3ff6d95a9b Remove the unused swab.S.
(cherry picked from commit ca70453e84)

Change-Id: I4dc13de0bdeb7abb3bd47b0397546ad7d1f11d49
2014-07-22 20:43:55 -07:00
Duane Sand
5d7775c6df [MIPS] Allow united mipsel and mips64el gcc toolchain
Explicitly tell 32-bit links that they are doing 32-bit links.
This is needed when using united 32-bit and 64-bit toolchains.
This is harmless when using older separate 32-only toolchains.

(cherry picked from commit f541650828)

Change-Id: I8df0ee7d36c6409458e18bea4e0e8b132edf77dc
2014-07-22 19:41:49 -07:00
Sreeram Ramachandran
2582f02a01 Cleanup: Delete dead code.
Bug: 15413389
Change-Id: I315468832ef18ffc84174e54774ab63b86d284dc
2014-07-22 11:24:17 -07:00
Elliott Hughes
6209c81d40 Use upstream OpenBSD's arc4random.
The getentropy_linux.c is lightly modified to build on Android, but we're now
completely in sync with upstream OpenBSD's arc4random implementation.

(cherry picked from commit 2b67d7dee0)

Change-Id: Icc939b5fa2fcac3e15ff93735d2d34f67e9bb149
2014-07-21 19:17:15 -07:00
Elliott Hughes
b76613627d Rewrite syslog(3) to use Android logging.
Since we don't have syslogd on Android and you can't run one on a non-rooted
device, it's more useful if syslog output just goes to the regular Android
logging system.

Bug: 14292866

(cherry picked from commit 3ad8ecb64e)

Change-Id: I3038855ca4f22532bf6d2c45d3f8028b866975f9
2014-07-21 18:55:04 -07:00
Hans Boehm
ed68221a82 Define atomic_charN_t only if charN_t is supported.
Some platform code is apparently compiled with switches that do
not support char16_t and char32_t.  This caused stdatomic.h to fail
to compile.  This CL makes stdatomic.h usable in those environments.

(cherry picked from commit 8b002362d9)
Change-Id: Ie5a17f20b8b545c97128d00605b4eabd2a6bfe3e
2014-07-18 17:53:01 -07:00
Christopher Ferris
b0815aeacb Make sure not to construct illegal property names.
(cherry picked from commit 53531ccebb)

Change-Id: I7e988c335ef32b61b2ac34f34509274623dbed69
2014-07-18 17:00:20 -07:00
Elliott Hughes
fbd0081923 Merge "Clean up some misinformation around prctl." into lmp-dev 2014-07-18 22:16:50 +00:00
Elliott Hughes
de24f1ac00 Clean up some misinformation around prctl.
prctl shouldn't be in <unistd.h>.

(cherry picked from commit 9c07aee83b)

Change-Id: I70cda886fbf4d58d82dc70adaa981506ebff9949
2014-07-18 16:54:28 -07:00
Elliott Hughes
291da8d353 Remove SIOCKILLADDR from <sys/socket.h>.
(cherry picked from commit 8a3d1ca183)

Change-Id: Idb5cc4cff3ece7fa8740db12a19438d1a1c9a6a8
2014-07-18 16:53:23 -07:00
Elliott Hughes
b5bef263b3 Remove PR_SET_TIMERSLACK_PID from <sys/prctl.h>.
(cherry picked from commit 9f165d24f0)

Change-Id: I009d3742cefbf36115f09824f267a0265ae215bf
2014-07-18 16:52:24 -07:00
Christopher Ferris
e8bc581333 Use the mmap/munmap for allocation routines.
To avoid any issues calling malloc related routines, use mmap/munmap.
Specifically, this avoids any problems when this is compiled into a
malloc debug shared library.

(cherry picked from commit 6425327c32)

Change-Id: If43d12b2c588c9abcbfbbd2c53702cdac7695a73
2014-07-18 15:23:32 -07:00
Elliott Hughes
b46696858b Fix private/bionic_name_mem.h build breakage.
(cherry picked from commit 2f9c6e38b8)

Change-Id: Ia8e96da98802d312011df866ac1baaa48f97811c
2014-07-17 15:15:44 -07:00
Elliott Hughes
d648f557f1 Remove non-standard prctl constants from <sys/prctl.h>.
Also remove __bionic_name_mem which has exactly one caller, and is only
ever expected to be used in this one place.

(cherry picked from commit d7453860a6)

Change-Id: I26b7638609e9d4eaf4f21ae29721ea27d4176702
2014-07-17 15:15:37 -07:00
Christopher Ferris
a694517909 Merge "Add gen syscalls step to instructions." into lmp-dev 2014-07-17 21:15:46 +00:00
Christopher Ferris
013c9b8035 Add gen syscalls step to instructions.
Also, fix incorrect path to some tools.

(cherry picked from commit ea271fdf26)

Change-Id: Ie93cbc84b9a46d622b0b462a33bed0ee129992cb
2014-07-18 16:56:33 -07:00
Elliott Hughes
9a7fdb2dae ptrace(3) should be varargs.
Bug: 16352070

(cherry picked from commit 98b088dce7)

Change-Id: I6193ef44df9a5668020916eaca90b47fc4c8ab77
2014-07-16 16:59:31 -07:00
Elliott Hughes
3002131da3 Use VDSO for clock_gettime(2) and gettimeofday(2).
Bug: 15387103

(cherry picked from commit 625993dfbb)

Change-Id: I0e156d7049ba1495902259071a96936592e74025
2014-07-16 15:15:53 -07:00
Dan Albert
a446505874 Merge "Remove isascii_l(3)." into lmp-dev 2014-07-16 13:12:22 +00:00
Elliott Hughes
97ba2a5cc4 Regenerate the syscalls list after the uapi update.
(cherry picked from commit 3fa60e10bc)

Change-Id: Id545a5b0b0953967effd819177f0dadb134f2011
2014-07-15 19:09:12 -07:00
Dan Albert
da8accfefe Remove isascii_l(3).
Had intended to remove this one before submitting the locale changes,
but forgot. It isn't a standard ctype function, so we don't need it.

Change-Id: Ie9c09fa6c61b1101b5992fa06da30e373a0c6bf7
2014-07-15 16:49:30 -07:00
Christopher Ferris
73c963e4c5 Fix BIONIC_ROUND_UP_POWER_OF_2 for 64 bit.
There were two bugs here:

- For 64 bit values, this did not properly round up.
- The macro rounded to the power of 2 less than value, not to the power
  of 2 greater than value.

(cherry picked from commit 27047faf28)

Change-Id: Idf1ec67854e1eb423704e599ae1c6b674d36618d
2014-07-15 13:23:06 -07:00
Elliott Hughes
ca276c40df Fix visibility for a bunch more symbols.
Bug: 11156955
Bug: 15291317

(cherry picked from commit a167eef548)

Change-Id: Ib038ad34ef59631f7b4ed6dff2b7956001b8b159
2014-07-14 18:59:51 -07:00
Elliott Hughes
99ae0983c0 Implement rand/srand in terms of random/srandom.
Code developed for glibc or older versions of bionic might expect more
randomness than the BSD implementation provides.

Bug: 15829381

(cherry picked from commit 76c241b091)

Change-Id: If721b3f16efdb21cb67df5ec5034c0ba905bd029
2014-07-14 14:06:11 -07:00
Elliott Hughes
caaf71ebb3 Sync upstream-openbsd.
(cherry picked from commit 4f0b67a8db)

Change-Id: I8753959853312ab978bc4eb1bbbcdc7d1b007b95
2014-07-14 13:59:03 -07:00
Dmitriy Ivanov
38778e3b6c Upstream atexit
Change-Id: Ia454a2181b5058ed9783dc02b6b1805d0e4d2715
(cherry picked from commit 53c3c271dc)
2014-07-14 13:29:34 -07:00
Elliott Hughes
3b318a5b3d am e2b177a5: am 83ce99d8: Merge "Define SIOCKILLADDR which isn\'t in the common kernel uapi headers."
* commit 'e2b177a5d1384ebbb82d576637364e5b24450beb':
  Define SIOCKILLADDR which isn't in the common kernel uapi headers.
2014-07-12 13:08:44 +00:00
Elliott Hughes
e2b177a5d1 am 83ce99d8: Merge "Define SIOCKILLADDR which isn\'t in the common kernel uapi headers."
* commit '83ce99d8b7e2b15b2169e6e6e18e871ad35abb6c':
  Define SIOCKILLADDR which isn't in the common kernel uapi headers.
2014-07-12 12:59:27 +00:00
Elliott Hughes
f6968e3c08 Define SIOCKILLADDR which isn't in the common kernel uapi headers.
(cherry picked from commit 2ba2888cac)

Change-Id: I3845871bb44dae94d9a0428af0f562ddfb8bd660
2014-07-11 22:37:13 -07:00
Elliott Hughes
bae7c20672 am b962ab81: am 57a5b338: Merge "Define three prctl constants that went missing from uapi."
* commit 'b962ab81fc37fc8b4b8cfd45d3538b641dd6fd13':
  Define three prctl constants that went missing from uapi.
2014-07-12 03:15:29 +00:00
Elliott Hughes
b962ab81fc am 57a5b338: Merge "Define three prctl constants that went missing from uapi."
* commit '57a5b3380a8834ecb4a32d01433a3127454443d7':
  Define three prctl constants that went missing from uapi.
2014-07-12 03:10:36 +00:00
Elliott Hughes
f65d552b3d am 0594b9dd: am b8e82b5e: Merge "EM_ARM and EM_AARCH64 are now in the uapi header."
* commit '0594b9ddded7d832b786c209dd7cd4e26ee32eb8':
  EM_ARM and EM_AARCH64 are now in the uapi header.
2014-07-12 02:06:38 +00:00
Christopher Ferris
8832cfb2fe am efdf7862: am 385bb1ed: Merge "Add optimized memchr implementation from newlib"
* commit 'efdf7862be41b2dfd8d013e2495af9a2db5286f5':
  Add optimized memchr implementation from newlib
2014-07-12 02:06:37 +00:00
Christopher Ferris
d92a6d0669 am 55230dd0: am 96502e27: Merge "Make jemalloc the default choice."
* commit '55230dd048d8c93af67611c30fd6563e24ef23c5':
  Make jemalloc the default choice.
2014-07-12 02:06:37 +00:00
Christopher Ferris
d389809de7 am 18a25078: am c6bc0017: Merge "Update kernel headers to v3.14."
* commit '18a25078f0cc0aa9842f6397e3c24a5ae8686de5':
  Update kernel headers to v3.14.
2014-07-12 02:06:36 +00:00
Elliott Hughes
9c98443e2b am ce1422b9: am 040e1187: Merge "Enable building libc with clang."
* commit 'ce1422b985383c4cbb485b3ec121eb8d01af12b8':
  Enable building libc with clang.
2014-07-12 02:06:36 +00:00
Dan Albert
405fd491bc am c0afc23e: am 37f09d6d: Merge "Revert "Revert "Add locale aware APIs."""
* commit 'c0afc23e26ca0a591dd8fb5fcddf1cb616bd5e43':
  Revert "Revert "Add locale aware APIs.""
2014-07-12 02:06:35 +00:00
Elliott Hughes
210a842354 am d19f2d85: am 76df69d1: Merge "The err family allow null format strings."
* commit 'd19f2d859f744ded5a70cf0d8a23427eac7ec817':
  The err family allow null format strings.
2014-07-12 02:06:35 +00:00
Elliott Hughes
d54994a45f am 696c48df: am eba7c15b: Merge "Revert "Switch libm to building with clang.""
* commit '696c48df69a0841e8e179e313302c01155df5e85':
  Revert "Switch libm to building with clang."
2014-07-12 02:06:34 +00:00
Elliott Hughes
2545bf7b41 am 37ab54fd: am 5df23dc8: Merge "Switch libm to building with clang."
* commit '37ab54fd88f2bc579f7d5b931d6e3c40ad4e1f05':
  Switch libm to building with clang.
2014-07-12 02:06:33 +00:00
Elliott Hughes
3ea96e7b86 am 35805377: am 9b491470: Merge "Slim down static binaries by avoiding stdio."
* commit '35805377f91f0057704ee38687e0d9bf22d9d528':
  Slim down static binaries by avoiding stdio.
2014-07-12 02:06:33 +00:00
Elliott Hughes
a9e847fdea am 7d9f1cc5: am f0f8cd1f: Merge "Remove the global lock around thread stack creation."
* commit '7d9f1cc55c1f3641431e4ec8cf88d374025c5f39':
  Remove the global lock around thread stack creation.
2014-07-12 02:06:32 +00:00
Elliott Hughes
b2ddd728c3 am 12ce9115: am cd23370c: Merge "Remove the obsolete _thread_created_hook."
* commit '12ce91157a40785182a3424af2890fcad032f9c6':
  Remove the obsolete _thread_created_hook.
2014-07-12 02:06:31 +00:00
Calin Juravle
9899217adb am 9712d913: am 02459d34: Merge "Move __cmsg_nxthdr to its proper file."
* commit '9712d913eba352d108116595d9be8bd0c96f24f6':
2014-07-12 02:06:31 +00:00
Calin Juravle
b89ef57d09 am cd061f6e: am 8a71a745: Merge "Removed obsolete symbol cmsg_nxthdr."
* commit 'cd061f6e434a28e979346b14cfe29a953ab9181f':
2014-07-12 02:06:30 +00:00
Christopher Ferris
a35ae1bcaa am 4306b0f8: am 25fba981: Merge "Do not include libc_common in malloc debug code."
* commit '4306b0f82b236acb10e1f42e7d850e4edd37fb78':
2014-07-12 02:06:29 +00:00
Elliott Hughes
4c28373da6 am 96d7251c: am d028b620: Merge "Added a __system_property_serial benchmark."
* commit '96d7251cfc4d8134b864110908327880aa9ff8fd':
2014-07-12 02:06:29 +00:00
Elliott Hughes
4f459ec6bd am 1cad0226: am 84f0c7c2: Merge "update-tzdata.py needs to know where to find icu."
* commit '1cad0226f5b0b7346516132bb45f09dafdffb91f':
2014-07-12 02:06:28 +00:00
Dan Albert
d0a7157c97 am ea04b5a6: am 7a85d9a1: Merge "Revert "Add locale aware APIs.""
* commit 'ea04b5a6d9fbbc3877446f47a50b3070da1e036e':
2014-07-12 02:06:27 +00:00
Dan Albert
1e46158e64 am f6b95993: am 430d5f93: Merge "Add locale aware APIs."
* commit 'f6b95993486005afb1d53677b321a85870c3b0c3':
2014-07-12 02:06:27 +00:00
Elliott Hughes
67ee7b9d98 am 94560b5b: am 4c199170: Merge "Added __system_propery_read benchmark."
* commit '94560b5b9f43e106cce86916d99b86dd5e58d07b':
2014-07-12 02:06:26 +00:00
Elliott Hughes
c346c606e9 am 8d11fb18: am 3139f6fd: Merge "Remove __CTOR_LIST__ from mips/mips64."
* commit '8d11fb187dd7aca49e89c6e90aa2e79afa68780d':
2014-07-12 02:06:25 +00:00
Elliott Hughes
536410018a am 986fb565: am c4c67893: Merge "Don\'t zero r1 on entry to the dynamic linker."
* commit '986fb5657919bde859b4dc618169c3178bc86b3b':
2014-07-12 02:06:25 +00:00
Ying Wang
4fae767510 am 6ee2f321: am 6cdd0cfd: Merge "TARGET_OUT_DATA_NATIVE_TESTS now points to /nativetest64 in 64-bit target"
* commit '6ee2f321d46b807e7a1ba4e08f2174265de3ea66':
2014-07-12 02:06:24 +00:00
Dmitriy Ivanov
e245060c6d am ab164750: am 3c12ae56: Merge "Add test for constructor function."
* commit 'ab16475066c4b2792601bfd41a2a7107c5a98b24':
2014-07-12 02:06:23 +00:00
Elliott Hughes
0594b9ddde am b8e82b5e: Merge "EM_ARM and EM_AARCH64 are now in the uapi header."
* commit 'b8e82b5e729a1f6e30ee9593b2dbcbb3ad623874':
  EM_ARM and EM_AARCH64 are now in the uapi header.
2014-07-12 01:41:51 +00:00
Christopher Ferris
efdf7862be am 385bb1ed: Merge "Add optimized memchr implementation from newlib"
* commit '385bb1ededa734e88bafb8aaf817e9a984bf0d18':
  Add optimized memchr implementation from newlib
2014-07-12 01:41:51 +00:00
Christopher Ferris
55230dd048 am 96502e27: Merge "Make jemalloc the default choice."
* commit '96502e273eea49c95899af57fa578c8055b9618c':
  Make jemalloc the default choice.
2014-07-12 01:41:51 +00:00
Christopher Ferris
18a25078f0 am c6bc0017: Merge "Update kernel headers to v3.14."
* commit 'c6bc001776931fd1c8583df2b8948dcb8bf61007':
  Update kernel headers to v3.14.
2014-07-12 01:41:50 +00:00
Elliott Hughes
ce1422b985 am 040e1187: Merge "Enable building libc with clang."
* commit '040e11877d19f2fdd7a9c730d33056e88f43a760':
  Enable building libc with clang.
2014-07-12 01:41:50 +00:00
Dan Albert
c0afc23e26 am 37f09d6d: Merge "Revert "Revert "Add locale aware APIs."""
* commit '37f09d6d2ea329984a3182b99a38f170dc86661d':
  Revert "Revert "Add locale aware APIs.""
2014-07-12 01:41:50 +00:00
Elliott Hughes
d19f2d859f am 76df69d1: Merge "The err family allow null format strings."
* commit '76df69d1f5cbbc8a2c1e899bc1ad5ada8b083e1e':
  The err family allow null format strings.
2014-07-12 01:41:49 +00:00
Elliott Hughes
696c48df69 am eba7c15b: Merge "Revert "Switch libm to building with clang.""
* commit 'eba7c15b69010441e914b946006dc235e1472c96':
  Revert "Switch libm to building with clang."
2014-07-12 01:41:49 +00:00
Elliott Hughes
37ab54fd88 am 5df23dc8: Merge "Switch libm to building with clang."
* commit '5df23dc85e459ef7271ad09b725631a3ad2d0ce4':
  Switch libm to building with clang.
2014-07-12 01:41:49 +00:00
Elliott Hughes
35805377f9 am 9b491470: Merge "Slim down static binaries by avoiding stdio."
* commit '9b491470ac65a11775e52631ef5e655af9eb2a85':
  Slim down static binaries by avoiding stdio.
2014-07-12 01:41:49 +00:00
Elliott Hughes
7d9f1cc55c am f0f8cd1f: Merge "Remove the global lock around thread stack creation."
* commit 'f0f8cd1ff3e7f7124cab8a687370b51df4ec93de':
  Remove the global lock around thread stack creation.
2014-07-12 01:41:48 +00:00
Elliott Hughes
12ce91157a am cd23370c: Merge "Remove the obsolete _thread_created_hook."
* commit 'cd23370ca737dffc49166f8aacd19a025e72266f':
  Remove the obsolete _thread_created_hook.
2014-07-12 01:41:48 +00:00
Calin Juravle
9712d913eb am 02459d34: Merge "Move __cmsg_nxthdr to its proper file."
* commit '02459d34c9b82741155fbbb32850a7987eb7abaf':
  Move __cmsg_nxthdr to its proper file.
2014-07-12 01:41:48 +00:00
Calin Juravle
cd061f6e43 am 8a71a745: Merge "Removed obsolete symbol cmsg_nxthdr."
* commit '8a71a745cb2a1eb573c6dc41e30c2f94a3a99db7':
  Removed obsolete symbol cmsg_nxthdr.
2014-07-12 01:41:48 +00:00
Christopher Ferris
4306b0f82b am 25fba981: Merge "Do not include libc_common in malloc debug code."
* commit '25fba981a17c51df6cf88d5ace7ffe3c5a5766e4':
  Do not include libc_common in malloc debug code.
2014-07-12 01:41:47 +00:00
Elliott Hughes
96d7251cfc am d028b620: Merge "Added a __system_property_serial benchmark."
* commit 'd028b6209cde7929e6d0613cbd92cc7b766d3d09':
  Added a __system_property_serial benchmark.
2014-07-12 01:41:47 +00:00
Elliott Hughes
1cad0226f5 am 84f0c7c2: Merge "update-tzdata.py needs to know where to find icu."
* commit '84f0c7c258b3a72eed8737662bb5a730d6d9f5e2':
  update-tzdata.py needs to know where to find icu.
2014-07-12 01:41:47 +00:00
Dan Albert
ea04b5a6d9 am 7a85d9a1: Merge "Revert "Add locale aware APIs.""
* commit '7a85d9a1de7f0970af19eca5f3ca6938cbc2ce95':
  Revert "Add locale aware APIs."
2014-07-12 01:41:47 +00:00
Dan Albert
f6b9599348 am 430d5f93: Merge "Add locale aware APIs."
* commit '430d5f93ceea2e5172144a05885c295dca51b876':
  Add locale aware APIs.
2014-07-12 01:41:46 +00:00
Elliott Hughes
94560b5b9f am 4c199170: Merge "Added __system_propery_read benchmark."
* commit '4c199170a84e725a56b7d40c113c9d76a75d89ab':
  Added __system_propery_read benchmark.
2014-07-12 01:41:46 +00:00
Elliott Hughes
8d11fb187d am 3139f6fd: Merge "Remove __CTOR_LIST__ from mips/mips64."
* commit '3139f6fdd7f9bec3b53be3da62314ae8ba24ceb4':
  Remove __CTOR_LIST__ from mips/mips64.
2014-07-12 01:41:46 +00:00
Elliott Hughes
986fb56579 am c4c67893: Merge "Don\'t zero r1 on entry to the dynamic linker."
* commit 'c4c6789362b82150e3f16cd655032f7ab2a1b6d6':
  Don't zero r1 on entry to the dynamic linker.
2014-07-12 01:41:46 +00:00
Ying Wang
6ee2f321d4 am 6cdd0cfd: Merge "TARGET_OUT_DATA_NATIVE_TESTS now points to /nativetest64 in 64-bit target"
* commit '6cdd0cfd2f279dfb20b9f7cccc963eb9ee91c666':
  TARGET_OUT_DATA_NATIVE_TESTS now points to $(TARGET_OUT_DATA)/nativetest64 in 64-bit target
2014-07-12 01:41:46 +00:00
Dmitriy Ivanov
ab16475066 am 3c12ae56: Merge "Add test for constructor function."
* commit '3c12ae56f402744d1a446ceef7d20f5ea01025c3':
  Add test for constructor function.
2014-07-12 01:41:45 +00:00
Dmitriy Ivanov
30e596e9ea am ca673e73: am b9c5d606: am 006e0770: Merge "Change android_dlextinfo flags to uint64_t"
* commit 'ca673e7300b361bbf49c2b7ea1012441d62b1995':
2014-07-11 17:52:23 +00:00
Elliott Hughes
a3eead96b9 am 7e43f0d4: resolved conflicts for merge of aedc14b1 to lmp-dev
* commit '7e43f0d40d3189ca219c6758f61ffe2a2d411ee2':
2014-07-11 17:52:22 +00:00
Dmitriy Ivanov
ca673e7300 am b9c5d606: am 006e0770: Merge "Change android_dlextinfo flags to uint64_t"
* commit 'b9c5d606aab6c1a21e3785d155613c35c276eb18':
  Change android_dlextinfo flags to uint64_t
2014-07-11 17:28:53 +00:00
Elliott Hughes
7e43f0d40d resolved conflicts for merge of aedc14b1 to lmp-dev
Change-Id: I36d3a6ca42778686f1f2971ae72cd3b7b156a3da
2014-07-11 10:03:35 -07:00
Calin Juravle
3b0f3112d0 am f11e7c74: am 02459d34: Merge "Move __cmsg_nxthdr to its proper file."
* commit 'f11e7c74b5c8845bbad75c53f2837b831d883ea6':
  Move __cmsg_nxthdr to its proper file.
2014-07-10 15:24:13 +00:00
Calin Juravle
f11e7c74b5 am 02459d34: Merge "Move __cmsg_nxthdr to its proper file."
* commit '02459d34c9b82741155fbbb32850a7987eb7abaf':
  Move __cmsg_nxthdr to its proper file.
2014-07-10 15:20:25 +00:00
Calin Juravle
e8ce76c26e am 1d63dd90: am 8a71a745: Merge "Removed obsolete symbol cmsg_nxthdr."
* commit '1d63dd9092cc44645ab5001ea79f9f0aba86df69':
  Removed obsolete symbol cmsg_nxthdr.
2014-07-10 11:57:29 +00:00
Calin Juravle
1d63dd9092 am 8a71a745: Merge "Removed obsolete symbol cmsg_nxthdr."
* commit '8a71a745cb2a1eb573c6dc41e30c2f94a3a99db7':
  Removed obsolete symbol cmsg_nxthdr.
2014-07-10 11:54:36 +00:00
Christopher Ferris
0f8d5a0664 am c04e73a6: am 25fba981: Merge "Do not include libc_common in malloc debug code."
* commit 'c04e73a6b808012403a53d847f4946b33e880018':
  Do not include libc_common in malloc debug code.
2014-07-10 11:01:11 +00:00
Christopher Ferris
c04e73a6b8 am 25fba981: Merge "Do not include libc_common in malloc debug code."
* commit '25fba981a17c51df6cf88d5ace7ffe3c5a5766e4':
  Do not include libc_common in malloc debug code.
2014-07-10 09:43:32 +00:00
Elliott Hughes
05916dda8a am cf53885b: am d028b620: Merge "Added a __system_property_serial benchmark."
* commit 'cf53885bfac9c7391d779df0a16355645fdedf64':
  Added a __system_property_serial benchmark.
2014-07-10 00:24:33 +00:00
Elliott Hughes
42775b512f am feccec68: am 84f0c7c2: Merge "update-tzdata.py needs to know where to find icu."
* commit 'feccec68c57f03647166317b7f528364f925bbab':
  update-tzdata.py needs to know where to find icu.
2014-07-10 00:24:32 +00:00
Dan Albert
293006c91b am 418fdef2: am 7a85d9a1: Merge "Revert "Add locale aware APIs.""
* commit '418fdef2e7299fbf3d7c06319711b84a58423c2a':
  Revert "Add locale aware APIs."
2014-07-10 00:24:32 +00:00
Dan Albert
16dd7fd5d2 am 43e79dab: am 430d5f93: Merge "Add locale aware APIs."
* commit '43e79dab8478fcfadd723a9ba51b7cb07a214f79':
  Add locale aware APIs.
2014-07-10 00:24:27 +00:00
Elliott Hughes
cf53885bfa am d028b620: Merge "Added a __system_property_serial benchmark."
* commit 'd028b6209cde7929e6d0613cbd92cc7b766d3d09':
  Added a __system_property_serial benchmark.
2014-07-10 00:16:26 +00:00
Elliott Hughes
feccec68c5 am 84f0c7c2: Merge "update-tzdata.py needs to know where to find icu."
* commit '84f0c7c258b3a72eed8737662bb5a730d6d9f5e2':
  update-tzdata.py needs to know where to find icu.
2014-07-10 00:16:25 +00:00
Dan Albert
418fdef2e7 am 7a85d9a1: Merge "Revert "Add locale aware APIs.""
* commit '7a85d9a1de7f0970af19eca5f3ca6938cbc2ce95':
  Revert "Add locale aware APIs."
2014-07-10 00:16:24 +00:00
Dan Albert
43e79dab84 am 430d5f93: Merge "Add locale aware APIs."
* commit '430d5f93ceea2e5172144a05885c295dca51b876':
  Add locale aware APIs.
2014-07-10 00:16:23 +00:00
Elliott Hughes
e2bcc8bbe5 am 748d8708: am 4c199170: Merge "Added __system_propery_read benchmark."
* commit '748d870871b8b95ae054f733683658afba86a539':
  Added __system_propery_read benchmark.
2014-07-09 18:15:10 +00:00
Elliott Hughes
748d870871 am 4c199170: Merge "Added __system_propery_read benchmark."
* commit '4c199170a84e725a56b7d40c113c9d76a75d89ab':
  Added __system_propery_read benchmark.
2014-07-09 18:11:32 +00:00
Elliott Hughes
48ad92a4b1 am 742fce7b: am 3139f6fd: Merge "Remove __CTOR_LIST__ from mips/mips64."
* commit '742fce7b8414c095dd895547564ea8ef55d526b0':
  Remove __CTOR_LIST__ from mips/mips64.
2014-07-09 16:58:06 +00:00
Elliott Hughes
742fce7b84 am 3139f6fd: Merge "Remove __CTOR_LIST__ from mips/mips64."
* commit '3139f6fdd7f9bec3b53be3da62314ae8ba24ceb4':
  Remove __CTOR_LIST__ from mips/mips64.
2014-07-09 16:53:38 +00:00
Elliott Hughes
dc0b68e5ee am b9d95b5d: am c4c67893: Merge "Don\'t zero r1 on entry to the dynamic linker."
* commit 'b9d95b5d2f6eb748c0fdb83087b96bdb1cb5ef24':
  Don't zero r1 on entry to the dynamic linker.
2014-07-09 16:36:24 +00:00
Elliott Hughes
b9d95b5d2f am c4c67893: Merge "Don\'t zero r1 on entry to the dynamic linker."
* commit 'c4c6789362b82150e3f16cd655032f7ab2a1b6d6':
  Don't zero r1 on entry to the dynamic linker.
2014-07-09 16:32:58 +00:00
Ying Wang
76171b2d58 am 02406f68: am 6cdd0cfd: Merge "TARGET_OUT_DATA_NATIVE_TESTS now points to /nativetest64 in 64-bit target"
* commit '02406f688ce2b9d35573a483251628bc82e88b3f':
  TARGET_OUT_DATA_NATIVE_TESTS now points to $(TARGET_OUT_DATA)/nativetest64 in 64-bit target
2014-07-09 16:26:28 +00:00
Ying Wang
02406f688c am 6cdd0cfd: Merge "TARGET_OUT_DATA_NATIVE_TESTS now points to /nativetest64 in 64-bit target"
* commit '6cdd0cfd2f279dfb20b9f7cccc963eb9ee91c666':
  TARGET_OUT_DATA_NATIVE_TESTS now points to $(TARGET_OUT_DATA)/nativetest64 in 64-bit target
2014-07-09 16:22:58 +00:00
Dmitriy Ivanov
4e37e7b1e8 am b9247ada: am 3c12ae56: Merge "Add test for constructor function."
* commit 'b9247ada209fd7e3570127aacd77542d41a111fc':
  Add test for constructor function.
2014-07-09 15:07:37 +00:00
Dmitriy Ivanov
b9247ada20 am 3c12ae56: Merge "Add test for constructor function."
* commit '3c12ae56f402744d1a446ceef7d20f5ea01025c3':
  Add test for constructor function.
2014-07-09 12:36:58 +00:00
Dmitriy Ivanov
4c63233511 am b9c5d606: am 006e0770: Merge "Change android_dlextinfo flags to uint64_t"
* commit 'b9c5d606aab6c1a21e3785d155613c35c276eb18':
  Change android_dlextinfo flags to uint64_t
2014-07-08 18:35:19 +00:00
Dmitriy Ivanov
b9c5d606aa am 006e0770: Merge "Change android_dlextinfo flags to uint64_t"
* commit '006e0770ffaa57d88f407fad8d9b78ea0efa9c6a':
  Change android_dlextinfo flags to uint64_t
2014-07-08 18:33:20 +00:00
Elliott Hughes
ddf9066e2e resolved conflicts for merge of aedc14b1 to master
Change-Id: Ib00a09a01541afb010f3c8a6f125d067a0c7812d
2014-07-08 11:15:27 -07:00
Elliott Hughes
aedc14b166 am 7244a861: Merge "Regenerate the bionic NOTICE files."
* commit '7244a8610a1b6f7cb38336696e15e2e4ee04613c':
  Regenerate the bionic NOTICE files.
2014-07-08 17:50:07 +00:00
Elliott Hughes
e20bbaf8bb am 4568e344: am 2b2916d1: Merge "Remove some dead data."
* commit '4568e344c0a7581dc1b32387ba18c99df76ffeea':
  Remove some dead data.
2014-07-07 18:08:48 +00:00
Elliott Hughes
88ed7d2cc1 am d5a6a5e1: am db42a9f5: Merge "Fix three clang complaints about the DNS code."
* commit 'd5a6a5e18d66543bdfa4dffdfeec80eff32a87b9':
  Fix three clang complaints about the DNS code.
2014-07-07 18:08:47 +00:00
Elliott Hughes
4324fd7916 am a19e1d1c: am 4d763df3: Merge "Fix a broken boolean test found by clang."
* commit 'a19e1d1c6519e6adaa37ae151dc87cb04fe998b0':
  Fix a broken boolean test found by clang.
2014-07-07 18:08:46 +00:00
Elliott Hughes
ea24c25512 am 13610bec: am 1ee1bfde: Merge "Use __unused rather than self assignment for unused parameters."
* commit '13610bec6bfc0af64efdeeafc4c25d34912c2856':
  Use __unused rather than self assignment for unused parameters.
2014-07-07 18:08:46 +00:00
Elliott Hughes
4568e344c0 am 2b2916d1: Merge "Remove some dead data."
* commit '2b2916d15458671babed9e250b4d98f1980a976d':
  Remove some dead data.
2014-07-07 18:02:34 +00:00
Elliott Hughes
d5a6a5e18d am db42a9f5: Merge "Fix three clang complaints about the DNS code."
* commit 'db42a9f5a3b8a6bb6af2d9ef42844c8dc835527b':
  Fix three clang complaints about the DNS code.
2014-07-07 18:02:33 +00:00
Elliott Hughes
a19e1d1c65 am 4d763df3: Merge "Fix a broken boolean test found by clang."
* commit '4d763df3243f81041269015d0ac3fbd2912d5f3d':
  Fix a broken boolean test found by clang.
2014-07-07 18:02:33 +00:00
Elliott Hughes
13610bec6b am 1ee1bfde: Merge "Use __unused rather than self assignment for unused parameters."
* commit '1ee1bfdeeca74d71f3e7de7ac3a7e45c9a7d0f53':
  Use __unused rather than self assignment for unused parameters.
2014-07-07 18:02:32 +00:00
Dan Albert
67afc421f3 am 731f9273: am 2d94ee29: Merge "Revert "Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64."""
* commit '731f9273134b861b86ef65f785f4811c2f17b5be':
  Revert "Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64.""
2014-07-07 16:25:28 +00:00
Dan Albert
731f927313 am 2d94ee29: Merge "Revert "Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64."""
* commit '2d94ee29f4be528167f1de328226cac259aac738':
  Revert "Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64.""
2014-07-07 16:20:11 +00:00
Nick Kralevich
031517ff74 am 8ad9909a: am d11ca4e8: Merge "Revert "Reenable support for non-PIE executables""
* commit '8ad9909a70c4925a1da15ce150835e436f54d8c1':
  Revert "Reenable support for non-PIE executables"
2014-07-03 19:59:41 +00:00
Nick Kralevich
8ad9909a70 am d11ca4e8: Merge "Revert "Reenable support for non-PIE executables""
* commit 'd11ca4e8c7cbbdd4b37ea82a351966da75907c0d':
  Revert "Reenable support for non-PIE executables"
2014-07-03 19:54:53 +00:00
Nick Kralevich
80d877d6c3 am e6ef1977: am f95964c9: Merge "libc_logging: Set SOCK_CLOEXEC on socket"
* commit 'e6ef19779f35bfc1e49b50dd6d3189ab393328f1':
  libc_logging: Set SOCK_CLOEXEC on socket
2014-07-03 16:09:56 +00:00
Nick Kralevich
e6ef19779f am f95964c9: Merge "libc_logging: Set SOCK_CLOEXEC on socket"
* commit 'f95964c93becfeb51433d7d90a6e1b9bb456a3e7':
  libc_logging: Set SOCK_CLOEXEC on socket
2014-07-03 16:05:17 +00:00
Elliott Hughes
ca771fc396 am bebe8de7: am 1f262b35: Merge "Fix recv.cpp so it can build with clang."
* commit 'bebe8de7e2d2df2605fe96f7426f26ecbcd7d251':
  Fix recv.cpp so it can build with clang.
2014-07-03 00:13:14 +00:00
Elliott Hughes
bebe8de7e2 am 1f262b35: Merge "Fix recv.cpp so it can build with clang."
* commit '1f262b35fef5108e3bd3fbea4b6aa1ce635767f9':
  Fix recv.cpp so it can build with clang.
2014-07-03 00:08:14 +00:00
Elliott Hughes
cda4006cc7 am 2a70aba8: am ab4fc823: Merge "Fix all resolv warnings and turn on -Werror."
* commit '2a70aba8460eff1bfb1417c271c6a5a53c560afa':
  Fix all resolv warnings and turn on -Werror.
2014-07-02 23:54:12 +00:00
Elliott Hughes
2a70aba846 am ab4fc823: Merge "Fix all resolv warnings and turn on -Werror."
* commit 'ab4fc82315567a1400bb25af3f835f1b5d80a0fe':
  Fix all resolv warnings and turn on -Werror.
2014-07-02 23:51:08 +00:00
Dmitriy Ivanov
fba3354e81 am 176f13a7: am afd37c42: Merge "Build fix"
* commit '176f13a70845555d6b5776ddacdae8771dccb13f':
  Build fix
2014-07-02 23:19:28 +00:00
Dmitriy Ivanov
176f13a708 am afd37c42: Merge "Build fix"
* commit 'afd37c429b14d63ee4144f00cf1fb8041f681f68':
  Build fix
2014-07-02 23:16:04 +00:00
Dmitriy Ivanov
e9fa0de5b0 am 8551bfb0: am 950a435f: Merge "Load library using file handle."
* commit '8551bfb04385781c3b8c68afaf9c055c22a4e985':
  Load library using file handle.
2014-07-02 23:13:56 +00:00
Elliott Hughes
f5bd675225 am 9ff95c47: am 99e2a2f0: Merge "Switch to upstream OpenBSD mktemp.c."
* commit '9ff95c4763bcbc44d25092510fde299f0ba0be7f':
  Switch to upstream OpenBSD mktemp.c.
2014-07-02 23:13:47 +00:00
Dmitriy Ivanov
6d3314f227 am f308174a: am 87b654ce: Merge "Disable local/protected symbol test for lp64"
* commit 'f308174ae2d0655385ae5f50bdd5ae9e3388265f':
  Disable local/protected symbol test for lp64
2014-07-02 23:13:44 +00:00
Dmitriy Ivanov
8551bfb043 am 950a435f: Merge "Load library using file handle."
* commit '950a435fc0dffc22a816194af175420176b86908':
  Load library using file handle.
2014-07-02 22:57:45 +00:00
Elliott Hughes
9ff95c4763 am 99e2a2f0: Merge "Switch to upstream OpenBSD mktemp.c."
* commit '99e2a2f04ca3bc4c66ecb91bc5abb378ec7c10ef':
  Switch to upstream OpenBSD mktemp.c.
2014-07-02 21:08:52 +00:00
Dmitriy Ivanov
f308174ae2 am 87b654ce: Merge "Disable local/protected symbol test for lp64"
* commit '87b654ce467934ab6a0fe1546341e4db42b5c344':
  Disable local/protected symbol test for lp64
2014-07-02 18:54:19 +00:00
Elliott Hughes
fd18df1e7d am 7ec1ba3e: am 4d299a2c: Merge "Build all bionic test files -Werror and fix our one warning."
* commit '7ec1ba3ed7735160786c7f4fa95accdd1dc5f5bf':
  Build all bionic test files -Werror and fix our one warning.
2014-07-02 00:46:18 +00:00
Elliott Hughes
a230741e47 am e20fcb2d: am e9975987: Merge "Quiten warnings in semaphore.c."
* commit 'e20fcb2d70af950cff4ae5df8038d800630e39be':
  Quiten warnings in semaphore.c.
2014-07-02 00:46:18 +00:00
Elliott Hughes
dc615691c9 am d103c98b: am f2102f54: Merge "Quiten warnings in fts.c."
* commit 'd103c98be845e060d86463a895c2e33aa8256839':
  Quiten warnings in fts.c.
2014-07-02 00:46:17 +00:00
Elliott Hughes
7ec1ba3ed7 am 4d299a2c: Merge "Build all bionic test files -Werror and fix our one warning."
* commit '4d299a2cf7880789e658f427196d1ca9fe02a9bc':
  Build all bionic test files -Werror and fix our one warning.
2014-07-02 00:41:14 +00:00
Elliott Hughes
e20fcb2d70 am e9975987: Merge "Quiten warnings in semaphore.c."
* commit 'e9975987900e5713c5b8b13e1817a243e92f79d9':
  Quiten warnings in semaphore.c.
2014-07-02 00:41:14 +00:00
Elliott Hughes
d103c98be8 am f2102f54: Merge "Quiten warnings in fts.c."
* commit 'f2102f54a0006c56033ab0ba62d48dc4b4e8b91a':
  Quiten warnings in fts.c.
2014-07-02 00:41:13 +00:00
Dmitriy Ivanov
053f4c9cb2 am 711b5584: am 105ef36c: Merge "Native tests are now multilib=both by default"
* commit '711b5584db13b6a2aca555e577c3d7cfb04946ab':
  Native tests are now multilib=both by default
2014-07-01 23:12:34 +00:00
Dmitriy Ivanov
711b5584db am 105ef36c: Merge "Native tests are now multilib=both by default"
* commit '105ef36c67baeebd2fd9c24b6140953afba4f160':
  Native tests are now multilib=both by default
2014-07-01 23:08:01 +00:00
Dan Albert
c492450147 am 30c958f7: am 42a5a177: Merge "Revert "Revert "Prevent symbols from libgcc from being reexported."""
* commit '30c958f7f5dfd712f11026c5caa78aa7d67f082d':
  Revert "Revert "Prevent symbols from libgcc from being reexported.""
2014-07-01 22:57:06 +00:00
Dan Albert
30c958f7f5 am 42a5a177: Merge "Revert "Revert "Prevent symbols from libgcc from being reexported."""
* commit '42a5a177e99ee2ba37e041cabbbc8175ed5c5dc5':
  Revert "Revert "Prevent symbols from libgcc from being reexported.""
2014-07-01 22:50:49 +00:00
Dmitriy Ivanov
4d8f3c4d99 am 51c812cd: am 442d41fc: Merge "Write message to stderr on __libc_fatal()"
* commit '51c812cd220cd9f493d61df98ca77dd0b5f000da':
  Write message to stderr on __libc_fatal()
2014-07-01 22:10:25 +00:00
Dmitriy Ivanov
51c812cd22 am 442d41fc: Merge "Write message to stderr on __libc_fatal()"
* commit '442d41fc128646d7f572da842d5d5b1918341c53':
  Write message to stderr on __libc_fatal()
2014-07-01 22:05:49 +00:00
Dmitriy Ivanov
eff2f8bc2c am aa355352: am 176ccd49: Merge "Add support for protected local symbol lookup."
* commit 'aa3553521b82e7fbec242cdc5280d1aa626a47e6':
  Add support for protected local symbol lookup.
2014-07-01 21:36:00 +00:00
Dmitriy Ivanov
aa3553521b am 176ccd49: Merge "Add support for protected local symbol lookup."
* commit '176ccd4925c682f036141c8618650b16912b9bd4':
  Add support for protected local symbol lookup.
2014-07-01 21:30:04 +00:00
Elliott Hughes
eae0d91dd5 am 94f8beb7: am dc42d7ff: Merge "Fix a warning in if_indextoname.c."
* commit '94f8beb7e3450204bb117ca2301c1769a9b76dc2':
  Fix a warning in if_indextoname.c.
2014-07-01 19:39:38 +00:00
Elliott Hughes
94f8beb7e3 am dc42d7ff: Merge "Fix a warning in if_indextoname.c."
* commit 'dc42d7ff6b792f72cfe09d8bbc2fd1f342d1d9fb':
  Fix a warning in if_indextoname.c.
2014-07-01 19:33:53 +00:00
Elliott Hughes
ff7d2d0920 am 56d0f8ca: am f573a52c: Merge "Silence time64.c build warnings."
* commit '56d0f8ca50900edca67e24cfdcfb33824551b0c2':
  Silence time64.c build warnings.
2014-07-01 18:25:16 +00:00
Elliott Hughes
56d0f8ca50 am f573a52c: Merge "Silence time64.c build warnings."
* commit 'f573a52cf3a814504e5d5a6b62d74ba9516f7a28':
  Silence time64.c build warnings.
2014-07-01 18:18:04 +00:00
Christopher Ferris
f1be48d4c2 am 4ba40564: am 4ec3bc83: Merge "Add optimized stpcpy."
* commit '4ba40564c62bbd6ac52e53aad003bb424f1e8f10':
  Add optimized stpcpy.
2014-07-01 02:57:13 +00:00
Christopher Ferris
4ba40564c6 am 4ec3bc83: Merge "Add optimized stpcpy."
* commit '4ec3bc83c632132bda915d00b5bc716dc6ab8dd8':
  Add optimized stpcpy.
2014-07-01 02:52:05 +00:00
Nick Kralevich
b18a1c3d19 am e844f27a: am bcf77b5d: Merge "add CLOEXEC to various DNS related code"
* commit 'e844f27a05b32b7bf2fd68b1bd69e450040c1e24':
  add CLOEXEC to various DNS related code
2014-06-30 23:23:47 +00:00
Nick Kralevich
e844f27a05 am bcf77b5d: Merge "add CLOEXEC to various DNS related code"
* commit 'bcf77b5dfff2c93187c42c613ada6d2b97bb02d4':
  add CLOEXEC to various DNS related code
2014-06-30 23:20:54 +00:00
Elliott Hughes
dd9efcbab6 am c5f1504e: am 6cdab387: Merge "Restore <nsswitch.h> which is BSD API, not private."
* commit 'c5f1504e3db3a39bb951bf01e2d0d758ca93cc44':
  Restore <nsswitch.h> which is BSD API, not private.
2014-06-30 23:16:01 +00:00
Elliott Hughes
c5f1504e3d am 6cdab387: Merge "Restore <nsswitch.h> which is BSD API, not private."
* commit '6cdab387b3fa6900ba918318edc426b5cb62b66e':
  Restore <nsswitch.h> which is BSD API, not private.
2014-06-30 23:10:03 +00:00
Elliott Hughes
27cc284e02 am 0bdbc499: am 260846f3: Merge "Reinstate the x86 dynamic linker warning for text relocations."
* commit '0bdbc499baf361e1b04ba97baf60e0ccdbddeb04':
  Reinstate the x86 dynamic linker warning for text relocations.
2014-06-30 22:08:04 +00:00
Elliott Hughes
0bdbc499ba am 260846f3: Merge "Reinstate the x86 dynamic linker warning for text relocations."
* commit '260846f374f88ba6686bff8ab33c17c487c7a8f7':
  Reinstate the x86 dynamic linker warning for text relocations.
2014-06-30 22:04:33 +00:00
Christopher Ferris
76437dc7b0 am 6464c7e4: am eac2bbf0: Merge "Add extra strchr testing."
* commit '6464c7e4437b73da41c1c77b0225fb0d964d7445':
  Add extra strchr testing.
2014-06-30 20:08:48 +00:00
Christopher Ferris
6464c7e443 am eac2bbf0: Merge "Add extra strchr testing."
* commit 'eac2bbf0fce2da710bb086414ad1054568747a42':
  Add extra strchr testing.
2014-06-30 20:03:43 +00:00
Elliott Hughes
71ee128e0c am e1047515: am f72c56d6: Merge "Switch to upstream NetBSD nsap_addr.c."
* commit 'e104751566da6e8ef340926781d5ef120bf1d801':
  Switch to upstream NetBSD nsap_addr.c.
2014-06-30 19:44:47 +00:00
Elliott Hughes
e104751566 am f72c56d6: Merge "Switch to upstream NetBSD nsap_addr.c."
* commit 'f72c56d66a79492310389b6065b76fc03b518407':
  Switch to upstream NetBSD nsap_addr.c.
2014-06-30 19:39:25 +00:00
Dmitriy Ivanov
59d4f55ab5 am 33c1af30: am e5c759ff: Merge "Disallow dlopen("egl/blah.so") on LP64"
* commit '33c1af30706ed0869b3997f2ee0f087e55b56676':
  Disallow dlopen("egl/blah.so") on LP64
2014-06-30 18:07:02 +00:00
Dmitriy Ivanov
33c1af3070 am e5c759ff: Merge "Disallow dlopen("egl/blah.so") on LP64"
* commit 'e5c759ff3a602f884cdac011600dc64645bce93e':
  Disallow dlopen("egl/blah.so") on LP64
2014-06-30 18:01:38 +00:00
Colin Cross
4720dc7372 am 26dde2d2: am ddc44974: Merge "Revert "HACK: linker: check for handle==0xffffffff on LP64""
* commit '26dde2d2e407b45ebeeacd9784823ff1c8f78f64':
  Revert "HACK: linker: check for handle==0xffffffff on LP64"
2014-06-29 03:24:21 +00:00
Colin Cross
26dde2d2e4 am ddc44974: Merge "Revert "HACK: linker: check for handle==0xffffffff on LP64""
* commit 'ddc449748bc3ff0ba574be00f4bbac9fba242e33':
  Revert "HACK: linker: check for handle==0xffffffff on LP64"
2014-06-28 00:49:03 +00:00
Christopher Ferris
29642e8ec6 am d1bf0706: am 2e249c2e: Merge "Add optimized 64 bit strcpy."
* commit 'd1bf0706425d7ee4b6fd99fbda7653b788c1eb6f':
  Add optimized 64 bit strcpy.
2014-06-27 22:40:14 +00:00
Christopher Ferris
d1bf070642 am 2e249c2e: Merge "Add optimized 64 bit strcpy."
* commit '2e249c2e7a1bc2290d34c77d48206e97b8b883b6':
  Add optimized 64 bit strcpy.
2014-06-27 22:34:48 +00:00
Elliott Hughes
26c69d6438 am 5d4cb156: am ec97c3f0: Merge "asm/sigcontext.h is required to build unwind-dw2.c in gcc-4.9."
* commit '5d4cb15610e91c99b062589e6297d423ed2e1176':
  asm/sigcontext.h is required to build unwind-dw2.c in gcc-4.9.
2014-06-27 21:30:20 +00:00
Elliott Hughes
5d4cb15610 am ec97c3f0: Merge "asm/sigcontext.h is required to build unwind-dw2.c in gcc-4.9."
* commit 'ec97c3f0246680c77a2f9d72e0f1600f799e1754':
  asm/sigcontext.h is required to build unwind-dw2.c in gcc-4.9.
2014-06-27 21:24:48 +00:00
Christopher Ferris
35cf5c59b9 am 627a8096: am a4a28d90: Merge "Add optimized neon strchr implementation based on newlib"
* commit '627a8096ea34a4dfe790a1a85617136e58e0ba4a':
  Add optimized neon strchr implementation based on newlib
2014-06-27 19:52:09 +00:00
Christopher Ferris
627a8096ea am a4a28d90: Merge "Add optimized neon strchr implementation based on newlib"
* commit 'a4a28d90f30dad54a7851176ddffee435d75f83f':
  Add optimized neon strchr implementation based on newlib
2014-06-27 19:46:41 +00:00
Elliott Hughes
aca4068ca9 am 5f3bf515: am 3df0774b: Merge "Add a new pthread_key_delete test."
* commit '5f3bf51532704e3f92d93427ff136a5b091e67c4':
  Add a new pthread_key_delete test.
2014-06-25 21:09:44 +00:00
Elliott Hughes
5f3bf51532 am 3df0774b: Merge "Add a new pthread_key_delete test."
* commit '3df0774b15cfe85033c23d5e51b6f5174bf0559f':
  Add a new pthread_key_delete test.
2014-06-25 21:03:59 +00:00
Elliott Hughes
f9ebc87c2c am e3ee7819: am ba4ebf78: Merge "Change the LP64 off_t/loff_t/off64_t definitions to reduce warnings."
* commit 'e3ee7819378096fcc207262704dafea54101b712':
  Change the LP64 off_t/loff_t/off64_t definitions to reduce warnings.
2014-06-25 20:47:33 +00:00
Elliott Hughes
e3ee781937 am ba4ebf78: Merge "Change the LP64 off_t/loff_t/off64_t definitions to reduce warnings."
* commit 'ba4ebf78ad29ab2ee57c05807140bdf751f59cc6':
  Change the LP64 off_t/loff_t/off64_t definitions to reduce warnings.
2014-06-25 19:27:59 +00:00
Elliott Hughes
671ffdbf0e am 19fe877e: am d59ed678: Merge "Add splice, tee, and vmsplice."
* commit '19fe877ec35b7ff7d356d6f4020e77886fff89e2':
  Add splice, tee, and vmsplice.
2014-06-25 02:19:53 +00:00
Elliott Hughes
19fe877ec3 am d59ed678: Merge "Add splice, tee, and vmsplice."
* commit 'd59ed678fe6d6bc5aeb1566004490126bd552df4':
  Add splice, tee, and vmsplice.
2014-06-25 02:14:34 +00:00
Elliott Hughes
8a41df6521 am cc9acb8d: am 52f9b051: Merge "Sync to current upstream arc4random."
* commit 'cc9acb8d7b10304e2cb215b471dc9f9636de47f8':
  Sync to current upstream arc4random.
2014-06-25 00:28:09 +00:00
Elliott Hughes
cc9acb8d7b am 52f9b051: Merge "Sync to current upstream arc4random."
* commit '52f9b051c8bcb3d723b023a74d7d89ee45cf754c':
  Sync to current upstream arc4random.
2014-06-24 21:33:42 +00:00
Elliott Hughes
256f07ec5c am 1411afd6: am 598f4b3a: Merge "Fix getpid caching across a clone."
* commit '1411afd6d18ee363b96c8e4b20561d5e946abfbf':
  Fix getpid caching across a clone.
2014-06-24 19:42:41 +00:00
Elliott Hughes
1411afd6d1 am 598f4b3a: Merge "Fix getpid caching across a clone."
* commit '598f4b3ac1be3c6ef3af613ac4b0694841e165fe':
  Fix getpid caching across a clone.
2014-06-24 19:35:23 +00:00
Calin Juravle
05509541af am b52d7e7b: am 63fa660b: Merge "Prefix cmsg_nxthdr with "__"."
* commit 'b52d7e7b6ebfac476a1f9506a1a8b2999797ef15':
  Prefix cmsg_nxthdr with "__".
2014-06-24 12:32:41 +00:00
Calin Juravle
b52d7e7b6e am 63fa660b: Merge "Prefix cmsg_nxthdr with "__"."
* commit '63fa660b52f1e9717f0a2105d4861a4b48c330b1':
  Prefix cmsg_nxthdr with "__".
2014-06-24 11:02:06 +00:00
Dan Albert
15a75decbf am af8046a9: am 66a805b9: Merge "Revert "Prevent symbols from libgcc from being reexported.""
* commit 'af8046a9f9ee4d341047dfff156077d7e7a559db':
  Revert "Prevent symbols from libgcc from being reexported."
2014-06-23 21:26:33 +00:00
Dan Albert
af8046a9f9 am 66a805b9: Merge "Revert "Prevent symbols from libgcc from being reexported.""
* commit '66a805b91e53ae89d029d31f9e8b385bc79ac04a':
  Revert "Prevent symbols from libgcc from being reexported."
2014-06-23 21:21:36 +00:00
Dan Albert
ff1917e08d am 203ec23c: am 559f3cb5: Merge "Use __builtin_*_chk for bcopy/bzero."
* commit '203ec23c4b92d76b6bc2597d7d07b7e01e52d83e':
  Use __builtin_*_chk for bcopy/bzero.
2014-06-23 17:12:18 +00:00
Dan Albert
203ec23c4b am 559f3cb5: Merge "Use __builtin_*_chk for bcopy/bzero."
* commit '559f3cb532f2740f1c86d16663ad23dad6aa96e8':
  Use __builtin_*_chk for bcopy/bzero.
2014-06-23 17:08:26 +00:00
Dan Albert
0163222d18 am b5e050d2: am 54e9dc02: Merge "Prevent symbols from libgcc from being reexported."
* commit 'b5e050d2f98d7a196ac85ffae42ebc057985a664':
  Prevent symbols from libgcc from being reexported.
2014-06-21 10:36:53 +00:00
Dan Albert
509cf86c80 am 4b62f0d8: am 0d7415fb: Merge "Remove SHA1 from LP64 in favor of libcrypto."
* commit '4b62f0d809e6a29366f8bbc987b4091b0fb94863':
  Remove SHA1 from LP64 in favor of libcrypto.
2014-06-21 10:36:52 +00:00
Dan Albert
b5e050d2f9 am 54e9dc02: Merge "Prevent symbols from libgcc from being reexported."
* commit '54e9dc02138838fdb7a89e62467c369e3cf1f41f':
  Prevent symbols from libgcc from being reexported.
2014-06-21 09:47:23 +00:00
Dan Albert
4b62f0d809 am 0d7415fb: Merge "Remove SHA1 from LP64 in favor of libcrypto."
* commit '0d7415fb225573c37ff9e880957cd2044dd658ce':
  Remove SHA1 from LP64 in favor of libcrypto.
2014-06-21 09:47:20 +00:00
Christopher Ferris
92f979725f am 6131798e: am ac86f994: Merge "[MIPS64] Regenerate mips kernel headers with fixed tool"
* commit '6131798e574d85200053d93bc2673ab5a0f715fe':
  [MIPS64] Regenerate mips kernel headers with fixed tool
2014-06-21 01:06:58 +00:00
Christopher Ferris
4a96c1b216 am 40b85d34: am eee5f173: Merge "[MIPS64] Adjust kernel/tools for mips32,mips64 headers"
* commit '40b85d34e0f87bdb0ede4c36d6389a7af9c6548c':
  [MIPS64] Adjust kernel/tools for mips32,mips64 headers
2014-06-21 01:06:57 +00:00
Christopher Ferris
6131798e57 am ac86f994: Merge "[MIPS64] Regenerate mips kernel headers with fixed tool"
* commit 'ac86f99405707aa099e11d97cd68bfe011cf7a32':
  [MIPS64] Regenerate mips kernel headers with fixed tool
2014-06-21 01:03:44 +00:00
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
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
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
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
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
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
Christopher Ferris
40bc7cd4ed DO NOT MERGE Re-add .save directive for arm assembler code.
Restored the .save directives so that the libcorkscrew unwinder continues
to function.

Bug: 15701117
Change-Id: I853695a299548b84c78ae8147b9757dbeacdb1ec
2014-06-18 12:54:59 -07: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
Dan Albert
b86ffd8d82 am 1ef3ba2b: Merge "Revert "Hide declaration of gets(3) for C11 and later.""
* commit '1ef3ba2b4fd2408cdd78828ec2930ce31ce8cee7':
  Revert "Hide declaration of gets(3) for C11 and later."
2014-06-17 23:39:30 +00:00
Dan Albert
7cd4e72561 am 285a1c13: am 185c399c: Merge "Hide declaration of gets(3) for C11 and later."
* commit '285a1c13482f64813dd8f5dd54b479199c0f2569':
  Hide declaration of gets(3) for C11 and later.
2014-06-17 23:34:10 +00:00
Dan Albert
285a1c1348 am 185c399c: Merge "Hide declaration of gets(3) for C11 and later."
* commit '185c399c581f867ad288737b5f824a1fda1f6aaf':
  Hide declaration of gets(3) for C11 and later.
2014-06-17 23:30:18 +00:00
Dmitriy Ivanov
a537ec85ea am 65806a84: am 1d2b4c02: Merge "Move libraries for unit-tests to separate folder"
* commit '65806a842b5b3475b4481325a56227492a4e063a':
  Move libraries for unit-tests to separate folder
2014-06-17 23:29:40 +00:00
Dmitriy Ivanov
65806a842b am 1d2b4c02: Merge "Move libraries for unit-tests to separate folder"
* commit '1d2b4c022c419e1e85336fa44e644772eefb8b64':
  Move libraries for unit-tests to separate folder
2014-06-17 23:25:55 +00:00
Elliott Hughes
d150eab4ed am c02f242d: am b6ca7474: Merge "Add a flag control that PRIVATE libm can be chosen"
* commit 'c02f242d330f11ccfd6322164ce1b16861416ff1':
  Add a flag control that PRIVATE libm can be chosen
2014-06-17 22:45:46 +00:00
Elliott Hughes
c02f242d33 am b6ca7474: Merge "Add a flag control that PRIVATE libm can be chosen"
* commit 'b6ca7474023f7832d4230756781031b7687517e6':
  Add a flag control that PRIVATE libm can be chosen
2014-06-17 22:42:16 +00:00
Elliott Hughes
8a72b6187f am 775b2a0d: am 4ac22649: Merge "Add <linux/tty.h> to libc/include/sys/ioctl.h"
* commit '775b2a0d9ca8ba17f9f443b203536c9879bd519c':
  Add <linux/tty.h> to libc/include/sys/ioctl.h
2014-06-17 21:58:19 +00:00
Elliott Hughes
775b2a0d9c am 4ac22649: Merge "Add <linux/tty.h> to libc/include/sys/ioctl.h"
* commit '4ac22649441339d0a81e0fc6428ac7f1867ffe6f':
  Add <linux/tty.h> to libc/include/sys/ioctl.h
2014-06-17 21:53:05 +00:00
Christopher Ferris
49b7175138 am d61729c0: am b656410a: Merge "Use a separate config.h for config like defines."
* commit 'd61729c0a55ce139c57cbf526cbfd3e448e3d3f1':
  Use a separate config.h for config like defines.
2014-06-17 18:35:46 +00:00
Christopher Ferris
d61729c0a5 am b656410a: Merge "Use a separate config.h for config like defines."
* commit 'b656410a73c4dfa2a3f8deba0a673080320f8605':
  Use a separate config.h for config like defines.
2014-06-17 18:30:28 +00:00
Christopher Ferris
c92354b66d am 6589ba15: am d10d3acd: Merge "Move jemalloc due to whole_static_library bug."
* commit '6589ba1561fd97785a0eb5c2eb8cc7d41a5b83e1':
  Move jemalloc due to whole_static_library bug.
2014-06-17 01:47:47 +00:00
Christopher Ferris
6589ba1561 am d10d3acd: Merge "Move jemalloc due to whole_static_library bug."
* commit 'd10d3acd45d045e5a705d22c2297483765e40f5f':
  Move jemalloc due to whole_static_library bug.
2014-06-17 00:57:37 +00:00
Dan Albert
c4978a5646 am 7a11b7a6: am a217a0cd: Merge "libc: Fix \'index\' symbol export."
* commit '7a11b7a674805f8373fd9f126ee46721ccab8eeb':
  libc: Fix 'index' symbol export.
2014-06-16 22:13:20 +00:00
Dan Albert
f3fc2fe72c am c732859d: am 4fb0d4fb: Merge "Revert "Revert "Remove ftime from bionic LP64"""
* commit 'c732859d241a182dc0a9c8b2a2bca9ec5926cd39':
  Revert "Revert "Remove ftime from bionic LP64""
2014-06-16 22:13:08 +00:00
Dan Albert
15d00e2989 am f49791fd: am 9a3ad98f: Merge "Removes getdtablesize(3) from LP64."
* commit 'f49791fd8767a3b09fe70febc9142da45c4398f1':
  Removes getdtablesize(3) from LP64.
2014-06-16 22:13:05 +00:00
Dan Albert
7a11b7a674 am a217a0cd: Merge "libc: Fix \'index\' symbol export."
* commit 'a217a0cdb3ff78f6b59d64fd4356f87643ad9d1e':
  libc: Fix 'index' symbol export.
2014-06-16 20:25:14 +00:00
Elliott Hughes
b618aa818d am fe6e646c: Update NOTICE files.
* commit 'fe6e646cb79fe15d7815fdb9c92cc66be56ab1d4':
  Update NOTICE files.
2014-06-16 20:05:43 +00:00
Dan Albert
c732859d24 am 4fb0d4fb: Merge "Revert "Revert "Remove ftime from bionic LP64"""
* commit '4fb0d4fb312ed696081200e65ce9bf643928e5e6':
  Revert "Revert "Remove ftime from bionic LP64""
2014-06-16 19:57:15 +00:00
Dan Albert
f49791fd87 am 9a3ad98f: Merge "Removes getdtablesize(3) from LP64."
* commit '9a3ad98fd69a276f7c5fca0489d5657be75fcf69':
  Removes getdtablesize(3) from LP64.
2014-06-16 19:36:18 +00:00
Elliott Hughes
fe6e646cb7 Update NOTICE files.
Change-Id: I459caf48ba861372a4d0bc75f98a9cb4acc20fd5
2014-06-16 10:24:37 -07:00
Dan Albert
ca24f7dcfa am 38ebfc09: am 72dc1c22: Merge "Revert "Backing this one out since the counterpart needs to be sent upstream.""
* commit '38ebfc09ea610687d028db5f0a7b8f6789932288':
  Revert "Backing this one out since the counterpart needs to be sent upstream."
2014-06-14 01:22:09 +00:00
Dan Albert
758f56d368 am 54c61d57: am b84783ec: Merge "Backing this one out since the counterpart needs to be sent upstream."
* commit '54c61d5715715ac7f1c6a4f7a53f981e09dc7134':
  Backing this one out since the counterpart needs to be sent upstream.
2014-06-14 01:17:44 +00:00
Dan Albert
38ebfc09ea am 72dc1c22: Merge "Revert "Backing this one out since the counterpart needs to be sent upstream.""
* commit '72dc1c22dc6a92dea925398c9e3880364ab29c1c':
  Revert "Backing this one out since the counterpart needs to be sent upstream."
2014-06-14 01:16:56 +00:00
Dan Albert
dd45ea3c08 am 263fe685: am 65b1c90a: Merge "Hides valloc(3)/pvalloc(3) on LP64."
* commit '263fe68548f430d532517056963cb5de6863b9cc':
  Hides valloc(3)/pvalloc(3) on LP64.
2014-06-14 00:58:02 +00:00
Dan Albert
4ef9bbb01d am 080c820d: am b725e762: Merge "Removes wait3(2) from LP64."
* commit '080c820d3f4506f5ef2c2ccc90c0197342b33472':
  Removes wait3(2) from LP64.
2014-06-14 00:58:02 +00:00
Dan Albert
54c61d5715 am b84783ec: Merge "Backing this one out since the counterpart needs to be sent upstream."
* commit 'b84783ecaa71f9450152f8d9b5f97e1b07f05ef6':
  Backing this one out since the counterpart needs to be sent upstream.
2014-06-14 00:57:50 +00:00
Dan Albert
263fe68548 am 65b1c90a: Merge "Hides valloc(3)/pvalloc(3) on LP64."
* commit '65b1c90a32036cbb06ff610fbae545b65ae8b72d':
  Hides valloc(3)/pvalloc(3) on LP64.
2014-06-14 00:28:38 +00:00
Dan Albert
080c820d3f am b725e762: Merge "Removes wait3(2) from LP64."
* commit 'b725e7627f0e35d0c7acb1c09fe3cb89b0a4d481':
  Removes wait3(2) from LP64.
2014-06-14 00:28:37 +00:00
Dan Albert
0af830d29c am 0021dcef: am f87ac523: Merge "Remove ioprio_get(2) and ioprio_set(2) from LP64."
* commit '0021dcef7214823824555d9d694a59e2f4aba45d':
  Remove ioprio_get(2) and ioprio_set(2) from LP64.
2014-06-13 22:26:51 +00:00
Elliott Hughes
1f29fd72c8 am 7e6f6965: am 1e7ae47d: Merge "Bring our "libresolv" stuff in line with glibc."
* commit '7e6f6965982183ebae357e61e7bad55b91e97cc9':
  Bring our "libresolv" stuff in line with glibc.
2014-06-13 21:50:45 +00:00
Elliott Hughes
edf7d7a723 am f005d976: am 15330331: Merge "Upgrade to tzdata2014e."
* commit 'f005d9769096d92a31d3b4377d29fcc251a07c87':
  Upgrade to tzdata2014e.
2014-06-13 21:50:16 +00:00
Dan Albert
0021dcef72 am f87ac523: Merge "Remove ioprio_get(2) and ioprio_set(2) from LP64."
* commit 'f87ac523a1aa02490d67330e74180c8ac2d78420':
  Remove ioprio_get(2) and ioprio_set(2) from LP64.
2014-06-13 20:59:55 +00:00
Elliott Hughes
7e6f696598 am 1e7ae47d: Merge "Bring our "libresolv" stuff in line with glibc."
* commit '1e7ae47d40aad100fa16731418ac8af7b9919da7':
  Bring our "libresolv" stuff in line with glibc.
2014-06-13 19:03:57 +00:00
Elliott Hughes
f005d97690 am 15330331: Merge "Upgrade to tzdata2014e."
* commit '15330331b60a4d5e352eda284b4cf3a4c1963ba2':
  Upgrade to tzdata2014e.
2014-06-13 18:06:02 +00:00
Elliott Hughes
773b85eff8 am a335c869: am 0f690d9e: Merge "Fix x86-64 libvpx build."
* commit 'a335c869748b133c661cc1efff3028984ee9f7aa':
  Fix x86-64 libvpx build.
2014-06-13 10:24:38 +00:00
Elliott Hughes
a335c86974 am 0f690d9e: Merge "Fix x86-64 libvpx build."
* commit '0f690d9eda1893e66223138d2b930eb3e0164820':
  Fix x86-64 libvpx build.
2014-06-13 03:17:05 +00:00
Elliott Hughes
619d0fe581 am e9e92749: am ae3c6af3: Merge "[MIPS64] linker64 requires startup code"
* commit 'e9e9274941b41e9cc7ef1bc332faa1e29b9da11a':
  [MIPS64] linker64 requires startup code
2014-06-13 02:43:02 +00:00
Elliott Hughes
e9e9274941 am ae3c6af3: Merge "[MIPS64] linker64 requires startup code"
* commit 'ae3c6af3e536cd8bdf6f2cf1495b5d7463feb1a5':
  [MIPS64] linker64 requires startup code
2014-06-13 02:40:10 +00:00
Elliott Hughes
62e50ea8de am 294cae0f: am 1aaed87f: Merge "Somewhere, the declaration of _resolv_delete_cache_for_net went missing."
* commit '294cae0f18ceae96e1a5f8b42ae9fd8064b98746':
  Somewhere, the declaration of _resolv_delete_cache_for_net went missing.
2014-06-13 01:51:30 +00:00
Elliott Hughes
294cae0f18 am 1aaed87f: Merge "Somewhere, the declaration of _resolv_delete_cache_for_net went missing."
* commit '1aaed87f7f75aafe3cd99857c33e1cf4fa73c95d':
  Somewhere, the declaration of _resolv_delete_cache_for_net went missing.
2014-06-13 01:48:11 +00:00
Christopher Ferris
ec93f16302 am 9552809d: am 2ba734d8: Merge "Fix %u format that should have been %zu."
* commit '9552809d30a6f1ac54af8c8e9bcb616bd4da6c93':
  Fix %u format that should have been %zu.
2014-06-13 01:31:43 +00:00
Christopher Ferris
9552809d30 am 2ba734d8: Merge "Fix %u format that should have been %zu."
* commit '2ba734d8cd370d9cdb544f4d3afecc9a13e35116':
  Fix %u format that should have been %zu.
2014-06-13 01:29:55 +00:00
Elliott Hughes
48691a0bb4 am eb917428: am ff17671b: Merge "Add a hack to <stdlib.h> until we can fix libvpx."
* commit 'eb91742861607539fa88ae6d962597dde00ff860':
  Add a hack to <stdlib.h> until we can fix libvpx.
2014-06-13 01:12:14 +00:00
Elliott Hughes
eb91742861 am ff17671b: Merge "Add a hack to <stdlib.h> until we can fix libvpx."
* commit 'ff17671bc630d294903aa2827b76156590b09629':
  Add a hack to <stdlib.h> until we can fix libvpx.
2014-06-13 01:09:49 +00:00
Elliott Hughes
bbc485c892 am cc24144e: am 5d25d548: Merge "Remove __memcmp16 from bionic."
* commit 'cc24144e5b431d5eb7d688a7f8f32c743c6469e0':
  Remove __memcmp16 from bionic.
2014-06-13 00:54:44 +00:00
Elliott Hughes
cc24144e5b am 5d25d548: Merge "Remove __memcmp16 from bionic."
* commit '5d25d5480ab1e02d8f1e39f5936a3180e84a842c':
  Remove __memcmp16 from bionic.
2014-06-13 00:52:12 +00:00
Elliott Hughes
b38018f786 am c189362d: am 564222e3: Merge "Use default hidden visibility to build libc_dns."
* commit 'c189362d879520243cc9e1ba65b9828165efa159':
  Use default hidden visibility to build libc_dns.
2014-06-13 00:48:44 +00:00
Christopher Ferris
658150d431 am d92ba899: am 29ddd78c: Merge "Put all allocation functions into dispatch table."
* commit 'd92ba899450953e5ec9259f826c1790fc09004f7':
  Put all allocation functions into dispatch table.
2014-06-13 00:48:43 +00:00
Elliott Hughes
c189362d87 am 564222e3: Merge "Use default hidden visibility to build libc_dns."
* commit '564222e3384eb1c649bc75650deb847c40ec7da3':
  Use default hidden visibility to build libc_dns.
2014-06-13 00:44:36 +00:00
Christopher Ferris
d92ba89945 am 29ddd78c: Merge "Put all allocation functions into dispatch table."
* commit '29ddd78c21b15117bc7d4fc196f3a503f3aab3e2':
  Put all allocation functions into dispatch table.
2014-06-13 00:44:35 +00:00
Elliott Hughes
78ad3cd2eb am d13ff0f0: am 346fa721: Merge "Get the full set of PRNG functions in <stdlib.h>"
* commit 'd13ff0f0b3c228753b11ac55015618978b49ada3':
  Get the full set of PRNG functions in <stdlib.h>
2014-06-12 22:05:50 +00:00
Elliott Hughes
d13ff0f0b3 am 346fa721: Merge "Get the full set of PRNG functions in <stdlib.h>"
* commit '346fa721ca20e481a624930425d823d452e11dfe':
  Get the full set of PRNG functions in <stdlib.h>
2014-06-12 22:03:45 +00:00
Christopher Ferris
99ec7df7ac am 4a448223: am 3d5e0b20: Merge "Add/Remove mmap tests."
* commit '4a448223d7183c39bc59b6252d85c2a0c08d2c99':
  Add/Remove mmap tests.
2014-06-12 21:16:52 +00:00
Christopher Ferris
4a448223d7 am 3d5e0b20: Merge "Add/Remove mmap tests."
* commit '3d5e0b2045f899e27a071dc228dafc9378e90798':
  Add/Remove mmap tests.
2014-06-12 21:10:21 +00:00
Dan Albert
8e20420064 am fde37008: am 37b845f9: Merge "Remove declaration for putw(3)/getw(3)."
* commit 'fde37008e514d408ba8075144a1903c1509707e8':
  Remove declaration for putw(3)/getw(3).
2014-06-12 20:33:33 +00:00
Dan Albert
fde37008e5 am 37b845f9: Merge "Remove declaration for putw(3)/getw(3)."
* commit '37b845f9e410e326f24fa8c820774d92eafa4dd3':
  Remove declaration for putw(3)/getw(3).
2014-06-12 20:29:55 +00:00
Elliott Hughes
af7fb0add2 am 9e57d478: am b67a3c27: Merge "Fix GCC 4.9 complaint about int/size_t mismatch."
* commit '9e57d478ec1d484f811e320300bb2a69dd615f4b':
  Fix GCC 4.9 complaint about int/size_t mismatch.
2014-06-12 20:04:30 +00:00
Elliott Hughes
9e57d478ec am b67a3c27: Merge "Fix GCC 4.9 complaint about int/size_t mismatch."
* commit 'b67a3c271616d7b2506ead15e97c6a840b5eb5a8':
  Fix GCC 4.9 complaint about int/size_t mismatch.
2014-06-12 20:00:08 +00:00
Elliott Hughes
fcaa13e354 am e1c47a2e: am d242aff4: Merge "Fix most of the tzcode warnings."
* commit 'e1c47a2e87985d339ef5a85dbf637c42736b0ba7':
  Fix most of the tzcode warnings.
2014-06-12 19:23:42 +00:00
Elliott Hughes
849750a0c0 am b7d9d296: am b28d3748: Merge "Size the benchmark name column appropriately."
* commit 'b7d9d29653e06bbbbcbd6f7a3168c74a4766f2a4':
  Size the benchmark name column appropriately.
2014-06-12 19:23:41 +00:00
Elliott Hughes
e1c47a2e87 am d242aff4: Merge "Fix most of the tzcode warnings."
* commit 'd242aff47dc4eaa5081dc7af821308d353cd1090':
  Fix most of the tzcode warnings.
2014-06-12 18:55:23 +00:00
Elliott Hughes
b7d9d29653 am b28d3748: Merge "Size the benchmark name column appropriately."
* commit 'b28d37482ed9f179842a991d142bea52d9026d5b':
  Size the benchmark name column appropriately.
2014-06-12 18:55:23 +00:00
Elliott Hughes
ea13c54b17 am e02086a6: am 2c02d005: Merge "Add __pure2 to a few more functions, most notably gettid and pthread_self."
* commit 'e02086a6dc789b427c817b39a6adb9c50db8f70d':
  Add __pure2 to a few more functions, most notably gettid and pthread_self.
2014-06-11 23:44:01 +00:00
Elliott Hughes
e02086a6dc am 2c02d005: Merge "Add __pure2 to a few more functions, most notably gettid and pthread_self."
* commit '2c02d0057c93bfa6db4b30d8646baeb55d076062':
  Add __pure2 to a few more functions, most notably gettid and pthread_self.
2014-06-11 23:39:47 +00:00
Elliott Hughes
972f13c85b am c6b6c27c: am ab66d360: Merge "Fix mbrtoc32 test from tests/uchar_test.cpp for x86."
* commit 'c6b6c27caec6138b2d9c524a0287b5ae1e4553e3':
  Fix mbrtoc32 test from tests/uchar_test.cpp for x86.
2014-06-11 23:08:30 +00:00
Elliott Hughes
c6b6c27cae am ab66d360: Merge "Fix mbrtoc32 test from tests/uchar_test.cpp for x86."
* commit 'ab66d360bc6f543b6c26400067e50db3134798e1':
  Fix mbrtoc32 test from tests/uchar_test.cpp for x86.
2014-06-11 23:06:02 +00:00
Dan Albert
cb7048138a am 6f7f1caa: am 48082a0a: Merge "Remove declarations related to cuserid(3)."
* commit '6f7f1caa1dc14c3f8b522653d20aa5075b7203f2':
  Remove declarations related to cuserid(3).
2014-06-11 21:49:00 +00:00
Dan Albert
4880b0a820 am abf16559: am 440bd6bc: Merge "Replaces vfork() implementation with fork()"
* commit 'abf16559d31c49d52fba6f42a3d7b4566de0493b':
  Replaces vfork() implementation with fork()
2014-06-11 21:38:19 +00:00
Elliott Hughes
c6003c11c8 am 7c38499e: am 0ada9388: Merge "Add a couple more system call benchmarks."
* commit '7c38499edabc93b3c685fa7accc6c63a94d8b81d':
  Add a couple more system call benchmarks.
2014-06-11 21:37:51 +00:00
Elliott Hughes
617573af9f am b94b1bc0: am 80664231: Merge "Revert "Temporarily expose dlmalloc_usable_size.""
* commit 'b94b1bc0342744d351db8f7720dfec8bd2279784':
  Revert "Temporarily expose dlmalloc_usable_size."
2014-06-11 21:37:50 +00:00
Christopher Ferris
33537e3190 am d9d37cfe: am 30d15e54: Merge "Allow bionic-unit-tests-glibc to be built again."
* commit 'd9d37cfe218c83c99aa77e6f057b737e5ddc2061':
  Allow bionic-unit-tests-glibc to be built again.
2014-06-11 21:37:48 +00:00
Dan Albert
6f7f1caa1d am 48082a0a: Merge "Remove declarations related to cuserid(3)."
* commit '48082a0a6e2f74cdc2ad1820131eca7d00299b6d':
  Remove declarations related to cuserid(3).
2014-06-11 21:33:15 +00:00
Elliott Hughes
3c111b0d2a am 95f6cfc9: am bdb8b21d: Merge "AArch64: Fix memcmp16() test"
* commit '95f6cfc9719700d7f419b31ffc1f75209da53c28':
  AArch64: Fix memcmp16() test
2014-06-11 19:33:33 +00:00
Elliott Hughes
4e863b2f21 am df8a09b1: am 2b8246fa: Merge "Hide rand48 implementation details."
* commit 'df8a09b132573b021850fe41ed23ec6684d9b329':
  Hide rand48 implementation details.
2014-06-11 18:37:20 +00:00
Elliott Hughes
f1771794af am 228b33e9: am bdcab25e: Merge "Hide non-standard syslog API."
* commit '228b33e90c34a1392e77b4a9100210233a390ad0':
  Hide non-standard syslog API.
2014-06-11 18:37:18 +00:00
Ying Wang
00af294b6e am c3064d27: am 199e8638: Merge "Use PRIVATE_POST_INSTALL_CMD to create symlink."
* commit 'c3064d27725dec8bab5259605960e77e86d94f80':
  Use PRIVATE_POST_INSTALL_CMD to create symlink.
2014-06-11 18:19:00 +00:00
Elliott Hughes
f2a131cf4e am 97fbf8e7: am 87d4233c: Merge "Remove the MD5 implementation that was only used by toolbox."
* commit '97fbf8e746ca6e90f890a43d759a16901882c93a':
  Remove the MD5 implementation that was only used by toolbox.
2014-06-11 18:18:51 +00:00
Elliott Hughes
aec4f5b03e am 9f82c7bd: am e7baf46b: Merge "Add a regression test for two libm bugs we didn\'t have."
* commit '9f82c7bd5269631e3bad35414821255a83227ddc':
  Add a regression test for two libm bugs we didn't have.
2014-06-11 18:05:31 +00:00
Elliott Hughes
abd34f5cab am 936ea9a1: am 4779a11a: Merge "Move mips fenv implementation details into fenv.c."
* commit '936ea9a1ce725eb9c0f52e5690e7e8e5e42fa883':
  Move mips fenv implementation details into fenv.c.
2014-06-11 17:58:39 +00:00
Elliott Hughes
1aecbb85ce am 04e115c7: am 385f7009: Merge "Move x86 fenv implementation details into fenv.c."
* commit '04e115c7f9a90002c2e80a490848890ec284699b':
  Move x86 fenv implementation details into fenv.c.
2014-06-11 17:58:38 +00:00
Dan Albert
abf16559d3 am 440bd6bc: Merge "Replaces vfork() implementation with fork()"
* commit '440bd6bcc308f78b32fcbc4a3ba312dd1343559b':
  Replaces vfork() implementation with fork()
2014-06-11 17:06:02 +00:00
Elliott Hughes
7c38499eda am 0ada9388: Merge "Add a couple more system call benchmarks."
* commit '0ada9388e74693d990bdbb4af92c33bae8b34d4b':
  Add a couple more system call benchmarks.
2014-06-11 03:24:33 +00:00
Elliott Hughes
b94b1bc034 am 80664231: Merge "Revert "Temporarily expose dlmalloc_usable_size.""
* commit '80664231b8a17fc6a1bf2f4881c9353a47b74ab6':
  Revert "Temporarily expose dlmalloc_usable_size."
2014-06-11 03:24:32 +00:00
Christopher Ferris
d9d37cfe21 am 30d15e54: Merge "Allow bionic-unit-tests-glibc to be built again."
* commit '30d15e5499ab097e1074b4e78e4397f5429975ac':
  Allow bionic-unit-tests-glibc to be built again.
2014-06-11 03:14:40 +00:00
Elliott Hughes
3d1a7f1fad am cb0114a1: am 8c054c51: Merge "Clean up the ARM fenv.h, moving implementation details into fenv.c."
* commit 'cb0114a1f6230d7ddd1226dc14979a2272c20c07':
  Clean up the ARM fenv.h, moving implementation details into fenv.c.
2014-06-11 03:04:53 +00:00
Elliott Hughes
95f6cfc971 am bdb8b21d: Merge "AArch64: Fix memcmp16() test"
* commit 'bdb8b21d0547dd74c62af3ddc9b8e7670adcbe9f':
  AArch64: Fix memcmp16() test
2014-06-10 18:31:16 +00:00
Elliott Hughes
df8a09b132 am 2b8246fa: Merge "Hide rand48 implementation details."
* commit '2b8246fa755cf3e2828d702b6c27c2d238395fad':
  Hide rand48 implementation details.
2014-06-10 01:33:07 +00:00
Elliott Hughes
228b33e90c am bdcab25e: Merge "Hide non-standard syslog API."
* commit 'bdcab25ee6aebe2f5653fdc8f73e6bd94dadb763':
  Hide non-standard syslog API.
2014-06-10 01:14:54 +00:00
Ying Wang
c3064d2772 am 199e8638: Merge "Use PRIVATE_POST_INSTALL_CMD to create symlink."
* commit '199e8638df12eb6373771ebb59a1f5a83c6de1cc':
  Use PRIVATE_POST_INSTALL_CMD to create symlink.
2014-06-10 00:00:45 +00:00
Elliott Hughes
97fbf8e746 am 87d4233c: Merge "Remove the MD5 implementation that was only used by toolbox."
* commit '87d4233c7224201b1199179b11c5c5f854ab36a3':
  Remove the MD5 implementation that was only used by toolbox.
2014-06-09 23:33:51 +00:00
Elliott Hughes
9f82c7bd52 am e7baf46b: Merge "Add a regression test for two libm bugs we didn\'t have."
* commit 'e7baf46b860fca249c98ba905150544cb49e6b1f':
  Add a regression test for two libm bugs we didn't have.
2014-06-09 23:26:04 +00:00
Elliott Hughes
936ea9a1ce am 4779a11a: Merge "Move mips fenv implementation details into fenv.c."
* commit '4779a11a3dfa7314b3cb3998b1f9172c40dfc5f6':
  Move mips fenv implementation details into fenv.c.
2014-06-09 22:31:51 +00:00
Elliott Hughes
04e115c7f9 am 385f7009: Merge "Move x86 fenv implementation details into fenv.c."
* commit '385f70094ef45b974b804b7d29d9e92329538b46':
  Move x86 fenv implementation details into fenv.c.
2014-06-09 22:28:24 +00:00
Elliott Hughes
cb0114a1f6 am 8c054c51: Merge "Clean up the ARM fenv.h, moving implementation details into fenv.c."
* commit '8c054c51c3324d36dc9ed1cf50229bae8a3f875c':
  Clean up the ARM fenv.h, moving implementation details into fenv.c.
2014-06-09 21:42:53 +00:00
Elliott Hughes
b1dc57caa7 am b98dd8cb: am 87472963: Merge "AArch64: libm: Fix ARM64 fenv_t and refactor ARM64 libm implementation."
* commit 'b98dd8cb75df69d7211920ee6402bf82e2b8cf93':
  AArch64: libm: Fix ARM64 fenv_t and refactor ARM64 libm implementation.
2014-06-09 21:05:05 +00:00
Elliott Hughes
b98dd8cb75 am 87472963: Merge "AArch64: libm: Fix ARM64 fenv_t and refactor ARM64 libm implementation."
* commit '87472963c7c50240002fd83efec69c267c0d6ec7':
  AArch64: libm: Fix ARM64 fenv_t and refactor ARM64 libm implementation.
2014-06-09 21:00:35 +00:00
Elliott Hughes
4e33504927 am 1dcb8471: am 36ed5971: Merge "AArch64: Remove Frame Record from ARM64 syscalls"
* commit '1dcb84712c2dad520eb49e283bff06ae47a6c1b1':
  AArch64: Remove Frame Record from ARM64 syscalls
2014-06-09 19:39:21 +00:00
Elliott Hughes
1dcb84712c am 36ed5971: Merge "AArch64: Remove Frame Record from ARM64 syscalls"
* commit '36ed5971c45425bf258c72e7baaa68ebdd70c7bb':
  AArch64: Remove Frame Record from ARM64 syscalls
2014-06-09 19:35:33 +00:00
Elliott Hughes
b07189ab1e am 3b9da0f9: Fix the printf family for non-ASCII.
* commit '3b9da0f99a6629d5283844922327711c985c78eb':
  Fix the printf family for non-ASCII.
2014-06-07 10:01:19 +00:00
Elliott Hughes
47907ba49b am 3b1e9bf3: am e18c2714: Merge "Add the missing issetugid binary compatibility stub."
* commit '3b1e9bf3e9bec519a75031dda231cdbfbac53005':
  Add the missing issetugid binary compatibility stub.
2014-06-07 09:57:41 +00:00
Elliott Hughes
3b1e9bf3e9 am e18c2714: Merge "Add the missing issetugid binary compatibility stub."
* commit 'e18c271423d1777adfe18434558944082fc32c70':
  Add the missing issetugid binary compatibility stub.
2014-06-07 09:18:43 +00:00
Elliott Hughes
44ac8af8ed am 20811f9e: am 19718f0c: Merge "Rewrite and hide longjmperror."
* commit '20811f9e87b86ba7171b9c9480a9212d787c732e':
  Rewrite and hide longjmperror.
2014-06-07 03:56:27 +00:00
Elliott Hughes
20811f9e87 am 19718f0c: Merge "Rewrite and hide longjmperror."
* commit '19718f0cd605f55df26823c67b62ceab6fe99a00':
  Rewrite and hide longjmperror.
2014-06-07 03:53:03 +00:00
Christopher Ferris
28f321aa0f am 1b8163f5: am 1cada9b3: Merge "Remove unused scripts."
* commit '1b8163f5e686bc2405731d529c684c06bae65f17':
  Remove unused scripts.
2014-06-07 02:11:49 +00:00
Christopher Ferris
1b8163f5e6 am 1cada9b3: Merge "Remove unused scripts."
* commit '1cada9b3ea2724ebb0dee89a7f9a8f00a0ece2ae':
  Remove unused scripts.
2014-06-07 02:09:15 +00:00
Elliott Hughes
3b9da0f99a Fix the printf family for non-ASCII.
The bug here turned out to be that we hadn't increased the constant
corresponding to the maximum number of bytes in a character to match
our new implementation, so any character requiring more than a byte
in UTF-8 would break our printf family.

Bug: 15439554

(cherry picked from commit 69f05d291d)

Change-Id: Ia5467e22ccb022e8d118de82291916050656147e
2014-06-06 16:25:13 -07:00
Elliott Hughes
53495dad3a am afd4df20: am 6fa47ca4: Merge "Fix ndk_cruft.cpp __getdents64 build failure."
* commit 'afd4df20c99e52be84d1cac2108c18619f32b5f2':
  Fix ndk_cruft.cpp __getdents64 build failure.
2014-06-06 22:45:50 +00:00
Elliott Hughes
12e98b459d am 655dba09: am 1c60f808: Merge "Rename __bionic_clone_entry to __start_thread."
* commit '655dba09c72ceb5852dae296cef49cbad6b1053f':
  Rename __bionic_clone_entry to __start_thread.
2014-06-06 22:45:50 +00:00
Elliott Hughes
449e4aa0a8 am e932f5b5: am 087b3cfa: Merge "Add a few more C11 functions to the whitelist."
* commit 'e932f5b5d89fcffe1c2e9e68eac4e9092f24719e':
  Add a few more C11 functions to the whitelist.
2014-06-06 22:45:49 +00:00
Elliott Hughes
3f508b3fc0 am 132a66be: am 3e0e7eea: Merge "Remove getdents from bionic."
* commit '132a66be4692840b13b3a6d6fb93d6e7965003c5':
  Remove getdents from bionic.
2014-06-06 22:45:48 +00:00
Elliott Hughes
afd4df20c9 am 6fa47ca4: Merge "Fix ndk_cruft.cpp __getdents64 build failure."
* commit '6fa47ca484aa37b0a2a5734a9def32973d110cc6':
  Fix ndk_cruft.cpp __getdents64 build failure.
2014-06-06 22:39:09 +00:00
Elliott Hughes
655dba09c7 am 1c60f808: Merge "Rename __bionic_clone_entry to __start_thread."
* commit '1c60f8080acaf0f1794689886e94e54d15d43a7b':
  Rename __bionic_clone_entry to __start_thread.
2014-06-06 22:39:09 +00:00
Elliott Hughes
e932f5b5d8 am 087b3cfa: Merge "Add a few more C11 functions to the whitelist."
* commit '087b3cfa5b56c2e4a29cca225fdb1956033868ac':
  Add a few more C11 functions to the whitelist.
2014-06-06 22:39:08 +00:00
Elliott Hughes
132a66be46 am 3e0e7eea: Merge "Remove getdents from bionic."
* commit '3e0e7eea490d2080d0290a1e2709e98d8fcf0ebf':
  Remove getdents from bionic.
2014-06-06 22:39:07 +00:00
Christopher Ferris
4ff5aa3568 am 5261fd2c: am b837767a: Merge "Update kernel header generation docs."
* commit '5261fd2cacc8a53643089cab9fbbeb8142f98dea':
  Update kernel header generation docs.
2014-06-06 22:35:55 +00:00
Christopher Ferris
5261fd2cac am b837767a: Merge "Update kernel header generation docs."
* commit 'b837767a63dfc65653448cf732090d7d0b270080':
  Update kernel header generation docs.
2014-06-06 22:32:23 +00:00
Elliott Hughes
f5df23521f am 5f409720: Merge "Use __libc_fatal() for failed malloc in new" into lmp-preview-dev
* commit '5f409720ec6bcf9ec6e9874dbb9ffd77d7061554':
  Use __libc_fatal() for failed malloc in new
2014-06-06 20:57:13 +00:00
Elliott Hughes
5dd51818e0 resolved conflicts for merge of bd7a892c to master
Change-Id: I2d1699032399444fc7bbca62226fce32b9b5f08e
2014-06-06 13:55:36 -07:00
Elliott Hughes
5f409720ec Merge "Use __libc_fatal() for failed malloc in new" into lmp-preview-dev 2014-06-06 18:33:03 +00:00
Dan Albert
acc2f79ed7 Use __libc_fatal() for failed malloc in new
This way we can print a useful message to the log isntead of just dying
mysteriously.

(cherry picked from commit 989725940e)

Bug: 13564922
Change-Id: I704e1263ec1e7556808348b821a20bacc934eb4a
2014-06-06 18:30:35 +00:00
Elliott Hughes
d45b2e5084 am fd0de89e: am c3bdc792: Merge "Fix the printf family for non-ASCII."
* commit 'fd0de89e4cd46de5f3439a7112c4dd25d62ec392':
  Fix the printf family for non-ASCII.
2014-06-06 18:26:25 +00:00
Elliott Hughes
fd0de89e4c am c3bdc792: Merge "Fix the printf family for non-ASCII."
* commit 'c3bdc792be78d788663ff9b5e019b4af852dc6f7':
  Fix the printf family for non-ASCII.
2014-06-06 18:23:12 +00:00
Elliott Hughes
bd7a892c30 Fix unwinding through x86-64 __bionic_clone.
x86-64 needs these CFI directives to stop unwinding here.
I've also cleaned up the assembler a little, and made x86 and x86-64
a little more alike.

Bug: 15195760

(cherry picked from commit aeb3016f81)

Change-Id: I511fe238b1ef1a1c16aef735f93bbee9accb0689
2014-06-06 10:00:32 -07:00
Elliott Hughes
aa8979269b am 6db22710: am e2a54ca8: Merge "Remove unnecessary instructions from x86/x86_64 syscalls."
* commit '6db22710ce11766cc88f55f1e3c48d3167d5eb4c':
  Remove unnecessary instructions from x86/x86_64 syscalls.
2014-06-06 01:56:15 +00:00
Elliott Hughes
6db22710ce am e2a54ca8: Merge "Remove unnecessary instructions from x86/x86_64 syscalls."
* commit 'e2a54ca80e011db21665e9639af4608f58e32fbd':
  Remove unnecessary instructions from x86/x86_64 syscalls.
2014-06-06 01:18:27 +00:00
Elliott Hughes
76166f85e2 am a271b977: am 50b79530: Merge "Fix unwinding through x86-64 __bionic_clone."
* commit 'a271b97773e16974cb59b6636546641a14b0fe68':
  Fix unwinding through x86-64 __bionic_clone.
2014-06-05 23:59:54 +00:00
Elliott Hughes
a271b97773 am 50b79530: Merge "Fix unwinding through x86-64 __bionic_clone."
* commit '50b79530c6fea6d47d54edf6f351dcbd7d87ab6a':
  Fix unwinding through x86-64 __bionic_clone.
2014-06-05 23:56:26 +00:00
Dan Albert
c99f9845fb am 802d4cab: am 9c101eb9: Merge "Removes index() from bionic."
* commit '802d4cabf37fc0008db3d7d265e18a0b6112ddb6':
  Removes index() from bionic.
2014-06-05 21:56:44 +00:00
Dan Albert
802d4cabf3 am 9c101eb9: Merge "Removes index() from bionic."
* commit '9c101eb9d12a87c9b68fce9052751df75e36d172':
  Removes index() from bionic.
2014-06-05 21:53:30 +00:00
Christopher Ferris
72240e7b62 am 675a41f5: am 8ac8278b: Merge "Fix for slm-tuned memmove (both 32- and 64-bit)."
* commit '675a41f56eb65b91d8f3c39304869b6ae64fa983':
  Fix for slm-tuned memmove (both 32- and 64-bit).
2014-06-05 18:33:26 +00:00
Dan Albert
48089efd92 am a66c43ea: am 431aa4dc: Merge "Remove bsd_signal and sysv_signal from bionic LP64."
* commit 'a66c43eab073aae5e1e5754c476a5c39ece6930b':
  Remove bsd_signal and sysv_signal from bionic LP64.
2014-06-05 18:33:26 +00:00
Christopher Ferris
675a41f56e am 8ac8278b: Merge "Fix for slm-tuned memmove (both 32- and 64-bit)."
* commit '8ac8278b0a673e30698ba4d81f495165b66acbd5':
  Fix for slm-tuned memmove (both 32- and 64-bit).
2014-06-05 18:29:19 +00:00
Dan Albert
a66c43eab0 am 431aa4dc: Merge "Remove bsd_signal and sysv_signal from bionic LP64."
* commit '431aa4dc9282e23231ba9243f43fd3d49b5f88b3':
  Remove bsd_signal and sysv_signal from bionic LP64.
2014-06-05 18:29:18 +00:00
Elliott Hughes
a6bd78a30a am 3cd4b783: am 8aabecf3: Merge "Hide __libc_fini."
* commit '3cd4b783fb7b0c0172934faef21792356fdf3385':
  Hide __libc_fini.
2014-06-05 09:47:59 +00:00
Elliott Hughes
3cd4b783fb am 8aabecf3: Merge "Hide __libc_fini."
* commit '8aabecf35c71a8255db259cba01005eea10485cf':
  Hide __libc_fini.
2014-06-05 03:51:24 +00:00
Dan Albert
6d9b463b72 am 60d57baf: am 76812041: Merge "Revert "Remove ftime from bionic LP64""
* commit '60d57baf5718f5d18dff4059b2f59f9d9b63dc0a':
  Revert "Remove ftime from bionic LP64"
2014-06-05 01:08:52 +00:00
Dan Albert
60d57baf57 am 76812041: Merge "Revert "Remove ftime from bionic LP64""
* commit '768120416ba465b8dcac21737f7d4451df962406':
  Revert "Remove ftime from bionic LP64"
2014-06-05 01:06:30 +00:00
Dan Albert
8e89ed2e87 am 3d7fd883: am 428581fb: Merge "Remove ftime from bionic LP64"
* commit '3d7fd8836474497e2745e98df30e0fea6f4d4723':
  Remove ftime from bionic LP64
2014-06-05 00:01:53 +00:00
Dan Albert
3d7fd88364 am 428581fb: Merge "Remove ftime from bionic LP64"
* commit '428581fb4532d4369aece3e42906e27e634af050':
  Remove ftime from bionic LP64
2014-06-04 23:58:35 +00:00
Elliott Hughes
31fee71b43 am a4edb723: am 37229f2a: Merge "Temporarily expose dlmalloc_usable_size."
* commit 'a4edb7235084cdf62149310fcb1653596f680948':
  Temporarily expose dlmalloc_usable_size.
2014-06-04 23:33:02 +00:00
Elliott Hughes
a4edb72350 am 37229f2a: Merge "Temporarily expose dlmalloc_usable_size."
* commit '37229f2a9271b6e0d0d1ec516421018b807f00e8':
  Temporarily expose dlmalloc_usable_size.
2014-06-04 23:29:31 +00:00
Elliott Hughes
c5a17834c4 am 02255f26: am 53e3bbab: Merge "Temporary fix for asan_malloc_linux.cc build failure."
* commit '02255f267448f88f16f3ddeaf5c701ab01a17c4b':
  Temporary fix for asan_malloc_linux.cc build failure.
2014-06-04 22:39:38 +00:00
Elliott Hughes
02255f2674 am 53e3bbab: Merge "Temporary fix for asan_malloc_linux.cc build failure."
* commit '53e3bbab07f8d410418f87007177d5ad81e38bcf':
  Temporary fix for asan_malloc_linux.cc build failure.
2014-06-04 22:35:28 +00:00
Elliott Hughes
aca22284fc am b27cb268: am 38732aa9: Merge "Fix debug malloc."
* commit 'b27cb268c0c1424c71d64b8a713983257d4de7ee':
  Fix debug malloc.
2014-06-04 21:49:25 +00:00
Elliott Hughes
b27cb268c0 am 38732aa9: Merge "Fix debug malloc."
* commit '38732aa9ea28b54d55c46b6b1f9367cb8fa147f1':
  Fix debug malloc.
2014-06-04 21:44:20 +00:00
Dan Albert
ab86296461 am ea5c19c4: am 623dce3b: Merge "Removes wcswcs from bionic for LP64."
* commit 'ea5c19c4cf82eb97a0ee90d6e9c7dfe0c709e2fb':
  Removes wcswcs from bionic for LP64.
2014-06-04 21:33:35 +00:00
Dan Albert
ea5c19c4cf am 623dce3b: Merge "Removes wcswcs from bionic for LP64."
* commit '623dce3bd43975ca5b8698955a9fd8f18e9d5963':
  Removes wcswcs from bionic for LP64.
2014-06-04 21:29:25 +00:00
Elliott Hughes
441216a28c am 430cf1a6: (-s ours) DO NOT MERGE fdprintf backward compatibility shim.
* commit '430cf1a6c32471ada4dad028acbfcc032da01fd3':
  DO NOT MERGE fdprintf backward compatibility shim.
2014-06-04 18:43:41 +00:00
Elliott Hughes
9100b11973 am 4832a096: (-s ours) DO NOT MERGE Fix lmp-preview-dev after bionic merge.
* commit '4832a0961dc891ef69177c9cf0c3e3ba5dd7b69d':
  DO NOT MERGE Fix lmp-preview-dev after bionic merge.
2014-06-04 18:43:41 +00:00
Christopher Ferris
88848df902 am 81b20406: Merge remote-tracking branch \'goog/master\' into merge
* commit '81b2040683415845efa2694671c3ed212137051d':
2014-06-04 18:43:40 +00:00
Elliott Hughes
5406127ca0 am 8c5d3170: am e120cba3: Merge "Cherrypick upstream OpenBSD\'s vfwprintf.c revision 1.11."
* commit '8c5d3170411e00c8f0cc126d84e4b08e6a1223d1':
  Cherrypick upstream OpenBSD's vfwprintf.c revision 1.11.
2014-06-04 17:32:11 +00:00
Dan Albert
bb87e9a823 am 4855a97e: am 452e0913: Merge "Adds functionality specified by uchar.h"
* commit '4855a97ed06500de7515e2984d9f44cae7bf756a':
  Adds functionality specified by uchar.h
2014-06-04 17:32:11 +00:00
Elliott Hughes
8c5d317041 am e120cba3: Merge "Cherrypick upstream OpenBSD\'s vfwprintf.c revision 1.11."
* commit 'e120cba31df5249b720579312e799bd1c65f8e3d':
  Cherrypick upstream OpenBSD's vfwprintf.c revision 1.11.
2014-06-04 17:28:48 +00:00
Dan Albert
4855a97ed0 am 452e0913: Merge "Adds functionality specified by uchar.h"
* commit '452e09130010b641904e7411e0c539590a654022':
  Adds functionality specified by uchar.h
2014-06-04 17:28:46 +00:00
Elliott Hughes
27e3e3300c am 9a2aba17: am 38ed337c: Merge "Hide dlmalloc symbols."
* commit '9a2aba176a8b315207c728132591eea57f6b4d53':
  Hide dlmalloc symbols.
2014-06-04 03:51:18 +00:00
Elliott Hughes
9a2aba176a am 38ed337c: Merge "Hide dlmalloc symbols."
* commit '38ed337c1343af1aa55487777ed80de6b0d33638':
  Hide dlmalloc symbols.
2014-06-04 03:48:09 +00:00
Dan Albert
651dde33e4 am d90ded5a: am c3801894: Merge "Removes bcopy and bzero from bionic."
* commit 'd90ded5a911d5c37da49fb6179cf4ff5b9d48cb3':
  Removes bcopy and bzero from bionic.
2014-06-04 01:19:26 +00:00
Dan Albert
d90ded5a91 am c3801894: Merge "Removes bcopy and bzero from bionic."
* commit 'c380189410b66dcaca5936b2fabceab4c492dd53':
  Removes bcopy and bzero from bionic.
2014-06-04 01:15:59 +00:00
Elliott Hughes
ad5342a0c0 am 5bf90caa: am 3dbc2fe3: Merge "Work around "error: variable \'uio\' set but not used"."
* commit '5bf90caa78425c0053d35186b91a1c4936ccb149':
  Work around "error: variable 'uio' set but not used".
2014-06-04 00:12:10 +00:00
Elliott Hughes
2e9e17c91a am d575c374: am bd6b8497: Merge "Remove an unused parameter from the dlopen implementation."
* commit 'd575c374d290d3e590e1e7a228673c68194a473e':
  Remove an unused parameter from the dlopen implementation.
2014-06-04 00:12:09 +00:00
Elliott Hughes
b239d3fa27 am 85981760: am be15d16b: Merge "Turn on -Wunused and fix the mistakes it uncovers."
* commit '859817602d24d5c4868ed8b7d0cc69e5d3babfc6':
  Turn on -Wunused and fix the mistakes it uncovers.
2014-06-04 00:12:06 +00:00
Elliott Hughes
5bf90caa78 am 3dbc2fe3: Merge "Work around "error: variable \'uio\' set but not used"."
* commit '3dbc2fe33e7a1c0e545f7762d3c7a98429c5a82b':
  Work around "error: variable 'uio' set but not used".
2014-06-03 23:57:03 +00:00
Elliott Hughes
d575c374d2 am bd6b8497: Merge "Remove an unused parameter from the dlopen implementation."
* commit 'bd6b849754386a1befa2c935cde3110cadf422c6':
  Remove an unused parameter from the dlopen implementation.
2014-06-03 23:56:58 +00:00
Elliott Hughes
859817602d am be15d16b: Merge "Turn on -Wunused and fix the mistakes it uncovers."
* commit 'be15d16b7246e32a1e622d4442cf919646bc71a9':
  Turn on -Wunused and fix the mistakes it uncovers.
2014-06-03 23:24:39 +00:00
Elliott Hughes
430cf1a6c3 DO NOT MERGE fdprintf backward compatibility shim.
Fixes LP64 build.

Change-Id: Ic76005cd1f5a55344ea8ee3d070d25631d011037
2014-06-03 16:01:35 -07:00
Paul Jensen
0d78bdaf65 Merge "Make host resolver call __connect() rather than connect() so mark isn't cleared." 2014-06-03 17:23:28 +00:00
Dan Albert
109c5a81d4 am 6e587086: am 2f9400b6: Merge "Use __libc_fatal() for failed malloc in new"
* commit '6e5870865e11f38ac9fcdf39c6097f1e39af9234':
  Use __libc_fatal() for failed malloc in new
2014-06-03 17:15:22 +00:00
Dan Albert
6e5870865e am 2f9400b6: Merge "Use __libc_fatal() for failed malloc in new"
* commit '2f9400b679ffe08f7190781e64edda5edf0f7297':
  Use __libc_fatal() for failed malloc in new
2014-06-03 17:12:16 +00:00
Elliott Hughes
4832a0961d DO NOT MERGE Fix lmp-preview-dev after bionic merge.
Other projects in lmp-preview-dev are out of date, and it's easier to patch
bionic than to fix all of them.

(cherry picked from commit a856c6f543)

Change-Id: Id8fbdf35eb55150579f85b7bdddb5d68d3012218
2014-06-02 15:27:21 -07:00
Christopher Ferris
81b2040683 Merge remote-tracking branch 'goog/master' into merge 2014-06-02 15:27:02 -07:00
Elliott Hughes
87f0392320 am 016074f6: am 987bd5c6: am 2deef73f: Merge "Avoid a system call in \'gettid\'."
* commit '016074f6beec46fa2140e2cabd11ade488776402':
  Avoid a system call in 'gettid'.
2014-06-02 17:55:53 +00:00
Elliott Hughes
016074f6be am 987bd5c6: am 2deef73f: Merge "Avoid a system call in \'gettid\'."
* commit '987bd5c64f1381185f27afb60ec46be5e9eaba36':
  Avoid a system call in 'gettid'.
2014-06-02 17:52:28 +00:00
Dmitriy Ivanov
bbecdcad08 am 109e3b16: am 5f29c328: am 831405b7: Merge "Make atexit.dlclose work for glibc"
* commit '109e3b16137d17d68e2b1a02ce1df054d13c283a':
  Make atexit.dlclose work for glibc
2014-05-31 01:35:30 +00:00
Dmitriy Ivanov
109e3b1613 am 5f29c328: am 831405b7: Merge "Make atexit.dlclose work for glibc"
* commit '5f29c32844d8997d65a4ac8e8d9efa7903d6f83a':
  Make atexit.dlclose work for glibc
2014-05-31 01:33:06 +00:00
Christopher Ferris
9a545ee6d9 am a59d22ef: am bd1ec44c: am 66b5e6b6: Merge "Do not run dlclose test on glibc."
* commit 'a59d22efce6f1a2003d8c54be72853e18f6315a0':
  Do not run dlclose test on glibc.
2014-05-31 00:50:18 +00:00
Christopher Ferris
a59d22efce am bd1ec44c: am 66b5e6b6: Merge "Do not run dlclose test on glibc."
* commit 'bd1ec44cc5ef01c125fe2b61871927561a43b444':
  Do not run dlclose test on glibc.
2014-05-31 00:46:00 +00:00
Elliott Hughes
468c292262 am df2e70f3: am d3f2a204: am 7a5732bd: Merge "Add some missing __noreturn attributes."
* commit 'df2e70f39036cab8bcbf8c238f39b21f83b32d8d':
  Add some missing __noreturn attributes.
2014-05-30 23:07:32 +00:00
Elliott Hughes
df2e70f390 am d3f2a204: am 7a5732bd: Merge "Add some missing __noreturn attributes."
* commit 'd3f2a204b7faa52b086c85736aa2449d8a83c547':
  Add some missing __noreturn attributes.
2014-05-30 23:05:08 +00:00
Elliott Hughes
4a7cae7a45 am 8db7b4b5: am f306c414: am 3a3b27e0: Merge "x86: stop unwinding past __bionic_clone."
* commit '8db7b4b54ca28f6c80115c43a83323f562d275b7':
  x86: stop unwinding past __bionic_clone.
2014-05-30 21:50:51 +00:00
Elliott Hughes
8db7b4b54c am f306c414: am 3a3b27e0: Merge "x86: stop unwinding past __bionic_clone."
* commit 'f306c414eb22cf5e80f61f1b26ceafbb3296c651':
  x86: stop unwinding past __bionic_clone.
2014-05-30 21:47:24 +00:00
Paul Jensen
31ad03761d Make host resolver call __connect() rather than connect() so mark isn't cleared.
Calling connect() will erase the mark set by the host resolver code because the
explicitlySelected bit of the Fwmark isn't set.  It's by design that the
explicitlySelected bit isn't set as this facilitates falling through to other
routing rules if the selected network doesn't provide a route to the DNS server
as may be the case with VPNs.

Change-Id: I60ba7c754194ead97df3ac6a6c5b3db1f446dac8
2014-05-30 08:02:52 -04:00
Elliott Hughes
2759e6033d am a856c6f5: (-s ours) DO NOT MERGE Fix lmp-preview-dev after bionic merge.
* commit 'a856c6f543c71f6778cdb9b39f6049ae8b2c4e53':
  DO NOT MERGE Fix lmp-preview-dev after bionic merge.
2014-05-30 11:24:05 +00:00
Elliott Hughes
0e4aa8db3f am 79e7c0a9: Merge remote-tracking branch \'goog/master\' into merge-from-master
* commit '79e7c0a98e0ffd5af09dac4d6ab7a7449b93b472':
2014-05-30 04:05:29 +00:00
Elliott Hughes
a856c6f543 DO NOT MERGE Fix lmp-preview-dev after bionic merge.
Other projects in lmp-preview-dev are out of date, and it's easier to patch
bionic than to fix all of them.

Change-Id: Id55c3da7259ba0bb5e62462d5eca721d3716c07f
2014-05-29 21:03:15 -07:00
Christopher Ferris
62e2ff00e4 am bb385e6f: am 69371ef1: am 1672b056: Merge "Fix unwinding_through_signal_frame test."
* commit 'bb385e6f90d7f32735626117923b37e6d29bc21d':
  Fix unwinding_through_signal_frame test.
2014-05-30 04:02:56 +00:00
Christopher Ferris
bb385e6f90 am 69371ef1: am 1672b056: Merge "Fix unwinding_through_signal_frame test."
* commit '69371ef1cc43c471cc4ff35435042a58720edda5':
  Fix unwinding_through_signal_frame test.
2014-05-30 03:59:22 +00:00
Christopher Ferris
2779dc7373 am 1a3a9d4d: am e4068e33: am 94170742: Merge "Fix x86 cfi directives for syscalls."
* commit '1a3a9d4d99557021a77d2d903775adabb24560f4':
  Fix x86 cfi directives for syscalls.
2014-05-30 02:29:08 +00:00
Christopher Ferris
1a3a9d4d99 am e4068e33: am 94170742: Merge "Fix x86 cfi directives for syscalls."
* commit 'e4068e3399d6d572d2f9bd7f925f080a74122d60':
  Fix x86 cfi directives for syscalls.
2014-05-30 02:26:17 +00:00
Elliott Hughes
79e7c0a98e Merge remote-tracking branch 'goog/master' into merge-from-master 2014-05-29 18:16:37 -07:00
Elliott Hughes
768fa1f636 am 2f97e423: am e1df1eb2: am 264d1b83: Merge "Remove issetugid."
* commit '2f97e423274793c1b47a5be2479f767fd26bbc54':
  Remove issetugid.
2014-05-30 00:17:37 +00:00
Elliott Hughes
2f97e42327 am e1df1eb2: am 264d1b83: Merge "Remove issetugid."
* commit 'e1df1eb2c451b541094550dfdbd550bc417ea398':
  Remove issetugid.
2014-05-30 00:14:21 +00:00
Christopher Ferris
c86e40f7d5 am 017cec03: am d8532678: am 5800aab3: Merge "Fix wmemmove test."
* commit '017cec033a20c97f3118df0432cec7fd3bf73865':
  Fix wmemmove test.
2014-05-29 23:50:09 +00:00
Christopher Ferris
017cec033a am d8532678: am 5800aab3: Merge "Fix wmemmove test."
* commit 'd853267899d6c2fb1eed428285c66b5c77a7c55f':
  Fix wmemmove test.
2014-05-29 23:46:50 +00:00
Ben Cheng
4cb7690aa1 am 772d1d27: am a5b0a62d: am fd9f07a2: Merge "Workaround the GCC "(long)fn -> lfn" optimization bug."
* commit '772d1d27853ad92a8e9e7c9d200689da37e68bf3':
  Workaround the GCC "(long)fn -> lfn" optimization bug.
2014-05-29 23:45:31 +00:00
Ben Cheng
772d1d2785 am a5b0a62d: am fd9f07a2: Merge "Workaround the GCC "(long)fn -> lfn" optimization bug."
* commit 'a5b0a62dbb560796dc0cfc6947e6e980964e98c4':
  Workaround the GCC "(long)fn -> lfn" optimization bug.
2014-05-29 23:41:22 +00:00
Christopher Ferris
5c60bf63b0 am dea5f4b1: am 9d73fa3f: am d4fbb1a8: Merge "Fix dprintf test."
* commit 'dea5f4b157784a677820d43e595b1dfcf1d42430':
  Fix dprintf test.
2014-05-29 22:51:28 +00:00
Christopher Ferris
dea5f4b157 am 9d73fa3f: am d4fbb1a8: Merge "Fix dprintf test."
* commit '9d73fa3fad4b50851187214976934d2fa4012fe5':
  Fix dprintf test.
2014-05-29 22:49:10 +00:00
Christopher Ferris
a6ee6ac422 am 4704238d: am 84d90bf5: am aa5f32ea: Merge "Add Aarch64 optimized bzero based on memset"
* commit '4704238dd27095886e273edc3902722e8f941310':
  Add Aarch64 optimized bzero based on memset
2014-05-29 21:30:37 +00:00
Christopher Ferris
4704238dd2 am 84d90bf5: am aa5f32ea: Merge "Add Aarch64 optimized bzero based on memset"
* commit '84d90bf5114466bb62d0580ce524da98b6b45dd2':
  Add Aarch64 optimized bzero based on memset
2014-05-29 21:27:03 +00:00
Elliott Hughes
0f20aafa25 am 8efc3054: am dafa59b8: am 4dd0b72d: Merge "Return the actual success result from __futex."
* commit '8efc30544f5ef32395d97f41139d1906a21ca06f':
  Return the actual success result from __futex.
2014-05-29 21:10:06 +00:00
Christopher Ferris
ea1004b6b3 am deb1ec4a: am 47150dca: am 1a57de71: Merge "Fix overflow testing in sbrk."
* commit 'deb1ec4aaa0e7f74746c97ccbc22a367640c301f':
  Fix overflow testing in sbrk.
2014-05-29 21:09:29 +00:00
Elliott Hughes
8efc30544f am dafa59b8: am 4dd0b72d: Merge "Return the actual success result from __futex."
* commit 'dafa59b8fff9ecd562487f9a186ac567c0908c5b':
  Return the actual success result from __futex.
2014-05-29 21:06:29 +00:00
Christopher Ferris
deb1ec4aaa am 47150dca: am 1a57de71: Merge "Fix overflow testing in sbrk."
* commit '47150dca59e63899843182237775628677ec4af3':
  Fix overflow testing in sbrk.
2014-05-29 18:10:10 +00:00
Elliott Hughes
dd4489bfbe am 4843fab2: am ad73e2f5: am ef023873: Merge "Minor style cleanup of some code I had to look at."
* commit '4843fab2ee025fae5e04d84dd687e507fc4e99f0':
  Minor style cleanup of some code I had to look at.
2014-05-29 16:23:08 +00:00
Elliott Hughes
864b926026 am 8a00b45d: am c3930812: am 0bdd668f: Merge "Upgrade to tzdata2014d."
* commit '8a00b45d601d6e9a5a7ab63544f66267ed1a857b':
  Upgrade to tzdata2014d.
2014-05-29 16:23:07 +00:00
Elliott Hughes
4843fab2ee am ad73e2f5: am ef023873: Merge "Minor style cleanup of some code I had to look at."
* commit 'ad73e2f58ca672ee8b7c19a1c993b829a43dd89c':
  Minor style cleanup of some code I had to look at.
2014-05-29 16:19:40 +00:00
Elliott Hughes
8a00b45d60 am c3930812: am 0bdd668f: Merge "Upgrade to tzdata2014d."
* commit 'c3930812df525ab6b2e68272903e332d6ee7a7d1':
  Upgrade to tzdata2014d.
2014-05-29 16:19:39 +00:00
Elliott Hughes
49d1ce63d9 am 275906e4: am 3388c7be: am fae42a83: Merge "Revert "Revert "Lose the hand-written futex assembler."""
* commit '275906e4b08062e50dbd0b1938a9a1379f577649':
  Revert "Revert "Lose the hand-written futex assembler.""
2014-05-29 03:22:03 +00:00
Elliott Hughes
275906e4b0 am 3388c7be: am fae42a83: Merge "Revert "Revert "Lose the hand-written futex assembler."""
* commit '3388c7be52e087256862171a5abdc9ceacf54e9d':
  Revert "Revert "Lose the hand-written futex assembler.""
2014-05-29 03:19:41 +00:00
Dan Albert
213524ad06 am 1875a51c: am c8d59fae: am 32c8ae9d: Merge "Fixes stdatomic.h test to match C11 spec"
* commit '1875a51c51517c559dde901d61d5dd4f00e80c14':
  Fixes stdatomic.h test to match C11 spec
2014-05-29 00:59:25 +00:00
Dan Albert
1875a51c51 am c8d59fae: am 32c8ae9d: Merge "Fixes stdatomic.h test to match C11 spec"
* commit 'c8d59fae72fb95fd7034ccf42664711849ed497f':
  Fixes stdatomic.h test to match C11 spec
2014-05-29 00:55:47 +00:00
Dan Albert
cd4e99048a am e4f5ae5d: am c51e9208: am dc3fb119: Merge "Updated ambiguous comment in pthread_mutex_lock."
* commit 'e4f5ae5d54865d6f61a32eeba6af846550d2a254':
  Updated ambiguous comment in pthread_mutex_lock.
2014-05-28 22:18:10 +00:00
Christopher Ferris
48c544f1c2 am 02d1cfb3: am fa204cf0: am 8a405b02: Merge "Add optimized AArch64 versions of bcopy and wmemmove based on memmove"
* commit '02d1cfb366b461d4c64cc87fc0f48bc3eae5fd92':
  Add optimized AArch64 versions of bcopy and wmemmove based on memmove
2014-05-28 22:17:56 +00:00
Dan Albert
e4f5ae5d54 am c51e9208: am dc3fb119: Merge "Updated ambiguous comment in pthread_mutex_lock."
* commit 'c51e92086a574c7209b8310925212f06eaa6ba20':
  Updated ambiguous comment in pthread_mutex_lock.
2014-05-28 22:13:22 +00:00
Christopher Ferris
02d1cfb366 am fa204cf0: am 8a405b02: Merge "Add optimized AArch64 versions of bcopy and wmemmove based on memmove"
* commit 'fa204cf030d79e65851cdd13ff5c073e5b5fd2ac':
  Add optimized AArch64 versions of bcopy and wmemmove based on memmove
2014-05-28 21:41:40 +00:00
Narayan Kamath
dc3178707d am adb1ec50: am 784254f2: am 52f74322: Merge "Revert "Lose the hand-written futex assembler.""
* commit 'adb1ec509e4866eab1f0a7fb8b99dd31e5d8e23f':
  Revert "Lose the hand-written futex assembler."
2014-05-28 18:14:34 +00:00
Calin Juravle
15627c1016 am c3f22810: am 7ca4d736: am 53e70fe3: Merge "Remove unnecessary padding in ucontext_t"
* commit 'c3f228103f0ff855214e0d15d51a26da7723d3b6':
  Remove unnecessary padding in ucontext_t
2014-05-28 18:10:34 +00:00
Narayan Kamath
adb1ec509e am 784254f2: am 52f74322: Merge "Revert "Lose the hand-written futex assembler.""
* commit '784254f28ed3e3b40889d060ccbc176361d70dc9':
  Revert "Lose the hand-written futex assembler."
2014-05-28 18:08:39 +00:00
Elliott Hughes
0ba998b3c3 am 44445f2d: am ab4c4686: am 7fdde4a5: Merge "Expose __srefill for LP64 until we can fix the NDK."
* commit '44445f2d51e946f6ba14101058a1cc6157f2e185':
  Expose __srefill for LP64 until we can fix the NDK.
2014-05-28 18:02:08 +00:00
Calin Juravle
c3f228103f am 7ca4d736: am 53e70fe3: Merge "Remove unnecessary padding in ucontext_t"
* commit '7ca4d73644284a7ffce83ba62923e46c0a29ab64':
  Remove unnecessary padding in ucontext_t
2014-05-28 17:54:08 +00:00
Elliott Hughes
44445f2d51 am ab4c4686: am 7fdde4a5: Merge "Expose __srefill for LP64 until we can fix the NDK."
* commit 'ab4c46863d32daf6ed5c98a101317c0108071c1d':
  Expose __srefill for LP64 until we can fix the NDK.
2014-05-28 09:15:56 +00:00
Elliott Hughes
0f1a221b3a am faf071df: am 9e3a0356: am 1454ff25: Merge "Clear the return address register in __bionic_clone."
* commit 'faf071dfcb2f6811727dfdfc70574552639b937c':
  Clear the return address register in __bionic_clone.
2014-05-27 23:01:16 +00:00
Elliott Hughes
faf071dfcb am 9e3a0356: am 1454ff25: Merge "Clear the return address register in __bionic_clone."
* commit '9e3a0356f4f04f4adac31206876ed41db091c808':
  Clear the return address register in __bionic_clone.
2014-05-27 22:57:19 +00:00
Dan Albert
493b5cb6ac am 923619f6: am 4a542fc5: am 134911d7: Merge "Use __typeof__() instead of typeof()"
* commit '923619f6e22cc76db598c7e0331ce3d1a470943d':
  Use __typeof__() instead of typeof()
2014-05-27 22:03:37 +00:00
Dan Albert
923619f6e2 am 4a542fc5: am 134911d7: Merge "Use __typeof__() instead of typeof()"
* commit '4a542fc5193152d64de23add0c4ee27b8486cdf9':
  Use __typeof__() instead of typeof()
2014-05-27 22:01:25 +00:00
Elliott Hughes
0ad4b21658 am 5264518f: am 946bc952: am 8e85b4f0: Merge "Restore __srefill for LP32."
* commit '5264518f61f506bb025b17520ae5e0f0bba9cb85':
  Restore __srefill for LP32.
2014-05-27 18:48:41 +00:00
Elliott Hughes
5264518f61 am 946bc952: am 8e85b4f0: Merge "Restore __srefill for LP32."
* commit '946bc9528df170d32033ec5794073896d2406301':
  Restore __srefill for LP32.
2014-05-27 18:44:59 +00:00
Elliott Hughes
06b3711de3 am ab4064bc: am 50c52f74: am b3c75a1e: Merge "Restore __srget and __swbuf for LP32."
* commit 'ab4064bc9308dca7880ecca6ee52242642dfa2a7':
  Restore __srget and __swbuf for LP32.
2014-05-26 08:49:00 +00:00
Elliott Hughes
ab4064bc93 am 50c52f74: am b3c75a1e: Merge "Restore __srget and __swbuf for LP32."
* commit '50c52f7424c2ef6fdc8fae1635a1c646c28a96a9':
  Restore __srget and __swbuf for LP32.
2014-05-26 08:07:13 +00:00
Elliott Hughes
23826c81d4 am 6571b81b: am 21296dfe: am bc904896: Merge "Add C11 <stdatomic.h>."
* commit '6571b81b1f8f8ade80024a99af37fcf42514aaae':
  Add C11 <stdatomic.h>.
2014-05-25 17:56:53 +00:00
Elliott Hughes
6571b81b1f am 21296dfe: am bc904896: Merge "Add C11 <stdatomic.h>."
* commit '21296dfe530c73906411b44347c66db8c0e6d3aa':
  Add C11 <stdatomic.h>.
2014-05-25 17:54:20 +00:00
Elliott Hughes
d460da0813 am abc68292: am 06c9662a: am 255789e4: Merge "Restore tkill for LP32."
* commit 'abc68292b48741fa646b8f16263cae3c42012dc8':
  Restore tkill for LP32.
2014-05-25 03:24:01 +00:00
Elliott Hughes
abc68292b4 am 06c9662a: am 255789e4: Merge "Restore tkill for LP32."
* commit '06c9662a2feddc86a37d3adb3e468d57067c3714':
  Restore tkill for LP32.
2014-05-25 03:21:27 +00:00
Elliott Hughes
7b9626f449 am 4d436a2f: am 85df714f: am d4f37110: Merge "Restore __futex_wake and __futex_wait for LP32."
* commit '4d436a2fdc3a847571a69c22d2cfefeef29ca9a2':
  Restore __futex_wake and __futex_wait for LP32.
2014-05-25 03:17:25 +00:00
Elliott Hughes
4d436a2fdc am 85df714f: am d4f37110: Merge "Restore __futex_wake and __futex_wait for LP32."
* commit '85df714f911fe6c2155b6a5d8158e935b9b040a1':
  Restore __futex_wake and __futex_wait for LP32.
2014-05-25 03:14:47 +00:00
Christopher Ferris
18f89a699c am 3e9cd6ca: am 86f5d0f9: am 1c4d8301: Merge "Revert "Add optimized AArch64 versions of bcopy and wmemmove based on memmove""
* commit '3e9cd6ca1050d222e1ce5dbe27356162eb194f6f':
  Revert "Add optimized AArch64 versions of bcopy and wmemmove based on memmove"
2014-05-24 01:10:59 +00:00
Christopher Ferris
3e9cd6ca10 am 86f5d0f9: am 1c4d8301: Merge "Revert "Add optimized AArch64 versions of bcopy and wmemmove based on memmove""
* commit '86f5d0f9c1d9904ce45329d14682a849253917cd':
  Revert "Add optimized AArch64 versions of bcopy and wmemmove based on memmove"
2014-05-24 01:08:38 +00:00
Christopher Ferris
d35cac4a2e am b6481ffb: am 5c34b003: am 78c3e11e: Merge "Add optimized AArch64 versions of bcopy and wmemmove based on memmove"
* commit 'b6481ffb63820b759369da2e6836b1ecc453889f':
  Add optimized AArch64 versions of bcopy and wmemmove based on memmove
2014-05-24 01:07:31 +00:00
Christopher Ferris
b6481ffb63 am 5c34b003: am 78c3e11e: Merge "Add optimized AArch64 versions of bcopy and wmemmove based on memmove"
* commit '5c34b003dca903f0308da9a2e07a5cd99bc7ebf1':
  Add optimized AArch64 versions of bcopy and wmemmove based on memmove
2014-05-24 01:04:06 +00:00
Ben Cheng
a937f5246f am 50049943: am 50348295: am f4985b14: Merge "Clear link register in __bionic_clone."
* commit '500499435f04b8617e0756f71a37736bdc1ef9ad':
  Clear link register in __bionic_clone.
2014-05-24 01:04:03 +00:00
Ben Cheng
500499435f am 50348295: am f4985b14: Merge "Clear link register in __bionic_clone."
* commit '50348295048b25b06140b4d34edb7932973addfd':
  Clear link register in __bionic_clone.
2014-05-24 01:00:40 +00:00
Elliott Hughes
8adf95857b am 28bfc84e: am 764ebf8a: am a486632e: Merge "Remove <sys/atomics.h>."
* commit '28bfc84e42a91a4960844ea36c90dc7c936ef292':
  Remove <sys/atomics.h>.
2014-05-23 22:33:40 +00:00
Elliott Hughes
28bfc84e42 am 764ebf8a: am a486632e: Merge "Remove <sys/atomics.h>."
* commit '764ebf8a901ac2d3b04279ea7f8d77c51e1024ea':
  Remove <sys/atomics.h>.
2014-05-23 22:27:27 +00:00
Calin Juravle
09afdfb514 am 66aba0d8: am d2b12988: am b2604949: Merge "Migrate pthread_rwlock implementation away from sys/atomics"
* commit '66aba0d8b2789b3ccf74df7111b0e8b838f0e320':
  Migrate pthread_rwlock implementation away from sys/atomics
2014-05-23 19:43:29 +00:00
Elliott Hughes
bfba94aa3c am 8255a971: am 69068fd9: am fb9a47c7: Merge "Hide various stdio implementation details."
* commit '8255a971cc0d6d69c870f514fcf0fae1e5d3ebec':
  Hide various stdio implementation details.
2014-05-23 19:43:17 +00:00
Elliott Hughes
fc07a1e613 am a722fdcd: am cdf15e39: am 253fa170: Merge "Lose the hand-written futex assembler."
* commit 'a722fdcdb7bcddfb5ac30ad22798da4b53988013':
  Lose the hand-written futex assembler.
2014-05-23 19:43:16 +00:00
Dmitriy Ivanov
3e72f2894e am 571c1639: am d97458eb: am ce00354f: Merge "Do not add arcs to the soinfo graph on dlopen"
* commit '571c163950479bd41928098415b2cae7602d4743':
  Do not add arcs to the soinfo graph on dlopen
2014-05-23 19:34:47 +00:00
Elliott Hughes
f25f5712f3 am 16933c6a: am 5a95dd14: am ea7dc320: Merge "Add some more BSD symbols to the list."
* commit '16933c6ae9c6b8de8e05374b5b52446f637e6071':
  Add some more BSD symbols to the list.
2014-05-23 19:34:39 +00:00
Elliott Hughes
a03e07a625 am 236130cd: am 3fd88ebe: am 0f79a2f4: Merge "Cleaned up pthread rwlocks implementation."
* commit '236130cd8dab048009ab3fbbe7e24bd7dca8dfa3':
  Cleaned up pthread rwlocks implementation.
2014-05-23 19:34:39 +00:00
Elliott Hughes
c1c1992527 am 57b0f075: am bfa87e27: am ec071ac0: Merge "Remove the tkill(2) stub."
* commit '57b0f075dd66f195c6568e049a9269b9e1e8f016':
  Remove the tkill(2) stub.
2014-05-23 19:34:38 +00:00
The Android Automerger
b3515ef311 am 19cb2c17: merge in master-release history after reset to 2c52565940
* commit '19cb2c175a2527bc58f610d6b7f0a69d7d5592ac':
2014-05-23 18:22:21 +00:00
Calin Juravle
66aba0d8b2 am d2b12988: am b2604949: Merge "Migrate pthread_rwlock implementation away from sys/atomics"
* commit 'd2b129881acb7000f7943bfdb47782f505026cc0':
  Migrate pthread_rwlock implementation away from sys/atomics
2014-05-23 10:14:49 +00:00
Elliott Hughes
8255a971cc am 69068fd9: am fb9a47c7: Merge "Hide various stdio implementation details."
* commit '69068fd919b482028b3afd84a814d48b362a0189':
  Hide various stdio implementation details.
2014-05-23 08:34:57 +00:00
Elliott Hughes
a722fdcdb7 am cdf15e39: am 253fa170: Merge "Lose the hand-written futex assembler."
* commit 'cdf15e3908312493331b20abef422234fbcc1c29':
  Lose the hand-written futex assembler.
2014-05-23 08:34:53 +00:00
Dmitriy Ivanov
571c163950 am d97458eb: am ce00354f: Merge "Do not add arcs to the soinfo graph on dlopen"
* commit 'd97458eb877a06ab097a806788580f72349fb09e':
  Do not add arcs to the soinfo graph on dlopen
2014-05-23 02:27:22 +00:00
Elliott Hughes
16933c6ae9 am 5a95dd14: am ea7dc320: Merge "Add some more BSD symbols to the list."
* commit '5a95dd1446ee1563d6500990a8576917b01f2981':
  Add some more BSD symbols to the list.
2014-05-23 02:02:36 +00:00
Elliott Hughes
236130cd8d am 3fd88ebe: am 0f79a2f4: Merge "Cleaned up pthread rwlocks implementation."
* commit '3fd88ebe0f881438ed07b62d991e46e7f9adab83':
  Cleaned up pthread rwlocks implementation.
2014-05-23 01:56:05 +00:00
Elliott Hughes
57b0f075dd am bfa87e27: am ec071ac0: Merge "Remove the tkill(2) stub."
* commit 'bfa87e27f7c9d19f697bb384429673bb96140d7a':
  Remove the tkill(2) stub.
2014-05-23 01:52:40 +00:00
Elliott Hughes
9b49321ea5 am 4cf6b531: am 8a326a17: am 4f6ed4a1: Merge "Remove unnecessary #includes of <sys/atomics.h>."
* commit '4cf6b531c2d7408ea5fa754e5b1bf4711c5fe396':
  Remove unnecessary #includes of <sys/atomics.h>.
2014-05-22 18:28:15 +00:00
Dmitriy Ivanov
53f857b235 am 587afa2e: am 88923ba4: am 0b10ffb4: Merge "Fix dlsym_failure NULL handle test"
* commit '587afa2efc040c40e0be3811ad663269c9ffc637':
  Fix dlsym_failure NULL handle test
2014-05-22 18:27:56 +00:00
Elliott Hughes
4cf6b531c2 am 8a326a17: am 4f6ed4a1: Merge "Remove unnecessary #includes of <sys/atomics.h>."
* commit '8a326a17f3b55b4b95f1f06ed4030b5290ca80f0':
  Remove unnecessary #includes of <sys/atomics.h>.
2014-05-22 18:07:50 +00:00
Calin Juravle
67916021b5 am 5a2f51fc: am dd31f282: am eea59ea2: Merge "Add dprintf test"
* commit '5a2f51fcd1e1ab31a74dc7529d80316fc7243a18':
  Add dprintf test
2014-05-22 18:01:40 +00:00
Dmitriy Ivanov
587afa2efc am 88923ba4: am 0b10ffb4: Merge "Fix dlsym_failure NULL handle test"
* commit '88923ba4d8bbb4b47cde66bd66d2690d3cfb5d80':
  Fix dlsym_failure NULL handle test
2014-05-22 17:18:44 +00:00
Calin Juravle
a959644d5d am 5f8626a3: am db3cda2d: am 254fa885: Merge "Switch to POSIX dprintf/vdprintf."
* commit '5f8626a3755dc397fc48c67ed36243877aea18d7':
  Switch to POSIX dprintf/vdprintf.
2014-05-22 16:49:09 +00:00
Calin Juravle
5a2f51fcd1 am dd31f282: am eea59ea2: Merge "Add dprintf test"
* commit 'dd31f28273ddec95778a4f0e60d9e1b5f1373d40':
  Add dprintf test
2014-05-22 16:11:56 +00:00
Dmitriy Ivanov
9ae38fcdf8 am 1ca1db12: am 5bfa06de: am 3eb9f1f6: Merge "Removed dlsym handle != NULL check for lp64"
* commit '1ca1db1204c8455154406d947db51ee2a4c5770b':
  Removed dlsym handle != NULL check for lp64
2014-05-22 16:02:35 +00:00
The Android Automerger
19cb2c175a merge in master-release history after reset to 2c52565940 2014-05-22 07:21:22 -07:00
Calin Juravle
5f8626a375 am db3cda2d: am 254fa885: Merge "Switch to POSIX dprintf/vdprintf."
* commit 'db3cda2decaa1f04f5e6b8e2d2706c4f17f2db5d':
  Switch to POSIX dprintf/vdprintf.
2014-05-22 13:37:47 +00:00
Calin Juravle
63590a2f95 am 77761e4c: am ddf52021: am d1dc009c: Merge "Add padding to mips ucontext_t."
* commit '77761e4cc8719933bf66be7894e1b3da27bd03dd':
  Add padding to mips ucontext_t.
2014-05-22 13:33:29 +00:00
Calin Juravle
e5d8092d89 am 3625f432: am 841a1a13: am 156c7d3d: Merge "Clean up ucontext.h TODOs."
* commit '3625f432b39c1f9a7f23d2219eb421d4478cd852':
  Clean up ucontext.h TODOs.
2014-05-22 13:33:29 +00:00
Calin Juravle
f9aac10cf3 am d75b6e2e: am 6cec7775: am 17216716: Merge "Mutex-free implementation of pthread_rwlock"
* commit 'd75b6e2e478fddfbdd404d44e0d33383965b2f39':
  Mutex-free implementation of pthread_rwlock
2014-05-22 13:33:28 +00:00
Dmitriy Ivanov
1ca1db1204 am 5bfa06de: am 3eb9f1f6: Merge "Removed dlsym handle != NULL check for lp64"
* commit '5bfa06de888770970d56d598960ba7c375998c75':
  Removed dlsym handle != NULL check for lp64
2014-05-22 13:03:27 +00:00
The Android Automerger
fb2d225bc8 merge in master-release history after reset to 486396a8c9 2014-05-22 05:49:24 -07:00
Calin Juravle
77761e4cc8 am ddf52021: am d1dc009c: Merge "Add padding to mips ucontext_t."
* commit 'ddf520213c2a41831e9d56b01dccd41b04f259f8':
  Add padding to mips ucontext_t.
2014-05-22 10:20:20 +00:00
Calin Juravle
3625f432b3 am 841a1a13: am 156c7d3d: Merge "Clean up ucontext.h TODOs."
* commit '841a1a13ec25885133249960bc5a640c90c12e6a':
  Clean up ucontext.h TODOs.
2014-05-22 10:20:20 +00:00
Calin Juravle
d75b6e2e47 am 6cec7775: am 17216716: Merge "Mutex-free implementation of pthread_rwlock"
* commit '6cec77755ba563f3707f695c99b9d24bff0f1791':
  Mutex-free implementation of pthread_rwlock
2014-05-22 10:20:19 +00:00
Elliott Hughes
2c52565940 am e2d7d274: am 176e71fb: am 3d4a7b02: Merge "Hide most of the private futex functions."
* commit 'e2d7d274f5c6edf38b9a27ad87178619ed6c4ab3':
  Hide most of the private futex functions.
2014-05-22 03:09:10 +00:00
Elliott Hughes
e2d7d274f5 am 176e71fb: am 3d4a7b02: Merge "Hide most of the private futex functions."
* commit '176e71fb52d4ba380404280aade630b29708f002':
  Hide most of the private futex functions.
2014-05-22 03:04:44 +00:00
Christopher Ferris
486396a8c9 am 328b2b6b: am 05645db0: am f97d8713: Merge "Add cfi directives for arm64 assembler."
* commit '328b2b6bfb73ee5bded6719ac15e0a3381c1800f':
  Add cfi directives for arm64 assembler.
2014-05-22 01:22:39 +00:00
Christopher Ferris
328b2b6bfb am 05645db0: am f97d8713: Merge "Add cfi directives for arm64 assembler."
* commit '05645db074c9116e628b3e50b0e88d173eef0a0d':
  Add cfi directives for arm64 assembler.
2014-05-22 01:18:09 +00:00
Elliott Hughes
0e00375a5c am 17e44b89: am fc951aae: am bf0a4407: Merge "Remove an unnecessary instruction from arm64 __bionic_clone."
* commit '17e44b89e11286f3dcf7b35f9bb6432864ac085e':
  Remove an unnecessary instruction from arm64 __bionic_clone.
2014-05-22 00:33:42 +00:00
Elliott Hughes
17e44b89e1 am fc951aae: am bf0a4407: Merge "Remove an unnecessary instruction from arm64 __bionic_clone."
* commit 'fc951aaec61f14b2a6053be295408a9a3a8d520a':
  Remove an unnecessary instruction from arm64 __bionic_clone.
2014-05-22 00:27:52 +00:00
Christopher Ferris
63900a7110 am 845e5c77: am fc11ebc5: am 3d5a4240: Merge "Fix build."
* commit '845e5c77b551b7b3079f9e6adf1f780f96729c33':
  Fix build.
2014-05-21 19:49:46 +00:00
Christopher Ferris
845e5c77b5 am fc11ebc5: am 3d5a4240: Merge "Fix build."
* commit 'fc11ebc50141c5fcd2d2a9ff36595d72962e7d07':
  Fix build.
2014-05-21 18:53:15 +00:00
Christopher Ferris
c1df57d60e am bce2357e: am c1be1ecc: am 011076b7: Merge "Support for jemalloc to replace dlmalloc."
* commit 'bce2357e42fdfb45556ec57ccb54d587e645f196':
  Support for jemalloc to replace dlmalloc.
2014-05-21 18:24:30 +00:00
Christopher Ferris
bce2357e42 am c1be1ecc: am 011076b7: Merge "Support for jemalloc to replace dlmalloc."
* commit 'c1be1eccbb22e136de933824cd003c1dad9b17e5':
  Support for jemalloc to replace dlmalloc.
2014-05-21 18:21:28 +00:00
Elliott Hughes
91b4613403 am 68396799: am c5f723ae: am c1b7f44c: Merge "Remove __syslog; we have the public klogctl API."
* commit '683967991425addf38a24024ae5503768a813b64':
  Remove __syslog; we have the public klogctl API.
2014-05-21 18:17:26 +00:00
Elliott Hughes
6839679914 am c5f723ae: am c1b7f44c: Merge "Remove __syslog; we have the public klogctl API."
* commit 'c5f723aef55912545b3dc32983a58974c5193e5e':
  Remove __syslog; we have the public klogctl API.
2014-05-21 18:14:08 +00:00
Elliott Hughes
3db501139b am c323b97c: am 87987df9: am daf69128: Merge "Fix x86_64 __set_tls.c build failure."
* commit 'c323b97c52297c4342dd45e329bad816f3bc5746':
  Fix x86_64 __set_tls.c build failure.
2014-05-21 18:10:23 +00:00
Neil Fuller
a073b4ee0a am 55326c4b: am b7a23959: am 76805140: Merge "Treat zero or >1 dat files as an error"
* commit '55326c4b9714cba3e7bf0e27ceea0e2b91240d6f':
  Treat zero or >1 dat files as an error
2014-05-21 17:28:39 +00:00
Elliott Hughes
c323b97c52 am 87987df9: am daf69128: Merge "Fix x86_64 __set_tls.c build failure."
* commit '87987df99034265fdfeebe315e6545d809379ede':
  Fix x86_64 __set_tls.c build failure.
2014-05-21 17:07:46 +00:00
Neil Fuller
55326c4b97 am b7a23959: am 76805140: Merge "Treat zero or >1 dat files as an error"
* commit 'b7a23959984c5407d8cc138ccf017da493c1d24e':
  Treat zero or >1 dat files as an error
2014-05-21 16:26:01 +00:00
Elliott Hughes
b8297bfdf6 am ee2939db: am ceed7b76: am 29f2906b: Merge "Add a few more symbols to check-symbols-glibc."
* commit 'ee2939dbf9d6574394249548e94a31575b4ada2d':
  Add a few more symbols to check-symbols-glibc.
2014-05-21 15:35:58 +00:00
Elliott Hughes
ee2939dbf9 am ceed7b76: am 29f2906b: Merge "Add a few more symbols to check-symbols-glibc."
* commit 'ceed7b76b768aaa0dd84769afd689336f5b5ac98':
  Add a few more symbols to check-symbols-glibc.
2014-05-21 15:32:10 +00:00
Elliott Hughes
66af04b512 am a7293ddb: am 7a611f18: am 9f0a52e4: Merge "Hide __get_sp."
* commit 'a7293ddb8da94cc823ec28b851f69ef2d99a70d4':
  Hide __get_sp.
2014-05-21 15:31:13 +00:00
Elliott Hughes
802383df53 am f55dc413: am 0aa1fb1c: am 7471a370: Merge "Hide __set_tls."
* commit 'f55dc41303417904136902698191fd0f0fe3a061':
  Hide __set_tls.
2014-05-21 15:31:12 +00:00
Elliott Hughes
a7293ddb8d am 7a611f18: am 9f0a52e4: Merge "Hide __get_sp."
* commit '7a611f184d2a8e1a5e8187629ff95ad793d561ac':
  Hide __get_sp.
2014-05-21 15:28:19 +00:00
Elliott Hughes
f55dc41303 am 0aa1fb1c: am 7471a370: Merge "Hide __set_tls."
* commit '0aa1fb1c1672a3bbe63155e05e445826c64aafb7':
  Hide __set_tls.
2014-05-21 15:28:18 +00:00
The Android Automerger
f584321edc merge in master-release history after reset to 9e2595d7b6 2014-05-21 05:49:22 -07:00
Neil Fuller
9e2595d7b6 am fa5903ed: am 3248b9d3: am 22784885: Merge "Change update-tzdata.py to update ICU data as well"
* commit 'fa5903edf32062d95a4a09f34571a640c1429eb6':
  Change update-tzdata.py to update ICU data as well
2014-05-21 11:17:01 +00:00
Neil Fuller
fa5903edf3 am 3248b9d3: am 22784885: Merge "Change update-tzdata.py to update ICU data as well"
* commit '3248b9d33c14bef51a07146ce93ec810c07c01e3':
  Change update-tzdata.py to update ICU data as well
2014-05-21 08:49:25 +00:00
Elliott Hughes
dc961faa95 am 58425608: am a9e2ffd8: am 20177b9f: Merge "Remove perf_event_open."
* commit '5842560845af94c2f15a1e7186c800e0f1e6224b':
  Remove perf_event_open.
2014-05-21 03:28:15 +00:00
Elliott Hughes
5842560845 am a9e2ffd8: am 20177b9f: Merge "Remove perf_event_open."
* commit 'a9e2ffd8e5cb385d85000c02636514d439bcedec':
  Remove perf_event_open.
2014-05-21 03:25:52 +00:00
Colin Cross
4d9fe6863f am 57889849: am 8a6217df: am 3d2bc5d6: Merge "HACK: linker: check for handle==0xffffffff on LP64"
* commit '5788984925a13b964c8003616773695fa4ef519b':
  HACK: linker: check for handle==0xffffffff on LP64
2014-05-21 00:01:48 +00:00
Colin Cross
5788984925 am 8a6217df: am 3d2bc5d6: Merge "HACK: linker: check for handle==0xffffffff on LP64"
* commit '8a6217df921eadf7e2f92fb82f2e6f1bfe36d5cb':
  HACK: linker: check for handle==0xffffffff on LP64
2014-05-20 23:45:48 +00:00
Colin Cross
ddc7f830ce HACK: linker: check for handle==0xffffffff on LP64
bionic RTLD_NEXT was changed from 0xffffffff to -1L, which breaks
existing binaries compiled.  Temporarily look either until we can
get recompiled binaries.

Bug: 15113039
Change-Id: I1568fa0e4a832c5e6df21da74a33b22bde7f16f6
2014-05-20 15:10:01 -07:00
Christopher Ferris
223069e0e1 am 1a5d6435: am 78f22ecb: am afb89c2a: Merge "denver: optimize memmove"
* commit '1a5d64357968393d03c66c564066add0d589b760':
  denver: optimize memmove
2014-05-20 20:18:04 +00:00
Dmitriy Ivanov
a67d3168b9 am 45c1baf1: am 87ce52ac: am f092feb8: Merge "Add R_X86_64_64 to the list of possible weak relocs"
* commit '45c1baf1ad7cc5e31a09cd11740846a0ba69041c':
  Add R_X86_64_64 to the list of possible weak relocs
2014-05-20 20:17:55 +00:00
Dmitriy Ivanov
8151d09639 am 1350ed3d: am 5277e772: am 0a8f296e: Merge "Add RTLD_NOLOAD support and some related changes."
* commit '1350ed3d5252ed2beb8eb06564660c2cc97747f9':
  Add RTLD_NOLOAD support and some related changes.
2014-05-20 20:17:54 +00:00
Christopher Ferris
1a5d643579 am 78f22ecb: am afb89c2a: Merge "denver: optimize memmove"
* commit '78f22ecb6d10c163165e9c7b294bb613a1af3a0a':
  denver: optimize memmove
2014-05-20 20:03:40 +00:00
Dmitriy Ivanov
45c1baf1ad am 87ce52ac: am f092feb8: Merge "Add R_X86_64_64 to the list of possible weak relocs"
* commit '87ce52ac08dd43bed0ceb16f284d5f73f40c7804':
  Add R_X86_64_64 to the list of possible weak relocs
2014-05-20 19:19:53 +00:00
Dmitriy Ivanov
1350ed3d52 am 5277e772: am 0a8f296e: Merge "Add RTLD_NOLOAD support and some related changes."
* commit '5277e7726fced48505cc147310bdbca91c9d0668':
  Add RTLD_NOLOAD support and some related changes.
2014-05-20 19:19:52 +00:00
Elliott Hughes
7435e9e974 am 7bdf1e48: am da095f3c: am ce0e1b81: Merge "Add a script for finding symbols in bionic that aren\'t in glibc."
* commit '7bdf1e48ff8711f35163f95764bb1d467b205b96':
  Add a script for finding symbols in bionic that aren't in glibc.
2014-05-20 18:35:30 +00:00
Elliott Hughes
7bdf1e48ff am da095f3c: am ce0e1b81: Merge "Add a script for finding symbols in bionic that aren\'t in glibc."
* commit 'da095f3cd10a117fb36acfd2d0650f86e46da69b':
  Add a script for finding symbols in bionic that aren't in glibc.
2014-05-20 18:30:08 +00:00
Dmitriy Ivanov
8de39cd11d am 11a6b260: am 486628a3: am 0b9a72ce: Merge "Fix lookup-by-base-name for lp64"
* commit '11a6b260f194d69591aa058d05d46e62601d496c':
  Fix lookup-by-base-name for lp64
2014-05-20 18:16:00 +00:00
Calin Juravle
077cbee5d1 am 995b9704: am bcd1a312: am b2b0f7e1: Merge "Add uc_regspace to arm\'s ucontext_t"
* commit '995b9704d8ba70d4d09ef0c3453d5f25ed099816':
  Add uc_regspace to arm's ucontext_t
2014-05-20 18:15:40 +00:00
Dmitriy Ivanov
11a6b260f1 am 486628a3: am 0b9a72ce: Merge "Fix lookup-by-base-name for lp64"
* commit '486628a3a570a6ae62ac322dcd75a25a285a4151':
  Fix lookup-by-base-name for lp64
2014-05-20 16:04:27 +00:00
The Android Automerger
e49c966c24 merge in master-release history after reset to b854440098 2014-05-20 05:49:19 -07:00
Calin Juravle
995b9704d8 am bcd1a312: am b2b0f7e1: Merge "Add uc_regspace to arm\'s ucontext_t"
* commit 'bcd1a312ae34021eda8b0ca3635592b76380e25f':
  Add uc_regspace to arm's ucontext_t
2014-05-20 10:20:59 +00:00
Elliott Hughes
b854440098 am 6cdd33db: am 509348b8: am c4794a74: Merge "Use -fvisibility=hidden to build libm."
* commit '6cdd33db4ad73f337530d2be33532f005a114c57':
  Use -fvisibility=hidden to build libm.
2014-05-20 00:58:00 +00:00
Elliott Hughes
6cdd33db4a am 509348b8: am c4794a74: Merge "Use -fvisibility=hidden to build libm."
* commit '509348b8ffbeddcd76be4a8117184e6592382ad4':
  Use -fvisibility=hidden to build libm.
2014-05-20 00:54:19 +00:00
Dan Albert
ac7778e1ce am 9e69a2e8: am 898f8053: am 05b37cfc: Merge "Revert "Removes bionic\'s dependence on stlport""
* commit '9e69a2e8ccccae557e40145bbe15a438dc3f336d':
  Revert "Removes bionic's dependence on stlport"
2014-05-20 00:23:12 +00:00
Dan Albert
28f4bdaa39 am a484e2d4: am 1f71e131: am 036bf65a: Merge "Removes bionic\'s dependence on stlport"
* commit 'a484e2d4fcaaaf03ce0c095d638755c7c737a1f0':
  Removes bionic's dependence on stlport
2014-05-20 00:23:10 +00:00
Dan Albert
4cc742e920 am 60bab8a7: am d8cc98ad: am 94a9ba2b: Merge "Removes RTTI support from libc"
* commit '60bab8a7ef30f72eb26a843afc3e0bdd02d3796d':
  Removes RTTI support from libc
2014-05-20 00:23:09 +00:00
Elliott Hughes
310ecf1ae9 am 348adca2: am be3db39e: am 948acf71: Merge "Switch back to OpenBSD inet_ntop now they\'re FORTIFY clean."
* commit '348adca20e68c42bdfbf594aaa675062d3595761':
  Switch back to OpenBSD inet_ntop now they're FORTIFY clean.
2014-05-20 00:23:09 +00:00
Sreeram Ramachandran
7c30167b3a am d70e0c88: am 54c83fee: am 9925c1a8: Merge "Mark sockets on creation (socket()) and accept4()."
* commit 'd70e0c884c19c08aa44c038dbf2f12a5b55c73fe':
  Mark sockets on creation (socket()) and accept4().
2014-05-20 00:23:03 +00:00
Ben Cheng
0d225606ec am 10a1ecb4: am d9798383: am 77338a29: Merge "Address additional warnings found by GCC 4.9."
* commit '10a1ecb4cbbc6a7236b12ad9c3dbc9b645091135':
  Address additional warnings found by GCC 4.9.
2014-05-20 00:23:01 +00:00
Sreeram Ramachandran
59f3405d50 am f65c4db3: am 1c99b23c: am 172ab0f6: Merge "Query libnetd_client for the appropriate netId for host resolution."
* commit 'f65c4db319feaeec844c8cf3f3eb920a134900e7':
  Query libnetd_client for the appropriate netId for host resolution.
2014-05-20 00:23:00 +00:00
Dan Albert
9e69a2e8cc am 898f8053: am 05b37cfc: Merge "Revert "Removes bionic\'s dependence on stlport""
* commit '898f80538043ff6c296e13e6b86b1b8fcb87bddf':
  Revert "Removes bionic's dependence on stlport"
2014-05-20 00:00:10 +00:00
Dan Albert
a484e2d4fc am 1f71e131: am 036bf65a: Merge "Removes bionic\'s dependence on stlport"
* commit '1f71e131b61721bfca7efe72e3b39f9a0dd4c41b':
  Removes bionic's dependence on stlport
2014-05-19 23:39:06 +00:00
Dan Albert
60bab8a7ef am d8cc98ad: am 94a9ba2b: Merge "Removes RTTI support from libc"
* commit 'd8cc98ad0cb76d0e3328c5eda407cc77aa434628':
  Removes RTTI support from libc
2014-05-19 23:30:37 +00:00
Elliott Hughes
348adca20e am be3db39e: am 948acf71: Merge "Switch back to OpenBSD inet_ntop now they\'re FORTIFY clean."
* commit 'be3db39e213990af69a68f5070455a59775b24ee':
  Switch back to OpenBSD inet_ntop now they're FORTIFY clean.
2014-05-19 23:26:23 +00:00
Sreeram Ramachandran
d70e0c884c am 54c83fee: am 9925c1a8: Merge "Mark sockets on creation (socket()) and accept4()."
* commit '54c83feebfc3b2046ed9e060e19ba6793dec17c4':
  Mark sockets on creation (socket()) and accept4().
2014-05-19 22:45:00 +00:00
Ben Cheng
10a1ecb4cb am d9798383: am 77338a29: Merge "Address additional warnings found by GCC 4.9."
* commit 'd979838321ffe232cd4b37d9b73ee2ec41e99850':
  Address additional warnings found by GCC 4.9.
2014-05-19 22:34:25 +00:00
Sreeram Ramachandran
f65c4db319 am 1c99b23c: am 172ab0f6: Merge "Query libnetd_client for the appropriate netId for host resolution."
* commit '1c99b23cc1ff5f1de658d7377cedf6e43b20f39b':
  Query libnetd_client for the appropriate netId for host resolution.
2014-05-19 22:23:55 +00:00
Sreeram Ramachandran
57a2627575 Fix build breakage.
Change-Id: I1835198c64c28021b81f0c790f108685a3f456c7
2014-05-19 10:21:39 -07:00
Sreeram Ramachandran
7fe1063797 resolved conflicts for merge of e7329284 to master
Change-Id: Iaeb09451ed1a268a025ce3033ab018f28f954848
2014-05-19 09:57:54 -07:00
Sreeram Ramachandran
e732928425 am 0617c73f: am 308c30af: Merge "Cosmetic changes to netd client files."
* commit '0617c73f918ccfa5b836e1ae11c06a060f447469':
  Cosmetic changes to netd client files.
2014-05-19 16:52:14 +00:00
The Android Automerger
3b44079a09 merge in master-release history after reset to bf701a1a92 2014-05-19 05:49:12 -07:00
Paul Jensen
559c7842cc Query libnetd_client for the appropriate netId for host resolution.
If libnetd_client can't be found, operate as before and use the default netId
potentially overriden by a more specific netId passed in to
android_get*fornet().

Change-Id: I42ef3293172651870fb46d2de22464c4f03e8e0b
2014-05-19 11:23:12 +00:00
Christopher Ferris
bf701a1a92 am 1937b329: am 8fccb27f: am 3a757f40: Merge "Accuracy tests for libm"
* commit '1937b329604a19abc85bbd252cf1e7d49ca980f0':
  Accuracy tests for libm
2014-05-19 02:29:40 +00:00
Christopher Ferris
1937b32960 am 8fccb27f: am 3a757f40: Merge "Accuracy tests for libm"
* commit '8fccb27f951a9c790a92dc4619fef744c59aba9e':
  Accuracy tests for libm
2014-05-19 02:26:57 +00:00
The Android Automerger
a8250a6360 merge in master-release history after reset to de546168fc 2014-05-18 05:49:09 -07:00
The Android Automerger
008ab8ce31 merge in master-release history after reset to de546168fc 2014-05-17 05:49:30 -07:00
Elliott Hughes
de546168fc am ad064403: am 6e37ebfe: am 6c83305c: Merge "Rethrow SIGTRAP too."
* commit 'ad064403363cf1cafc497ef8a086184318d5e6cf':
  Rethrow SIGTRAP too.
2014-05-17 00:42:52 +00:00
Elliott Hughes
ad06440336 am 6e37ebfe: am 6c83305c: Merge "Rethrow SIGTRAP too."
* commit '6e37ebfe5cb037bba00967d4b3e891c122ec4904':
  Rethrow SIGTRAP too.
2014-05-17 00:40:39 +00:00
Elliott Hughes
3810729e54 am 91a7e878: am 81e4ab45: am 8b9a22f3: Merge "Fix the newly-introduced warning and turn on -Werror."
* commit '91a7e878f22776c8b15fb1aceb4823718611fe12':
  Fix the newly-introduced warning and turn on -Werror.
2014-05-17 00:23:14 +00:00
Elliott Hughes
92fd345436 am 0a26974e: am dc9ac844: am 2071b983: Merge "debugger.cpp should know the names of the signals it catches."
* commit '0a26974e5291a56bdd06a8b0bb25101dde408181':
  debugger.cpp should know the names of the signals it catches.
2014-05-17 00:23:14 +00:00
Elliott Hughes
91a7e878f2 am 81e4ab45: am 8b9a22f3: Merge "Fix the newly-introduced warning and turn on -Werror."
* commit '81e4ab453a43fc490205cc42d0be391495fe9686':
  Fix the newly-introduced warning and turn on -Werror.
2014-05-17 00:19:59 +00:00
Elliott Hughes
0a26974e52 am dc9ac844: am 2071b983: Merge "debugger.cpp should know the names of the signals it catches."
* commit 'dc9ac8449cee4d6ddb9afa57c730e8b3aedb83a5':
  debugger.cpp should know the names of the signals it catches.
2014-05-17 00:19:59 +00:00
Elliott Hughes
0f43d02843 am 19a54ce4: am 88a8e09b: am 5e6e3edb: Merge "Export get_malloc_leak_info and free_malloc_leak_info, used by ddms."
* commit '19a54ce4d446cdea01a7d50c2951481f3ed006bd':
  Export get_malloc_leak_info and free_malloc_leak_info, used by ddms.
2014-05-16 23:40:25 +00:00
Elliott Hughes
19a54ce4d4 am 88a8e09b: am 5e6e3edb: Merge "Export get_malloc_leak_info and free_malloc_leak_info, used by ddms."
* commit '88a8e09bcf1bd498afbf4104c8a6a46ac76b4625':
  Export get_malloc_leak_info and free_malloc_leak_info, used by ddms.
2014-05-16 23:36:50 +00:00
Elliott Hughes
f4ad3d6dd7 am b95ce9b3: am 838c5c25: am a23ee2cf: Merge "Hide _exit_with_stack_teardown."
* commit 'b95ce9b3d7b94878cb1a42e19cf059ad4d1455e8':
  Hide _exit_with_stack_teardown.
2014-05-16 23:33:44 +00:00
Elliott Hughes
b95ce9b3d7 am 838c5c25: am a23ee2cf: Merge "Hide _exit_with_stack_teardown."
* commit '838c5c25705fbdd79de1ddde1d0f45e59eb83349':
  Hide _exit_with_stack_teardown.
2014-05-16 23:30:14 +00:00
Elliott Hughes
7c8d98db59 am f8cb4542: am 30f89b6f: am aafa3d0e: Merge "Hide various debug malloc implementation details."
* commit 'f8cb45429b2cd4df8908f998fdc72b0fa235474a':
  Hide various debug malloc implementation details.
2014-05-16 23:15:33 +00:00
Elliott Hughes
f8cb45429b am 30f89b6f: am aafa3d0e: Merge "Hide various debug malloc implementation details."
* commit '30f89b6f32e102454d3fbecd797c2b98d1262d01':
  Hide various debug malloc implementation details.
2014-05-16 23:11:44 +00:00
Elliott Hughes
968aaf5d8d am fd5155e7: am 48ecb3a6: am 58b52fb1: Merge "Remove dead code."
* commit 'fd5155e7eb64563285831c774e112cf7513adb43':
  Remove dead code.
2014-05-16 23:00:35 +00:00
Elliott Hughes
3ac925850a am 45740160: am 67e34f30: am e2d5746a: Merge "Hide __signalfd4, used to implement signalfd(3)."
* commit '4574016027cce3132c6a348de8f0585348b4ffd5':
  Hide __signalfd4, used to implement signalfd(3).
2014-05-16 23:00:34 +00:00
Elliott Hughes
fd5155e7eb am 48ecb3a6: am 58b52fb1: Merge "Remove dead code."
* commit '48ecb3a64c56fb380cb642726787d1809d5ab1e4':
  Remove dead code.
2014-05-16 22:58:23 +00:00
Elliott Hughes
4574016027 am 67e34f30: am e2d5746a: Merge "Hide __signalfd4, used to implement signalfd(3)."
* commit '67e34f30749073c334828e565477d737136e1cb0':
  Hide __signalfd4, used to implement signalfd(3).
2014-05-16 22:58:23 +00:00
Elliott Hughes
971f66e469 am 1453b3df: am 7177d1d6: am d9b06298: Merge "Hide __futex_wake_ex and __futex_wait_ex."
* commit '1453b3df559609252633e40d677aadaf5dd70309':
  Hide __futex_wake_ex and __futex_wait_ex.
2014-05-16 20:07:34 +00:00
Elliott Hughes
1453b3df55 am 7177d1d6: am d9b06298: Merge "Hide __futex_wake_ex and __futex_wait_ex."
* commit '7177d1d6bb8f61e399dc5df1c0a15c04419ff426':
  Hide __futex_wake_ex and __futex_wait_ex.
2014-05-16 20:05:07 +00:00
Elliott Hughes
a0accd85c9 am 0178eba2: am 9700b6ca: am 22ade3c3: Merge "With libstdc++ in libc, __futex_wait and __futex_wake can be hidden."
* commit '0178eba213dfec500e71cd9889ece5af2f7de4cb':
  With libstdc++ in libc, __futex_wait and __futex_wake can be hidden.
2014-05-16 18:10:33 +00:00
Elliott Hughes
0178eba213 am 9700b6ca: am 22ade3c3: Merge "With libstdc++ in libc, __futex_wait and __futex_wake can be hidden."
* commit '9700b6ca97736062348469a83ede28dc1310d2db':
  With libstdc++ in libc, __futex_wait and __futex_wake can be hidden.
2014-05-16 18:07:04 +00:00
Elliott Hughes
ae04d58b96 am 505de840: am 80cff53e: am 2a602272: Merge "Move libstdc++ into libc."
* commit '505de840a225be10947f6aa25b25e8e623e670e5':
  Move libstdc++ into libc.
2014-05-16 17:40:55 +00:00
Elliott Hughes
505de840a2 am 80cff53e: am 2a602272: Merge "Move libstdc++ into libc."
* commit '80cff53e138cca6c2634e08f5ed1198facc7adb6':
  Move libstdc++ into libc.
2014-05-16 16:42:48 +00:00
Christopher Ferris
02aabff12e am c98359cc: am 0d9c78af: am 5265ad62: Merge "Fix comment typo."
* commit 'c98359cc6bffdffe03067740a0ad691cc16d83fa':
  Fix comment typo.
2014-05-16 02:21:53 +00:00
Christopher Ferris
c98359cc6b am 0d9c78af: am 5265ad62: Merge "Fix comment typo."
* commit '0d9c78afb314f60a9d384de4eaf5884a00ae57d3':
  Fix comment typo.
2014-05-16 02:18:31 +00:00
Dmitriy Ivanov
6a0f7d6187 am a161eea2: am 7f3d6b69: am 0a5b0166: Merge "Register _cleanup function with atexit"
* commit 'a161eea241da06c70995248df7a00b6553050e05':
  Register _cleanup function with atexit
2014-05-16 00:43:54 +00:00
Dmitriy Ivanov
a161eea241 am 7f3d6b69: am 0a5b0166: Merge "Register _cleanup function with atexit"
* commit '7f3d6b69cee423bb726814fb4b929c535b7d607e':
  Register _cleanup function with atexit
2014-05-16 00:41:48 +00:00
Elliott Hughes
c571c26820 am 9eb2d38d: am b9fdad77: am ec81b4a3: Merge "Scrub uapi headers slightly harder."
* commit '9eb2d38d53b2d00a9b5bd189a34f51afb7c385bf':
  Scrub uapi headers slightly harder.
2014-05-15 23:12:23 +00:00
Elliott Hughes
9eb2d38d53 am b9fdad77: am ec81b4a3: Merge "Scrub uapi headers slightly harder."
* commit 'b9fdad7715f3b3182e0fd6947446ef8df82064e8':
  Scrub uapi headers slightly harder.
2014-05-15 23:08:50 +00:00
Dmitriy Ivanov
128e0b65b2 am 67bdd4b8: am b17cc880: am 86bc436e: Merge "Improve detection of already loaded libraries"
* commit '67bdd4b8a1e56ba7cb4dd1d946d279ba32674e35':
  Improve detection of already loaded libraries
2014-05-15 22:04:50 +00:00
Dmitriy Ivanov
67bdd4b8a1 am b17cc880: am 86bc436e: Merge "Improve detection of already loaded libraries"
* commit 'b17cc8801a24464c9e0e9cb1829ebfb50f8588d4':
  Improve detection of already loaded libraries
2014-05-15 22:02:16 +00:00
The Android Automerger
bd8097e040 merge in master-release history after reset to 5491a4fd4d 2014-05-15 05:49:24 -07:00
Calin Juravle
5491a4fd4d am 08589ca2: am e5205d35: am 089c7c92: Merge "Document a known test issue in stdio_test.cpp."
* commit '08589ca235a82a7cdfb14db16c8e84a11d12f93d':
  Document a known test issue in stdio_test.cpp.
2014-05-15 10:34:37 +00:00
Calin Juravle
bfcc82b3c0 am 4c9eab72: am 83c94c6d: am 98efae4c: Merge "Fill in missing bits in x86(_64) ucontext_t"
* commit '4c9eab723481df5921296c2dba2dbdd8a81b1395':
  Fill in missing bits in x86(_64) ucontext_t
2014-05-15 10:34:37 +00:00
Calin Juravle
08589ca235 am e5205d35: am 089c7c92: Merge "Document a known test issue in stdio_test.cpp."
* commit 'e5205d35efb594cf1f645237b85114da45c2a352':
  Document a known test issue in stdio_test.cpp.
2014-05-15 09:42:04 +00:00
Calin Juravle
4c9eab7234 am 83c94c6d: am 98efae4c: Merge "Fill in missing bits in x86(_64) ucontext_t"
* commit '83c94c6d60d6615c69cb0548c1b846f210f93262':
  Fill in missing bits in x86(_64) ucontext_t
2014-05-15 09:42:04 +00:00
Andrew Hsieh
61c88b5648 am 5d76a6c2: am c67e917a: am d0a89921: Merge "Rename user_i387_struct -> user_fpregs_struct in sys/ucontext.h"
* commit '5d76a6c26e47cbd1b9c98b0151dda1677db32af6':
  Rename  user_i387_struct -> user_fpregs_struct in sys/ucontext.h
2014-05-15 01:59:52 +00:00
Andrew Hsieh
5d76a6c26e am c67e917a: am d0a89921: Merge "Rename user_i387_struct -> user_fpregs_struct in sys/ucontext.h"
* commit 'c67e917abc57c189411621032232f3d18773c66a':
  Rename  user_i387_struct -> user_fpregs_struct in sys/ucontext.h
2014-05-15 01:56:15 +00:00
Christopher Ferris
4903b31733 am 70240fda: am 493cfc33: am 1596b884: Merge "Increase minimum thread size for 64 bit."
* commit '70240fda03d5a375b6bb4e25dd50d1e7803a140e':
  Increase minimum thread size for 64 bit.
2014-05-15 01:13:50 +00:00
Christopher Ferris
70240fda03 am 493cfc33: am 1596b884: Merge "Increase minimum thread size for 64 bit."
* commit '493cfc338bb42dd1df77accd06d92aa736293709':
  Increase minimum thread size for 64 bit.
2014-05-15 01:11:16 +00:00
Elliott Hughes
71db4f6571 am e05c4ebb: am 4cbb778b: am f280130f: Merge "Remove the unused __system_property_wait."
* commit 'e05c4ebb651dc73ba86ae45242707c285847df2b':
  Remove the unused __system_property_wait.
2014-05-15 00:30:41 +00:00
Elliott Hughes
e05c4ebb65 am 4cbb778b: am f280130f: Merge "Remove the unused __system_property_wait."
* commit '4cbb778beb9cfc6cae88468413c80430424e6438':
  Remove the unused __system_property_wait.
2014-05-15 00:23:52 +00:00
Christopher Ferris
0799b77011 am d849068a: am cd5b7920: am bc7f8a79: Merge "Do not keep struct state on the stack."
* commit 'd849068a35040083ef56cfe457011bbf3a0d305c':
  Do not keep struct state on the stack.
2014-05-15 00:12:30 +00:00
Christopher Ferris
d849068a35 am cd5b7920: am bc7f8a79: Merge "Do not keep struct state on the stack."
* commit 'cd5b7920395f00c767d57c096dfcd713e9e25326':
  Do not keep struct state on the stack.
2014-05-15 00:07:37 +00:00
Elliott Hughes
00f2ab2054 am 370892c4: am f015757f: am 1e07463f: Merge "Add tests for fprintf behavior when the underlying fd is bad."
* commit '370892c42d95ac37fad68f0b7aab90f82609903f':
  Add tests for fprintf behavior when the underlying fd is bad.
2014-05-15 00:00:38 +00:00
Elliott Hughes
370892c42d am f015757f: am 1e07463f: Merge "Add tests for fprintf behavior when the underlying fd is bad."
* commit 'f015757fc6c36c63ff2f3332093e3527c579bfdb':
  Add tests for fprintf behavior when the underlying fd is bad.
2014-05-14 23:56:02 +00:00
Dmitriy Ivanov
82935da8a6 am 3d80e36a: am 283ec625: am 6897b7b8: Merge "Fix for linker allocator"
* commit '3d80e36a85414e09f7ccbdd71c7a196704344c92':
  Fix for linker allocator
2014-05-14 21:09:40 +00:00
Dmitriy Ivanov
3d80e36a85 am 283ec625: am 6897b7b8: Merge "Fix for linker allocator"
* commit '283ec6256bdde5685f224efdc67a061cc611b33a':
  Fix for linker allocator
2014-05-14 21:07:21 +00:00
Elliott Hughes
0fdfa216d4 am c04a2061: am f5b79eba: am fbd9dcad: Merge "Add a unit test for already-fixed printf -0.0 formatting."
* commit 'c04a20613a0e438e4dcdafc2632470fbee47c3f3':
  Add a unit test for already-fixed printf -0.0 formatting.
2014-05-14 21:05:33 +00:00
Elliott Hughes
c04a20613a am f5b79eba: am fbd9dcad: Merge "Add a unit test for already-fixed printf -0.0 formatting."
* commit 'f5b79eba6fae370316987f2d8f7399a641909fe7':
  Add a unit test for already-fixed printf -0.0 formatting.
2014-05-14 20:18:37 +00:00
Sreeram Ramachandran
c184a7a0ad am 62090bb6: am d2ac8787: am 49ec2a0c: Merge "Mark sockets on accept()."
* commit '62090bb6b9b3a38820dfd758ffccf0e94a3eb943':
  Mark sockets on accept().
2014-05-14 19:54:25 +00:00
Elliott Hughes
ad25b331c6 am c1a5bc96: am deedbebb: am acc51369: Merge "Add a regression test for a long-fixed pthread_once bug."
* commit 'c1a5bc96fb84a16dc1f4cae7919413be2b3912f0':
  Add a regression test for a long-fixed pthread_once bug.
2014-05-14 19:54:24 +00:00
Elliott Hughes
f693d2916b am c6057a5f: am d60d67db: am aeec2ae7: Merge "Remove the broken pthread deadlock prediction."
* commit 'c6057a5f618cca842432c3a28af1a9293b551aff':
  Remove the broken pthread deadlock prediction.
2014-05-14 19:54:24 +00:00
Sreeram Ramachandran
62090bb6b9 am d2ac8787: am 49ec2a0c: Merge "Mark sockets on accept()."
* commit 'd2ac8787496422ee70e44f6e5abf65b570015470':
  Mark sockets on accept().
2014-05-14 19:51:36 +00:00
Elliott Hughes
c1a5bc96fb am deedbebb: am acc51369: Merge "Add a regression test for a long-fixed pthread_once bug."
* commit 'deedbebb4ef3dfb14334a95ff5bdff42faa3a70f':
  Add a regression test for a long-fixed pthread_once bug.
2014-05-14 19:51:35 +00:00
Elliott Hughes
c6057a5f61 am d60d67db: am aeec2ae7: Merge "Remove the broken pthread deadlock prediction."
* commit 'd60d67db33a7190504c1503455a4e49f7f01a9db':
  Remove the broken pthread deadlock prediction.
2014-05-14 19:51:35 +00:00
Elliott Hughes
a0d2534ef4 am b270fd33: am 7451897c: am e6c27a7a: Merge "Fix a typo in the big g_ search/replace."
* commit 'b270fd332922b365091f835b1b61ed221a87f102':
  Fix a typo in the big g_ search/replace.
2014-05-14 18:09:56 +00:00
Elliott Hughes
b270fd3329 am 7451897c: am e6c27a7a: Merge "Fix a typo in the big g_ search/replace."
* commit '7451897cd45c7dceb52803400c5f979692013c4f':
  Fix a typo in the big g_ search/replace.
2014-05-14 18:07:19 +00:00
Elliott Hughes
73a3760ea8 am b2da973f: am 6eb0fe2b: am 15c13bd6: Merge "Switch to g_ for globals."
* commit 'b2da973fe9e7a1c9e774433eeae86c517321ebdc':
  Switch to g_ for globals.
2014-05-14 17:50:17 +00:00
Elliott Hughes
b2da973fe9 am 6eb0fe2b: am 15c13bd6: Merge "Switch to g_ for globals."
* commit '6eb0fe2b02bcc7d82ba23df6cfaef0369e7b068b':
  Switch to g_ for globals.
2014-05-14 17:45:12 +00:00
Ross McIlroy
4586f8d3ae am 582cf711: am bc45edaa: am bac79558: Merge "Fix x86_64 user_fpregs_struct to use the same name for the tag word as glibc."
* commit '582cf711309138e4e7e0c46696491028c823834d':
  Fix x86_64 user_fpregs_struct to use the same name for the tag word as glibc.
2014-05-14 14:40:05 +00:00
Ross McIlroy
582cf71130 am bc45edaa: am bac79558: Merge "Fix x86_64 user_fpregs_struct to use the same name for the tag word as glibc."
* commit 'bc45edaa9e5673c13b3cb161aa2bfacea29bbe04':
  Fix x86_64 user_fpregs_struct to use the same name for the tag word as glibc.
2014-05-14 14:35:38 +00:00
The Android Automerger
afa90b4c3a merge in master-release history after reset to 7fbc7481cc 2014-05-14 05:49:33 -07:00
Sreeram Ramachandran
dedf2922d5 Mark sockets on accept().
Conflicts:
	libc/SYSCALLS.TXT

Change-Id: I5d09be413cf720fbed905f96313b007997ada76c
2014-05-14 04:26:51 -07:00
Paul Jensen
41d9a50371 Add support for deleting per-network DNS resolver caches.
This is required when the possible range of NetIds is large to
prevent netd consuming excessive amounts of memory.
This required replacing the per-cache locks in favor of a single
global lock to prevent accesses to deleted caches.

Change-Id: I99d058bafea5de743e56075dbed74031da4df63f
2014-05-14 04:16:18 -07:00
Calin Juravle
7fbc7481cc am 32cd82f0: am 7c0b313d: am a7318774: Merge "Change wctype_t from int to long."
* commit '32cd82f093184fc3b6b43171f16ed5d74ca02795':
  Change wctype_t from int to long.
2014-05-14 10:47:04 +00:00
Calin Juravle
9d60edbcfe am c16e4332: am d36bbf13: am fd3171b4: Merge "Change wctype_t from enum to int"
* commit 'c16e4332e42ff152c06963c398e9195576d6aae4':
  Change wctype_t from enum to int
2014-05-14 10:47:04 +00:00
Calin Juravle
32cd82f093 am 7c0b313d: am a7318774: Merge "Change wctype_t from int to long."
* commit '7c0b313df17569fd821a5617339f962fa1f1ef11':
  Change wctype_t from int to long.
2014-05-14 10:42:44 +00:00
Calin Juravle
c16e4332e4 am d36bbf13: am fd3171b4: Merge "Change wctype_t from enum to int"
* commit 'd36bbf13154affc7bcae0745ca14a55927f8f037':
  Change wctype_t from enum to int
2014-05-14 10:42:44 +00:00
Elliott Hughes
8e168d2a01 am 28c9e21f: am 2146f78c: am 3e684183: Merge "Use the NetBSD inet_ntop until the OpenBSD bug is fixed."
* commit '28c9e21fe7bfadf0af5d183d6bcad5bf638de91b':
  Use the NetBSD inet_ntop until the OpenBSD bug is fixed.
2014-05-14 02:33:31 +00:00
Elliott Hughes
28c9e21fe7 am 2146f78c: am 3e684183: Merge "Use the NetBSD inet_ntop until the OpenBSD bug is fixed."
* commit '2146f78c09e08efe19215ae52c4fa715023ee15c':
  Use the NetBSD inet_ntop until the OpenBSD bug is fixed.
2014-05-14 02:29:31 +00:00
Dmitriy Ivanov
3b6c264ae9 am f49da77e: am f9a28bd7: am c6b5834c: Merge "Remove page level mprotects"
* commit 'f49da77e4a9cea6f2f5d8772b02f63ee4ab4e338':
  Remove page level mprotects
2014-05-14 01:56:32 +00:00
Elliott Hughes
d8e8909f95 am 46afef32: am 9b1e2a14: am 3557f2f6: Merge "Fix <sys/endian.h> uint32_t build failures."
* commit '46afef329fee8de35d092e3f1e635d11d6f6e91d':
  Fix <sys/endian.h> uint32_t build failures.
2014-05-14 01:56:31 +00:00
Dmitriy Ivanov
f49da77e4a am f9a28bd7: am c6b5834c: Merge "Remove page level mprotects"
* commit 'f9a28bd79df2abb17304f0cfafb143c9e79e3377':
  Remove page level mprotects
2014-05-14 01:51:26 +00:00
Elliott Hughes
46afef329f am 9b1e2a14: am 3557f2f6: Merge "Fix <sys/endian.h> uint32_t build failures."
* commit '9b1e2a14f9dad7c4cc19db9fee5afdc1f01340b4':
  Fix <sys/endian.h> uint32_t build failures.
2014-05-14 01:51:25 +00:00
Elliott Hughes
aa8e269d29 am 239347d9: am cb6f6243: am 17f8ef87: Merge "Flesh out <arpa/inet.h>."
* commit '239347d97effbd711f07da75def7620a1557988b':
  Flesh out <arpa/inet.h>.
2014-05-14 01:21:59 +00:00
Elliott Hughes
6033068d17 am 62c24c83: am f984afd0: am 57722375: Merge "We don\'t need two copies of <nsswitch.h>."
* commit '62c24c83538258fa2cd7e31d9b616bbb32d6398f':
  We don't need two copies of <nsswitch.h>.
2014-05-14 01:21:58 +00:00
Elliott Hughes
239347d97e am cb6f6243: am 17f8ef87: Merge "Flesh out <arpa/inet.h>."
* commit 'cb6f6243dbf12dd76f50910c476af01519b4be41':
  Flesh out <arpa/inet.h>.
2014-05-14 01:16:05 +00:00
Elliott Hughes
62c24c8353 am f984afd0: am 57722375: Merge "We don\'t need two copies of <nsswitch.h>."
* commit 'f984afd0ef2185d493c03830537460edf34baefc':
  We don't need two copies of <nsswitch.h>.
2014-05-14 01:16:05 +00:00
Sreeram Ramachandran
d591b2413a am 4d61e7b5: am 59a4a10f: am d57d710f: Merge "Fix build (take two)."
* commit '4d61e7b5493dc6cafaa3348482521226ddd1e286':
  Fix build (take two).
2014-05-14 00:56:58 +00:00
Sreeram Ramachandran
4d61e7b549 am 59a4a10f: am d57d710f: Merge "Fix build (take two)."
* commit '59a4a10f097a0bdd8d5e9aa52ce1139ccabf82b1':
  Fix build (take two).
2014-05-14 00:51:49 +00:00
Sreeram Ramachandran
47b93faa48 Fix build (take two).
Make sure __netdClientDispatch is defined in the same set of libraries that
refer to it (e.g.: with connect.cpp).

(cherry picked from commit 8205a61248)

Change-Id: I86d7bf2df5bde09f75a35b204eac0e1361747e22
2014-05-13 17:48:52 -07:00
Sreeram Ramachandran
5907e23907 am 9d58ec78: am cd004d2d: am 2ed09d44: Merge "Fix build."
* commit '9d58ec78b33296325982e1b87edcb54d0fb7a012':
  Fix build.
2014-05-14 00:11:25 +00:00
Sreeram Ramachandran
9d58ec78b3 am cd004d2d: am 2ed09d44: Merge "Fix build."
* commit 'cd004d2d0117243908b71b2b4c7036d79de5344c':
  Fix build.
2014-05-14 00:05:40 +00:00
Sreeram Ramachandran
2677d133dd Fix build.
(cherry picked from commit 06e8796ee9)

Change-Id: I33293d8bc62cbb22e23a704c4242e7e9d3fce7c5
2014-05-13 16:59:38 -07:00
Sreeram Ramachandran
20f8da95c0 am af36c9ae: am 9b5bc6fd: am 79b56f4b: Merge "Introduce netd_client, a dynamic library that talks to netd."
* commit 'af36c9ae139b08109fa9ffad923b542e3a64f612':
  Introduce netd_client, a dynamic library that talks to netd.
2014-05-13 22:20:38 +00:00
Sreeram Ramachandran
af36c9ae13 am 9b5bc6fd: am 79b56f4b: Merge "Introduce netd_client, a dynamic library that talks to netd."
* commit '9b5bc6fd7ed97900a1d5d8427108f26cf8a0aa09':
  Introduce netd_client, a dynamic library that talks to netd.
2014-05-13 22:16:11 +00:00
Elliott Hughes
05ba476c11 am 5c0fe1a3: am b00435d1: am 0ccef7ec: Merge "Upgrade to tzdata2014c."
* commit '5c0fe1a39d35886e30792f3b6023bc9799e5ebc2':
  Upgrade to tzdata2014c.
2014-05-13 18:42:26 +00:00
Elliott Hughes
6755bb3833 am 7aba9ef3: am 492e8f72: am 4482091b: Merge "Consistently use #if defined(__BIONIC__) in tests."
* commit '7aba9ef3d00201d4410c5db0bf0853df24b94243':
  Consistently use #if defined(__BIONIC__) in tests.
2014-05-13 18:42:26 +00:00
Elliott Hughes
5c0fe1a39d am b00435d1: am 0ccef7ec: Merge "Upgrade to tzdata2014c."
* commit 'b00435d15c6320f81a92c16d0bd94ae05730e26f':
  Upgrade to tzdata2014c.
2014-05-13 18:38:31 +00:00
Elliott Hughes
7aba9ef3d0 am 492e8f72: am 4482091b: Merge "Consistently use #if defined(__BIONIC__) in tests."
* commit '492e8f72505f4c14df3f37ed00bd6b62ce3893a2':
  Consistently use #if defined(__BIONIC__) in tests.
2014-05-13 18:38:31 +00:00
Elliott Hughes
a8e0f0e633 am 1d8130e8: am 56b18bb4: am a26dd781: Merge "Add getmntent_r to our collection of <mntent.h> compatibility stubs."
* commit '1d8130e8b30e25ad8e3e33bbd0d08f8e44f73a35':
  Add getmntent_r to our collection of <mntent.h> compatibility stubs.
2014-05-13 18:27:32 +00:00
Elliott Hughes
1d8130e8b3 am 56b18bb4: am a26dd781: Merge "Add getmntent_r to our collection of <mntent.h> compatibility stubs."
* commit '56b18bb4d2926dd5b17a79c97867748b22a8f0f8':
  Add getmntent_r to our collection of <mntent.h> compatibility stubs.
2014-05-13 18:21:35 +00:00
Elliott Hughes
280bd7a9f4 am 2fbb0fb7: am 2b5503b5: am dbcba8f5: Merge "Reduce stack usage of tmpfile(3)."
* commit '2fbb0fb751b985c6f8a6fa556cf5fe51c88e6645':
  Reduce stack usage of tmpfile(3).
2014-05-13 17:49:29 +00:00
Elliott Hughes
2fbb0fb751 am 2b5503b5: am dbcba8f5: Merge "Reduce stack usage of tmpfile(3)."
* commit '2b5503b578adb2a86dccf08b86bc0b30ec8b93a4':
  Reduce stack usage of tmpfile(3).
2014-05-13 17:42:37 +00:00
Calin Juravle
1b530a9f80 am 493f718d: am 66faa0c2: am f34f0ccb: Merge "Use __LP64__ instead of __LP32__ in sched.h"
* commit '493f718d87722615b2657dc6a0254dc3c3714a16':
  Use __LP64__ instead of __LP32__ in sched.h
2014-05-13 17:29:56 +00:00
Calin Juravle
493f718d87 am 66faa0c2: am f34f0ccb: Merge "Use __LP64__ instead of __LP32__ in sched.h"
* commit '66faa0c21fcf8e0283167606bdfea32a99ff5bbc':
  Use __LP64__ instead of __LP32__ in sched.h
2014-05-13 17:24:08 +00:00
Dmitriy Ivanov
61c5dc3998 am b6c0ef26: am f4846a3a: am d44927b8: Merge "Refactor linker allocator"
* commit 'b6c0ef2635adcb898317b68fb1a28caf59da9d01':
  Refactor linker allocator
2014-05-13 15:59:06 +00:00
Dmitriy Ivanov
b6c0ef2635 am f4846a3a: am d44927b8: Merge "Refactor linker allocator"
* commit 'f4846a3ab6cc0f4787b684cf887e7ce462b7f2b6':
  Refactor linker allocator
2014-05-13 15:55:07 +00:00
The Android Automerger
3548680d02 merge in master-release history after reset to 3b0d098df1 2014-05-13 05:49:18 -07:00
Calin Juravle
3b0d098df1 am d0c625f5: am d9f0e8f2: am ddda264f: Merge "Undef private *_BODY defines after use"
* commit 'd0c625f5de63e659e524710fe49ae1061d585dc6':
  Undef private *_BODY defines after use
2014-05-13 10:41:10 +00:00
Calin Juravle
d0c625f5de am d9f0e8f2: am ddda264f: Merge "Undef private *_BODY defines after use"
* commit 'd9f0e8f2e0810a9ed0b3799d9ab61d56d837276d':
  Undef private *_BODY defines after use
2014-05-13 10:38:08 +00:00
Calin Juravle
1410e398eb am 17bc470c: am c291db12: am 38967f3d: Merge "Add fpos_t tests."
* commit '17bc470c312aef0c403e1dac029c80856da94c40':
  Add fpos_t tests.
2014-05-13 09:49:40 +00:00
Calin Juravle
e1a15335be am df45321d: am e0913cd4: am e788f5e0: Merge "Support mb sequences across calls to mb*to*wcs* functions"
* commit 'df45321da1b41ee3fb6c2a5504f6e84ea3599361':
  Support mb sequences across calls to mb*to*wcs* functions
2014-05-13 09:49:39 +00:00
Calin Juravle
17bc470c31 am c291db12: am 38967f3d: Merge "Add fpos_t tests."
* commit 'c291db129b20cac08514e6767e88b911e025168d':
  Add fpos_t tests.
2014-05-13 09:45:37 +00:00
Calin Juravle
df45321da1 am e0913cd4: am e788f5e0: Merge "Support mb sequences across calls to mb*to*wcs* functions"
* commit 'e0913cd44936c09b12aa66a6ac11ef127d60409e':
  Support mb sequences across calls to mb*to*wcs* functions
2014-05-13 09:45:37 +00:00
Christopher Ferris
823074c5e4 am 66d0e685: am 199e830a: am 1abb1b93: Merge "Add 64-bit Silvermont-optimized string/memory functions."
* commit '66d0e685145a400b08f5e4ec6bbc61ed8185cd39':
  Add 64-bit Silvermont-optimized string/memory functions.
2014-05-13 00:59:29 +00:00
Christopher Ferris
66d0e68514 am 199e830a: am 1abb1b93: Merge "Add 64-bit Silvermont-optimized string/memory functions."
* commit '199e830a88548acf49f472ffa412b9d2d66bd4b1':
  Add 64-bit Silvermont-optimized string/memory functions.
2014-05-13 00:54:52 +00:00
Christopher Ferris
64010b8f7e am 19e15c5b: am 5a3303da: am c1d26965: Merge "Add 32-bit Silvermont-optimized string/memory functions."
* commit '19e15c5bf6eecf2baa5bf8dd50fcf028477991bf':
  Add 32-bit Silvermont-optimized string/memory functions.
2014-05-13 00:38:59 +00:00
Christopher Ferris
19e15c5bf6 am 5a3303da: am c1d26965: Merge "Add 32-bit Silvermont-optimized string/memory functions."
* commit '5a3303dad514bcb5fdb0b44d89ce78d0a5db5b1e':
  Add 32-bit Silvermont-optimized string/memory functions.
2014-05-13 00:34:26 +00:00
Elliott Hughes
3ff9c0246c am 5a19b361: am 0b1a2ee7: am 8b307e0e: Merge "Remove the useless indirection in mips\' __set_tls."
* commit '5a19b361684283e51e00d532af231f5e9e4a9456':
  Remove the useless indirection in mips' __set_tls.
2014-05-13 00:33:52 +00:00
Elliott Hughes
5a19b36168 am 0b1a2ee7: am 8b307e0e: Merge "Remove the useless indirection in mips\' __set_tls."
* commit '0b1a2ee7811dd1c9fcbad067a9b972d6c1844c39':
  Remove the useless indirection in mips' __set_tls.
2014-05-12 23:23:39 +00:00
Elliott Hughes
b47d8cd12a am 04211b2c: am 14d02ac7: am 2b18b107: Merge "Fix use-after-free errors in stdio_test."
* commit '04211b2c47bcae733ffb875ee9d205c3d675bc00':
  Fix use-after-free errors in stdio_test.
2014-05-12 22:44:16 +00:00
Elliott Hughes
04211b2c47 am 14d02ac7: am 2b18b107: Merge "Fix use-after-free errors in stdio_test."
* commit '14d02ac74cd3cd1cb22e7d1b12a555e38df2402a':
  Fix use-after-free errors in stdio_test.
2014-05-12 22:39:25 +00:00
Dmitriy Ivanov
c133ddd209 am 92ab5010: am fe4233e5: am ebcc7207: Merge "Cleanup: updated comments"
* commit '92ab50103a6611ba7f76639fa39645ce6956af85':
  Cleanup: updated comments
2014-05-12 19:03:14 +00:00
Dmitriy Ivanov
92ab50103a am fe4233e5: am ebcc7207: Merge "Cleanup: updated comments"
* commit 'fe4233e589bbc035fae49f891b9db7e31bc8b12b':
  Cleanup: updated comments
2014-05-12 18:59:52 +00:00
Dmitriy Ivanov
4b204cc316 am 1a6b54fd: am 15989a2b: am e2997950: Merge "Cleanup: remove AARCH/ARM_COPY relocation support"
* commit '1a6b54fd2e67d6d2bfd54b9a188030230065b943':
  Cleanup: remove AARCH/ARM_COPY relocation support
2014-05-12 17:38:15 +00:00
Dmitriy Ivanov
1a6b54fd2e am 15989a2b: am e2997950: Merge "Cleanup: remove AARCH/ARM_COPY relocation support"
* commit '15989a2b343fa55ff9e6aa927e7ce2fbe76a86cf':
  Cleanup: remove AARCH/ARM_COPY relocation support
2014-05-12 17:33:14 +00:00
The Android Automerger
9093a5d513 merge in master-release history after reset to 3c831506cf 2014-05-12 05:49:10 -07:00
Calin Juravle
3c831506cf am 26fbede0: am e032a18c: am d67c6af2: Merge "Reserve space for the future in statvfs(64)"
* commit '26fbede03e32a679836ac0b4fabe7be0d9458759':
  Reserve space for the future in statvfs(64)
2014-05-12 10:11:57 +00:00
Calin Juravle
324f9e22ef am fc7cc469: am 60e11324: am 4d695bf5: Merge "Align struct passwd definition with other variations of libc"
* commit 'fc7cc469d320b8bb66dd40d93692cd159040a04f':
  Align struct passwd definition with other variations of libc
2014-05-12 10:07:24 +00:00
Calin Juravle
26fbede03e am e032a18c: am d67c6af2: Merge "Reserve space for the future in statvfs(64)"
* commit 'e032a18c9792a51f6690b7c6e32b0c8c4ea0411b':
  Reserve space for the future in statvfs(64)
2014-05-12 10:07:20 +00:00
Calin Juravle
fc7cc469d3 am 60e11324: am 4d695bf5: Merge "Align struct passwd definition with other variations of libc"
* commit '60e1132460aec1dbe191dc3d2c8fec6073163824':
  Align struct passwd definition with other variations of libc
2014-05-12 10:02:49 +00:00
The Android Automerger
7a3538df42 merge in master-release history after reset to d35f1b508e 2014-05-11 05:49:11 -07:00
The Android Automerger
da749ec7aa merge in master-release history after reset to d35f1b508e 2014-05-10 05:49:24 -07:00
Elliott Hughes
d35f1b508e am 5ce362b4: am cf113ab9: am 4b57305a: Merge "Bring in google3-style DISALLOW_* macros."
* commit '5ce362b4c5a942beea8dc90542f00d19b3b49845':
  Bring in google3-style DISALLOW_* macros.
2014-05-10 03:46:15 +00:00
Elliott Hughes
5ce362b4c5 am cf113ab9: am 4b57305a: Merge "Bring in google3-style DISALLOW_* macros."
* commit 'cf113ab91d30d7c984889b1ee26131aeac71c6d4':
  Bring in google3-style DISALLOW_* macros.
2014-05-10 03:41:53 +00:00
Elliott Hughes
4e499eb7bf am f05495fd: am c66df5e9: am b2c3c803: Merge "Align the child stack in clone(2)."
* commit 'f05495fdab6a73575560190ae88cc0f2ba0a5a74':
  Align the child stack in clone(2).
2014-05-10 00:51:17 +00:00
Elliott Hughes
f05495fdab am c66df5e9: am b2c3c803: Merge "Align the child stack in clone(2)."
* commit 'c66df5e92d5ccb7ee6dce58107f042b367f074dc':
  Align the child stack in clone(2).
2014-05-10 00:47:04 +00:00
Elliott Hughes
656e405f8b am 1bca28eb: am 0db4c690: am 8fa5c252: Merge "Align arm64 stacks to 16 bytes in __bionic_clone."
* commit '1bca28eb0d75763ba1813bed65b68f913dc6d79e':
  Align arm64 stacks to 16 bytes in __bionic_clone.
2014-05-09 21:54:56 +00:00
Christopher Ferris
e58f9950ae am 262700ac: am aabcf287: am b222097d: Merge "Use larger neon instructions for moving data."
* commit '262700ac96e4cdb299f542e7e7723b980dd2244f':
  Use larger neon instructions for moving data.
2014-05-09 21:54:55 +00:00
Elliott Hughes
1bca28eb0d am 0db4c690: am 8fa5c252: Merge "Align arm64 stacks to 16 bytes in __bionic_clone."
* commit '0db4c69087fab71cfe3f4874721af36330ea3d8d':
  Align arm64 stacks to 16 bytes in __bionic_clone.
2014-05-09 21:36:11 +00:00
Christopher Ferris
262700ac96 am aabcf287: am b222097d: Merge "Use larger neon instructions for moving data."
* commit 'aabcf2871d6ca096b3a0ba5c2ba5ef5691e1ca71':
  Use larger neon instructions for moving data.
2014-05-09 21:20:11 +00:00
Elliott Hughes
137945c0d5 am 5f98c5a5: am df3aa079: am 55b4c8a4: Merge "Hide the __bionic_clone and __bionic_clone_entry implementation details."
* commit '5f98c5a54a63be80c59bcdf0d278c3e37cf9b325':
  Hide the __bionic_clone and __bionic_clone_entry implementation details.
2014-05-09 16:26:26 +00:00
Elliott Hughes
5f98c5a54a am df3aa079: am 55b4c8a4: Merge "Hide the __bionic_clone and __bionic_clone_entry implementation details."
* commit 'df3aa079cc676bbbc5f9d31044925c7d99fed53d':
  Hide the __bionic_clone and __bionic_clone_entry implementation details.
2014-05-09 16:21:29 +00:00
Elliott Hughes
68c937b929 am 529cb6c4: am 5a61272b: am adfc007d: Merge "Declare sincos/sincosf/sincosl in <math.h>."
* commit '529cb6c44d43c060d5bc4173599235e56fbf1d68':
  Declare sincos/sincosf/sincosl in <math.h>.
2014-05-09 09:36:06 +00:00
Elliott Hughes
529cb6c44d am 5a61272b: am adfc007d: Merge "Declare sincos/sincosf/sincosl in <math.h>."
* commit '5a61272b09c577e9c09eda667078d771100bc823':
  Declare sincos/sincosf/sincosl in <math.h>.
2014-05-09 08:22:51 +00:00
Dmitriy Ivanov
61df017831 am 0d223900: am 3f357c72: am 29d10e3d: Merge "Test dlopen with symlinked .so files"
* commit '0d2239003a06bb53a5191eb8689ce0afc03fb23f':
  Test dlopen with symlinked .so files
2014-05-09 02:17:04 +00:00
Dmitriy Ivanov
0d2239003a am 3f357c72: am 29d10e3d: Merge "Test dlopen with symlinked .so files"
* commit '3f357c72cdb26abc1fdbbf04796e50553752d8a6':
  Test dlopen with symlinked .so files
2014-05-09 02:11:06 +00:00
Elliott Hughes
a8baee874f am 0769a6d7: am c6854d5a: am 170daa04: Merge "wchar_test.cpp: fix error between comparison signed and unsigned integer"
* commit '0769a6d70ea4751de0b92ee3daecf73cbebd4a0f':
  wchar_test.cpp: fix error between comparison signed and unsigned integer
2014-05-09 00:04:27 +00:00
Elliott Hughes
0769a6d70e am c6854d5a: am 170daa04: Merge "wchar_test.cpp: fix error between comparison signed and unsigned integer"
* commit 'c6854d5a34c956b00c6e5557adf42686e65f69e1':
  wchar_test.cpp: fix error between comparison signed and unsigned integer
2014-05-09 00:01:03 +00:00
Dmitriy Ivanov
ffdaf4d416 am 4a9e8a9a: am 125a10b8: am b6964524: Merge "Remove support for non-PIE executables"
* commit '4a9e8a9ab725f932c66d24d7c7c4f53fe3e79b41':
  Remove support for non-PIE executables
2014-05-08 21:43:09 +00:00
Dmitriy Ivanov
4a9e8a9ab7 am 125a10b8: am b6964524: Merge "Remove support for non-PIE executables"
* commit '125a10b8e25c5cf37b744f2181d30a64b500624a':
  Remove support for non-PIE executables
2014-05-08 20:58:40 +00:00
Elliott Hughes
b91610c95a am 8eed5d8b: am fae100f9: am a3ce6bdb: Merge "Fix LOG_ID_CRASH build failure."
* commit '8eed5d8bca6a3a2810bce17c2316ad44a3daa191':
  Fix LOG_ID_CRASH build failure.
2014-05-08 18:31:14 +00:00
Elliott Hughes
19d97abe9b am 64b53953: am 96fd4159: am 1ee18d0e: Merge "Send bionic\'s fatal logging to the crash log."
* commit '64b539533dc3a6ca21c680003d60fe1fcdd6fbdb':
  Send bionic's fatal logging to the crash log.
2014-05-08 18:31:12 +00:00
Elliott Hughes
9db56db00f am c267165b: am fe6eea18: am 3b968032: Merge "Add basic tests for fsync/fdatasync."
* commit 'c267165b46912733ffbfdea7013cc02439ea207b':
  Add basic tests for fsync/fdatasync.
2014-05-08 18:31:11 +00:00
The Android Automerger
a05477a4f9 merge in master-release history after reset to 9bb0229be4 2014-05-08 05:49:18 -07:00
Elliott Hughes
8eed5d8bca am fae100f9: am a3ce6bdb: Merge "Fix LOG_ID_CRASH build failure."
* commit 'fae100f90f277bb1603b2cd862dfaded0041bab5':
  Fix LOG_ID_CRASH build failure.
2014-05-08 00:23:18 +00:00
Elliott Hughes
64b539533d am 96fd4159: am 1ee18d0e: Merge "Send bionic\'s fatal logging to the crash log."
* commit '96fd4159ecf2a9416f13ab215b662eba971e6d8c':
  Send bionic's fatal logging to the crash log.
2014-05-07 23:49:15 +00:00
Elliott Hughes
c267165b46 am fe6eea18: am 3b968032: Merge "Add basic tests for fsync/fdatasync."
* commit 'fe6eea18c35c266051c5aecab3aaf563702235f8':
  Add basic tests for fsync/fdatasync.
2014-05-07 23:49:13 +00:00
Dmitriy Ivanov
9bb0229be4 am ae7e6c5a: am 7fb0b5d2: am f837cbdc: Merge "Add missing test for atexit test suite."
* commit 'ae7e6c5ab3c871456e95d6aa6e095ef0b76ce989':
  Add missing test for atexit test suite.
2014-05-07 22:35:42 +00:00
Elliott Hughes
66d8ed603b am 62fcc2f6: am b40f4243: am 8ec38997: Merge "Give bionic\'s __ANDROID_API__ a more reasonable value."
* commit '62fcc2f6f012e7c66e61e564c3592f466a2be188':
  Give bionic's __ANDROID_API__ a more reasonable value.
2014-05-07 22:35:24 +00:00
Calin Juravle
170c91c696 am 60fcdc3e: am b5f4106c: am 837abf04: Merge "Fix bionic-unit-tests-glibc-run target"
* commit '60fcdc3ecb949ed9cdbbd878c5c6bf9f8613deef':
  Fix bionic-unit-tests-glibc-run target
2014-05-07 22:35:23 +00:00
Torne (Richard Coles)
a1d145c465 am de070ae5: am 551466e7: am 35cff760: Merge "Test that relro sharing actually saves memory."
* commit 'de070ae5255306eddffa452d56779aa8869403cf':
  Test that relro sharing actually saves memory.
2014-05-07 22:35:22 +00:00
Calin Juravle
9b6b11b0f9 am 71ee6889: am ed4e01f7: am e292875c: Merge "Reserve some space in sem_t for the future."
* commit '71ee6889457eb238c6a1bcbba5ecf0587f8b71c8':
  Reserve some space in sem_t for the future.
2014-05-07 22:35:22 +00:00
Calin Juravle
7fbe52b9af am 478a1b57: am c2787015: am b6c48b20: Merge "Allow for better utmp logging."
* commit '478a1b57bd44220373cedc72813ae7a9e26f328a':
  Allow for better utmp logging.
2014-05-07 22:35:21 +00:00
Calin Juravle
c5413a55e1 am 2b180ea8: am b742e82e: am fc2af0ca: Merge "Fix ino_t and suseconds_t"
* commit '2b180ea80c79db5887c03e7d6cf2b40e7036f8e0':
  Fix ino_t and suseconds_t
2014-05-07 22:35:20 +00:00
Calin Juravle
363eb3de3a am 2b4313a2: am adf5e63a: am 764a8882: Merge "Leave more space for extensions in pthread_rwlockattr_t"
* commit '2b4313a2737a9df2c0ce2e05077980ce638643c3':
  Leave more space for extensions in pthread_rwlockattr_t
2014-05-07 22:35:19 +00:00
Elliott Hughes
c47ec798bc am 5d73936f: am 1ecf7633: am 6ad9cd41: Merge "Change the interface for fatal logging."
* commit '5d73936fabd2cdcb336ec7c84d52e91a7d5e76de':
  Change the interface for fatal logging.
2014-05-07 22:35:19 +00:00
Dmitriy Ivanov
ae7e6c5ab3 am 7fb0b5d2: am f837cbdc: Merge "Add missing test for atexit test suite."
* commit '7fb0b5d26d24ad260605c7cad8df996f7e2c2106':
  Add missing test for atexit test suite.
2014-05-07 20:57:29 +00:00
Elliott Hughes
62fcc2f6f0 am b40f4243: am 8ec38997: Merge "Give bionic\'s __ANDROID_API__ a more reasonable value."
* commit 'b40f424353b6dfadabcc0df6e3875d3c82b13a64':
  Give bionic's __ANDROID_API__ a more reasonable value.
2014-05-07 20:29:00 +00:00
Calin Juravle
60fcdc3ecb am b5f4106c: am 837abf04: Merge "Fix bionic-unit-tests-glibc-run target"
* commit 'b5f4106c85dabd33e88dabdeef98223a847a6772':
  Fix bionic-unit-tests-glibc-run target
2014-05-07 20:28:53 +00:00
Torne (Richard Coles)
de070ae525 am 551466e7: am 35cff760: Merge "Test that relro sharing actually saves memory."
* commit '551466e778ff00b4468442790d169810322e4190':
  Test that relro sharing actually saves memory.
2014-05-07 20:28:43 +00:00
Calin Juravle
71ee688945 am ed4e01f7: am e292875c: Merge "Reserve some space in sem_t for the future."
* commit 'ed4e01f7060b80e62d4936068d0cda1b76ab4650':
  Reserve some space in sem_t for the future.
2014-05-07 20:28:40 +00:00
Calin Juravle
478a1b57bd am c2787015: am b6c48b20: Merge "Allow for better utmp logging."
* commit 'c27870158ae54e06c39384722b519f06c4521dc7':
  Allow for better utmp logging.
2014-05-07 20:28:39 +00:00
Calin Juravle
2b180ea80c am b742e82e: am fc2af0ca: Merge "Fix ino_t and suseconds_t"
* commit 'b742e82e90e2606e67bf173736b21f79448c7293':
  Fix ino_t and suseconds_t
2014-05-07 20:28:39 +00:00
Calin Juravle
2b4313a273 am adf5e63a: am 764a8882: Merge "Leave more space for extensions in pthread_rwlockattr_t"
* commit 'adf5e63aca6dd4c77b0baa785e95e3e739018a72':
  Leave more space for extensions in pthread_rwlockattr_t
2014-05-07 20:28:38 +00:00
Elliott Hughes
5d73936fab am 1ecf7633: am 6ad9cd41: Merge "Change the interface for fatal logging."
* commit '1ecf7633737d66cc411a4ca628fe0776b0fc5940':
  Change the interface for fatal logging.
2014-05-07 20:28:28 +00:00
The Android Automerger
cc5cad3af9 merge in master-release history after reset to 8cfe8c1d40 2014-05-07 09:10:14 -07:00
The Android Automerger
14c1512e56 merge in master-release history after reset to 59effda9ca 2014-05-07 05:49:18 -07:00
Elliott Hughes
8cfe8c1d40 am c46ffbd5: am 4a7afa48: am e05df251: Merge "Fix a gethnamaddr.c warning that\'s already fixed upstream."
* commit 'c46ffbd51e48a8902db18b5f98d767766063c236':
  Fix a gethnamaddr.c warning that's already fixed upstream.
2014-05-06 20:52:55 +00:00
Elliott Hughes
c46ffbd51e am 4a7afa48: am e05df251: Merge "Fix a gethnamaddr.c warning that\'s already fixed upstream."
* commit '4a7afa4863668931a7253633ea0d42071598a96f':
  Fix a gethnamaddr.c warning that's already fixed upstream.
2014-05-06 20:49:20 +00:00
Elliott Hughes
80a4b70efd am 33ba85cb: am 856e6a35: am 89ca3c5a: Merge "Sync with upstream OpenBSD wcsftime.c."
* commit '33ba85cbd6807bd15f7b197a0807f6a95b6e57b5':
  Sync with upstream OpenBSD wcsftime.c.
2014-05-06 20:29:36 +00:00
Elliott Hughes
33ba85cbd6 am 856e6a35: am 89ca3c5a: Merge "Sync with upstream OpenBSD wcsftime.c."
* commit '856e6a35bf350a7923c1e283c1816572adfbe1dd':
  Sync with upstream OpenBSD wcsftime.c.
2014-05-06 20:25:31 +00:00
Elliott Hughes
59effda9ca am 00708229: am 41d97fa1: am 100168ab: Merge "Fix <math.h> to quieten most of our warnings."
* commit '0070822911bc5d5a6cf6c00c57b80b15803d8fbe':
  Fix <math.h> to quieten most of our warnings.
2014-05-06 17:29:52 +00:00
Elliott Hughes
0070822911 am 41d97fa1: am 100168ab: Merge "Fix <math.h> to quieten most of our warnings."
* commit '41d97fa15a99f38fb8126006e83243d6e868bd8a':
  Fix <math.h> to quieten most of our warnings.
2014-05-06 17:25:40 +00:00
Calin Juravle
289ce81cde am bfc812da: am c6141470: am 7b1a95bc: Merge "Add include guard to fileext.h"
* commit 'bfc812da93c785f66e9ad4486a94f6aaa3a6fa9d':
  Add include guard to fileext.h
2014-05-06 13:54:53 +00:00
Calin Juravle
bfc812da93 am c6141470: am 7b1a95bc: Merge "Add include guard to fileext.h"
* commit 'c614147042fa352919c891b08389cbf4512c674f':
  Add include guard to fileext.h
2014-05-06 13:51:48 +00:00
The Android Automerger
195651978d merge in master-release history after reset to 8f901feeae 2014-05-06 05:49:18 -07:00
Torne (Richard Coles)
8f901feeae am e0a8474a: am b9b75697: am 9b5ee4aa: Merge "Handle empty relro segment or incorrectly sized file."
* commit 'e0a8474adf94d8b2ae53bd7b96c259d860616958':
  Handle empty relro segment or incorrectly sized file.
2014-05-06 10:25:45 +00:00
Torne (Richard Coles)
e0a8474adf am b9b75697: am 9b5ee4aa: Merge "Handle empty relro segment or incorrectly sized file."
* commit 'b9b75697fa6c58a85f48d7f31113814385a709bd':
  Handle empty relro segment or incorrectly sized file.
2014-05-06 10:22:39 +00:00
Elliott Hughes
4e6c71fab9 am b8d60a2a: am e71e6a2e: am 185dd72a: Merge "bionic: make epoll_event structure packed"
* commit 'b8d60a2a0c7febce87b0511c86c3fc168c8089a4':
  bionic: make epoll_event structure packed
2014-05-06 02:59:58 +00:00
Elliott Hughes
b8d60a2a0c am e71e6a2e: am 185dd72a: Merge "bionic: make epoll_event structure packed"
* commit 'e71e6a2e6042ea118d64c8b763dd9236f2a3320b':
  bionic: make epoll_event structure packed
2014-05-06 02:57:23 +00:00
Elliott Hughes
30dc3f8313 am 1911676c: am e0cbc5da: am 4356adc3: Merge "Remove the non-standard time64 stuff for LP64."
* commit '1911676cecafeb9ae31bfb2718c7d3a351ce50b6':
  Remove the non-standard time64 stuff for LP64.
2014-05-06 02:02:44 +00:00
Elliott Hughes
1911676cec am e0cbc5da: am 4356adc3: Merge "Remove the non-standard time64 stuff for LP64."
* commit 'e0cbc5da31a0ebad76a6ca0968e26c200c70b502':
  Remove the non-standard time64 stuff for LP64.
2014-05-06 01:59:16 +00:00
Elliott Hughes
a07758a8bf am 3356c72f: am 48931ca1: am 629d892d: Merge "Update the NOTICE files and improve the script slightly."
* commit '3356c72f273ba62128088e37214d786aa54b06cc':
  Update the NOTICE files and improve the script slightly.
2014-05-05 23:37:25 +00:00
Elliott Hughes
3356c72f27 am 48931ca1: am 629d892d: Merge "Update the NOTICE files and improve the script slightly."
* commit '48931ca1b027f428a8e7ca5e3e6a33a52ff8e197':
  Update the NOTICE files and improve the script slightly.
2014-05-05 23:30:47 +00:00
Elliott Hughes
2a0d2202ef am b303cdc2: am 9d586d85: am 6916166e: Merge "Sync with upstream OpenBSD."
* commit 'b303cdc2c18a28becb2be5b5394dc599022f7ace':
  Sync with upstream OpenBSD.
2014-05-05 22:18:03 +00:00
Elliott Hughes
b303cdc2c1 am 9d586d85: am 6916166e: Merge "Sync with upstream OpenBSD."
* commit '9d586d85e5c45a38b8c0530570a6938ee1128bf0':
  Sync with upstream OpenBSD.
2014-05-05 22:15:25 +00:00
Elliott Hughes
7ef978f183 am c13ea3e2: am bab07de0: am ad534985: Merge "Disable %n in printf and vfwprintf."
* commit 'c13ea3e2365a4b42c10fa437c588e25a9807687e':
  Disable %n in printf and vfwprintf.
2014-05-05 21:58:52 +00:00
Elliott Hughes
c13ea3e236 am bab07de0: am ad534985: Merge "Disable %n in printf and vfwprintf."
* commit 'bab07de0bc43a284647465dc167bcf5b63891eb6':
  Disable %n in printf and vfwprintf.
2014-05-05 21:55:46 +00:00
Elliott Hughes
eac1c72997 am 2357a4cc: am d2943b60: am 8ec21d9d: Merge "Switch to current upstream OpenBSD wsetup.c."
* commit '2357a4cc7451e0387c236ab19467254483250cc1':
  Switch to current upstream OpenBSD wsetup.c.
2014-05-05 21:41:39 +00:00
Elliott Hughes
2357a4cc74 am d2943b60: am 8ec21d9d: Merge "Switch to current upstream OpenBSD wsetup.c."
* commit 'd2943b60e2c56530cd602eb5f3cfa8fb76501ecd':
  Switch to current upstream OpenBSD wsetup.c.
2014-05-05 21:39:41 +00:00
Dmitriy Ivanov
e2822af5ee am c2419e9d: am e9e4f08e: am 580b2469: Merge "Fixes for __cxa_finalize"
* commit 'c2419e9df73156f348f498514d5a423846ce1514':
  Fixes for __cxa_finalize
2014-05-05 21:15:34 +00:00
Dmitriy Ivanov
c2419e9df7 am e9e4f08e: am 580b2469: Merge "Fixes for __cxa_finalize"
* commit 'e9e4f08efb48a2cc6089eefc2f717bbfa1c3b9c5':
  Fixes for __cxa_finalize
2014-05-05 21:11:41 +00:00
The Android Automerger
fa9b2b9434 merge in master-release history after reset to f4c78487e3 2014-05-05 05:49:17 -07:00
The Android Automerger
2ba362646c merge in master-release history after reset to f4c78487e3 2014-05-04 05:49:11 -07:00
Elliott Hughes
f4c78487e3 am 2d92358a: am 23481495: am a334c1ec: Merge "Fix iswctype."
* commit '2d92358af5ad1846bcbe449f810bc978053dd2dd':
  Fix iswctype.
2014-05-04 03:33:34 +00:00
Elliott Hughes
2d92358af5 am 23481495: am a334c1ec: Merge "Fix iswctype."
* commit '23481495a359a46fe4f6da6e61b89b0eb9636571':
  Fix iswctype.
2014-05-04 03:30:55 +00:00
Elliott Hughes
efe3deb908 am 821fc960: am d18a844c: am 640b4a5a: Merge "Switch to current upstream OpenBSD fwrite.c."
* commit '821fc9603351815b4dc8cd0217204f6cf68d96d0':
  Switch to current upstream OpenBSD fwrite.c.
2014-05-04 03:30:02 +00:00
Elliott Hughes
821fc96033 am d18a844c: am 640b4a5a: Merge "Switch to current upstream OpenBSD fwrite.c."
* commit 'd18a844c36d0344a3258887238cd4cc83dc1d296':
  Switch to current upstream OpenBSD fwrite.c.
2014-05-04 03:26:16 +00:00
The Android Automerger
9a636f2046 merge in master-release history after reset to 1d347514c1 2014-05-03 05:49:31 -07:00
Dmitriy Ivanov
1d347514c1 am 40a744fa: am 80893060: am 2d822ebe: Merge "Disallow dlopen("egl/blah.so") on LP64"
* commit '40a744fac798485c9b7a0594b1df548b7803768b':
  Disallow dlopen("egl/blah.so") on LP64
2014-05-03 01:48:37 +00:00
Dmitriy Ivanov
40a744fac7 am 80893060: am 2d822ebe: Merge "Disallow dlopen("egl/blah.so") on LP64"
* commit '80893060ddf59625e0b0906685cb2631763ecf74':
  Disallow dlopen("egl/blah.so") on LP64
2014-05-03 01:45:12 +00:00
Elliott Hughes
39372de58c am c4ced713: am c01893cd: am e987803c: Merge "Sync with current OpenBSD stdio."
* commit 'c4ced713b857b68254effa753aad461082a41c3d':
  Sync with current OpenBSD stdio.
2014-05-03 01:05:51 +00:00
Elliott Hughes
c4ced713b8 am c01893cd: am e987803c: Merge "Sync with current OpenBSD stdio."
* commit 'c01893cde28ce9c8c760a29b7829159ca9de30be':
  Sync with current OpenBSD stdio.
2014-05-03 01:03:13 +00:00
Elliott Hughes
bd0d92794f am 885275ec: am 9abfd44b: am d6ff0dce: Merge "Use the OpenBSD wcsftime."
* commit '885275eccac451fd2fce1e4e0a997976e39dc243':
  Use the OpenBSD wcsftime.
2014-05-02 23:11:12 +00:00
Elliott Hughes
885275ecca am 9abfd44b: am d6ff0dce: Merge "Use the OpenBSD wcsftime."
* commit '9abfd44b4c6c288f4ae18a58a8d88c30fe49c7b9':
  Use the OpenBSD wcsftime.
2014-05-02 23:06:26 +00:00
Elliott Hughes
f3e94ae85f am 6e62c932: am fb49002b: am 790890fd: Merge "Fix wchar_t signedness problems found on x86-64."
* commit '6e62c9326aa15f68ce52216b7c3ce3f4f49f7279':
  Fix wchar_t signedness problems found on x86-64.
2014-05-02 02:38:54 +00:00
Elliott Hughes
6e62c9326a am fb49002b: am 790890fd: Merge "Fix wchar_t signedness problems found on x86-64."
* commit 'fb49002b41b43bfc85ad6deaec04f2ce67fcd55b':
  Fix wchar_t signedness problems found on x86-64.
2014-05-02 02:35:39 +00:00
Elliott Hughes
311fba409d am 6fbdc117: am 156f77c3: am 296f17af: Merge "Fix wchar.cpp MIPS narrowing conversion build failure."
* commit '6fbdc117db011a3f9963da632ea45b0b5a0200cb':
  Fix wchar.cpp MIPS narrowing conversion build failure.
2014-05-02 01:23:18 +00:00
Elliott Hughes
dc0ef86203 am c2ee2cd0: am ba8c37f1: am 7da31910: Merge "Fix wchar.cpp signed/unsigned comparison build failure."
* commit 'c2ee2cd09dfcaa9780285c948c091fd85d6b2171':
  Fix wchar.cpp signed/unsigned comparison build failure.
2014-05-02 01:23:15 +00:00
Elliott Hughes
6fbdc117db am 156f77c3: am 296f17af: Merge "Fix wchar.cpp MIPS narrowing conversion build failure."
* commit '156f77c3a0a9eb9ee9acaa0aecc8ab9f2d4027c4':
  Fix wchar.cpp MIPS narrowing conversion build failure.
2014-05-02 00:19:44 +00:00
Elliott Hughes
c2ee2cd09d am ba8c37f1: am 7da31910: Merge "Fix wchar.cpp signed/unsigned comparison build failure."
* commit 'ba8c37f1871e1ea574e48b77da665a0d56b57114':
  Fix wchar.cpp signed/unsigned comparison build failure.
2014-05-01 23:59:03 +00:00
Elliott Hughes
831e1d796c am 5d4c9114: am 745b023b: am f0291ca6: Merge "Switch to a working UTF-8 mb/wc implementation."
* commit '5d4c911436445e627dcc9533bfc0792941b83a44':
  Switch to a working UTF-8 mb/wc implementation.
2014-05-01 23:21:54 +00:00
Elliott Hughes
5d4c911436 am 745b023b: am f0291ca6: Merge "Switch to a working UTF-8 mb/wc implementation."
* commit '745b023b4d7372851fb1f713c017b461de8d8860':
  Switch to a working UTF-8 mb/wc implementation.
2014-05-01 23:18:49 +00:00
Christopher Ferris
b335ee5a7b am 796bf883: am 97ded7f2: am cb475651: Merge "Add ability to run on host for x86/x86_64."
* commit '796bf88381f245052e31657dd32eb9ad72b96150':
  Add ability to run on host for x86/x86_64.
2014-05-01 21:13:34 +00:00
Christopher Ferris
796bf88381 am 97ded7f2: am cb475651: Merge "Add ability to run on host for x86/x86_64."
* commit '97ded7f2bca3c3fdd1bd695b94df28071fec467b':
  Add ability to run on host for x86/x86_64.
2014-05-01 21:09:51 +00:00
Christopher Ferris
97193104db am fe131747: am 24f724c4: am de54b90e: Merge "Modify hard-coded directory."
* commit 'fe13174759c4023b9499e0b22fdf9420fab185b0':
  Modify hard-coded directory.
2014-05-01 20:29:24 +00:00
Christopher Ferris
fe13174759 am 24f724c4: am de54b90e: Merge "Modify hard-coded directory."
* commit '24f724c446f5741e4a0e1739fdb8167e15e11111':
  Modify hard-coded directory.
2014-05-01 20:26:07 +00:00
Elliott Hughes
834c136cec am 0d443726: am d2623501: am 8979cfe1: Merge "Keep the kernel header scrubber\'s data structures in sync."
* commit '0d4437263e65b7acc4546753ac79577b94ccc6ba':
  Keep the kernel header scrubber's data structures in sync.
2014-05-01 17:36:06 +00:00
Elliott Hughes
0d4437263e am d2623501: am 8979cfe1: Merge "Keep the kernel header scrubber\'s data structures in sync."
* commit 'd2623501664f6345f1136d7edc5058bcc1fa5fc4':
  Keep the kernel header scrubber's data structures in sync.
2014-05-01 17:32:08 +00:00
The Android Automerger
6052fce40c merge in master-release history after reset to fc4d9263a3 2014-05-01 05:49:19 -07:00
Elliott Hughes
fc4d9263a3 am 01dc4152: am 4a41581a: am 9fb53dd4: Merge "Make SIGRTMIN hide the real-time signals we use internally."
* commit '01dc4152b736c822a11cbbff3240eec7143659e3':
  Make SIGRTMIN hide the real-time signals we use internally.
2014-04-30 18:48:56 +00:00
Elliott Hughes
ef2364c42f am e04f30d8: am db9d6094: am 2ae3f60c: Merge "Fix the CPU_*_S tests."
* commit 'e04f30d8747e9877fa59de67ca8c6779815d53f9':
  Fix the CPU_*_S tests.
2014-04-30 18:48:55 +00:00
Elliott Hughes
01dc4152b7 am 4a41581a: am 9fb53dd4: Merge "Make SIGRTMIN hide the real-time signals we use internally."
* commit '4a41581af5216867ec089c473bd1936b85565408':
  Make SIGRTMIN hide the real-time signals we use internally.
2014-04-30 18:36:33 +00:00
Elliott Hughes
e04f30d874 am db9d6094: am 2ae3f60c: Merge "Fix the CPU_*_S tests."
* commit 'db9d60940bde9dee18f0efaeac7e175c9e7a9286':
  Fix the CPU_*_S tests.
2014-04-30 18:36:32 +00:00
Calin Juravle
3fdf865669 am 9981c35d: am b55562dd: am 77473e40: Merge "Fix cpu_set_t"
* commit '9981c35d3e4d4be35ca827b479e49e2f703bade0':
  Fix cpu_set_t
2014-04-30 17:36:24 +00:00
Dan Albert
e9681d9cbc am 9f2d5003: am a51f7153: am 45667317: Merge "Adds quick_exit(3) and at_quick_exit(3) from freebsd"
* commit '9f2d500334da3f7f4d52e73f26419e467ecea09b':
  Adds quick_exit(3) and at_quick_exit(3) from freebsd
2014-04-30 17:36:20 +00:00
Calin Juravle
742150e088 am f595e1ff: am fb15c73f: am d4ae59dc: Merge "Reserve space in mbstate to allow for proper wchar support"
* commit 'f595e1ffdab12ef85a134638fabdf52a2d92db52':
  Reserve space in mbstate to allow for proper wchar support
2014-04-30 17:36:19 +00:00
Elliott Hughes
c14cde0b03 am c8af363f: am ff7dec44: am 01933d92: Merge "Switch to OpenBSD stdio wide printf functions."
* commit 'c8af363f50461b87432ef20d011f4aab72f77fcc':
  Switch to OpenBSD stdio wide printf functions.
2014-04-30 17:36:18 +00:00
Elliott Hughes
8352c69ea1 am a9b10332: am 608aa733: am 85e780d0: Merge "Switch to OpenBSD stdio wide get/put functions."
* commit 'a9b10332b451298ca7afc7ff00804c3940cd15aa':
  Switch to OpenBSD stdio wide get/put functions.
2014-04-30 17:34:10 +00:00
Elliott Hughes
574eed1bde am b21c7985: am 25009c3b: am c19c8e6f: Merge "Switch to the OpenBSD implementations of the wide scanf functions."
* commit 'b21c7985c434a6c8641b4a53072f06bbc5f6ca2b':
  Switch to the OpenBSD implementations of the wide scanf functions.
2014-04-30 17:34:09 +00:00
Calin Juravle
9981c35d3e am b55562dd: am 77473e40: Merge "Fix cpu_set_t"
* commit 'b55562dd89a4f896c34f7247ffe072ba756180b4':
  Fix cpu_set_t
2014-04-30 16:14:16 +00:00
Dan Albert
9f2d500334 am a51f7153: am 45667317: Merge "Adds quick_exit(3) and at_quick_exit(3) from freebsd"
* commit 'a51f7153ea60f5efec67559b8be8134ab338b441':
  Adds quick_exit(3) and at_quick_exit(3) from freebsd
2014-04-30 15:44:52 +00:00
Calin Juravle
f595e1ffda am fb15c73f: am d4ae59dc: Merge "Reserve space in mbstate to allow for proper wchar support"
* commit 'fb15c73f3cdc4fa3781e21f9dc554e3b2dd41182':
  Reserve space in mbstate to allow for proper wchar support
2014-04-30 15:38:02 +00:00
Elliott Hughes
c8af363f50 am ff7dec44: am 01933d92: Merge "Switch to OpenBSD stdio wide printf functions."
* commit 'ff7dec44bdebccf2d000e65188ee7e02489a2757':
  Switch to OpenBSD stdio wide printf functions.
2014-04-30 15:38:02 +00:00
Elliott Hughes
eaefa1a5ae am 7bc266b1: am 42f33234: am c6e563c8: Merge "Fix build (signed char issue)."
* commit '7bc266b1285051d7ffaa1d312f1f3e08dc5f2bfa':
  Fix build (signed char issue).
2014-04-30 12:50:57 +00:00
The Android Automerger
3e13c46109 merge in master-release history after reset to 806b2a94b1 2014-04-30 05:49:22 -07:00
Elliott Hughes
a9b10332b4 am 608aa733: am 85e780d0: Merge "Switch to OpenBSD stdio wide get/put functions."
* commit '608aa733a9535f9ebc7381b30ccd4c6e23eb873f':
  Switch to OpenBSD stdio wide get/put functions.
2014-04-30 01:20:09 +00:00
Elliott Hughes
b21c7985c4 am 25009c3b: am c19c8e6f: Merge "Switch to the OpenBSD implementations of the wide scanf functions."
* commit '25009c3b0259b5ff3ad5b9bb32c028114c1ed8a4':
  Switch to the OpenBSD implementations of the wide scanf functions.
2014-04-30 01:19:48 +00:00
Elliott Hughes
7bc266b128 am 42f33234: am c6e563c8: Merge "Fix build (signed char issue)."
* commit '42f33234b0a16dbd06ad1b78499d52588c11415f':
  Fix build (signed char issue).
2014-04-30 01:13:21 +00:00
Elliott Hughes
806b2a94b1 am 934e793b: am 15848671: am 55cd8276: Merge "Switch to the OpenBSD wcsto* functions."
* commit '934e793b19bd280e16b0ef76275dcad590bdc48f':
  Switch to the OpenBSD wcsto* functions.
2014-04-30 00:53:09 +00:00
Bill Yi
c58b5cb012 am 31655d9c: am 7af26353: Merge klp-dev-plus-aosp into stage-aosp-master
* commit '31655d9c34105df979823546d7d2cf3ed67ee130':
2014-04-30 00:53:08 +00:00
Elliott Hughes
934e793b19 am 15848671: am 55cd8276: Merge "Switch to the OpenBSD wcsto* functions."
* commit '158486717ed5b58be4cdcf427d5fb6b279eae27d':
  Switch to the OpenBSD wcsto* functions.
2014-04-30 00:49:36 +00:00
Bill Yi
31655d9c34 am 7af26353: Merge klp-dev-plus-aosp into stage-aosp-master
* commit '7af263533d2c25b4cdd4769cbcebc080e72056b9':
2014-04-30 00:49:34 +00:00
Christopher Ferris
2bf0806a42 am a34e9955: am 7fdab460: Merge "Fix potential makefile bug."
* commit 'a34e995557157e6958db77795fb866712a99af43':
  Fix potential makefile bug.
2014-04-29 16:05:38 +00:00
Christopher Ferris
a34e995557 am 7fdab460: Merge "Fix potential makefile bug."
* commit '7fdab460a9790959ce6c4201476a3ea982eb148e':
  Fix potential makefile bug.
2014-04-29 16:00:24 +00:00
The Android Automerger
d6b98300eb merge in master-release history after reset to 02cf011db0 2014-04-29 05:49:22 -07:00
Elliott Hughes
02cf011db0 am c3221fb5: am 07bab525: Merge "Add mbtowc and fix mbrtowc."
* commit 'c3221fb531f437440646be3a6974b0e662442560':
  Add mbtowc and fix mbrtowc.
2014-04-29 01:04:12 +00:00
Elliott Hughes
c3221fb531 am 07bab525: Merge "Add mbtowc and fix mbrtowc."
* commit '07bab525e24725aaacd71e7cc63dfc31d48ba8a7':
  Add mbtowc and fix mbrtowc.
2014-04-29 01:00:57 +00:00
Elliott Hughes
331754c7f3 am 777078b1: am 0fd2e87a: Merge "Replace our broken wcswcs with the working upstream one."
* commit '777078b1a68960ae9764fe6449af5525657d6803':
  Replace our broken wcswcs with the working upstream one.
2014-04-29 00:23:53 +00:00
Elliott Hughes
777078b1a6 am 0fd2e87a: Merge "Replace our broken wcswcs with the working upstream one."
* commit '0fd2e87a0cac56f772fe6fac4cd32de8a656a406':
  Replace our broken wcswcs with the working upstream one.
2014-04-29 00:12:02 +00:00
The Android Automerger
13de238e93 merge in master-release history after reset to 95dfea204c 2014-04-28 05:49:09 -07:00
The Android Automerger
bf25d873ac merge in master-release history after reset to 95dfea204c 2014-04-27 05:49:08 -07:00
Elliott Hughes
95dfea204c am 50769026: am 3ac3f3fd: Merge "Don\'t use so much stack in tzcode."
* commit '50769026e8538db260a6f986edeb6d08ec295b8e':
  Don't use so much stack in tzcode.
2014-04-27 03:26:11 +00:00
Elliott Hughes
50769026e8 am 3ac3f3fd: Merge "Don\'t use so much stack in tzcode."
* commit '3ac3f3fd0cab7b4ace8e15fd90ea869b26449df5':
  Don't use so much stack in tzcode.
2014-04-27 03:22:03 +00:00
The Android Automerger
bd85f34684 merge in master-release history after reset to 12e848eb43 2014-04-26 05:49:30 -07:00
Elliott Hughes
12e848eb43 am 8fe46b47: am f2dc7d17: Merge "Pass si_code through to debuggerd."
* commit '8fe46b47c2bc3b47f44580dc0e3d21335c71462d':
  Pass si_code through to debuggerd.
2014-04-26 03:33:28 +00:00
Elliott Hughes
8fe46b47c2 am f2dc7d17: Merge "Pass si_code through to debuggerd."
* commit 'f2dc7d17196de9904df67f21aad1525b8568a705':
  Pass si_code through to debuggerd.
2014-04-26 03:30:13 +00:00
Elliott Hughes
d3dc0c1831 am 4a40dea6: am 213e46f7: Merge "Fix brk/sbrk error checking."
* commit '4a40dea62949b7ed562bac7173962800ed89b01d':
  Fix brk/sbrk error checking.
2014-04-26 02:46:37 +00:00
Elliott Hughes
4a40dea629 am 213e46f7: Merge "Fix brk/sbrk error checking."
* commit '213e46f7ae41f7d769087d854e061659bd0581d6':
  Fix brk/sbrk error checking.
2014-04-26 02:44:29 +00:00
Colin Cross
cc97b7d9cd am e1e3430b: am eff450ff: Merge "Reserve space in pthread structures for future extensibility."
* commit 'e1e3430b9a4725c9506f10ab1b9b3be719e99c0c':
  Reserve space in pthread structures for future extensibility.
2014-04-24 22:49:50 +00:00
Colin Cross
e1e3430b9a am eff450ff: Merge "Reserve space in pthread structures for future extensibility."
* commit 'eff450ff45170ff17f17b7ceb26f54b858c39238':
  Reserve space in pthread structures for future extensibility.
2014-04-24 22:47:09 +00:00
Elliott Hughes
2c03e8ff06 am cf57e2c6: am 08bfcff0: Merge "Allow liblog to pass failure reasons to debuggerd."
* commit 'cf57e2c645116eefd64801be035512621df0ba5c':
  Allow liblog to pass failure reasons to debuggerd.
2014-04-24 20:47:46 +00:00
Elliott Hughes
cf57e2c645 am 08bfcff0: Merge "Allow liblog to pass failure reasons to debuggerd."
* commit '08bfcff0d4a931a4ed5e2a46541dc8d223482f34':
  Allow liblog to pass failure reasons to debuggerd.
2014-04-24 20:42:48 +00:00
Greg Hackmann
da4aad855e am 0f77d775: am ab290718: Merge "Revert "Reserve space in pthread structures for future extensibility.""
* commit '0f77d7758ac85a000f2ce5606051b8a7d121f6dd':
  Revert "Reserve space in pthread structures for future extensibility."
2014-04-24 18:26:02 +00:00
Greg Hackmann
0f77d7758a am ab290718: Merge "Revert "Reserve space in pthread structures for future extensibility.""
* commit 'ab290718e376795a51e1a09c7eb20e79b39efee8':
  Revert "Reserve space in pthread structures for future extensibility."
2014-04-24 18:20:54 +00:00
Calin Juravle
18955d6909 am 9b720750: am f2aeca50: Merge "Remove an unsed include dir"
* commit '9b720750c1486627d774973c51fc210a1ad9def5':
  Remove an unsed include dir
2014-04-24 17:40:43 +00:00
Calin Juravle
9b720750c1 am f2aeca50: Merge "Remove an unsed include dir"
* commit 'f2aeca505cb5b85528981c46e0285ff3a7a70836':
  Remove an unsed include dir
2014-04-24 17:32:12 +00:00
Calin Juravle
e9df9c52dc am 123253b8: am 690401db: Merge "Removed non-existing include dir"
* commit '123253b86893d50f13d82f489e47924a4b69c228':
  Removed non-existing include dir
2014-04-24 17:31:17 +00:00
Calin Juravle
123253b868 am 690401db: Merge "Removed non-existing include dir"
* commit '690401db7a57cc6794129d9a2430279d55149251':
  Removed non-existing include dir
2014-04-24 16:39:06 +00:00
Calin Juravle
3b5bca823d am 131d8e38: am 477d14b0: Merge "Reserve space in pthread structures for future extensibility."
* commit '131d8e38e45902a1d33ed257b62972bfcd26dd92':
  Reserve space in pthread structures for future extensibility.
2014-04-24 15:43:51 +00:00
Calin Juravle
60a7622d48 am 334da4c9: am ae77f74b: Merge "Clean-up _fpmath and fake_long_doubles"
* commit '334da4c9a52f544bea0014da139766f2c0f7cf21':
  Clean-up _fpmath and fake_long_doubles
2014-04-24 15:43:39 +00:00
Elliott Hughes
81972ddba3 am b4428762: am 563ea4e1: Merge "Fix fallout from host GCC upgrade."
* commit 'b442876276d1c5d701806cd02d7f0cce516caf03':
  Fix fallout from host GCC upgrade.
2014-04-24 15:43:18 +00:00
The Android Automerger
90ca9f8aa4 merge in master-release history after reset to 4cec364af4 2014-04-24 05:49:35 -07:00
Calin Juravle
131d8e38e4 am 477d14b0: Merge "Reserve space in pthread structures for future extensibility."
* commit '477d14b09202db5c009005b622fdcdefd780b955':
  Reserve space in pthread structures for future extensibility.
2014-04-24 11:43:03 +00:00
Calin Juravle
334da4c9a5 am ae77f74b: Merge "Clean-up _fpmath and fake_long_doubles"
* commit 'ae77f74bcf51cb4199c9f7e87ec9c751fdd1842b':
  Clean-up _fpmath and fake_long_doubles
2014-04-24 10:21:06 +00:00
Elliott Hughes
b442876276 am 563ea4e1: Merge "Fix fallout from host GCC upgrade."
* commit '563ea4e15189403da83fdeb74da09b8225f56216':
  Fix fallout from host GCC upgrade.
2014-04-24 09:03:33 +00:00
Elliott Hughes
4cec364af4 am bdce3e63: am 3b0433f3: Merge "Remove two dead files."
* commit 'bdce3e63fc4cfc2b1b2db05007326e1608f3228a':
  Remove two dead files.
2014-04-23 20:07:41 +00:00
Elliott Hughes
bdce3e63fc am 3b0433f3: Merge "Remove two dead files."
* commit '3b0433f34fed755c28a92d46eab88729694b8055':
  Remove two dead files.
2014-04-23 20:04:04 +00:00
Ruchi Kandoi
eba6501c20 am 88920300: am aa3d46a4: Merge "prctl: Adds the PR_SET_TIMERSLACK_PID option"
* commit '889203005b62f0c2124a7fcae12f9824cbc78868':
  prctl: Adds the PR_SET_TIMERSLACK_PID option
2014-04-23 19:29:32 +00:00
Ruchi Kandoi
889203005b am aa3d46a4: Merge "prctl: Adds the PR_SET_TIMERSLACK_PID option"
* commit 'aa3d46a45dd279f3fe0317f9ddd23b57200201e4':
  prctl: Adds the PR_SET_TIMERSLACK_PID option
2014-04-23 19:26:44 +00:00
The Android Automerger
d2ff1fd328 merge in master-release history after reset to master 2014-04-23 05:49:26 -07:00
Elliott Hughes
6292ad5796 am c6463dc1: am f602bf8e: Merge "Fix the glibc tests again."
* commit 'c6463dc1248607a16ef807d17809dcaaaf6fac6d':
  Fix the glibc tests again.
2014-04-23 02:35:01 +00:00
Elliott Hughes
c6463dc124 am f602bf8e: Merge "Fix the glibc tests again."
* commit 'f602bf8e943d76a03d0739d79d831e640ed07df7':
  Fix the glibc tests again.
2014-04-23 02:32:43 +00:00
Elliott Hughes
0036306445 am fc183f65: am 16ea297f: Merge "Tests for environment variables utility functions"
* commit 'fc183f65c9dd5d97c744ea60c99c8ae7fdc7f986':
  Tests for environment variables utility functions
2014-04-23 02:25:46 +00:00
Elliott Hughes
fc183f65c9 am 16ea297f: Merge "Tests for environment variables utility functions"
* commit '16ea297f1251be100fd7f70e5ed62ca095384c8a':
  Tests for environment variables utility functions
2014-04-23 02:20:25 +00:00
Elliott Hughes
a26d162337 am 81f4521d: am 532ad903: Merge "Switch to the upstream OpenBSD getenv/putenv/setenv implementation."
* commit '81f4521d1f92532bb719f8bfbd7107df449b0d97':
  Switch to the upstream OpenBSD getenv/putenv/setenv implementation.
2014-04-23 02:01:16 +00:00
Elliott Hughes
81f4521d1f am 532ad903: Merge "Switch to the upstream OpenBSD getenv/putenv/setenv implementation."
* commit '532ad903d2febc400e23d66c5f4d836d1e5f11fc':
  Switch to the upstream OpenBSD getenv/putenv/setenv implementation.
2014-04-23 01:57:57 +00:00
Elliott Hughes
38a8744366 am c3266530: am d8f8e9c5: Merge "Remove strntoimax and strntoumax from the future."
* commit 'c32665300fc9b9407cef93881ce05fb48bf29f06':
  Remove strntoimax and strntoumax from the future.
2014-04-23 01:57:41 +00:00
Dmitriy Ivanov
7588ba0a29 am 61c62389: am 36f5a95b: Merge "Get ANDROID_DATA dir from enviroment"
* commit '61c62389e7f6ba0e9e1dda64a985fe1ed5b983cc':
  Get ANDROID_DATA dir from enviroment
2014-04-23 01:57:40 +00:00
Elliott Hughes
c32665300f am d8f8e9c5: Merge "Remove strntoimax and strntoumax from the future."
* commit 'd8f8e9c59e5643ba0f0f0cee0de2d58e0683e54e':
  Remove strntoimax and strntoumax from the future.
2014-04-23 01:54:31 +00:00
Dmitriy Ivanov
61c62389e7 am 36f5a95b: Merge "Get ANDROID_DATA dir from enviroment"
* commit '36f5a95b833db0b2a48e6ab2064716c58062ab3f':
  Get ANDROID_DATA dir from enviroment
2014-04-23 01:54:30 +00:00
Dmitriy Ivanov
7240abf006 am 5603f4b8: am 635edbdf: Merge "Follow up on building tests for both platforms"
* commit '5603f4b8bc2c71d457f82d7d0556c261416f8424':
  Follow up on building tests for both platforms
2014-04-22 23:12:23 +00:00
Dmitriy Ivanov
5603f4b8bc am 635edbdf: Merge "Follow up on building tests for both platforms"
* commit '635edbdf93a127da7db77d9cd174615734b4fb85':
  Follow up on building tests for both platforms
2014-04-22 23:09:34 +00:00
Elliott Hughes
91f4eb485f am 48359851: am c6cd8846: Merge "LP64 shouldn\'t include the non-standard <time64.h> cruft."
* commit '4835985156538c05d562aeefe8e659d4b6d5c36f':
  LP64 shouldn't include the non-standard <time64.h> cruft.
2014-04-22 23:01:01 +00:00
Elliott Hughes
4835985156 am c6cd8846: Merge "LP64 shouldn\'t include the non-standard <time64.h> cruft."
* commit 'c6cd88464091460ccd845b218e05bc5d10025546':
  LP64 shouldn't include the non-standard <time64.h> cruft.
2014-04-22 22:57:40 +00:00
Christopher Ferris
24c2433256 am caba4e9b: am 8eaeaf50: Merge "Build 32/64 bit versions of tests/benchmarks."
* commit 'caba4e9b891d342c27cc60cfa8e469d7eb66b139':
  Build 32/64 bit versions of tests/benchmarks.
2014-04-22 21:42:51 +00:00
Christopher Ferris
caba4e9b89 am 8eaeaf50: Merge "Build 32/64 bit versions of tests/benchmarks."
* commit '8eaeaf50cbd769c7c9852621a422a4f0be1e08e5':
  Build 32/64 bit versions of tests/benchmarks.
2014-04-22 21:36:40 +00:00
Elliott Hughes
aef16ef2c4 am 3f9b56c7: am d0ecf597: Merge "Use -fvisibility=hidden to build libc_gdtoa."
* commit '3f9b56c75c3c9b0df085d11702595945aba15b7a':
  Use -fvisibility=hidden to build libc_gdtoa.
2014-04-22 21:20:49 +00:00
Elliott Hughes
3f9b56c75c am d0ecf597: Merge "Use -fvisibility=hidden to build libc_gdtoa."
* commit 'd0ecf5974f22f247fbf2b9e5e5e3194417589d11':
  Use -fvisibility=hidden to build libc_gdtoa.
2014-04-22 21:15:15 +00:00
Elliott Hughes
87a4339dc3 am 607475b8: am c5eea6d3: Merge "Fix WCHAR_MAX, WCHAR_MIN, WINT_MAX, and WINT_MIN."
* commit '607475b8570e1b203a23d2e904a628161bb7281e':
  Fix WCHAR_MAX, WCHAR_MIN, WINT_MAX, and WINT_MIN.
2014-04-22 18:31:25 +00:00
Elliott Hughes
607475b857 am c5eea6d3: Merge "Fix WCHAR_MAX, WCHAR_MIN, WINT_MAX, and WINT_MIN."
* commit 'c5eea6d386c23bde6f0400a8959ed21081d8365b':
  Fix WCHAR_MAX, WCHAR_MIN, WINT_MAX, and WINT_MIN.
2014-04-22 17:10:16 +00:00
Torne (Richard Coles)
122d756378 am 5b673d23: am 4ff967f3: Merge "Fix arm64/x86 build."
* commit '5b673d23688cc78829a510be3b5825757e38be6a':
  Fix arm64/x86 build.
2014-04-22 13:37:43 +00:00
Torne (Richard Coles)
ca6a210693 am d56dd740: am b1bfa795: Merge "Allow sharing the RELRO section via a file."
* commit 'd56dd7403603c653e7622850ba30c7469a1ada7c':
  Allow sharing the RELRO section via a file.
2014-04-22 13:37:43 +00:00
Torne (Richard Coles)
b33b9aa98c am 2b981e8f: am c363e5dd: Merge "Support loading libraries to a reserved address."
* commit '2b981e8f612b4808b221724ce84dd8610d123fa2':
  Support loading libraries to a reserved address.
2014-04-22 13:37:42 +00:00
Torne (Richard Coles)
e115abbd3c am cf68e0db: am 16f6429c: Merge "Add android_dlopen_ext() interface to linker."
* commit 'cf68e0db1f6a9e6ca7aa7c267b2ce99ed02df3ae':
  Add android_dlopen_ext() interface to linker.
2014-04-22 13:37:41 +00:00
Elliott Hughes
5b3aa6c21a am 71eb83ac: am f3489807: Merge "Clean up and document our hacks for building BSD source."
* commit '71eb83acc5e273c847c0145573da0907fa51df3e':
  Clean up and document our hacks for building BSD source.
2014-04-22 13:37:40 +00:00
Torne (Richard Coles)
5b673d2368 am 4ff967f3: Merge "Fix arm64/x86 build."
* commit '4ff967f3301087ea6ccaa17cfb1f04a034448a68':
  Fix arm64/x86 build.
2014-04-22 13:32:01 +00:00
Torne (Richard Coles)
d56dd74036 am b1bfa795: Merge "Allow sharing the RELRO section via a file."
* commit 'b1bfa7956c56c28b8c914e6606df191e094e7b42':
  Allow sharing the RELRO section via a file.
2014-04-22 13:32:01 +00:00
Torne (Richard Coles)
2b981e8f61 am c363e5dd: Merge "Support loading libraries to a reserved address."
* commit 'c363e5dd0a15aac9036b453f655a3a0ae5cd32cd':
  Support loading libraries to a reserved address.
2014-04-22 13:32:00 +00:00
Torne (Richard Coles)
cf68e0db1f am 16f6429c: Merge "Add android_dlopen_ext() interface to linker."
* commit '16f6429c38c24236418cf127a4c11c5d8a2fd47b':
  Add android_dlopen_ext() interface to linker.
2014-04-22 13:32:00 +00:00
Elliott Hughes
71eb83acc5 am f3489807: Merge "Clean up and document our hacks for building BSD source."
* commit 'f3489807af6d48f208bc796d3c9b0d83a4fd5374':
  Clean up and document our hacks for building BSD source.
2014-04-22 13:31:59 +00:00
The Android Automerger
1ae52afd3c merge in master-release history after reset to master 2014-04-22 05:49:13 -07:00
Elliott Hughes
26d9ed8388 am 4af8a473: am 44a98d5c: Merge "clang is >= 3.4 now; remove a hack."
* commit '4af8a473a44fd1a01186bac2f3b458ad08dc3f09':
  clang is >= 3.4 now; remove a hack.
2014-04-21 18:36:17 +00:00
Elliott Hughes
4af8a473a4 am 44a98d5c: Merge "clang is >= 3.4 now; remove a hack."
* commit '44a98d5c12530cbd6b1b0779690e9952207c34bf':
  clang is >= 3.4 now; remove a hack.
2014-04-21 18:33:07 +00:00
Elliott Hughes
4fefac5c1b am 5aa48ee3: am d812b219: Merge "Remove unused #defines from "arith.h"."
* commit '5aa48ee3ce9d0b9eca4534c817e126307d8cce8d':
  Remove unused #defines from "arith.h".
2014-04-21 18:29:10 +00:00
Elliott Hughes
5aa48ee3ce am d812b219: Merge "Remove unused #defines from "arith.h"."
* commit 'd812b2196a90ea0880c9e6f2eac0386c2917918d':
  Remove unused #defines from "arith.h".
2014-04-21 18:26:09 +00:00
Elliott Hughes
ef98c33720 am a3d82df0: am 8abf44c4: Merge "Make libc signal handler output more like debuggerd."
* commit 'a3d82df0057b1d3f4a831aae265c5cf9550a927b':
  Make libc signal handler output more like debuggerd.
2014-04-21 15:59:25 +00:00
Dmitriy Ivanov
abbee0a077 am 0baa0f74: am 6d09ec3c: Merge "Fix for libgcc compat generation script."
* commit '0baa0f74d13bf8a7da1a1a431d938b4c53f7049d':
  Fix for libgcc compat generation script.
2014-04-21 15:59:25 +00:00
Elliott Hughes
a3d82df005 am 8abf44c4: Merge "Make libc signal handler output more like debuggerd."
* commit '8abf44c415bb3b02b6a3198196c92266442a0c32':
  Make libc signal handler output more like debuggerd.
2014-04-21 13:41:35 +00:00
Dmitriy Ivanov
0baa0f74d1 am 6d09ec3c: Merge "Fix for libgcc compat generation script."
* commit '6d09ec3c2fc7bdb18eeb1706ef7c7f52db6095cc':
  Fix for libgcc compat generation script.
2014-04-21 13:41:32 +00:00
The Android Automerger
d4ab960c83 merge in master-release history after reset to master 2014-04-19 05:49:24 -07:00
Elliott Hughes
47552e7f3d am 57a61f85: am a9585aed: Merge "Temporarily disable text relocation warnings for x86 libraries"
* commit '57a61f859d504c4c895d8afac56cf97ad4f48900':
  Temporarily disable text relocation warnings for x86 libraries
2014-04-18 23:14:45 +00:00
Elliott Hughes
57a61f859d am a9585aed: Merge "Temporarily disable text relocation warnings for x86 libraries"
* commit 'a9585aedbc89242b1fe8c2f9eec1212d9b206e88':
  Temporarily disable text relocation warnings for x86 libraries
2014-04-18 23:10:06 +00:00
Elliott Hughes
3728877b9c am ccad9736: am 9b22c21c: Merge "Make uselocale(3) claim its pthread key in an ELF constructor."
* commit 'ccad97362ae773cadbbc41900e7440db6e8748dd':
  Make uselocale(3) claim its pthread key in an ELF constructor.
2014-04-18 22:35:05 +00:00
Elliott Hughes
ccad97362a am 9b22c21c: Merge "Make uselocale(3) claim its pthread key in an ELF constructor."
* commit '9b22c21ceec0a65875081525218315d08bbd36b5':
  Make uselocale(3) claim its pthread key in an ELF constructor.
2014-04-18 22:32:33 +00:00
Elliott Hughes
f112aed500 am 45d15f7d: am 1acd9716: Merge "Switch to upstream OpenBSD fread/fvwrite."
* commit '45d15f7dbeb8d72e5a671023e945b2884f061fdf':
  Switch to upstream OpenBSD fread/fvwrite.
2014-04-18 22:25:22 +00:00
Elliott Hughes
45d15f7dbe am 1acd9716: Merge "Switch to upstream OpenBSD fread/fvwrite."
* commit '1acd9716c252f487ec596e42594c0082245b6e34':
  Switch to upstream OpenBSD fread/fvwrite.
2014-04-18 22:19:40 +00:00
Dan Albert
089ec7dd91 am 302f8a92: am fe0c6ae5: Merge "Brings LC_* defs into line with POSIX"
* commit '302f8a92e4318d4637df8497a73bcc12446f051a':
  Brings LC_* defs into line with POSIX
2014-04-18 21:59:48 +00:00
Elliott Hughes
439c774f44 am 30659d4f: am cd79c8b1: Merge "Fix a wchar.wcstombs_wcrtombs test failure."
* commit '30659d4ff002b3c09cb1a5ae67b0d416afdf0383':
  Fix a wchar.wcstombs_wcrtombs test failure.
2014-04-18 21:56:16 +00:00
Dan Albert
302f8a92e4 am fe0c6ae5: Merge "Brings LC_* defs into line with POSIX"
* commit 'fe0c6ae5618af11e53ee5a41a5bf91353cd2a1ff':
  Brings LC_* defs into line with POSIX
2014-04-18 21:56:01 +00:00
Elliott Hughes
30659d4ff0 am cd79c8b1: Merge "Fix a wchar.wcstombs_wcrtombs test failure."
* commit 'cd79c8b1584237313ca6d14fbb0fb57be52a5394':
  Fix a wchar.wcstombs_wcrtombs test failure.
2014-04-18 21:52:35 +00:00
Elliott Hughes
cdbd17292e am 06b5431e: am b88da065: Merge "Upgrade to current vfprintf."
* commit '06b5431eaabec853a03013c9c8af1124aee0f4d4':
  Upgrade to current vfprintf.
2014-04-18 21:18:36 +00:00
Elliott Hughes
06b5431eaa am b88da065: Merge "Upgrade to current vfprintf."
* commit 'b88da06580a22d9a1ee5a1c573c49e89207bc71b':
  Upgrade to current vfprintf.
2014-04-18 21:15:28 +00:00
Elliott Hughes
756952d6e9 am a984c3ad: am 9e94ea5c: Merge "Upgrade our <ctype.h> implementation to OpenBSD head."
* commit 'a984c3ad3b9f8fcc63cd17bbbea2978b93c16533':
  Upgrade our <ctype.h> implementation to OpenBSD head.
2014-04-18 19:08:35 +00:00
Elliott Hughes
a984c3ad3b am 9e94ea5c: Merge "Upgrade our <ctype.h> implementation to OpenBSD head."
* commit '9e94ea5c112a26af5cfc778983e4d5ca692947c0':
  Upgrade our <ctype.h> implementation to OpenBSD head.
2014-04-18 19:02:52 +00:00
Dan Albert
022984ff06 am 6c84b9d6: am 0e351e40: Merge "Changes our ctype identifiers to match the BSDs"
* commit '6c84b9d651e9eefab8b1a440979b15fb19404ffd':
  Changes our ctype identifiers to match the BSDs
2014-04-18 16:26:14 +00:00
Dan Albert
6c84b9d651 am 0e351e40: Merge "Changes our ctype identifiers to match the BSDs"
* commit '0e351e4011bc98cacc3e37292bfb0e86c3a3bb5b':
  Changes our ctype identifiers to match the BSDs
2014-04-18 16:01:54 +00:00
Elliott Hughes
e2e41399fc am 48db3037: am 857b1796: Merge "Regenerate the NOTICE files."
* commit '48db3037714d460b112e67793ca8b0270a0cd6a4':
  Regenerate the NOTICE files.
2014-04-17 23:34:52 +00:00
Elliott Hughes
c87cb4fbb4 am c54c2a84: am 8da69a25: Merge "Switch fpclassify over to ieee_ext."
* commit 'c54c2a84cc70861e648932bd84e02163f845dcef':
  Switch fpclassify over to ieee_ext.
2014-04-17 23:34:51 +00:00
Elliott Hughes
6478ab8003 am 7fb450b8: am c480f57d: Merge "Clean up <machine/ieee.h>."
* commit '7fb450b8a4ab15729a28c239364de9240564fe90':
  Clean up <machine/ieee.h>.
2014-04-17 23:34:50 +00:00
Elliott Hughes
e21d198da6 am 31028f85: am 9ceae0c9: Merge "Use FLT_ROUNDS in LP64 strtold."
* commit '31028f852d7f65387bda433f230795b1add2b24f':
  Use FLT_ROUNDS in LP64 strtold.
2014-04-17 23:34:50 +00:00
Elliott Hughes
fb7b42df1b am bfd89274: am 4abaa576: Merge "Switch to gdtoa."
* commit 'bfd8927447b76bca6393c1e7c735a1333aa60786':
  Switch to gdtoa.
2014-04-17 23:34:44 +00:00
Elliott Hughes
48db303771 am 857b1796: Merge "Regenerate the NOTICE files."
* commit '857b1796738460f5f3cf16bb3c1e156e88171143':
  Regenerate the NOTICE files.
2014-04-17 23:21:58 +00:00
Elliott Hughes
c54c2a84cc am 8da69a25: Merge "Switch fpclassify over to ieee_ext."
* commit '8da69a25b7840db23846d4bb303ef84a1775c1e1':
  Switch fpclassify over to ieee_ext.
2014-04-17 23:21:58 +00:00
Elliott Hughes
7fb450b8a4 am c480f57d: Merge "Clean up <machine/ieee.h>."
* commit 'c480f57dd3b70c1e8aea013bc540b3a8e1cc40f6':
  Clean up <machine/ieee.h>.
2014-04-17 23:21:57 +00:00
Elliott Hughes
31028f852d am 9ceae0c9: Merge "Use FLT_ROUNDS in LP64 strtold."
* commit '9ceae0c9a62c8ffce1e3d9d79f494e692951cbc5':
  Use FLT_ROUNDS in LP64 strtold.
2014-04-17 23:21:57 +00:00
Elliott Hughes
bfd8927447 am 4abaa576: Merge "Switch to gdtoa."
* commit '4abaa576e86e4ceaa9a18271f306787294a1cdfc':
  Switch to gdtoa.
2014-04-17 23:21:56 +00:00
The Android Automerger
7ecfbf2076 merge in master-release history after reset to master 2014-04-16 05:49:16 -07:00
Ben Cheng
d382df3bc2 am d7610ef7: am 26c2bb84: Merge "Fix signed vs unsigned comparison."
* commit 'd7610ef7e8d0a9f11c9990c9843031be21d2b447':
  Fix signed vs unsigned comparison.
2014-04-15 23:37:20 +00:00
Elliott Hughes
52f083925d am 930806a5: am 073ea101: Merge "Add iswblank for libcxx."
* commit '930806a51342ce98be4832cfb43ed5ccd88e6145':
  Add iswblank for libcxx.
2014-04-15 23:36:28 +00:00
Ben Cheng
d7610ef7e8 am 26c2bb84: Merge "Fix signed vs unsigned comparison."
* commit '26c2bb84dd5cbd9ab43a5f0ebc2635bc3b64be3d':
  Fix signed vs unsigned comparison.
2014-04-15 22:43:10 +00:00
Elliott Hughes
930806a513 am 073ea101: Merge "Add iswblank for libcxx."
* commit '073ea10156d62087a67a066527c92a1dbb92d650':
  Add iswblank for libcxx.
2014-04-15 19:26:42 +00:00
The Android Automerger
f62fbd9550 merge in master-release history after reset to master 2014-04-15 05:49:14 -07:00
Elliott Hughes
e2e9c630dc am 70ccd2bf: am a13c7fd3: Merge "Fix arm64 floating point definitions."
* commit '70ccd2bffff92d5277248c0a13962ad4477f5451':
  Fix arm64 floating point definitions.
2014-04-14 22:54:20 +00:00
Elliott Hughes
70ccd2bfff am a13c7fd3: Merge "Fix arm64 floating point definitions."
* commit 'a13c7fd3b34c1deb6592a75e79df9fe44dbf4d88':
  Fix arm64 floating point definitions.
2014-04-14 22:52:27 +00:00
Elliott Hughes
9f3011ff59 am cf2c6639: am 76ba8e86: Merge "Reimplement isinf/isnan/fpclassify."
* commit 'cf2c663937b440ce78a195262a7f2d3d5b9a7157':
  Reimplement isinf/isnan/fpclassify.
2014-04-14 22:16:32 +00:00
Elliott Hughes
cf2c663937 am 76ba8e86: Merge "Reimplement isinf/isnan/fpclassify."
* commit '76ba8e86d509594d861687110bbae265904da33b':
  Reimplement isinf/isnan/fpclassify.
2014-04-14 21:42:51 +00:00
Elliott Hughes
7aa93b50ea am 4aa11e9a: am 05589068: Merge "Extra tests for printf of NaN and Inf."
* commit '4aa11e9a863b328c2916885988e5faf017aa2ae3':
  Extra tests for printf of NaN and Inf.
2014-04-14 21:17:02 +00:00
Elliott Hughes
4aa11e9a86 am 05589068: Merge "Extra tests for printf of NaN and Inf."
* commit '055890686636faddbb6d5d407c67f5dcc53ac865':
  Extra tests for printf of NaN and Inf.
2014-04-14 21:12:56 +00:00
Elliott Hughes
268dac808e am 9bbd17cb: am 28417eb9: Merge "Replace the bionic hack for a vfprintf leak with (roughly) the upstream fix."
* commit '9bbd17cb75db8a99691a6ca0462ca5476b7641a0':
  Replace the bionic hack for a vfprintf leak with (roughly) the upstream fix.
2014-04-14 15:49:13 +00:00
Elliott Hughes
9bbd17cb75 am 28417eb9: Merge "Replace the bionic hack for a vfprintf leak with (roughly) the upstream fix."
* commit '28417eb9b58ca666355f93e82dcad0df0d3466ce':
  Replace the bionic hack for a vfprintf leak with (roughly) the upstream fix.
2014-04-13 02:32:43 +00:00
The Android Automerger
bb63e31685 merge in master-release history after reset to master 2014-04-12 05:49:27 -07:00
Elliott Hughes
47d2456804 am 4d9a0d11: am a0b32321: Merge "Improve the <sstream> test."
* commit '4d9a0d11615f74e78ba97de487cbedf63325fd2e':
  Improve the <sstream> test.
2014-04-11 16:31:59 +00:00
Elliott Hughes
4d9a0d1161 am a0b32321: Merge "Improve the <sstream> test."
* commit 'a0b3232161f6ad60be1a3c4d97044ac2bb14808c':
  Improve the <sstream> test.
2014-04-11 16:29:26 +00:00
Elliott Hughes
8808dc6ff1 am d8b6b839: am c4e71fc9: Merge "Remove unnecessary #includes."
* commit 'd8b6b839578352abd107697d21b2e9a6671af0e9':
  Remove unnecessary #includes.
2014-04-11 00:58:27 +00:00
Elliott Hughes
d8b6b83957 am c4e71fc9: Merge "Remove unnecessary #includes."
* commit 'c4e71fc91f240d64aabf27d0da54e9cbf4298d14':
  Remove unnecessary #includes.
2014-04-11 00:56:40 +00:00
Elliott Hughes
bdbd892567 am 727093a3: am b64868a5: Merge "Add a test for external/stlport a6df82320fcb8f26af0d067c7768fedbaeb9ad88."
* commit '727093a3e1a31fbaa8e8f45033dc33e6ef326bde':
  Add a test for external/stlport a6df82320fcb8f26af0d067c7768fedbaeb9ad88.
2014-04-10 19:13:58 +00:00
Elliott Hughes
727093a3e1 am b64868a5: Merge "Add a test for external/stlport a6df82320fcb8f26af0d067c7768fedbaeb9ad88."
* commit 'b64868a50715cfdb5c71d97144ba00acf78e2a76':
  Add a test for external/stlport a6df82320fcb8f26af0d067c7768fedbaeb9ad88.
2014-04-10 19:09:18 +00:00
The Android Automerger
b106dbbc93 merge in master-release history after reset to master 2014-04-10 05:49:19 -07:00
Elliott Hughes
c4db98e302 am 9ac738e3: am 4e364d97: Merge "Use the glibc name user_fpregs_struct."
* commit '9ac738e3dd924b998815fe6fe4464eef4c9350f4':
  Use the glibc name user_fpregs_struct.
2014-04-10 01:07:31 +00:00
Elliott Hughes
9ac738e3dd am 4e364d97: Merge "Use the glibc name user_fpregs_struct."
* commit '4e364d972433bda04614b56bc422ca88bf406c00':
  Use the glibc name user_fpregs_struct.
2014-04-10 00:05:52 +00:00
Elliott Hughes
c34a7c93b4 am 599921be: am e4392199: Merge "Fix mcontext_t for x86-64."
* commit '599921be7b0d21b1f16b6aff6f8a246476845a09':
  Fix mcontext_t for x86-64.
2014-04-09 23:01:59 +00:00
Elliott Hughes
599921be7b am e4392199: Merge "Fix mcontext_t for x86-64."
* commit 'e4392199af1f867f751f73b129cc71e2ea99aba9':
  Fix mcontext_t for x86-64.
2014-04-09 22:59:05 +00:00
The Android Automerger
cd49747110 merge in master-release history after reset to master 2014-04-09 05:49:17 -07:00
Calin Juravle
08576fff6d am 49076afc: am a5d83312: Merge "Use glibc structure for __cmsg_nxthdr."
* commit '49076afc19a9f336cc958837cf56a6893de3c618':
  Use glibc structure for __cmsg_nxthdr.
2014-04-09 09:11:11 +00:00
Elliott Hughes
b2da536c1c am 2fbe6831: am b52a4ab4: Merge "Flesh out <locale.h>."
* commit '2fbe6831c455ac4883aa062ae51294625b4cfccc':
  Flesh out <locale.h>.
2014-04-09 09:11:10 +00:00
Calin Juravle
49076afc19 am a5d83312: Merge "Use glibc structure for __cmsg_nxthdr."
* commit 'a5d83312bdeae2062a45160f54ce86c4b7b164e0':
  Use glibc structure for __cmsg_nxthdr.
2014-04-09 08:58:03 +00:00
Elliott Hughes
2fbe6831c4 am b52a4ab4: Merge "Flesh out <locale.h>."
* commit 'b52a4ab4e281c7adae35b3d7ae8d99b5753b870d':
  Flesh out <locale.h>.
2014-04-09 08:58:02 +00:00
Elliott Hughes
1d4be682e3 am 327acb9b: am e6235505: Merge "Fix build: include what you use."
* commit '327acb9bbad825bc2e89eefd3fc408a0706701c3':
  Fix build: include what you use.
2014-04-09 03:22:27 +00:00
Elliott Hughes
327acb9bba am e6235505: Merge "Fix build: include what you use."
* commit 'e62355057ca703eeca22d54a8a0f5b69ca58487c':
  Fix build: include what you use.
2014-04-09 03:18:44 +00:00
Elliott Hughes
f4870920ac am 901b2839: am 7f38a3c9: Merge "Implement _Exit(3)."
* commit '901b2839d8ce51cbfde0c922390c8322107cd27d':
  Implement _Exit(3).
2014-04-09 02:22:37 +00:00
Elliott Hughes
901b2839d8 am 7f38a3c9: Merge "Implement _Exit(3)."
* commit '7f38a3c9bef9c6efc30a6b60873bbdeea04a18f0':
  Implement _Exit(3).
2014-04-09 02:12:43 +00:00
Elliott Hughes
cb48308d1a am a93d2770: am ac70d2e1: Merge "Clean up localeconv(3)."
* commit 'a93d27703f65e11077eb0b965e52d34a1b82e979':
  Clean up localeconv(3).
2014-04-09 01:45:22 +00:00
Elliott Hughes
a93d27703f am ac70d2e1: Merge "Clean up localeconv(3)."
* commit 'ac70d2e1fe71f98232942237c2b463ea3adbf662':
  Clean up localeconv(3).
2014-04-08 22:04:41 +00:00
Andrew Hsieh
57ba426913 am 0f147d74: am e2239ddb: Merge "Corrected typo in mips64.mk about memcpy.cpp"
* commit '0f147d74b88ea49ddeb9af82180b67895100bb7d':
  Corrected typo in mips64.mk about memcpy.cpp
2014-04-08 20:24:52 +00:00
Andrew Hsieh
0f147d74b8 am e2239ddb: Merge "Corrected typo in mips64.mk about memcpy.cpp"
* commit 'e2239ddb727f1f07237fa664edaf43b12b18e0a6':
  Corrected typo in mips64.mk about memcpy.cpp
2014-04-08 20:21:10 +00:00
Elliott Hughes
3680504a9c am 91f4f586: am 5acd2d40: Merge "AArch64: Fix flock64 for LP64."
* commit '91f4f586f3871075a676cf5fbd73d360b13097a3':
  AArch64: Fix flock64 for LP64.
2014-04-08 19:32:56 +00:00
Elliott Hughes
91f4f586f3 am 5acd2d40: Merge "AArch64: Fix flock64 for LP64."
* commit '5acd2d40052c55255a346167e504afb884eeb3af':
  AArch64: Fix flock64 for LP64.
2014-04-08 19:29:29 +00:00
Elliott Hughes
fc38de6b0d am fc50845e: am 0b0387c9: Merge "Fix kernel header scrubbing for LP64."
* commit 'fc50845e7d921763152753b60417ece57158cf2e':
  Fix kernel header scrubbing for LP64.
2014-04-08 18:05:33 +00:00
Elliott Hughes
fc50845e7d am 0b0387c9: Merge "Fix kernel header scrubbing for LP64."
* commit '0b0387c965894e235b72fa965191bf346270135d':
  Fix kernel header scrubbing for LP64.
2014-04-08 18:00:08 +00:00
The Android Automerger
86b8d2448a merge in master-release history after reset to master 2014-04-08 05:49:12 -07:00
Christopher Ferris
39a4d58f36 am 8c22d563: am 41059d76: Merge "Add stpcpy/stpncpy."
* commit '8c22d5635869b420ebe4178141a2c6e969a2626a':
  Add stpcpy/stpncpy.
2014-04-08 01:36:36 +00:00
Christopher Ferris
8c22d56358 am 41059d76: Merge "Add stpcpy/stpncpy."
* commit '41059d764f347baa28b8da653a88c772daa9b738':
  Add stpcpy/stpncpy.
2014-04-08 01:31:06 +00:00
Elliott Hughes
bdca710f7d am 6a8d61e1: am b9bb48bf: Merge "Fix the printf issue for 64 bits. The following case:"
* commit '6a8d61e173954878037516bacfd725bdb3bece22':
  Fix the printf issue for 64 bits. The following case:
2014-04-07 23:58:05 +00:00
Elliott Hughes
6a8d61e173 am b9bb48bf: Merge "Fix the printf issue for 64 bits. The following case:"
* commit 'b9bb48bf289eec9053c6d7cc77ebbde2b4356c4b':
  Fix the printf issue for 64 bits. The following case:
2014-04-07 23:52:29 +00:00
Elliott Hughes
d77b71710f am 602886de: am 26c31a75: Merge "Remove a non-standard turd: strtotimeval."
* commit '602886de86c45016e276cc63fa8f67e1596c97f8':
  Remove a non-standard turd: strtotimeval.
2014-04-07 23:07:30 +00:00
Elliott Hughes
602886de86 am 26c31a75: Merge "Remove a non-standard turd: strtotimeval."
* commit '26c31a75a5bd9a549cefc0424b7cac9e35816711':
  Remove a non-standard turd: strtotimeval.
2014-04-07 23:01:04 +00:00
Elliott Hughes
bfe0bc2447 am 53cffd8c: am 5f149f1b: Merge "Implement wctomb(3) for ltrace."
* commit '53cffd8ccd0016200d3345b6e87c20298309bb49':
  Implement wctomb(3) for ltrace.
2014-04-07 21:51:57 +00:00
Elliott Hughes
f5f5fa266d am 0842460e: am 60ba211d: Merge "Fix build: __unused isn\'t unused!"
* commit '0842460e539dd7203af1cea66e6fe2506e8ed856':
  Fix build: __unused isn't unused!
2014-04-07 21:51:56 +00:00
Elliott Hughes
53cffd8ccd am 5f149f1b: Merge "Implement wctomb(3) for ltrace."
* commit '5f149f1bdef31d198c0e84fd8c904204d263e825':
  Implement wctomb(3) for ltrace.
2014-04-07 21:46:16 +00:00
Elliott Hughes
0842460e53 am 60ba211d: Merge "Fix build: __unused isn\'t unused!"
* commit '60ba211d2b1b4205063419b0933cba711b1547d6':
  Fix build: __unused isn't unused!
2014-04-07 21:46:16 +00:00
Elliott Hughes
7f1ee87ef9 am 3333a7af: am 47931f8f: Merge "Fix aarch64 struct ucontext."
* commit '3333a7af505a5d6230de5a455e9da6eb18ae07c6':
  Fix aarch64 struct ucontext.
2014-04-07 21:02:58 +00:00
Elliott Hughes
3333a7af50 am 47931f8f: Merge "Fix aarch64 struct ucontext."
* commit '47931f8f796b736bd229b6669efcf428108abc47':
  Fix aarch64 struct ucontext.
2014-04-07 20:56:05 +00:00
The Android Automerger
f0cae0619b merge in master-release history after reset to master 2014-04-05 05:49:25 -07:00
Elliott Hughes
d4dadbfbcd am b49e6c8a: am dc5fcf36: Merge "Define __WORDSIZE like glibc."
* commit 'b49e6c8a542f9c7630ae49215f151b2e3bad817f':
  Define __WORDSIZE like glibc.
2014-04-04 03:19:06 +00:00
Paul Jensen
6f706dd88c am c8167111: resolved conflicts for merge of 804b95e5 to klp-modular-dev-plus-aosp
* commit 'c8167111d57992b8ce3ca554a9499973c55aa174':
  bionic: Replace iface with opaque netid in resolver.
2014-04-04 03:19:05 +00:00
Elliott Hughes
b49e6c8a54 am dc5fcf36: Merge "Define __WORDSIZE like glibc."
* commit 'dc5fcf3620bfc221954b3d42f459bfdcf8f48216':
  Define __WORDSIZE like glibc.
2014-04-04 00:08:20 +00:00
Paul Jensen
c8167111d5 resolved conflicts for merge of 804b95e5 to klp-modular-dev-plus-aosp
Change-Id: I124e9342acdb0c9cf0cdcae31f063787c96ab6e2
2014-04-03 19:59:27 -04:00
The Android Automerger
36a131554e merge in master-release history after reset to master 2014-04-03 05:49:27 -07:00
Calin Juravle
d2abc19fa7 am c48efe35: am 38687593: Merge "Emit warnings when linking against imprecise math functions"
* commit 'c48efe35885c203e0d40abc81ae40579178ab90e':
  Emit warnings when linking against imprecise math functions
2014-04-03 09:15:54 +00:00
Calin Juravle
b183936e57 am c44b5bf2: am eb554998: Merge "Fix modf* tests"
* commit 'c44b5bf207ef08b0035a2fec0ede29ad7267da59':
  Fix modf* tests
2014-04-03 09:15:53 +00:00
Calin Juravle
c48efe3588 am 38687593: Merge "Emit warnings when linking against imprecise math functions"
* commit '38687593141ca4a4072210417877590e44a10b0c':
  Emit warnings when linking against imprecise math functions
2014-04-03 09:11:48 +00:00
Calin Juravle
c44b5bf207 am eb554998: Merge "Fix modf* tests"
* commit 'eb554998d774c670a169bde1792619789f2f7058':
  Fix modf* tests
2014-04-03 09:11:48 +00:00
Greg Hackmann
ff14a40c80 am 9b0fa57c: am e2a0f15c: Merge "Regenerate adf header"
* commit '9b0fa57cb1e9722a07d601db9520cebaa04d743c':
  Regenerate adf header
2014-04-03 02:11:16 +00:00
Elliott Hughes
139a8acf26 am 40b9734c: am 26be5f50: Merge "Upgrade to tzdata2014b."
* commit '40b9734cd6f6b157700e1fc9149bc04c0ce5b185':
  Upgrade to tzdata2014b.
2014-04-03 01:41:01 +00:00
Greg Hackmann
9b0fa57cb1 am e2a0f15c: Merge "Regenerate adf header"
* commit 'e2a0f15c08827ee854f3bffdf78d2f4db49d4fe5':
  Regenerate adf header
2014-04-02 23:36:03 +00:00
Elliott Hughes
40b9734cd6 am 26be5f50: Merge "Upgrade to tzdata2014b."
* commit '26be5f50c2a0d2a493559c897ab1a7711269dc88':
  Upgrade to tzdata2014b.
2014-04-02 22:03:00 +00:00
Elliott Hughes
130a02e116 am 05ed7048: am 1f136571: Merge "Fix the POSIX timers fix."
* commit '05ed7048ad9be79bdbf27d076a4d8cd4000f7e98':
  Fix the POSIX timers fix.
2014-04-02 16:36:28 +00:00
Elliott Hughes
05ed7048ad am 1f136571: Merge "Fix the POSIX timers fix."
* commit '1f136571312e4269df00dfc6d9a9049d0f2dabc9':
  Fix the POSIX timers fix.
2014-04-02 16:30:52 +00:00
The Android Automerger
940f4fac14 merge in master-release history after reset to master 2014-04-02 05:49:21 -07:00
Calin Juravle
09e087b829 am 0a6162e2: am 9c9ef0db: Merge "Changed long double literal suffix from \'l\' to \'L\'."
* commit '0a6162e2e7e53a55461770fba1a0af3fe2e9b543':
  Changed long double literal suffix from 'l' to 'L'.
2014-04-02 10:30:02 +00:00
Calin Juravle
0a6162e2e7 am 9c9ef0db: Merge "Changed long double literal suffix from \'l\' to \'L\'."
* commit '9c9ef0db91c816ca81a22a94c3ddd896a0f0f1bc':
  Changed long double literal suffix from 'l' to 'L'.
2014-04-02 10:24:07 +00:00
Elliott Hughes
341b39bd1d am bfc540f6: am 1653ad5e: Merge "Remove <machine/limits.h>."
* commit 'bfc540f6e3b70d4585cf9338d309250bc964404b':
  Remove <machine/limits.h>.
2014-04-02 01:09:08 +00:00
Christopher Ferris
b9993a9869 am ba6ad860: am cb1da5d0: Merge "Include sys/types.h and sys/wait.h for waitpid"
* commit 'ba6ad8602ab4fae96679673f06129d9112f898e0':
  Include sys/types.h and sys/wait.h for waitpid
2014-04-02 01:05:29 +00:00
Elliott Hughes
bfc540f6e3 am 1653ad5e: Merge "Remove <machine/limits.h>."
* commit '1653ad5e08ba4cabfd4d81237e13a4952fac6194':
  Remove <machine/limits.h>.
2014-04-02 01:05:13 +00:00
Christopher Ferris
ba6ad8602a am cb1da5d0: Merge "Include sys/types.h and sys/wait.h for waitpid"
* commit 'cb1da5d0c9b65bc43062554a3bfd589ee7b100b1':
  Include sys/types.h and sys/wait.h for waitpid
2014-04-02 00:59:44 +00:00
Elliott Hughes
4b0ee2e965 am 099c13b9: am f1bfc878: Merge "Remove SIZE_MAX definition in limits.h"
* commit '099c13b92509b023fdbaa67a84785f3580cf7422':
  Remove SIZE_MAX definition in limits.h
2014-04-02 00:08:33 +00:00
Christopher Ferris
3a76f22fbc am e42e5b32: am ab5488f9: Merge "Fix transient failure in select_smoke test."
* commit 'e42e5b32ebae3390c33402764458d77137b2d626':
  Fix transient failure in select_smoke test.
2014-04-02 00:02:51 +00:00
Elliott Hughes
099c13b925 am f1bfc878: Merge "Remove SIZE_MAX definition in limits.h"
* commit 'f1bfc8781e17fb851de23dce4332c0cb5ccb8749':
  Remove SIZE_MAX definition in limits.h
2014-04-01 23:59:49 +00:00
Christopher Ferris
e42e5b32eb am ab5488f9: Merge "Fix transient failure in select_smoke test."
* commit 'ab5488f97545f5dd1a1cd2ff6a5579b1d2443996':
  Fix transient failure in select_smoke test.
2014-04-01 22:03:17 +00:00
Elliott Hughes
85e5af0890 am 94d1de56: am 92d81d89: Merge "Add Silvermont architecture cache sizes"
* commit '94d1de561d31013cbe82a4ea980db9931a685e24':
  Add Silvermont architecture cache sizes
2014-04-01 21:55:02 +00:00
Elliott Hughes
94d1de561d am 92d81d89: Merge "Add Silvermont architecture cache sizes"
* commit '92d81d893f7ca2735afb07f38f7dc799a2de6860':
  Add Silvermont architecture cache sizes
2014-04-01 21:48:03 +00:00
Elliott Hughes
b13d66b578 am abd89b0c: am e05816cf: Merge "Fix debug malloc for LP64."
* commit 'abd89b0cccb893e62afce87ec05b325ca337a8d8':
  Fix debug malloc for LP64.
2014-04-01 21:14:58 +00:00
Elliott Hughes
abd89b0ccc am e05816cf: Merge "Fix debug malloc for LP64."
* commit 'e05816cfa0270d7def33da70bf2ada12350b08b5':
  Fix debug malloc for LP64.
2014-04-01 21:09:54 +00:00
Elliott Hughes
59c78feb6d am f7dd9085: am f42df8c1: Merge "Add lsearch(3) for ltrace."
* commit 'f7dd908586ea49283a792e345e51d48541834b7c':
  Add lsearch(3) for ltrace.
2014-04-01 20:39:45 +00:00
Elliott Hughes
f7dd908586 am f42df8c1: Merge "Add lsearch(3) for ltrace."
* commit 'f42df8c1ac1fd1924a6244f5b9ad472d73786949':
  Add lsearch(3) for ltrace.
2014-04-01 20:35:58 +00:00
Elliott Hughes
0f0fba75be am 0ea45999: am 796249a4: Merge "Remove duplicate line in linker/Android.mk."
* commit '0ea459992f75b454e743ebf1a41ddab4a3327b16':
  Remove duplicate line in linker/Android.mk.
2014-04-01 19:42:25 +00:00
Elliott Hughes
0ea459992f am 796249a4: Merge "Remove duplicate line in linker/Android.mk."
* commit '796249a4ce48ed5eb946170f32541e3edf83b601':
  Remove duplicate line in linker/Android.mk.
2014-04-01 19:33:44 +00:00
The Android Automerger
dfbc8515c4 merge in master-release history after reset to master 2014-04-01 05:49:18 -07:00
Christopher Ferris
182f839cc6 am bc004aa4: am b732b71d: Merge "Move accept4 tests into sys_socket_test.cpp."
* commit 'bc004aa4d36fec0fae112ff4de078b3f2fd3dbc6':
  Move accept4 tests into sys_socket_test.cpp.
2014-04-01 09:16:41 +00:00
Christopher Ferris
bc004aa4d3 am b732b71d: Merge "Move accept4 tests into sys_socket_test.cpp."
* commit 'b732b71dc10158a4c1d8ee2235d357f8694030ba':
  Move accept4 tests into sys_socket_test.cpp.
2014-04-01 09:08:01 +00:00
Christopher Ferris
29786ff84b am 1cf377bb: am aad59faf: Merge "Small accept4 fixes."
* commit '1cf377bbceb5c59b8572fcdb456034e18fdc1db1':
  Small accept4 fixes.
2014-03-31 19:50:02 +00:00
Christopher Ferris
1cf377bbce am aad59faf: Merge "Small accept4 fixes."
* commit 'aad59fafeaa1f46e1744864167e6407b5a5ae55e':
  Small accept4 fixes.
2014-03-31 19:11:02 +00:00
The Android Automerger
7f808152bd merge in master-release history after reset to master 2014-03-31 05:49:09 -07:00
Calin Juravle
6a354178ef am 93203f65: am 557942ac: Merge "Fix math tests."
* commit '93203f65220bd3884bbe5da1cb90292341605088':
  Fix math tests.
2014-03-31 11:36:00 +00:00
Calin Juravle
93203f6522 am 557942ac: Merge "Fix math tests."
* commit '557942ac58f08675473460b1802b43473c467172':
  Fix math tests.
2014-03-31 11:29:51 +00:00
Christopher Ferris
461b1542e1 am ce5583f7: am d8fe15fd: Merge "add 32-bit bionic implementation for denver arch"
* commit 'ce5583f7065d930cc8d79a05601ca85146da5c2e':
  add 32-bit bionic implementation for denver arch
2014-03-31 03:42:38 +00:00
Christopher Ferris
ce5583f706 am d8fe15fd: Merge "add 32-bit bionic implementation for denver arch"
* commit 'd8fe15fdb6581b6920a4be75731337edbac64b11':
  add 32-bit bionic implementation for denver arch
2014-03-31 03:39:02 +00:00
Christopher Ferris
f6dc79befc am 52268f39: am c19972a4: Merge "Use __unused instead of UNUSED in linker.cpp"
* commit '52268f39820bc541aa7a8c79654de486d8a8e9f2':
  Use __unused instead of UNUSED in linker.cpp
2014-03-30 22:39:38 +00:00
Christopher Ferris
52268f3982 am c19972a4: Merge "Use __unused instead of UNUSED in linker.cpp"
* commit 'c19972a4ca24512e017ad501bf446a489d4236e7':
  Use __unused instead of UNUSED in linker.cpp
2014-03-30 22:34:02 +00:00
The Android Automerger
ae718f76ab merge in master-release history after reset to master 2014-03-29 05:49:25 -07:00
Calin Juravle
c08e1720c2 am fd134c6f: am 6617fb73: Merge "Add lconv declaration and localeconv(3)"
* commit 'fd134c6f33ad040dfc2f91d7e23e8186fa3e8610':
  Add lconv declaration and localeconv(3)
2014-03-28 11:36:03 +00:00
Calin Juravle
fd134c6f33 am 6617fb73: Merge "Add lconv declaration and localeconv(3)"
* commit '6617fb73b6393f727cfc88a650c7e033ced053ce':
  Add lconv declaration and localeconv(3)
2014-03-28 11:29:20 +00:00
Christopher Ferris
d5e61526bf am 7009abc2: am a58b3f78: Merge "Add accept4 unit test to bionic."
* commit '7009abc28335f01105ac1da02c3d0d06788e21b7':
  Add accept4 unit test to bionic.
2014-03-27 18:29:26 +00:00
Colin Cross
ba73053166 am 61bfc416: am cd3303fa: Merge "linker: use LOCAL_MULTILIB := both style to build linker64"
* commit '61bfc41644ba009678bb9f7e4a2deb3ebe60099e':
  linker: use LOCAL_MULTILIB := both style to build linker64
2014-03-27 18:29:26 +00:00
Christopher Ferris
7009abc283 am a58b3f78: Merge "Add accept4 unit test to bionic."
* commit 'a58b3f78e14500e7b10fc845ef0a6a8309664663':
  Add accept4 unit test to bionic.
2014-03-27 18:23:30 +00:00
Colin Cross
61bfc41644 am cd3303fa: Merge "linker: use LOCAL_MULTILIB := both style to build linker64"
* commit 'cd3303fa384c86f9e7dfab52cce33bd986fdd565':
  linker: use LOCAL_MULTILIB := both style to build linker64
2014-03-27 18:23:29 +00:00
Calin Juravle
4f6cd7cf9b am 113f7750: am 206fe5fd: Merge changes I1935a63d,I3dfd3647
* commit '113f77506b2382eeb2d99c74f84579c59832fbbb':
  Fix and clean up strtotimeval
  Added strtotimeval tests.
2014-03-27 17:06:14 +00:00
Calin Juravle
113f77506b am 206fe5fd: Merge changes I1935a63d,I3dfd3647
* commit '206fe5fd160504489234d222d824870837e82b59':
  Fix and clean up strtotimeval
  Added strtotimeval tests.
2014-03-27 16:59:18 +00:00
The Android Automerger
c7d5686d9b merge in master-release history after reset to master 2014-03-27 05:49:21 -07:00
Christopher Ferris
474663a398 am 7b6440d1: am bc475bc8: Merge "Add accept4() syscall"
* commit '7b6440d1547d9845ba5572179cd9c32b088b1985':
  Add accept4() syscall
2014-03-26 19:59:57 +00:00
Christopher Ferris
7b6440d154 am bc475bc8: Merge "Add accept4() syscall"
* commit 'bc475bc8d1d202baa48f6c9829fe1cced9122332':
  Add accept4() syscall
2014-03-26 19:53:07 +00:00
Calin Juravle
d91b4a0ffc am cba91b3d: am ecbf00bd: Merge "Clean up CMSG_*HDR in <sys/socket.h>"
* commit 'cba91b3dbd2de2299979c0015896fb6942162bd7':
  Clean up CMSG_*HDR in <sys/socket.h>
2014-03-26 16:36:26 +00:00
Calin Juravle
cba91b3dbd am ecbf00bd: Merge "Clean up CMSG_*HDR in <sys/socket.h>"
* commit 'ecbf00bda2fcee65e4e6385772022529ffeeed91':
  Clean up CMSG_*HDR in <sys/socket.h>
2014-03-26 14:51:16 +00:00
The Android Automerger
629ad13f57 merge in master-release history after reset to master 2014-03-26 05:49:20 -07:00
Christopher Ferris
0f01bb2e68 am b47790fb: am c8fc4ddc: Merge "Keep the symbol table in the shared libc."
* commit 'b47790fb5620b4a856bba6e2cb1b76989d96956d':
  Keep the symbol table in the shared libc.
2014-03-25 21:22:58 +00:00
Christopher Ferris
b47790fb56 am c8fc4ddc: Merge "Keep the symbol table in the shared libc."
* commit 'c8fc4ddc183060aa979185d5a6845f26beb1a733':
  Keep the symbol table in the shared libc.
2014-03-25 19:09:32 +00:00
The Android Automerger
136278f66e merge in master-release history after reset to master 2014-03-25 05:49:20 -07:00
Brian Carlstrom
f2da14ccc7 am 3f078dc9: am f71c0e75: Merge "Add include of float.h for LDBL_MIN_EXP and LDBL_MANT_DIG"
* commit '3f078dc9f7ecc7fcc2265198a7744754c78047f1':
  Add include of float.h for LDBL_MIN_EXP and LDBL_MANT_DIG
2014-03-25 00:36:02 +00:00
Brian Carlstrom
3f078dc9f7 am f71c0e75: Merge "Add include of float.h for LDBL_MIN_EXP and LDBL_MANT_DIG"
* commit 'f71c0e75e0d041c80e4dc6900e2c2283e5d55ce2':
  Add include of float.h for LDBL_MIN_EXP and LDBL_MANT_DIG
2014-03-25 00:26:01 +00:00
Calin Juravle
afc3a59e6c am 20f78d7e: am 989a80b7: Merge "Fix LP64 libm for 128-bit long doubles"
* commit '20f78d7eecb921fe9862039fe43c02747e4f253f':
  Fix LP64 libm for 128-bit long doubles
2014-03-24 21:25:35 +00:00
Calin Juravle
ade0564616 am 02a17877: am 9e8a8dc1: Merge "Remove ALIGNBYTES and ALIGN from <sys/param.h>"
* commit '02a178773806e118e60a422f82b8a2607bd54e86':
  Remove ALIGNBYTES and ALIGN from <sys/param.h>
2014-03-24 21:25:34 +00:00
Nick Kralevich
91ef8d53ec am aefe43b1: am 95c1abec: Merge "FORTIFY_SOURCE: don\'t define s?printf macros if already defined"
* commit 'aefe43b1824907b93c6280ce27cb2c105c564477':
  FORTIFY_SOURCE: don't define s?printf macros if already defined
2014-03-24 21:25:17 +00:00
Chad Brubaker
efe4461364 am b9e1688c: am 1d3d0360: am 081db840: Allow overlap in resolv uid => DNS iface mapping
* commit 'b9e1688cd9f8727bbe0dacafd194c7a571bedb14':
  Allow overlap in resolv uid => DNS iface mapping
2014-03-24 19:35:17 +00:00
Mark Salyzyn
248f1027e0 am 5b3c6fde: am cce6c380: Merge "libc: Thread IDs missing from logcat -v thread"
* commit '5b3c6fde09f2665f788f2586c3cdbab28b98b229':
  libc: Thread IDs missing from logcat -v thread
2014-03-24 18:44:03 +00:00
Christopher Ferris
7eec583445 am e1b25377: am 998d7b03: Merge "Fix deadlock in timer_delete."
* commit 'e1b25377387376932688bb436393764469af1cf3':
  Fix deadlock in timer_delete.
2014-03-24 17:27:10 +00:00
Calin Juravle
20f78d7eec am 989a80b7: Merge "Fix LP64 libm for 128-bit long doubles"
* commit '989a80b75014eff71600a6a4e1445e710c2f94b4':
  Fix LP64 libm for 128-bit long doubles
2014-03-24 12:33:51 +00:00
Calin Juravle
02a1787738 am 9e8a8dc1: Merge "Remove ALIGNBYTES and ALIGN from <sys/param.h>"
* commit '9e8a8dc18cb3162858feef2d4baaf3fa357aa3d2':
  Remove ALIGNBYTES and ALIGN from <sys/param.h>
2014-03-24 12:33:50 +00:00
Nick Kralevich
aefe43b182 am 95c1abec: Merge "FORTIFY_SOURCE: don\'t define s?printf macros if already defined"
* commit '95c1abecc02b2a2f40b507e669b5bc17d4412bf9':
  FORTIFY_SOURCE: don't define s?printf macros if already defined
2014-03-22 18:06:03 +00:00
Chad Brubaker
b9e1688cd9 am 1d3d0360: am 081db840: Allow overlap in resolv uid => DNS iface mapping
* commit '1d3d0360eee442c7c73006e2069acdc051575edb':
  Allow overlap in resolv uid => DNS iface mapping
2014-03-21 21:09:37 +00:00
Chad Brubaker
1d3d0360ee am 081db840: Allow overlap in resolv uid => DNS iface mapping
* commit '081db840befec895fb86e709ae95832ade2d065c':
  Allow overlap in resolv uid => DNS iface mapping
2014-03-21 21:02:40 +00:00
Mark Salyzyn
5b3c6fde09 am cce6c380: Merge "libc: Thread IDs missing from logcat -v thread"
* commit 'cce6c380d7c9574f823f5e038c28c793fdb55c58':
  libc: Thread IDs missing from logcat -v thread
2014-03-21 20:16:57 +00:00
Christopher Ferris
e1b2537738 am 998d7b03: Merge "Fix deadlock in timer_delete."
* commit '998d7b030763e8da6ff04020eedab552857587d2':
  Fix deadlock in timer_delete.
2014-03-21 17:39:10 +00:00
The Android Automerger
3b93d85e6c merge in master-release history after reset to master 2014-03-20 05:49:13 -07:00
Calin Juravle
e3fb244f7a am 00fa0390: am 2cc58603: Merge "Added a test flag to bionic run-test targets."
* commit '00fa0390dfba0f66685133b51474a2614399b70e':
  Added a test flag to bionic run-test targets.
2014-03-19 18:45:27 +00:00
Calin Juravle
00fa0390df am 2cc58603: Merge "Added a test flag to bionic run-test targets."
* commit '2cc58603d5fd68ec582984318fb3c5f8865a186f':
  Added a test flag to bionic run-test targets.
2014-03-19 18:39:01 +00:00
The Android Automerger
82e02c3f77 merge in master-release history after reset to master 2014-03-18 05:49:17 -07:00
Christopher Ferris
46e998fe08 am 6bde44a6: am 849e162d: Merge "Use the float/double assert macros."
* commit '6bde44a6a2a2f37eb04d4e73b49ccb9d90ba5ecd':
  Use the float/double assert macros.
2014-03-18 00:02:38 +00:00
Christopher Ferris
6bde44a6a2 am 849e162d: Merge "Use the float/double assert macros."
* commit '849e162d3bedc5ca61bdf15486268b253b9f4e93':
  Use the float/double assert macros.
2014-03-17 23:57:41 +00:00
The Android Automerger
408bb44471 merge in master-release history after reset to master 2014-03-15 05:49:33 -07:00
Calin Juravle
458c27c2c1 am b10e18dd: am f212bbf6: Merge "Update libm to the upstream head (2014.03.13)"
* commit 'b10e18dda57d00480ccbb6cd9a12783fd72874df':
  Update libm to the upstream head (2014.03.13)
2014-03-14 17:52:42 +00:00
Elliott Hughes
092774abfc am b689105d: am 143df89f: Merge "Clean up reentrancy cruft."
* commit 'b689105d79449bc40ec2c0947f17e188c0da6eef':
  Clean up reentrancy cruft.
2014-03-14 17:52:41 +00:00
Elliott Hughes
48a06ec3f7 am 16b8b0e1: am d16100c1: Merge "Clean up <stdio.h> macros."
* commit '16b8b0e12cfbe0baa242740b6ede2acdee1054f4':
  Clean up <stdio.h> macros.
2014-03-14 13:13:30 +00:00
Calin Juravle
b10e18dda5 am f212bbf6: Merge "Update libm to the upstream head (2014.03.13)"
* commit 'f212bbf666b77777063a3a94a672bcae80b15253':
  Update libm to the upstream head (2014.03.13)
2014-03-14 11:03:42 +00:00
Elliott Hughes
e130bc103e am 5321a9e7: am 6ece7fc3: Merge "property: fix getting dirty serial value"
* commit '5321a9e7401bc4ca0839884c627376367aee34c8':
  property: fix getting dirty serial value
2014-03-14 10:46:37 +00:00
Elliott Hughes
b689105d79 am 143df89f: Merge "Clean up reentrancy cruft."
* commit '143df89f729f39f4286f12daaf9cacf5c4501357':
  Clean up reentrancy cruft.
2014-03-14 09:13:14 +00:00
Elliott Hughes
16b8b0e12c am d16100c1: Merge "Clean up <stdio.h> macros."
* commit 'd16100c1fb8a39215497243ecb12176e9688ef77':
  Clean up <stdio.h> macros.
2014-03-13 23:19:36 +00:00
Elliott Hughes
2fcf90f1da am 8cd36386: am 01cd7885: Merge "Upgrade to current upstream scanf implementation."
* commit '8cd3638641cbd1540508e72b84189a4bd24d2b22':
  Upgrade to current upstream scanf implementation.
2014-03-13 21:20:15 +00:00
Elliott Hughes
5321a9e740 am 6ece7fc3: Merge "property: fix getting dirty serial value"
* commit '6ece7fc33a389ef9bcbe78a83a6633e4cb4e4743':
  property: fix getting dirty serial value
2014-03-13 20:21:05 +00:00
The Android Automerger
52e0d9aa81 merge in master-release history after reset to master 2014-03-13 05:49:21 -07:00
Elliott Hughes
8cd3638641 am 01cd7885: Merge "Upgrade to current upstream scanf implementation."
* commit '01cd78854afe5707f0d5b2b8418de07a55f8fde4':
  Upgrade to current upstream scanf implementation.
2014-03-13 00:55:56 +00:00
Elliott Hughes
14efe23765 am f3d83fa9: am 0e79338d: Merge "Ensure we always have symbols for atof, strtof, strtold."
* commit 'f3d83fa955cf4848b48850431c6a094662f53a69':
  Ensure we always have symbols for atof, strtof, strtold.
2014-03-12 23:44:29 +00:00
Elliott Hughes
f3d83fa955 am 0e79338d: Merge "Ensure we always have symbols for atof, strtof, strtold."
* commit '0e79338d12d1ca780efcd0720af92b0a70e55da8':
  Ensure we always have symbols for atof, strtof, strtold.
2014-03-12 23:36:54 +00:00
Mark Salyzyn
ff52f9f054 am 5b675903: am 56e1eebd: Merge "logd: default user space logger"
* commit '5b6759035b2f99f37cbdbf9de5c2e098f6ba3f76':
  logd: default user space logger
2014-03-12 23:04:41 +00:00
Elliott Hughes
ad9cb39296 am 6a250387: am eef2928f: Merge "Include what you use."
* commit '6a250387c7b13d19a29a0024f0f399862fc67d60':
  Include what you use.
2014-03-12 22:58:06 +00:00
Elliott Hughes
801a7a60cc am b51e4216: am 2282e16d: Merge "Use [u]int32_t instead of __[u]int32_t in sys/types.h"
* commit 'b51e4216e81c02b67218bbe417db8293836c6121':
  Use [u]int32_t instead of __[u]int32_t in sys/types.h
2014-03-12 22:58:05 +00:00
Mark Salyzyn
5b6759035b am 56e1eebd: Merge "logd: default user space logger"
* commit '56e1eebd39be4830f309603b38e4b1118c544fb3':
  logd: default user space logger
2014-03-12 21:07:06 +00:00
Elliott Hughes
6a250387c7 am eef2928f: Merge "Include what you use."
* commit 'eef2928f94ac6ff5659c6177785b47e6fcdd03a2':
  Include what you use.
2014-03-12 20:56:22 +00:00
Elliott Hughes
b51e4216e8 am 2282e16d: Merge "Use [u]int32_t instead of __[u]int32_t in sys/types.h"
* commit '2282e16d76c6691968bd62a4c4bb3ecefabc98ca':
  Use [u]int32_t instead of __[u]int32_t in sys/types.h
2014-03-12 20:52:56 +00:00
Elliott Hughes
3b4fbccfaf am 2e1f5f09: am ef43a6fb: Merge "Clean up our termios implementation."
* commit '2e1f5f09d91f145d99c2a26f99bf58c5f3c5e14a':
  Clean up our termios implementation.
2014-03-12 20:11:06 +00:00
Elliott Hughes
4ef945379f am 32378d58: am 76b4f1a3: Merge "More stdio cleanup."
* commit '32378d584feb3343c6a4d93b82b9e0ac8e514238':
  More stdio cleanup.
2014-03-12 19:56:47 +00:00
Elliott Hughes
7517235f9d am 10675a79: am 55f9710a: Merge "Reimplement clock(3) and switch to OpenBSD time(3)."
* commit '10675a794d02497f530f9086b6edf61b5cdb447c':
  Reimplement clock(3) and switch to OpenBSD time(3).
2014-03-12 19:56:47 +00:00
Elliott Hughes
54aaa778a8 am a5b7850d: am 753e1399: Merge "Add a basic unit test for system(3)."
* commit 'a5b7850d5f467e17c379f10494154ce1e2d488d6':
  Add a basic unit test for system(3).
2014-03-12 19:56:46 +00:00
Elliott Hughes
23715c927b am e2a80994: am dd8c7863: Merge "Add various benchmarks."
* commit 'e2a8099446d03322bbdd6e42890adf9444bdac67':
  Add various benchmarks.
2014-03-12 19:56:45 +00:00
Elliott Hughes
e6b77015a6 am 31f05d91: am 9061c829: am 04583ce9: Upgrade to tzdata2014a.
* commit '31f05d91f5fef63cac225af0047e31b4846d234b':
  Upgrade to tzdata2014a.
2014-03-12 15:19:01 +00:00
Elliott Hughes
2e1f5f09d9 am ef43a6fb: Merge "Clean up our termios implementation."
* commit 'ef43a6fb0e0c5fb1debd8db83a5b57749e8331fa':
  Clean up our termios implementation.
2014-03-12 02:43:08 +00:00
Elliott Hughes
32378d584f am 76b4f1a3: Merge "More stdio cleanup."
* commit '76b4f1a33caef09891114bf37562968ab627059a':
  More stdio cleanup.
2014-03-11 23:23:02 +00:00
Elliott Hughes
10675a794d am 55f9710a: Merge "Reimplement clock(3) and switch to OpenBSD time(3)."
* commit '55f9710ac4843b4a5d2c8b03ade3d2bddd1fdf46':
  Reimplement clock(3) and switch to OpenBSD time(3).
2014-03-11 23:23:01 +00:00
Elliott Hughes
a5b7850d5f am 753e1399: Merge "Add a basic unit test for system(3)."
* commit '753e1399060c08072a8fb17eb297889a2ae987d0':
  Add a basic unit test for system(3).
2014-03-11 23:23:01 +00:00
Elliott Hughes
e2a8099446 am dd8c7863: Merge "Add various benchmarks."
* commit 'dd8c7863c613290acaa8bc4b90af34f020e0bee3':
  Add various benchmarks.
2014-03-11 23:23:00 +00:00
Elliott Hughes
31f05d91f5 am 9061c829: am 04583ce9: Upgrade to tzdata2014a.
* commit '9061c82991bced72e88588803af4dab4da3d77af':
  Upgrade to tzdata2014a.
2014-03-11 19:18:44 +00:00
Elliott Hughes
9061c82991 am 04583ce9: Upgrade to tzdata2014a.
* commit '04583ce9b94d6f41f4c1e66939c4ca2ee41ff058':
  Upgrade to tzdata2014a.
2014-03-11 17:44:37 +00:00
The Android Automerger
36fc0fd5c4 merge in master-release history after reset to master 2014-03-11 05:49:26 -07:00
Calin Juravle
7fb2576c0a am 8905752f: am 5810bcf3: Merge "Sysconfig fixes"
* commit '8905752f86279006a5213a5a0831a72e7fea9249':
  Sysconfig fixes
2014-03-11 11:01:03 +00:00
Calin Juravle
fd99dcb3cc am d920ef36: am 40c31ade: Merge "Removed pthread_attr_getstackaddr/pthread_attr_setstackaddr"
* commit 'd920ef36f6bd372418cb92d9f21ab0b677fcf62e':
  Removed pthread_attr_getstackaddr/pthread_attr_setstackaddr
2014-03-11 11:01:02 +00:00
Calin Juravle
8905752f86 am 5810bcf3: Merge "Sysconfig fixes"
* commit '5810bcf381e28e423a782af9bf53c05085b09926':
  Sysconfig fixes
2014-03-11 10:55:09 +00:00
Calin Juravle
d920ef36f6 am 40c31ade: Merge "Removed pthread_attr_getstackaddr/pthread_attr_setstackaddr"
* commit '40c31ade2c854ad61ab43bd5dbd66979efcea4c5':
  Removed pthread_attr_getstackaddr/pthread_attr_setstackaddr
2014-03-11 10:55:09 +00:00
Elliott Hughes
95648eefc9 am e8752802: am 10f6beb3: Merge "Add system/extras strftime and strptime tests."
* commit 'e8752802b2a9efd4f0109530d20fcf399bf24f9e':
  Add system/extras strftime and strptime tests.
2014-03-11 01:59:46 +00:00
Elliott Hughes
e8752802b2 am 10f6beb3: Merge "Add system/extras strftime and strptime tests."
* commit '10f6beb3eb46cb2488427f58dccdd7bbfab5a250':
  Add system/extras strftime and strptime tests.
2014-03-11 01:46:15 +00:00
Elliott Hughes
b951a4e1fd am 02bd494d: am 2cd3490d: Merge "Take ownership of various simple syscall wrappers."
* commit '02bd494dee4abb6572b8172bf46f6074b04dce17':
  Take ownership of various simple syscall wrappers.
2014-03-11 00:53:16 +00:00
Elliott Hughes
02bd494dee am 2cd3490d: Merge "Take ownership of various simple syscall wrappers."
* commit '2cd3490d7bdb18e5051a3cc66e7d03635bbcbeaf':
  Take ownership of various simple syscall wrappers.
2014-03-11 00:46:57 +00:00
Elliott Hughes
79ac8d725b am 2f80b7a8: am a3056591: Merge "Switch to NetBSD utmp.c."
* commit '2f80b7a86af6de438f1e5d84bc53b639dec61f0a':
  Switch to NetBSD utmp.c.
2014-03-10 23:48:59 +00:00
Elliott Hughes
2f80b7a86a am a3056591: Merge "Switch to NetBSD utmp.c."
* commit 'a3056591960f9d9f646135ee20804cc1a9e41106':
  Switch to NetBSD utmp.c.
2014-03-10 23:42:50 +00:00
Elliott Hughes
c95a204191 am fbb9e852: am ec674b4d: Merge "Switch to upstream FreeBSD ldexp.c."
* commit 'fbb9e852f0a3e3669a8fb6a38cdaf4b1c1ffd3db':
  Switch to upstream FreeBSD ldexp.c.
2014-03-10 23:42:21 +00:00
Elliott Hughes
11a98b081b am 02e4dada: am 21d9e58d: Merge "Rename the stack protector intermediate library."
* commit '02e4dada534aaebba0e66aa217f92d2c4698e60f':
  Rename the stack protector intermediate library.
2014-03-10 23:42:21 +00:00
Elliott Hughes
213dd5b9ce am ed13b4cf: am 7aef2746: Merge "Switch to OpenBSD wcscoll."
* commit 'ed13b4cf8b0d8f773b6abe62daca8c70b3ad3f50':
  Switch to OpenBSD wcscoll.
2014-03-10 23:34:48 +00:00
Elliott Hughes
fbb9e852f0 am ec674b4d: Merge "Switch to upstream FreeBSD ldexp.c."
* commit 'ec674b4d064d923818d0deba9f8378d13ff6451a':
  Switch to upstream FreeBSD ldexp.c.
2014-03-10 23:33:49 +00:00
Elliott Hughes
02e4dada53 am 21d9e58d: Merge "Rename the stack protector intermediate library."
* commit '21d9e58d01080c7494c639ed3bd9e6c805e022d8':
  Rename the stack protector intermediate library.
2014-03-10 23:33:49 +00:00
Elliott Hughes
ed13b4cf8b am 7aef2746: Merge "Switch to OpenBSD wcscoll."
* commit '7aef27468ee7683a0ce436f5453e6eb6ca12103b':
  Switch to OpenBSD wcscoll.
2014-03-10 23:26:45 +00:00
Elliott Hughes
67563e6080 am acc63574: am 321ecc4e: Merge "Remove non-standard memswap."
* commit 'acc635740cf64262e54fc9f62ea9ab24ac6ae3f3':
  Remove non-standard memswap.
2014-03-10 23:23:25 +00:00
Elliott Hughes
acc635740c am 321ecc4e: Merge "Remove non-standard memswap."
* commit '321ecc4eaf9d061905f009494b420a604e1d973e':
  Remove non-standard memswap.
2014-03-10 23:18:03 +00:00
Elliott Hughes
e324d90d70 am 4d212bdb: am 638e7892: Merge "Upgrade to tzdata2014a."
* commit '4d212bdb4f1999225e3be862b1060bd2af2eb0cd':
  Upgrade to tzdata2014a.
2014-03-10 22:35:31 +00:00
Elliott Hughes
4d212bdb4f am 638e7892: Merge "Upgrade to tzdata2014a."
* commit '638e7892c63c9d6968c0cf2e98ace89b9c5b2f26':
  Upgrade to tzdata2014a.
2014-03-10 22:29:29 +00:00
The Android Automerger
37398427c1 merge in master-release history after reset to master 2014-03-10 05:49:10 -07:00
Calin Juravle
f45709b67b am eacfa695: am 55b6ec3f: Merge "Update the NOTICE files"
* commit 'eacfa69553c2ca98af51e4dc636ade89c347e6e9':
  Update the NOTICE files
2014-03-10 11:39:58 +00:00
Calin Juravle
eacfa69553 am 55b6ec3f: Merge "Update the NOTICE files"
* commit '55b6ec3f93e88633b22a6f295e14a5ab4902e63a':
  Update the NOTICE files
2014-03-10 11:33:20 +00:00
Calin Juravle
66016dad14 am f535485c: am 0bca08d6: Merge "Update res_debug.c to take into account changes to the nameser.h"
* commit 'f535485cc0fef33faaaa2bc2e2a0bd9d7254e97e':
  Update res_debug.c to take into account changes to the nameser.h
2014-03-10 11:32:02 +00:00
Calin Juravle
f535485cc0 am 0bca08d6: Merge "Update res_debug.c to take into account changes to the nameser.h"
* commit '0bca08d69f4d68782f5a3e6cf16dc74997bcf277':
  Update res_debug.c to take into account changes to the nameser.h
2014-03-10 11:26:28 +00:00
The Android Automerger
56ce3ebc3b merge in master-release history after reset to master 2014-03-09 05:49:10 -07:00
Brian Carlstrom
c13a1b2bad am e9dbdc8c: am cd50898a: Merge "Add includes for waitpid"
* commit 'e9dbdc8cf429ff045861a1128ccd8be2c3d2324a':
  Add includes for waitpid
2014-03-08 23:53:49 +00:00
Brian Carlstrom
e9dbdc8cf4 am cd50898a: Merge "Add includes for waitpid"
* commit 'cd50898ad11ad3157f22fac15802757a9b559822':
  Add includes for waitpid
2014-03-08 23:48:00 +00:00
The Android Automerger
495aac1fbb merge in master-release history after reset to master 2014-03-08 05:49:28 -08:00
Elliott Hughes
69ee396704 am 00b522ad: am fd9e20d1: Merge "Fix pthread_detach for already-exited threads."
* commit '00b522ad9e87cb9ae5ad776ded92ac01e79ef31b':
  Fix pthread_detach for already-exited threads.
2014-03-08 11:02:22 +00:00
Elliott Hughes
fb2fbbc269 am 206e2c05: am 333e2ae8: Merge "Add si_timerid to <signal.h>."
* commit '206e2c05f1b08a60b5706c93fbb6e53f456ae67d':
  Add si_timerid to <signal.h>.
2014-03-08 07:28:14 +00:00
Elliott Hughes
d1256ccbb3 am 68126def: am 4d46c940: Merge "Rewrite the POSIX timer functions."
* commit '68126def6e37eae1ddc0b372fcecc3ac8287b97e':
  Rewrite the POSIX timer functions.
2014-03-08 07:28:11 +00:00
Elliott Hughes
00b522ad9e am fd9e20d1: Merge "Fix pthread_detach for already-exited threads."
* commit 'fd9e20d10f946334955ca199b0178580d284e89f':
  Fix pthread_detach for already-exited threads.
2014-03-08 03:13:34 +00:00
Elliott Hughes
206e2c05f1 am 333e2ae8: Merge "Add si_timerid to <signal.h>."
* commit '333e2ae87dac85d6420786e9e12ffd7ea84dae38':
  Add si_timerid to <signal.h>.
2014-03-08 01:56:39 +00:00
Elliott Hughes
68126def6e am 4d46c940: Merge "Rewrite the POSIX timer functions."
* commit '4d46c940315af2d93efb44e751b69ea6880a5d65':
  Rewrite the POSIX timer functions.
2014-03-08 01:56:38 +00:00
Calin Juravle
c3957eea26 am d57eb903: am b145b5ef: Merge "Fix broken pointer overflow check ns_name_unpack()"
* commit 'd57eb903c1ca2f798ab6a9ab0f9c84678b0f3025':
  Fix broken pointer overflow check ns_name_unpack()
2014-03-07 19:29:51 +00:00
Calin Juravle
a7c42b1268 am 542e6c87: am d9ba757e: Merge "Sync up nameser with upstream(2014.03.05)"
* commit '542e6c87e52f7886e5ede72e3222c2d6ed83aefb':
  Sync up nameser with upstream(2014.03.05)
2014-03-07 19:29:50 +00:00
Calin Juravle
d57eb903c1 am b145b5ef: Merge "Fix broken pointer overflow check ns_name_unpack()"
* commit 'b145b5ef7c91ec76e4dc8450f70b7af80873b46e':
  Fix broken pointer overflow check ns_name_unpack()
2014-03-07 11:52:24 +00:00
Calin Juravle
542e6c87e5 am d9ba757e: Merge "Sync up nameser with upstream(2014.03.05)"
* commit 'd9ba757ef4546ef931cfa2fff4e206b36c955ead':
  Sync up nameser with upstream(2014.03.05)
2014-03-07 11:52:24 +00:00
Elliott Hughes
e4014d8882 am 37486940: am d40eb159: Merge "Fix some pthread symbols build as C++ symbol under x64 lunch."
* commit '3748694064366694b2136ac8943332d5ceec7bf4':
  Fix some pthread symbols build as C++ symbol under x64 lunch.
2014-03-07 11:00:32 +00:00
Elliott Hughes
39febf4a95 am e992f79a: am 087dbc6b: Merge "Bring the generate-NOTICE script up to date."
* commit 'e992f79a5627e9d839a001f8563b637d2e97bb93':
  Bring the generate-NOTICE script up to date.
2014-03-07 03:09:45 +00:00
Elliott Hughes
18a32d4ac0 am 372196e9: am dec5bacf: Merge "Update the NOTICE files."
* commit '372196e955047551d6241de7b83ae43bdb5a8b5c':
  Update the NOTICE files.
2014-03-07 03:09:44 +00:00
Elliott Hughes
7157b81966 am 91a5272e: am e7ea9363: Merge "Add ARMv8 optimized string handling functions based on cortex-strings"
* commit '91a5272e6f7712e5313b85c6a615f6891e7ea0a7':
  Add ARMv8 optimized string handling functions based on cortex-strings
2014-03-07 03:09:44 +00:00
Elliott Hughes
3748694064 am d40eb159: Merge "Fix some pthread symbols build as C++ symbol under x64 lunch."
* commit 'd40eb1594dff0103247292967f8a801ef8c0ff12':
  Fix some pthread symbols build as C++ symbol under x64 lunch.
2014-03-07 01:27:38 +00:00
Elliott Hughes
e992f79a56 am 087dbc6b: Merge "Bring the generate-NOTICE script up to date."
* commit '087dbc6bb789dc549d8f71ea820e6fc7e69d99d2':
  Bring the generate-NOTICE script up to date.
2014-03-07 00:01:24 +00:00
Elliott Hughes
372196e955 am dec5bacf: Merge "Update the NOTICE files."
* commit 'dec5bacf1481a0e6b0ae0078933dbfb8953b7d19':
  Update the NOTICE files.
2014-03-07 00:01:23 +00:00
Elliott Hughes
91a5272e6f am e7ea9363: Merge "Add ARMv8 optimized string handling functions based on cortex-strings"
* commit 'e7ea9363cb30d5c36c9333162c11b1e7b4f302b6':
  Add ARMv8 optimized string handling functions based on cortex-strings
2014-03-07 00:01:23 +00:00
The Android Automerger
099d41c16f merge in master-release history after reset to master 2014-03-06 05:49:21 -08:00
Mark Salyzyn
bbcd3c686e am a6bd876e: am 68a651e7: Merge "libc: libc_logging 64bit compile issue"
* commit 'a6bd876e3dffedb2227dde034328987ebb79223b':
  libc: libc_logging 64bit compile issue
2014-03-06 02:50:44 +00:00
Mark Salyzyn
a6bd876e3d am 68a651e7: Merge "libc: libc_logging 64bit compile issue"
* commit '68a651e7162b922a2916da524ef9706276640752':
  libc: libc_logging 64bit compile issue
2014-03-06 01:08:55 +00:00
Robert Greenwalt
336801367b am 320765f4: am 8b6a9651: am c5443e6e: am abf91850: Merge "Fix dns searchdomain use in gethostbyname." into klp-dev
* commit '320765f44e2d20b4b9542c13fb3358a0ea2caef3':
  Fix dns searchdomain use in gethostbyname.
2014-03-06 00:14:42 +00:00
Robert Greenwalt
320765f44e am 8b6a9651: am c5443e6e: am abf91850: Merge "Fix dns searchdomain use in gethostbyname." into klp-dev
* commit '8b6a965150b955393e46572c79d69577f0425a30':
  Fix dns searchdomain use in gethostbyname.
2014-03-05 22:21:24 +00:00
Robert Greenwalt
8b6a965150 am c5443e6e: am abf91850: Merge "Fix dns searchdomain use in gethostbyname." into klp-dev
* commit 'c5443e6e516921bdb1862b85a52b873523427bea':
  Fix dns searchdomain use in gethostbyname.
2014-03-05 22:14:48 +00:00
The Android Automerger
a39362de4f merge in master-release history after reset to master 2014-03-05 08:04:45 -08:00
Narayan Kamath
ffce5ede0b am 4e53c59d: am 48d145c1: Merge "Stop defining HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC."
* commit '4e53c59db205bcb991000bf540241eb5d3b99bef':
  Stop defining HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC.
2014-03-05 13:31:12 +00:00
Narayan Kamath
4e53c59db2 am 48d145c1: Merge "Stop defining HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC."
* commit '48d145c1ced299525ca766afd2aa34725bef5301':
  Stop defining HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC.
2014-03-05 13:24:32 +00:00
Elliott Hughes
636bcf0f69 am 614f7626: am bef50164: Merge "Remove dead NULL checks from pthread code."
* commit '614f7626fc5dcf5c0cff2c49799f2659524d3ad3':
  Remove dead NULL checks from pthread code.
2014-03-04 19:16:08 +00:00
Elliott Hughes
614f7626fc am bef50164: Merge "Remove dead NULL checks from pthread code."
* commit 'bef5016491eed41521f514d5c5528e2274689948':
  Remove dead NULL checks from pthread code.
2014-03-04 19:10:24 +00:00
Elliott Hughes
43b9169ffb am 17ef5653: am a0bf9bde: Merge "Implement POSIX pthread_mutex_timedlock."
* commit '17ef5653dd8aa92176e90964c95a02ccf4809695':
  Implement POSIX pthread_mutex_timedlock.
2014-03-04 18:50:35 +00:00
Elliott Hughes
17ef5653dd am a0bf9bde: Merge "Implement POSIX pthread_mutex_timedlock."
* commit 'a0bf9bdea24164db96ec1d5dfa2cd327942671b6':
  Implement POSIX pthread_mutex_timedlock.
2014-03-04 18:45:18 +00:00
Elliott Hughes
29309d30ed am a934a901: am e365f284: am f27cc051: am 806f3bd7: Upgrade to tzdata2013i.
* commit 'a934a9019efeb2630bfac92ad186c3db4a525735':
  Upgrade to tzdata2013i.
2014-03-04 18:35:33 +00:00
Elliott Hughes
a934a9019e am e365f284: am f27cc051: am 806f3bd7: Upgrade to tzdata2013i.
* commit 'e365f2840f20bb6b7fdd044c9515018b2d4cd309':
  Upgrade to tzdata2013i.
2014-03-04 18:29:22 +00:00
Elliott Hughes
e365f2840f am f27cc051: am 806f3bd7: Upgrade to tzdata2013i.
* commit 'f27cc051ec36809a64f8cc6a17fd39eca3516d1d':
  Upgrade to tzdata2013i.
2014-03-04 18:26:11 +00:00
Calin Juravle
631d309268 am 0c8d3b35: am 8e541b12: Merge "Moved nameser.h and namser_compat.h to public include dir"
* commit '0c8d3b35c6eb07384b0176ab3d1d462bad996e06':
  Moved nameser.h and namser_compat.h to public include dir
2014-03-04 18:04:44 +00:00
Calin Juravle
0c8d3b35c6 am 8e541b12: Merge "Moved nameser.h and namser_compat.h to public include dir"
* commit '8e541b12237f597c186820b9e18b059b620bef54':
  Moved nameser.h and namser_compat.h to public include dir
2014-03-04 17:58:52 +00:00
Calin Juravle
3f6229cf32 am cc0948d8: am 4a46a689: Merge "Moved private dns header to their own dir."
* commit 'cc0948d86a50a1b2441552cd0f357ca040855928':
  Moved private dns header to their own dir.
2014-03-04 17:55:59 +00:00
Calin Juravle
ff4dfd26a8 am 8121d264: am 9f2d1bcd: Merge "Renamed the misleading libc/netbsd directory to libc/dns."
* commit '8121d264bc58c6d97edae23981d2646b05fcdf83':
  Renamed the misleading libc/netbsd directory to libc/dns.
2014-03-04 17:55:58 +00:00
Calin Juravle
cc0948d86a am 4a46a689: Merge "Moved private dns header to their own dir."
* commit '4a46a68942d180e28c3e87f08359351245b220b7':
  Moved private dns header to their own dir.
2014-03-04 17:19:13 +00:00
Calin Juravle
8121d264bc am 9f2d1bcd: Merge "Renamed the misleading libc/netbsd directory to libc/dns."
* commit '9f2d1bcd176cb4a6f2bc0cae3f3c786444383476':
  Renamed the misleading libc/netbsd directory to libc/dns.
2014-03-04 17:19:13 +00:00
Narayan Kamath
b863c9574e am 3f985d31: am caaae7f2: Merge "Implement pthread_condattr_{get,set}clock."
* commit '3f985d31b6fc3fd61f76b71aa05c3c69d853452a':
  Implement pthread_condattr_{get,set}clock.
2014-03-04 16:05:46 +00:00
The Android Automerger
c6ff1951af merge in master-release history after reset to master 2014-03-04 05:49:18 -08:00
Narayan Kamath
3f985d31b6 am caaae7f2: Merge "Implement pthread_condattr_{get,set}clock."
* commit 'caaae7f2e9a89df1514ba06d13e9eb5a0f04e94c':
  Implement pthread_condattr_{get,set}clock.
2014-03-04 13:41:52 +00:00
Elliott Hughes
010d090241 am fea778b3: am 2c7c79e6: Merge "Switch to upstream alarm(3)."
* commit 'fea778b308be2dd0d75bd757129c3ef62ace3a61':
  Switch to upstream alarm(3).
2014-03-04 01:11:01 +00:00
Elliott Hughes
fea778b308 am 2c7c79e6: Merge "Switch to upstream alarm(3)."
* commit '2c7c79e6e5e730553281b6d42e734ee2c532a660':
  Switch to upstream alarm(3).
2014-03-04 01:04:22 +00:00
Mark Salyzyn
4fc7758e6f am 337815ff: am f33df6a6: Merge "libc: Make calls to new user-space logger (revisit)"
* commit '337815ffa2d4c899bf3c2b9798cb90665b497cea':
  libc: Make calls to new user-space logger (revisit)
2014-03-03 21:18:08 +00:00
Mark Salyzyn
337815ffa2 am f33df6a6: Merge "libc: Make calls to new user-space logger (revisit)"
* commit 'f33df6a662934cd72a79195773d2745ae8f937d4':
  libc: Make calls to new user-space logger (revisit)
2014-03-03 21:12:03 +00:00
Elliott Hughes
1eb606df0a am 46215a8b: am dfeb42ed: Merge "If the kernel doesn\'t have MADV_MERGEABLE, stop asking for it."
* commit '46215a8b53e149de3fc28600c2b2eebe66d36716':
  If the kernel doesn't have MADV_MERGEABLE, stop asking for it.
2014-03-03 20:55:35 +00:00
Elliott Hughes
29264f4eda am f6ce4490: am 15e71cd7: Merge "Remove deprecated and unused constants from <sys/klog.h>."
* commit 'f6ce44900e5b94c18a026ac4ce4d5fd2c51663d4':
  Remove deprecated and unused constants from <sys/klog.h>.
2014-03-03 20:55:35 +00:00
Elliott Hughes
46215a8b53 am dfeb42ed: Merge "If the kernel doesn\'t have MADV_MERGEABLE, stop asking for it."
* commit 'dfeb42ede69a0dbea5735aed5fddaee3f810801d':
  If the kernel doesn't have MADV_MERGEABLE, stop asking for it.
2014-03-03 20:31:39 +00:00
Elliott Hughes
f6ce44900e am 15e71cd7: Merge "Remove deprecated and unused constants from <sys/klog.h>."
* commit '15e71cd760c35a4eab09b850904581ebbdc9bee3':
  Remove deprecated and unused constants from <sys/klog.h>.
2014-03-03 20:21:25 +00:00
The Android Automerger
eb25e220bc merge in master-release history after reset to master 2014-03-01 05:49:47 -08:00
Elliott Hughes
019cff957e am 3c42b739: am ddad384d: Merge "Fix build."
* commit '3c42b73985817da87c32c2d97a58e5e4f21d48a6':
  Fix build.
2014-03-01 02:12:59 +00:00
Elliott Hughes
3c42b73985 am ddad384d: Merge "Fix build."
* commit 'ddad384dbf802bf258e19a8d18f5d9e9fba8f97b':
  Fix build.
2014-03-01 02:05:38 +00:00
Elliott Hughes
79370b2aee am 5b9d3ddf: am 2ec592c3: Merge "Add recvmmsg and sendmmsg syscalls."
* commit '5b9d3ddf372ca47e3065845487a770794021c760':
  Add recvmmsg and sendmmsg syscalls.
2014-03-01 01:24:39 +00:00
Elliott Hughes
e63d519946 am 796b7c7c: am ddc8cc7a: Merge "Add getprogname/setprogname for BSD compatibility."
* commit '796b7c7cf9404b59b2120177d2f2b40ecc58c3c8':
  Add getprogname/setprogname for BSD compatibility.
2014-03-01 01:24:38 +00:00
Elliott Hughes
5b9d3ddf37 am 2ec592c3: Merge "Add recvmmsg and sendmmsg syscalls."
* commit '2ec592c338f5c5021f127e92212d156cd909c617':
  Add recvmmsg and sendmmsg syscalls.
2014-03-01 01:17:13 +00:00
Elliott Hughes
796b7c7cf9 am ddc8cc7a: Merge "Add getprogname/setprogname for BSD compatibility."
* commit 'ddc8cc7a68415acb0694f7015ea0dae70ea04550':
  Add getprogname/setprogname for BSD compatibility.
2014-03-01 01:17:12 +00:00
Calin Juravle
8ddc3328f8 am 11e4513d: am d51db86a: Merge "Fix locatime.c indentation after sync"
* commit '11e4513d328d9ae16ef5aa4b25d886c8bb6049a1':
  Fix locatime.c indentation after sync
2014-02-28 18:13:28 +00:00
Calin Juravle
11e4513d32 am d51db86a: Merge "Fix locatime.c indentation after sync"
* commit 'd51db86aafb988aea04355f2b6a6c925d67e5976':
  Fix locatime.c indentation after sync
2014-02-28 18:07:48 +00:00
Calin Juravle
daceb01b7c am 3926e9f4: am 4ab29a3e: Merge "Update tzcode to 2013i"
* commit '3926e9f4039929d745692310a8a458e81ae72a52':
  Update tzcode to 2013i
2014-02-28 17:49:53 +00:00
Calin Juravle
3926e9f403 am 4ab29a3e: Merge "Update tzcode to 2013i"
* commit '4ab29a3e4a797cff05a3a1a6fea3db5a800ac5ba':
  Update tzcode to 2013i
2014-02-28 17:44:15 +00:00
Elliott Hughes
77ed5f6b15 am 8fa8b75b: am e9db4a97: Merge "Vastly reduce the number of read(2)s done in tzload."
* commit '8fa8b75b54990cdabbfa108b92ace9cf511d45c0':
  Vastly reduce the number of read(2)s done in tzload.
2014-02-28 16:35:04 +00:00
Elliott Hughes
8fa8b75b54 am e9db4a97: Merge "Vastly reduce the number of read(2)s done in tzload."
* commit 'e9db4a976f864ef180340fe37c58af93a03daf46':
  Vastly reduce the number of read(2)s done in tzload.
2014-02-28 16:28:52 +00:00
Elliott Hughes
034663774d am 331dd270: am e3345405: Merge "Fix a leak on error in tzload."
* commit '331dd2708232fb538de60e5aa807bbd4490910f7':
  Fix a leak on error in tzload.
2014-02-28 02:28:44 +00:00
Elliott Hughes
331dd27082 am e3345405: Merge "Fix a leak on error in tzload."
* commit 'e33454051677cd8953af558b67e525dda2231501':
  Fix a leak on error in tzload.
2014-02-28 02:22:36 +00:00
Calin Juravle
7c5a879095 am 3d1f6798: am ad2cfe2f: Merge "Fix x86_64 build"
* commit '3d1f6798ad3c299e66dcbc386943a6d566159a82':
  Fix x86_64 build
2014-02-27 21:42:51 +00:00
Calin Juravle
3d1f6798ad am ad2cfe2f: Merge "Fix x86_64 build"
* commit 'ad2cfe2f231506aed955f7e168a25fe1a1040f9a':
  Fix x86_64 build
2014-02-27 21:36:09 +00:00
The Android Automerger
c88861196b merge in master-release history after reset to master 2014-02-27 05:49:15 -08:00
Elliott Hughes
a22674050c am 9d40389a: am 000ffd8a: Merge "Ensure that <fcntl.h> has the SYNC_FILE_RANGE_* constants."
* commit '9d40389ac288a603632de35beed7460ea3300e0c':
  Ensure that <fcntl.h> has the SYNC_FILE_RANGE_* constants.
2014-02-27 01:04:25 +00:00
Elliott Hughes
9d40389ac2 am 000ffd8a: Merge "Ensure that <fcntl.h> has the SYNC_FILE_RANGE_* constants."
* commit '000ffd8ab0b4112173ce319869f4111f08fbe975':
  Ensure that <fcntl.h> has the SYNC_FILE_RANGE_* constants.
2014-02-27 00:58:14 +00:00
Mark Salyzyn
ffc797c3b8 am 663916f7: am 3ba62f73: Merge "libc: Make calls to new user-space logger"
* commit '663916f77747297e36dbc2b0f25192f3fa05ab9f':
  libc: Make calls to new user-space logger
2014-02-27 00:41:33 +00:00
Mark Salyzyn
663916f777 am 3ba62f73: Merge "libc: Make calls to new user-space logger"
* commit '3ba62f733bdc39262a5a9927a6ebaa29a4f4aad4':
  libc: Make calls to new user-space logger
2014-02-27 00:34:50 +00:00
Calin Juravle
beef4b0759 am 42f6ad96: am d4ee6b62: Merge "Fix mips build"
* commit '42f6ad96036e8a73ffdb8e42ecd3fe8c44ba9c95':
  Fix mips build
2014-02-26 22:39:02 +00:00
Calin Juravle
42f6ad9603 am d4ee6b62: Merge "Fix mips build"
* commit 'd4ee6b62d77ccea61c4b43d82c63455920e221bc':
  Fix mips build
2014-02-26 22:31:00 +00:00
Calin Juravle
04e9001c2b am adc3d96f: am 35036961: Merge "Moved to a more openbsd-like fenv.h"
* commit 'adc3d96fce0ae1b3d2166893b9951629dc367db4':
  Moved to a more openbsd-like fenv.h
2014-02-26 20:44:57 +00:00
Calin Juravle
adc3d96fce am 35036961: Merge "Moved to a more openbsd-like fenv.h"
* commit '35036961f85945483b6b833b976d12e6a58c2313':
  Moved to a more openbsd-like fenv.h
2014-02-26 20:39:58 +00:00
The Android Automerger
7b5b843379 merge in master-release history after reset to master 2014-02-26 09:58:51 -08:00
Elliott Hughes
3fc5dce69e am ddcba6e8: am 27c7dbee: Merge "Fix log_backtrace assertion failure caused by LP64 fix."
* commit 'ddcba6e8eefb4331b103f60b2d233a2cb114874f':
  Fix log_backtrace assertion failure caused by LP64 fix.
2014-02-25 23:45:51 +00:00
Elliott Hughes
ddcba6e8ee am 27c7dbee: Merge "Fix log_backtrace assertion failure caused by LP64 fix."
* commit '27c7dbeee6c5e0cee488ce5085cc0b8c5e0301bd':
  Fix log_backtrace assertion failure caused by LP64 fix.
2014-02-25 23:42:00 +00:00
Elliott Hughes
2388fd78c6 am 73efa96c: am 901553aa: Merge "Switch to current OpenBSD system.c."
* commit '73efa96c06b60621dbb7317e3ade47e4a179c909':
  Switch to current OpenBSD system.c.
2014-02-25 23:32:29 +00:00
Elliott Hughes
4e95b270f3 am 6c793540: am c380385f: Merge "Fix LP64 builds after OpenBSD string changes."
* commit '6c7935408ed92bbc322468f13e19c08c626cd018':
  Fix LP64 builds after OpenBSD string changes.
2014-02-25 23:28:49 +00:00
Elliott Hughes
73efa96c06 am 901553aa: Merge "Switch to current OpenBSD system.c."
* commit '901553aaf4960c4ab21c9a090919aee8be5e62ab':
  Switch to current OpenBSD system.c.
2014-02-25 23:25:38 +00:00
Elliott Hughes
6c7935408e am c380385f: Merge "Fix LP64 builds after OpenBSD string changes."
* commit 'c380385f0b8826ab7c02429dd48b07670516f964':
  Fix LP64 builds after OpenBSD string changes.
2014-02-25 23:21:55 +00:00
Elliott Hughes
d19de168c8 am 6358fc2d: am 5c7816f4: Merge "More OpenBSD cleanup (primarily string)."
* commit '6358fc2d0b11417ccabd97b36b8e24f1b23fd662':
  More OpenBSD cleanup (primarily string).
2014-02-25 21:54:13 +00:00
Elliott Hughes
6358fc2d0b am 5c7816f4: Merge "More OpenBSD cleanup (primarily string)."
* commit '5c7816f425cb70ca6920e816aba33ce3d691ef10':
  More OpenBSD cleanup (primarily string).
2014-02-25 21:47:41 +00:00
The Android Automerger
8fb9d213ee merge in master-release history after reset to master 2014-02-25 05:49:13 -08:00
Calin Juravle
51c25e1dc5 am 5a600f59: am a92b57c7: Merge "Added ftw64, nftw64"
* commit '5a600f59d7212a670c9fda0edd81b14f044136a0':
  Added ftw64, nftw64
2014-02-25 10:53:51 +00:00
Calin Juravle
15aa4aee8a am dfb02bcd: am 7c1efffc: Merge "Added mkstemp64"
* commit 'dfb02bcdf46ebdf3ac37e2fd26ebc2e81392f28a':
  Added mkstemp64
2014-02-25 10:53:50 +00:00
Calin Juravle
5a600f59d7 am a92b57c7: Merge "Added ftw64, nftw64"
* commit 'a92b57c7f8230661d911f2fd6dd67a81e9a90cef':
  Added ftw64, nftw64
2014-02-25 10:47:38 +00:00
Calin Juravle
dfb02bcdf4 am 7c1efffc: Merge "Added mkstemp64"
* commit '7c1efffc249283b47309846abba8795f3fb91555':
  Added mkstemp64
2014-02-25 10:47:37 +00:00
Elliott Hughes
80a51a39c3 am 633502c1: am ba40a560: Merge "Remove <asm/page.h>."
* commit '633502c1771dfecb6bbaaa7f9e38ee889bc173ac':
  Remove <asm/page.h>.
2014-02-25 00:14:43 +00:00
Elliott Hughes
633502c177 am ba40a560: Merge "Remove <asm/page.h>."
* commit 'ba40a560176e6ea753d09a6a71343b81ea4c8c1e':
  Remove <asm/page.h>.
2014-02-25 00:06:51 +00:00
Narayan Kamath
70dd5a71d3 am 9b823726: am b26e4944: Merge "Fix 64-bit build."
* commit '9b82372626092139e8ee09d6bdb4da798af38ced':
  Fix 64-bit build.
2014-02-24 14:32:18 +00:00
Narayan Kamath
bdfc6af405 am e425856b: am c6d96bb8: Merge "Move system_properties over to C++."
* commit 'e425856b1a943c32acf0bede50555d500eaf00ca':
  Move system_properties over to C++.
2014-02-24 14:32:17 +00:00
Narayan Kamath
9b82372626 am b26e4944: Merge "Fix 64-bit build."
* commit 'b26e4944e2a5bf4b7e33fa38fb17a3b76c7fe0f7':
  Fix 64-bit build.
2014-02-24 14:25:31 +00:00
Narayan Kamath
e425856b1a am c6d96bb8: Merge "Move system_properties over to C++."
* commit 'c6d96bb8673a4f44d84f3beaa5ed4fec1484f0ad':
  Move system_properties over to C++.
2014-02-24 14:25:31 +00:00
The Android Automerger
22c11870f4 merge in master-release history after reset to master 2014-02-24 05:49:26 -08:00
Elliott Hughes
bc69445f3f am 5c266bca: am 3572fbc8: Merge "Fix a typo in HACKING.txt."
* commit '5c266bca8f8c0a6820de8eccde25118b8d2331eb':
  Fix a typo in HACKING.txt.
2014-02-22 00:58:45 +00:00
Elliott Hughes
a842eb7c95 am 7b9e7a70: am 9150dfb1: Merge "Clean up our OpenBSD usage."
* commit '7b9e7a709365c490d5ff73e6a74dfa32ffd8be25':
  Clean up our OpenBSD usage.
2014-02-22 00:58:44 +00:00
Elliott Hughes
5c266bca8f am 3572fbc8: Merge "Fix a typo in HACKING.txt."
* commit '3572fbc8cd01d90a7f0c65a15c79abf1ece144ef':
  Fix a typo in HACKING.txt.
2014-02-22 00:41:34 +00:00
Elliott Hughes
7b9e7a7093 am 9150dfb1: Merge "Clean up our OpenBSD usage."
* commit '9150dfb1c6928ceef228e640412c3653d5e87a10':
  Clean up our OpenBSD usage.
2014-02-22 00:41:32 +00:00
Calin Juravle
79733ca2e7 am 587399d2: am 90b01576: Merge "Fixed int fast types for LP64"
* commit '587399d23a3dced6202e4b4abfa52b5b9621f134':
  Fixed int fast types for LP64
2014-02-21 17:32:17 +00:00
Calin Juravle
587399d23a am 90b01576: Merge "Fixed int fast types for LP64"
* commit '90b0157679a984f1829a72f8c642d17030aa7644':
  Fixed int fast types for LP64
2014-02-21 17:25:25 +00:00
Elliott Hughes
a12d556d42 am 31425c9f: am e65055af: Merge "Stop asking GCC to cause trouble."
* commit '31425c9fce2d48699322b6eb3284b06d1f706336':
  Stop asking GCC to cause trouble.
2014-02-21 13:54:02 +00:00
Elliott Hughes
2244cd0155 am 1df76ccc: am 26172fa4: Merge "Move the upstream-netbsd libc files into the correct directory."
* commit '1df76ccc6022ad57c6cc8f4322be14b9c104192e':
  Move the upstream-netbsd libc files into the correct directory.
2014-02-21 04:19:46 +00:00
Elliott Hughes
77bd275640 am 5052dcd4: am 8d0fe1c4: Merge "Remove two DNS files that weren\'t being built."
* commit '5052dcd48897641e40256c8665441bde68a230da':
  Remove two DNS files that weren't being built.
2014-02-21 04:19:29 +00:00
Elliott Hughes
dfc86ed244 am 45352a06: am cb43f847: Merge "Unify our assembler macros."
* commit '45352a065cb66885a7d3e648664dbb2d16e7e529':
  Unify our assembler macros.
2014-02-21 04:19:21 +00:00
Elliott Hughes
578fa4e561 am 97dcfc06: am 22c6b7ff: Merge "Fix mips64 crt build."
* commit '97dcfc06e7502b53fc7f76ab6c88a6d030aceafa':
  Fix mips64 crt build.
2014-02-20 23:15:32 +00:00
Elliott Hughes
756f60da1d am 632e2422: am 6a686556: Merge "Remove useless _C_LABEL from our assembler source."
* commit '632e242207f337fb8d4e1ec80994a4eadb2ccfb8':
  Remove useless _C_LABEL from our assembler source.
2014-02-20 23:15:31 +00:00
Elliott Hughes
4708421b40 am f5fd87f4: am bfa2b6fc: Merge "Stop advertising an arm32-specific hack like it\'s a build system feature."
* commit 'f5fd87f4f993dee1ca728aac31bb927b34b6cb88':
  Stop advertising an arm32-specific hack like it's a build system feature.
2014-02-20 23:15:30 +00:00
Dmitriy Ivanov
ebf85ec7a7 am ac804934: am 54d49ac7: Merge "Added script generating additions to libgcc_compat.c from linker errors"
* commit 'ac8049349f056f87137ff9749877cb6f83fc3f10':
  Added script generating additions to libgcc_compat.c from linker errors
2014-02-20 23:15:29 +00:00
Elliott Hughes
21f6705147 am 8a498e4a: am ca566b31: Merge "Don\'t explicitly list the tzcode files."
* commit '8a498e4ab223466d6dc7c31dda025e7755b7a05c':
  Don't explicitly list the tzcode files.
2014-02-20 23:15:26 +00:00
Elliott Hughes
31425c9fce am e65055af: Merge "Stop asking GCC to cause trouble."
* commit 'e65055af112780623f372aca6a1f78d2b2acb34f':
  Stop asking GCC to cause trouble.
2014-02-20 22:55:25 +00:00
Elliott Hughes
1df76ccc60 am 26172fa4: Merge "Move the upstream-netbsd libc files into the correct directory."
* commit '26172fa401a4323c8c9b4063a59ab6d08ca617bf':
  Move the upstream-netbsd libc files into the correct directory.
2014-02-20 22:28:48 +00:00
Elliott Hughes
5052dcd488 am 8d0fe1c4: Merge "Remove two DNS files that weren\'t being built."
* commit '8d0fe1c49e83592372becc996accfe9d5948aa9b':
  Remove two DNS files that weren't being built.
2014-02-20 22:19:07 +00:00
Elliott Hughes
45352a065c am cb43f847: Merge "Unify our assembler macros."
* commit 'cb43f8474dafd7a4d3eb605d4a7c7f69ad7cef2e':
  Unify our assembler macros.
2014-02-20 22:19:07 +00:00
Narayan Kamath
5d0b701451 am 8b6579d0: am d9459525: Merge "Fix signbit / infinite / isinf / isnan unit tests."
* commit '8b6579d02be07acf542946c11f0492065d6a7cbe':
  Fix signbit / infinite / isinf / isnan unit tests.
2014-02-20 21:28:05 +00:00
Elliott Hughes
08cf84db4e am f0e9d652: am 75f04d10: Merge "Remove the useless _C_LABEL from generated system calls."
* commit 'f0e9d652fa30c381295589f839a8f5f248a949f0':
  Remove the useless _C_LABEL from generated system calls.
2014-02-20 21:27:52 +00:00
Elliott Hughes
97dcfc06e7 am 22c6b7ff: Merge "Fix mips64 crt build."
* commit '22c6b7ffd36fe8b34b677eea94d00aef2624e4e8':
  Fix mips64 crt build.
2014-02-20 20:04:46 +00:00
Elliott Hughes
632e242207 am 6a686556: Merge "Remove useless _C_LABEL from our assembler source."
* commit '6a686556b9f112fdf02ce404d680306ab1d901be':
  Remove useless _C_LABEL from our assembler source.
2014-02-20 19:58:15 +00:00
Elliott Hughes
f5fd87f4f9 am bfa2b6fc: Merge "Stop advertising an arm32-specific hack like it\'s a build system feature."
* commit 'bfa2b6fc6a09df9815773890db94d6a126565289':
  Stop advertising an arm32-specific hack like it's a build system feature.
2014-02-20 19:46:24 +00:00
Dmitriy Ivanov
ac8049349f am 54d49ac7: Merge "Added script generating additions to libgcc_compat.c from linker errors"
* commit '54d49ac75b4b71f38eb154ab8e05f60b7c347a2b':
  Added script generating additions to libgcc_compat.c from linker errors
2014-02-20 19:46:23 +00:00
Elliott Hughes
8a498e4ab2 am ca566b31: Merge "Don\'t explicitly list the tzcode files."
* commit 'ca566b31036704eb6cdde05a0bd9ee972d7a995d':
  Don't explicitly list the tzcode files.
2014-02-20 19:35:21 +00:00
Elliott Hughes
7809d7f4cb am 42049f4b: am fbaddda9: Merge "Linker writes to wrong memory location when processing DT_MIPS_RLD_MAP"
* commit '42049f4b9cf881e739ace101f1e06aed6c1f4f51':
  Linker writes to wrong memory location when processing DT_MIPS_RLD_MAP
2014-02-20 14:01:20 +00:00
Elliott Hughes
2bed56599f am bde420bb: am b69c0b53: Merge "Make mips/mips64 syscall stubs more like the other architectures."
* commit 'bde420bb86bbb0f4223a117cd3aaca00e7906501':
  Make mips/mips64 syscall stubs more like the other architectures.
2014-02-20 14:01:19 +00:00
The Android Automerger
84f71571ca merge in master-release history after reset to master 2014-02-20 05:49:19 -08:00
Narayan Kamath
8b6579d02b am d9459525: Merge "Fix signbit / infinite / isinf / isnan unit tests."
* commit 'd9459525b4133e825bf95d03b06e695433c124bd':
  Fix signbit / infinite / isinf / isnan unit tests.
2014-02-20 10:08:22 +00:00
Elliott Hughes
f0e9d652fa am 75f04d10: Merge "Remove the useless _C_LABEL from generated system calls."
* commit '75f04d107695f17bc800024d03e03b602dc02ee1':
  Remove the useless _C_LABEL from generated system calls.
2014-02-20 03:06:31 +00:00
Elliott Hughes
6a734b6df5 am 79183d7f: am 6db95a86: Merge "Top-level documentation about working on bionic."
* commit '79183d7ff46d5f2f1d465890da57aa4c510bb131':
  Top-level documentation about working on bionic.
2014-02-20 00:33:56 +00:00
Elliott Hughes
42049f4b9c am fbaddda9: Merge "Linker writes to wrong memory location when processing DT_MIPS_RLD_MAP"
* commit 'fbaddda9f04fa504deb752bba819eb1fa5439baa':
  Linker writes to wrong memory location when processing DT_MIPS_RLD_MAP
2014-02-19 23:45:49 +00:00
Elliott Hughes
bde420bb86 am b69c0b53: Merge "Make mips/mips64 syscall stubs more like the other architectures."
* commit 'b69c0b532e4f6d32e7c43a7be02a27e0b02e75c3':
  Make mips/mips64 syscall stubs more like the other architectures.
2014-02-19 23:42:17 +00:00
Elliott Hughes
79183d7ff4 am 6db95a86: Merge "Top-level documentation about working on bionic."
* commit '6db95a869e5c57713632106878d854c7c0aff7a1':
  Top-level documentation about working on bionic.
2014-02-19 23:03:39 +00:00
Elliott Hughes
dae87c0c74 am ace8dfab: am e6c451f5: Merge "Make mips generated assembler more like the mips64 stuff."
* commit 'ace8dfab1fe07890440e8acf4a1e2c0cf0d0489d':
  Make mips generated assembler more like the mips64 stuff.
2014-02-19 20:42:33 +00:00
Elliott Hughes
ace8dfab1f am e6c451f5: Merge "Make mips generated assembler more like the mips64 stuff."
* commit 'e6c451f5f2e17fccccedaa1c2a90d8d9ba0c1917':
  Make mips generated assembler more like the mips64 stuff.
2014-02-19 20:34:25 +00:00
The Android Automerger
098f0986b2 merge in master-release history after reset to master 2014-02-19 05:49:30 -08:00
Elliott Hughes
b3183def04 am 112e3a9a: am 44ef37c1: Merge "Use uid_t and gid_t for st_uid and st_gid in struct stat."
* commit '112e3a9a8c4c89b1cce366bc0c7a7f15fae862c2':
  Use uid_t and gid_t for st_uid and st_gid in struct stat.
2014-02-19 01:02:24 +00:00
Elliott Hughes
8a6ad03d0c am f7e642b9: am 24ef4779: Merge "Fix build by avoiding the _C_LABEL macro."
* commit 'f7e642b9ff2c0c70d9a800d0873880a58a33e424':
  Fix build by avoiding the _C_LABEL macro.
2014-02-19 00:58:59 +00:00
Elliott Hughes
112e3a9a8c am 44ef37c1: Merge "Use uid_t and gid_t for st_uid and st_gid in struct stat."
* commit '44ef37c1b445e864068cdcd885ab3d7b17079ad3':
  Use uid_t and gid_t for st_uid and st_gid in struct stat.
2014-02-19 00:56:51 +00:00
Elliott Hughes
f7e642b9ff am 24ef4779: Merge "Fix build by avoiding the _C_LABEL macro."
* commit '24ef4779eb47f23b8d4f4e678d677bd45a91373f':
  Fix build by avoiding the _C_LABEL macro.
2014-02-19 00:52:24 +00:00
Elliott Hughes
5dfe323310 am f25d0c1d: am 787c1f93: Merge "Add missing file from previous change."
* commit 'f25d0c1d4dc0f757dc7bf342b1964e875c439933':
  Add missing file from previous change.
2014-02-19 00:02:11 +00:00
Elliott Hughes
f25d0c1d4d am 787c1f93: Merge "Add missing file from previous change."
* commit '787c1f937a915feefb767d0c6a15ddb70e6de933':
  Add missing file from previous change.
2014-02-18 23:55:16 +00:00
Elliott Hughes
781236e321 am a676a54e: am b3602078: Merge "Implement some of the missing LFS64 support."
* commit 'a676a54e5dbb1ddda0c0045d990a920558671233':
  Implement some of the missing LFS64 support.
2014-02-18 23:54:43 +00:00
Elliott Hughes
a676a54e5d am b3602078: Merge "Implement some of the missing LFS64 support."
* commit 'b36020789ac860fcfbbeaf56d560926d8ee228f6':
  Implement some of the missing LFS64 support.
2014-02-18 23:47:56 +00:00
Elliott Hughes
f998473357 am df3d56db: am 3623d806: Merge "Fix x86 build."
* commit 'df3d56db663a19d0de8f743102d13e62343c874c':
  Fix x86 build.
2014-02-18 20:47:29 +00:00
Elliott Hughes
a1ac8a60da am d49247be: am ffe02668: Merge "bionic: fix __set_errno for arm64 syscalls that return a 64-bit value"
* commit 'd49247be279b337fdd72c15421dcaf318489d284':
  bionic: fix __set_errno for arm64 syscalls that return a 64-bit value
2014-02-18 20:42:57 +00:00
Elliott Hughes
df3d56db66 am 3623d806: Merge "Fix x86 build."
* commit '3623d80675e5321b92c2d88a7b7ec6bd998d81d5':
  Fix x86 build.
2014-02-18 20:40:54 +00:00
Elliott Hughes
d49247be27 am ffe02668: Merge "bionic: fix __set_errno for arm64 syscalls that return a 64-bit value"
* commit 'ffe026680edaba268330bc67dd986d2c900ecfc7':
  bionic: fix __set_errno for arm64 syscalls that return a 64-bit value
2014-02-18 20:36:25 +00:00
Elliott Hughes
662655428d am 29eed9cc: am 7f15e28d: Merge "Clean up warnings in libstdc++."
* commit '29eed9cc3aaee9236ec3c6397b41d5421e9b0c91':
  Clean up warnings in libstdc++.
2014-02-18 20:18:18 +00:00
Elliott Hughes
b8662c63b4 am d4c049e0: am cd6748cd: Merge "Clean up various warnings in bionic."
* commit 'd4c049e0234b0447b4da4369f2e2e509fe3ac549':
  Clean up various warnings in bionic.
2014-02-18 20:18:17 +00:00
Elliott Hughes
29eed9cc3a am 7f15e28d: Merge "Clean up warnings in libstdc++."
* commit '7f15e28dd4184015a2c990b6e45c33c35b251935':
  Clean up warnings in libstdc++.
2014-02-18 20:11:36 +00:00
Elliott Hughes
d4c049e023 am cd6748cd: Merge "Clean up various warnings in bionic."
* commit 'cd6748cdd7bcab702fe0bf6de943eb832f4fb762':
  Clean up various warnings in bionic.
2014-02-18 20:11:35 +00:00
The Android Automerger
c818bf9366 merge in master-release history after reset to master 2014-02-18 05:49:07 -08:00
Elliott Hughes
1135bf27eb am 447d5655: am d4bc9ef8: Merge "Remove duplicate definitions of MIN and MAX."
* commit '447d5655498f1dc2a20269e252fd0442d78b4ff2':
  Remove duplicate definitions of MIN and MAX.
2014-02-17 19:10:32 +00:00
Elliott Hughes
447d565549 am d4bc9ef8: Merge "Remove duplicate definitions of MIN and MAX."
* commit 'd4bc9ef83b36916d5e63c4c3e4a092381473ea52':
  Remove duplicate definitions of MIN and MAX.
2014-02-17 19:05:00 +00:00
The Android Automerger
72eeda5aa5 merge in master-release history after reset to master 2014-02-17 05:49:25 -08:00
Colin Cross
0d873f8950 am 9e8ee4dd: am 95b808c4: Merge "build linker and linker64 on 64-bit architectures"
* commit '9e8ee4dd6ae56ee541a2c858039e29314a6923d6':
  build linker and linker64 on 64-bit architectures
2014-02-14 01:08:39 +00:00
Colin Cross
9e8ee4dd6a am 95b808c4: Merge "build linker and linker64 on 64-bit architectures"
* commit '95b808c4ae11ea5737fee63f7b61673483ea5e2d':
  build linker and linker64 on 64-bit architectures
2014-02-14 01:02:47 +00:00
The Android Automerger
45a4b237c8 merge in master-release history after reset to master 2014-02-13 05:49:36 -08:00
Elliott Hughes
db01286237 am 57f42f77: am fadc8a77: Merge "Restore sys_signame for LP64."
* commit '57f42f773dac7cbe374ec8449b1b57599367a878':
  Restore sys_signame for LP64.
2014-02-13 11:27:26 +00:00
Elliott Hughes
97503e2311 am 97a376d8: am fc48e8cf: Merge "Remove unused variables not spotted by GCC."
* commit '97a376d856f91b0406a71174dc1314fc3f3b31f2':
  Remove unused variables not spotted by GCC.
2014-02-13 11:27:19 +00:00
Elliott Hughes
796d2b1971 am f2e3964d: am 7b3876e2: Merge "Clean up sys_signame and sys_siglist a little."
* commit 'f2e3964d4e060d1b76be34bdc7847fad5c11ca63':
  Clean up sys_signame and sys_siglist a little.
2014-02-13 11:27:18 +00:00
Ying Wang
bf543d12de am 00956d03: am 9e572ca4: Merge "Fix missing args."
* commit '00956d039fb4ceafe92d5ffade51725b95da38d4':
  Fix missing args.
2014-02-13 11:27:18 +00:00
Elliott Hughes
57f42f773d am fadc8a77: Merge "Restore sys_signame for LP64."
* commit 'fadc8a7777ca304c8a7de066a94effd3a5471ee6':
  Restore sys_signame for LP64.
2014-02-13 03:48:55 +00:00
Elliott Hughes
97a376d856 am fc48e8cf: Merge "Remove unused variables not spotted by GCC."
* commit 'fc48e8cf28b80ce0f95e288eeee459b4cb932afa':
  Remove unused variables not spotted by GCC.
2014-02-13 01:30:18 +00:00
Elliott Hughes
f2e3964d4e am 7b3876e2: Merge "Clean up sys_signame and sys_siglist a little."
* commit '7b3876e2516fd55d61a48cb23a7080ea88b9617b':
  Clean up sys_signame and sys_siglist a little.
2014-02-13 01:18:07 +00:00
Ying Wang
717cd12134 am c25552bb: am c4c50b25: Merge "Reconfig libc\'s Android.mk to build for multilib"
* commit 'c25552bb13e664bfd4574d77cbcaad459b52a47f':
  Reconfig libc's Android.mk to build for multilib
2014-02-13 01:11:36 +00:00
Ying Wang
00956d039f am 9e572ca4: Merge "Fix missing args."
* commit '9e572ca4163e42bcd053df2cb8557e4b61ad064d':
  Fix missing args.
2014-02-13 00:51:16 +00:00
Ying Wang
c25552bb13 am c4c50b25: Merge "Reconfig libc\'s Android.mk to build for multilib"
* commit 'c4c50b25f805b48338f3e8fb9ac137e81c187706':
  Reconfig libc's Android.mk to build for multilib
2014-02-12 23:59:49 +00:00
Elliott Hughes
dc6cd351b9 am f1f19464: am 819c132e: Merge "Fix NSIG."
* commit 'f1f19464c52e663ade6c18833eaa30bfcd5194de':
  Fix NSIG.
2014-02-12 23:01:26 +00:00
Elliott Hughes
5f72c86e4b am bff8cdfc: am 022885e2: Merge "Clean up all the lint cpplint can find in the dynamic linker."
* commit 'bff8cdfcece52f3fedaabb1fb498fdd7b4984f57':
  Clean up all the lint cpplint can find in the dynamic linker.
2014-02-12 23:01:26 +00:00
Elliott Hughes
23c7bdbbdd am b5bf7a72: am 577fce01: Merge "[MIPS64] Dynamic linker"
* commit 'b5bf7a725f5b63b0239fd5d92087d2f4c9dbee25':
  [MIPS64] Dynamic linker
2014-02-12 23:01:25 +00:00
Elliott Hughes
b7dfb8ab04 am d26184c0: am c856baee: Merge "Build syscall stubs in their own library."
* commit 'd26184c0385105ada22a9c060858a10e7b8f53e5':
  Build syscall stubs in their own library.
2014-02-12 23:01:24 +00:00
Elliott Hughes
f1f19464c5 am 819c132e: Merge "Fix NSIG."
* commit '819c132ebc18a458f651e6dacd75a0950269656b':
  Fix NSIG.
2014-02-12 20:20:20 +00:00
Elliott Hughes
bff8cdfcec am 022885e2: Merge "Clean up all the lint cpplint can find in the dynamic linker."
* commit '022885e2fad5ef9643e05d80c6f50a2a90bf3431':
  Clean up all the lint cpplint can find in the dynamic linker.
2014-02-12 19:22:52 +00:00
Elliott Hughes
b5bf7a725f am 577fce01: Merge "[MIPS64] Dynamic linker"
* commit '577fce0108feda58296beacfbc0ada4a6d6afbc2':
  [MIPS64] Dynamic linker
2014-02-12 19:22:44 +00:00
Elliott Hughes
d26184c038 am c856baee: Merge "Build syscall stubs in their own library."
* commit 'c856baeeade96c167400f179a86d50c426e81788':
  Build syscall stubs in their own library.
2014-02-12 19:22:30 +00:00
The Android Automerger
031ea3bd6c merge in master-release history after reset to master 2014-02-12 05:49:10 -08:00
Elliott Hughes
79ea3e3c74 am f7aa55d6: am a206dde5: Merge "Clean up cacheflush."
* commit 'f7aa55d684ecceab531856917745a52dc2eb05e1':
  Clean up cacheflush.
2014-02-11 18:38:43 +00:00
Elliott Hughes
f7aa55d684 am a206dde5: Merge "Clean up cacheflush."
* commit 'a206dde5bdf9b4d995bf578cc3b54fb8b85e02c5':
  Clean up cacheflush.
2014-02-11 18:32:43 +00:00
The Android Automerger
629af9ca99 merge in master-release history after reset to master 2014-02-11 05:49:16 -08:00
Elliott Hughes
7949942e5e am 5f0374ab: am 71e4466b: Merge "Switch <elf.h> over to linux uapi under the covers."
* commit '5f0374ab4ff198c658b3902ebf4cc8f818efc5fc':
  Switch <elf.h> over to linux uapi under the covers.
2014-02-11 02:40:00 +00:00
Elliott Hughes
5f0374ab4f am 71e4466b: Merge "Switch <elf.h> over to linux uapi under the covers."
* commit '71e4466b100359f36a29c8c0277888df6081a265':
  Switch <elf.h> over to linux uapi under the covers.
2014-02-11 02:32:57 +00:00
Elliott Hughes
7fcdeb9570 am 6b0da947: am eeb9a9f5: Merge "Fix <link.h>."
* commit '6b0da947e9bc8badc739eece66cf3a9f66188dd4':
  Fix <link.h>.
2014-02-11 00:18:38 +00:00
Elliott Hughes
6b0da947e9 am eeb9a9f5: Merge "Fix <link.h>."
* commit 'eeb9a9f59a58a2f042e8f6fd1a4911ae92ac5493':
  Fix <link.h>.
2014-02-11 00:09:12 +00:00
The Android Automerger
863c6684a6 merge in master-release history after reset to master 2014-02-10 05:49:18 -08:00
Elliott Hughes
db8e3c7dd2 am e7b1e0e2: am e74fc3a6: Merge "Fix socklen_t (on LP64 only)."
* commit 'e7b1e0e2919c65f352f4bf89cc4eb93151873453':
  Fix socklen_t (on LP64 only).
2014-02-10 12:50:51 +00:00
Elliott Hughes
09be5e752c am 1138e128: am c16a4532: Merge "Remove <sys/_types.h>."
* commit '1138e1281285ab17e2eb315e7d34e9c6bb752383':
  Remove <sys/_types.h>.
2014-02-10 12:50:50 +00:00
Christopher Ferris
82e8794c78 am d12185bf: am 4affcbf8: Merge "Make sure that the same tests are on all platforms."
* commit 'd12185bf2c9ad343e44ff9aeb0247f4963222281':
  Make sure that the same tests are on all platforms.
2014-02-10 12:50:50 +00:00
Elliott Hughes
d5952e1bfa am f03ea9d0: am 8a80a23c: Merge "[MIPS64] libc/libm support"
* commit 'f03ea9d02459c888fef26761e4139c1da065c821':
  [MIPS64] libc/libm support
2014-02-08 07:22:15 +00:00
Elliott Hughes
e7b1e0e291 am e74fc3a6: Merge "Fix socklen_t (on LP64 only)."
* commit 'e74fc3a64fe9296813e5bd867d0c66bd8213be6a':
  Fix socklen_t (on LP64 only).
2014-02-08 01:11:54 +00:00
Elliott Hughes
1138e12812 am c16a4532: Merge "Remove <sys/_types.h>."
* commit 'c16a4532917259fabc8018d681cdd1ad1b1b5e08':
  Remove <sys/_types.h>.
2014-02-08 00:37:32 +00:00
Christopher Ferris
d12185bf2c am 4affcbf8: Merge "Make sure that the same tests are on all platforms."
* commit '4affcbf87769c43c4d03ecd60f902b0b6a6cb84a':
  Make sure that the same tests are on all platforms.
2014-02-07 19:43:29 +00:00
Elliott Hughes
f03ea9d024 am 8a80a23c: Merge "[MIPS64] libc/libm support"
* commit '8a80a23c930a41b62cfa47bed362732ee5833bf0':
  [MIPS64] libc/libm support
2014-02-07 00:28:47 +00:00
Elliott Hughes
175f230ffc am c2917297: am 5036935c: Merge "[MIPS64] Add syscall related files"
* commit 'c2917297bd34c8345c9b384b874f122ec4597779':
  [MIPS64] Add syscall related files
2014-02-07 00:02:24 +00:00
Elliott Hughes
c2917297bd am 5036935c: Merge "[MIPS64] Add syscall related files"
* commit '5036935c41d9193cfbba606df2121cd4c6973116':
  [MIPS64] Add syscall related files
2014-02-06 23:45:28 +00:00
The Android Automerger
0ee47829fc merge in master-release history after reset to master 2014-02-06 05:49:40 -08:00
Elliott Hughes
3e9d866b28 am 03910c9a: am e163a398: Merge "Remove unused cruft from MIPS <machine/signal.h>."
* commit '03910c9ae1ab504c3d542416eac741147cb89e0a':
  Remove unused cruft from MIPS <machine/signal.h>.
2014-02-05 22:36:01 +00:00
Elliott Hughes
03910c9ae1 am e163a398: Merge "Remove unused cruft from MIPS <machine/signal.h>."
* commit 'e163a3986aa7d1c67fe3274eb9204812be0a6245':
  Remove unused cruft from MIPS <machine/signal.h>.
2014-02-05 22:28:58 +00:00
Elliott Hughes
be97620a56 am 9eb69a3c: am 375aaa3f: Merge "Kill <machine/_types.h>."
* commit '9eb69a3c72c0ee23fd5f11997c2c0f7e5c0c58a3':
  Kill <machine/_types.h>.
2014-02-05 22:15:57 +00:00
Elliott Hughes
9eb69a3c72 am 375aaa3f: Merge "Kill <machine/_types.h>."
* commit '375aaa3f608d6089102b256f162e423638a16c47':
  Kill <machine/_types.h>.
2014-02-05 22:08:36 +00:00
The Android Automerger
689348175a merge in master-release history after reset to master 2014-02-05 05:49:42 -08:00
The Android Automerger
e01c404575 merge in master-release history after reset to master 2014-02-04 05:49:18 -08:00
Ying Wang
0734c84699 am 616ea65d: am 12e8b76e: Merge "Use arch-specific LOCAL_ variables to build libm."
* commit '616ea65dbaa95c0aaf577e2169ccbe229c70f2a7':
  Use arch-specific LOCAL_ variables to build libm.
2014-02-04 02:13:47 +00:00
Ying Wang
616ea65dba am 12e8b76e: Merge "Use arch-specific LOCAL_ variables to build libm."
* commit '12e8b76e5f799b2b8407bf354a9675577529d34b':
  Use arch-specific LOCAL_ variables to build libm.
2014-02-04 02:05:54 +00:00
Elliott Hughes
8fac620e2f am 6944fcf0: am 53cc62c3: Merge "Add fallocate/fallocate64/posix_fallocate/posix_fallocate64."
* commit '6944fcf04e76a76a467dd4ab61af123539f7ccf7':
  Add fallocate/fallocate64/posix_fallocate/posix_fallocate64.
2014-02-04 00:49:45 +00:00
Elliott Hughes
6944fcf04e am 53cc62c3: Merge "Add fallocate/fallocate64/posix_fallocate/posix_fallocate64."
* commit '53cc62c31bfb6c329299549b69fdadd2705f6497':
  Add fallocate/fallocate64/posix_fallocate/posix_fallocate64.
2014-02-04 00:44:13 +00:00
Elliott Hughes
2780476778 am 226f970a: am a122c376: Merge "Use __inline__ for fortify."
* commit '226f970a17bb212af11133fbcd92289cc88cc0c8':
  Use __inline__ for fortify.
2014-02-04 00:06:08 +00:00
Elliott Hughes
226f970a17 am a122c376: Merge "Use __inline__ for fortify."
* commit 'a122c376ef0737454a592cf44f50beabe154e9e3':
  Use __inline__ for fortify.
2014-02-03 23:59:29 +00:00
Arve Hjønnevåg
ba7c3079bf am eb26da9a: am fb4da1e7: Merge "Regenerate binder header"
* commit 'eb26da9af841c60e69f44a3affb46ec48fdaa6d3':
  Regenerate binder header
2014-02-03 22:11:16 +00:00
Arve Hjønnevåg
eb26da9af8 am fb4da1e7: Merge "Regenerate binder header"
* commit 'fb4da1e7b749b4cf6843515517e839efa1ee24c7':
  Regenerate binder header
2014-02-03 21:18:35 +00:00
The Android Automerger
6406c840a1 merge in master-release history after reset to master 2014-02-03 05:49:18 -08:00
Elliott Hughes
3e91223e0e am 06163c29: am ed29345c: Merge "Clean up debugger.cpp slightly."
* commit '06163c293231b62198402b8a3f7a9e9f8ed69701':
  Clean up debugger.cpp slightly.
2014-02-01 01:44:00 +00:00
Elliott Hughes
d34f2c3709 am 76c5c940: am 4939d6d8: Merge "LP64 binaries should talk to debuggerd64."
* commit '76c5c940835d78e65abf203e8aa1968b6b966978':
  LP64 binaries should talk to debuggerd64.
2014-02-01 01:39:16 +00:00
Elliott Hughes
06163c2932 am ed29345c: Merge "Clean up debugger.cpp slightly."
* commit 'ed29345c22acec61e4ef8953baefc64dc750c812':
  Clean up debugger.cpp slightly.
2014-02-01 01:37:38 +00:00
Elliott Hughes
76c5c94083 am 4939d6d8: Merge "LP64 binaries should talk to debuggerd64."
* commit '4939d6d8424d47e19823e5dfcfc5474e8a7e77b8':
  LP64 binaries should talk to debuggerd64.
2014-02-01 01:05:12 +00:00
Elliott Hughes
9304f2c461 am 0e0ae17d: am 47ff6b9f: Merge "Add missing ucontext_t definition to bionic for arch-arm64."
* commit '0e0ae17d3292951cbf74143c44b583916ebebff6':
  Add missing ucontext_t definition to bionic for arch-arm64.
2014-01-31 22:38:27 +00:00
Elliott Hughes
0e0ae17d32 am 47ff6b9f: Merge "Add missing ucontext_t definition to bionic for arch-arm64."
* commit '47ff6b9faae7f1bde5deb4760982e7e6785955f2':
  Add missing ucontext_t definition to bionic for arch-arm64.
2014-01-31 22:09:22 +00:00
Elliott Hughes
f970e07de3 am 8902d9a9: am a14df4a9: Merge "[MIPS] SA_RESTORER support is not needed for MIPS"
* commit '8902d9a944c377c63ce81d7dc16c1945ad715d18':
  [MIPS] SA_RESTORER support is not needed for MIPS
2014-01-31 16:19:40 +00:00
Elliott Hughes
da958d2e14 am 64b519e2: am 07f84025: Merge "Make ARM <user.h> more glibc-compatible."
* commit '64b519e2d4546da414bb9a04de4c04ce3e137999':
  Make ARM <user.h> more glibc-compatible.
2014-01-31 16:19:39 +00:00
Elliott Hughes
ab24c54d94 am dc84a5e6: am 53a55c12: Merge "Add mips <sys/ucontext.h>."
* commit 'dc84a5e66c9678619538b42709ab3637205c3bf2':
  Add mips <sys/ucontext.h>.
2014-01-31 16:19:38 +00:00
Elliott Hughes
5c73920bdc am d7f2ec93: am 807bbb75: Merge "Add arm <sys/ucontext.h>."
* commit 'd7f2ec93449a478710c286588818d00f8f219272':
  Add arm <sys/ucontext.h>.
2014-01-31 16:19:38 +00:00
Elliott Hughes
ae4e016d7f am 2f561425: am 8f355275: Merge "Add x86 <sys/ucontext.h>."
* commit '2f561425bf43676ab244738fb6ea4ed868208837':
  Add x86 <sys/ucontext.h>.
2014-01-31 16:19:37 +00:00
Elliott Hughes
63704af86e am 4dc8c880: am 972c39c4: Merge "Add x86_64 ucontext.h for better compatibility"
* commit '4dc8c880ca0677baad7950b0b3f5a9f035fea11b':
  Add x86_64 ucontext.h for better compatibility
2014-01-31 16:19:36 +00:00
Elliott Hughes
8902d9a944 am a14df4a9: Merge "[MIPS] SA_RESTORER support is not needed for MIPS"
* commit 'a14df4a98ad1c4018f63fea358dd30c7e6b51858':
  [MIPS] SA_RESTORER support is not needed for MIPS
2014-01-31 13:00:40 +00:00
Elliott Hughes
64b519e2d4 am 07f84025: Merge "Make ARM <user.h> more glibc-compatible."
* commit '07f84025520a9530760a2f2535a1effde5ec51dd':
  Make ARM <user.h> more glibc-compatible.
2014-01-31 12:17:14 +00:00
Elliott Hughes
dc84a5e66c am 53a55c12: Merge "Add mips <sys/ucontext.h>."
* commit '53a55c121b458e4131e025f1bbe0e4e2b1b232f7':
  Add mips <sys/ucontext.h>.
2014-01-31 10:27:01 +00:00
Elliott Hughes
d7f2ec9344 am 807bbb75: Merge "Add arm <sys/ucontext.h>."
* commit '807bbb75f14543a72b3f745d35f2c97a92752cd0':
  Add arm <sys/ucontext.h>.
2014-01-31 10:26:59 +00:00
Elliott Hughes
2f561425bf am 8f355275: Merge "Add x86 <sys/ucontext.h>."
* commit '8f355275920f8be82f56e30087a57b1d5ce49771':
  Add x86 <sys/ucontext.h>.
2014-01-31 10:26:55 +00:00
Elliott Hughes
4dc8c880ca am 972c39c4: Merge "Add x86_64 ucontext.h for better compatibility"
* commit '972c39c4fee85c5c532eecac409a1384c76b2cc6':
  Add x86_64 ucontext.h for better compatibility
2014-01-31 10:26:51 +00:00
The Android Automerger
a84801d9aa merge in master-release history after reset to master 2014-01-30 05:49:22 -08:00
The Android Automerger
f6d94016b7 merge in master-release history after reset to master 2014-01-29 05:49:19 -08:00
Elliott Hughes
7fccc34431 am 82072dc9: am 12e3a501: am 037b10d0: Merge "Fix pthread_test to work with gtest 1.7.0."
* commit '82072dc9327572f93bcc26331402ca7874a124d1':
  Fix pthread_test to work with gtest 1.7.0.
2014-01-29 12:49:07 +00:00
Elliott Hughes
37958fea13 am 2db157c8: am 3bd75303: am c75e7726: Merge "Remove a __system_property_get call from the DNS code."
* commit '2db157c853cb35243d49fd1e084c1fb444f9ba02':
  Remove a __system_property_get call from the DNS code.
2014-01-29 12:20:44 +00:00
Elliott Hughes
82072dc932 am 12e3a501: am 037b10d0: Merge "Fix pthread_test to work with gtest 1.7.0."
* commit '12e3a5019a8bedcdac27470da92f81b5f7fd7b5b':
  Fix pthread_test to work with gtest 1.7.0.
2014-01-29 01:51:07 +00:00
Elliott Hughes
2db157c853 am 3bd75303: am c75e7726: Merge "Remove a __system_property_get call from the DNS code."
* commit '3bd75303f96a0838d971f98f941ee90bee6ba17d':
  Remove a __system_property_get call from the DNS code.
2014-01-28 23:11:07 +00:00
Elliott Hughes
4d1bb942c2 am 0aa84269: am 7055c72a: am 4ea434e5: Merge "bionic: Change the type of soinfo\'s size to size_t"
* commit '0aa84269447141a032c0f3ad7830e9a2aa069809':
  bionic: Change the type of soinfo's size to size_t
2014-01-28 21:19:33 +00:00
Elliott Hughes
0aa8426944 am 7055c72a: am 4ea434e5: Merge "bionic: Change the type of soinfo\'s size to size_t"
* commit '7055c72a989188dd5e0984cc8cf6a2c0b2ffcc81':
  bionic: Change the type of soinfo's size to size_t
2014-01-28 21:17:06 +00:00
The Android Automerger
ffd5c80dbf merge in master-release history after reset to master 2014-01-28 05:49:17 -08:00
Elliott Hughes
a873595113 am 41ae96a1: am 4bc229eb: am 4449fe96: Merge "Fix 32-bit mmap/mmap64 handling of negative offsets."
* commit '41ae96a1cc69fd2e1bc39fe55da22f15047beb50':
  Fix 32-bit mmap/mmap64 handling of negative offsets.
2014-01-28 01:18:06 +00:00
Elliott Hughes
41ae96a1cc am 4bc229eb: am 4449fe96: Merge "Fix 32-bit mmap/mmap64 handling of negative offsets."
* commit '4bc229eb0228d0cfb5b58e87124e5473f3513f06':
  Fix 32-bit mmap/mmap64 handling of negative offsets.
2014-01-28 01:11:49 +00:00
Elliott Hughes
f025dd96af am 64989588: am 2d7f9616: am 652dd519: Merge "Remove libthread_db from bionic."
* commit '64989588ba93d9e666d50179fc6e879e4b7c926f':
  Remove libthread_db from bionic.
2014-01-28 01:04:54 +00:00
Elliott Hughes
64989588ba am 2d7f9616: am 652dd519: Merge "Remove libthread_db from bionic."
* commit '2d7f9616fda2366845af3443c15eb3405eff9b6e':
  Remove libthread_db from bionic.
2014-01-28 00:59:14 +00:00
Elliott Hughes
48c43edcd6 am 240a5214: am cbb439ad: am ba0c668f: Merge "bionic: Do not use magic number for portability"
* commit '240a5214e9159a3ace09f0ea9f9ceb37a2135a4c':
  bionic: Do not use magic number for portability
2014-01-27 23:09:09 +00:00
Elliott Hughes
240a5214e9 am cbb439ad: am ba0c668f: Merge "bionic: Do not use magic number for portability"
* commit 'cbb439addbe9f04de28f291ebd163575933da177':
  bionic: Do not use magic number for portability
2014-01-27 23:05:21 +00:00
The Android Automerger
7c765e9687 merge in master-release history after reset to master 2014-01-27 05:49:19 -08:00
Elliott Hughes
4332c9ebba am e528d178: am f3ea7917: am 6f23ce36: Merge "Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64)."
* commit 'e528d1787c80d4d6879c8fafa5487f9fd6ce4a29':
  Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64).
2014-01-25 01:38:13 +00:00
Elliott Hughes
e528d1787c am f3ea7917: am 6f23ce36: Merge "Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64)."
* commit 'f3ea791757dacdab64c870ccfb820e3e36a8d854':
  Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64).
2014-01-25 01:35:03 +00:00
Ying Wang
7d6ae1e11e am cd66256a: am 22750476: am b32cc032: Merge "Use arch-specific variable to set up the x86 ld flags."
* commit 'cd66256a1f4fbcd192d033929c369bd54065e696':
  Use arch-specific variable to set up the x86 ld flags.
2014-01-25 01:03:36 +00:00
Ying Wang
cd66256a1f am 22750476: am b32cc032: Merge "Use arch-specific variable to set up the x86 ld flags."
* commit '227504768413a7802efcea3c80ee8fb6d78af9c5':
  Use arch-specific variable to set up the x86 ld flags.
2014-01-25 01:00:25 +00:00
Ben Cheng
d1e32e1c35 am 0bae4c4d: am 50228472: am 5acce960: Merge "Add all implicitly loaded symbols from libgcc.a into libgcc_compat.c."
* commit '0bae4c4d41acffa091680a5499e0381e1ea70f12':
  Add all implicitly loaded symbols from libgcc.a into libgcc_compat.c.
2014-01-25 00:26:01 +00:00
Ben Cheng
0bae4c4d41 am 50228472: am 5acce960: Merge "Add all implicitly loaded symbols from libgcc.a into libgcc_compat.c."
* commit '502284727b0e856442c95713ba61a16e7d86a5c1':
  Add all implicitly loaded symbols from libgcc.a into libgcc_compat.c.
2014-01-25 00:24:08 +00:00
Colin Cross
771524267b am 3aa1e605: am 35377004: am 513f83bb: Merge "bionic: rename aarch64 target to arm64"
* commit '3aa1e605ea1167e59976bf82922fd06c728b518b':
  bionic: rename aarch64 target to arm64
2014-01-24 21:24:50 +00:00
Colin Cross
3aa1e605ea am 35377004: am 513f83bb: Merge "bionic: rename aarch64 target to arm64"
* commit '353770042f38b0d377425f036979f7b90ac7429d':
  bionic: rename aarch64 target to arm64
2014-01-24 20:44:29 +00:00
Ben Cheng
af0debbfc7 am cc70de8f: am 0661bbe2: am 69d242d2: Merge "Re-export libgcc\'s __aeabi_uidivmod and __popcount_tab"
* commit 'cc70de8fc3726cf8cc242a4dcb80a7f5af50f4b1':
  Re-export libgcc's __aeabi_uidivmod and __popcount_tab
2014-01-24 18:25:55 +00:00
Ben Cheng
cc70de8fc3 am 0661bbe2: am 69d242d2: Merge "Re-export libgcc\'s __aeabi_uidivmod and __popcount_tab"
* commit '0661bbe2570ff52382552d9c404159f7651101f3':
  Re-export libgcc's __aeabi_uidivmod and __popcount_tab
2014-01-24 18:22:48 +00:00
Ying Wang
0695aa7255 Use arch-specific variable to set up the x86 ld flags.
Bug: 11654773
Change-Id: I9e9075bac1303cfa39b0f717dd74625ce1dd5fa5
2014-01-23 15:15:28 -08:00
The Android Automerger
1fd915ff19 merge in master-release history after reset to master 2014-01-16 05:49:11 -08:00
Elliott Hughes
232e52e90b am 17758106: am 06d38ccd: am 5b4884fa: Merge "Add "__noreturn" to assert and assert2"
* commit '17758106e80d9ced66c7cfdae0b0331ebd7696b7':
  Add "__noreturn" to assert and assert2
2014-01-15 21:41:21 +00:00
Elliott Hughes
17758106e8 am 06d38ccd: am 5b4884fa: Merge "Add "__noreturn" to assert and assert2"
* commit '06d38ccda067428e0fbd448ad21cd8140fbecc11':
  Add "__noreturn" to assert and assert2
2014-01-15 21:39:12 +00:00
The Android Automerger
0ca44084dc merge in master-release history after reset to master 2014-01-15 05:49:27 -08:00
Elliott Hughes
1ed0e5de75 am 530093e1: am 22d8bd9b: am 12159420: Merge "Fix libdl build warnings, turn on -Werror."
* commit '530093e1fd538debdfa06d8c04c8cd824912b1c7':
  Fix libdl build warnings, turn on -Werror.
2014-01-15 02:48:31 +00:00
Elliott Hughes
63ccebf3f3 am e83c98e6: am a17b7ba9: am c8d41263: Merge "Move _thread_created_hook to where it belongs."
* commit 'e83c98e6f7575000df7e36803c5349249f8aa982':
  Move _thread_created_hook to where it belongs.
2014-01-15 02:48:31 +00:00
Elliott Hughes
530093e1fd am 22d8bd9b: am 12159420: Merge "Fix libdl build warnings, turn on -Werror."
* commit '22d8bd9b93223634e2d0bf5ec1cbddd888e96136':
  Fix libdl build warnings, turn on -Werror.
2014-01-15 02:45:14 +00:00
Elliott Hughes
e83c98e6f7 am a17b7ba9: am c8d41263: Merge "Move _thread_created_hook to where it belongs."
* commit 'a17b7ba95d71d59ac5e04d2f01bb1839602912f9':
  Move _thread_created_hook to where it belongs.
2014-01-15 02:45:14 +00:00
Elliott Hughes
c2f805db8b am e86a346c: am d0465f50: am d971f729: Merge "Make it possible for code to query the dynamic linker\'s default search path."
* commit 'e86a346cfe3b2325abeeef9700cf9e2e8208b2ce':
  Make it possible for code to query the dynamic linker's default search path.
2014-01-14 20:15:45 +00:00
Elliott Hughes
e86a346cfe am d0465f50: am d971f729: Merge "Make it possible for code to query the dynamic linker\'s default search path."
* commit 'd0465f50aa570a295a1bdad0c379d529a614198e':
  Make it possible for code to query the dynamic linker's default search path.
2014-01-14 20:12:57 +00:00
The Android Automerger
a184f3e1e9 merge in master-release history after reset to master 2014-01-14 05:49:28 -08:00
Elliott Hughes
41af7f39e9 am d2124b7c: am 7e997388: am b5e21103: Merge "AArch64: Use LDXR/STXR instead of LDAXR/STLXR for bionic_atomic_cmpxchg()"
* commit 'd2124b7c5ca15cb593c824d2488f6a95dce4a519':
  AArch64: Use LDXR/STXR instead of LDAXR/STLXR for bionic_atomic_cmpxchg()
2014-01-14 01:15:04 +00:00
Elliott Hughes
d2124b7c5c am 7e997388: am b5e21103: Merge "AArch64: Use LDXR/STXR instead of LDAXR/STLXR for bionic_atomic_cmpxchg()"
* commit '7e997388ba63f0b0b4c95542cfc5fbe6e3c93b4d':
  AArch64: Use LDXR/STXR instead of LDAXR/STLXR for bionic_atomic_cmpxchg()
2014-01-14 01:12:56 +00:00
Elliott Hughes
a5879404ef am 3c5323a7: am 490f1755: am ebc1c76d: Merge "Add -Bsymbolic to the ld flags when linking the dynamic linker."
* commit '3c5323a7318993918a282c31f92ea64fc7c0ae5b':
  Add -Bsymbolic to the ld flags when linking the dynamic linker.
2014-01-13 21:51:10 +00:00
Elliott Hughes
3c5323a731 am 490f1755: am ebc1c76d: Merge "Add -Bsymbolic to the ld flags when linking the dynamic linker."
* commit '490f1755d14536915f748a6513399a92f6e0b67f':
  Add -Bsymbolic to the ld flags when linking the dynamic linker.
2014-01-13 21:48:15 +00:00
The Android Automerger
1c12ce4525 merge in master-release history after reset to master 2014-01-13 05:49:16 -08:00
Elliott Hughes
758e586a98 am 0b9a13f5: am a1595487: am ae189740: Merge "Add some more headers."
* commit '0b9a13f58fa13fc7f29c386e265dcbe56c7c5095':
  Add some more headers.
2014-01-10 23:55:16 +00:00
Elliott Hughes
0b9a13f58f am a1595487: am ae189740: Merge "Add some more headers."
* commit 'a1595487faadaf48201ff8f91fdf59c8ae0e7b19':
  Add some more headers.
2014-01-10 23:51:16 +00:00
JP Abgrall
9a3f2b78e6 am 51e1ca76: am 09a73562: am f784f036: Merge "Add extra libc stubs for mntent related functions."
* commit '51e1ca76776822e3d020a1dc7e25dbc46ddde1e4':
  Add extra libc stubs for mntent related functions.
2014-01-10 02:08:05 +00:00
JP Abgrall
51e1ca7677 am 09a73562: am f784f036: Merge "Add extra libc stubs for mntent related functions."
* commit '09a735628269336d29f722ebcdeb3da9534f6020':
  Add extra libc stubs for mntent related functions.
2014-01-10 02:06:03 +00:00
Elliott Hughes
a537a330a4 am e48e9c99: am 2872e742: am 33c3e8d3: Merge "Add NT_PRSTATUS to <elf.h>."
* commit 'e48e9c9919f1f1130ff09600f6c444e2f3be1689':
  Add NT_PRSTATUS to <elf.h>.
2014-01-10 01:54:25 +00:00
Elliott Hughes
8667765896 am 1424b701: am fce55ed3: am 8e6bf35a: Merge "Add <sgidefs.h>."
* commit '1424b70152a1cacbfb3125a49b01d158f4028152':
  Add <sgidefs.h>.
2014-01-10 00:23:15 +00:00
Elliott Hughes
d36126ddc3 am fb12b9a7: am ea7c0ea6: am d29c75f0: Merge "Fix x86 user_regs_struct."
* commit 'fb12b9a7a3f6b0d91a201d4f39134edddc93c07c':
  Fix x86 user_regs_struct.
2014-01-10 00:23:14 +00:00
Elliott Hughes
f39f8f4414 am 2a25c30e: am c63fe9fa: am 6114ffb3: Merge "Add the glibc-compatible d_fileno."
* commit '2a25c30e33ecf2170709f5ff89588c81480dd23d':
  Add the glibc-compatible d_fileno.
2014-01-10 00:07:22 +00:00
Elliott Hughes
e48e9c9919 am 2872e742: am 33c3e8d3: Merge "Add NT_PRSTATUS to <elf.h>."
* commit '2872e74298ab535b36e03630207d3d685e29d570':
  Add NT_PRSTATUS to <elf.h>.
2014-01-10 00:02:23 +00:00
Elliott Hughes
1424b70152 am fce55ed3: am 8e6bf35a: Merge "Add <sgidefs.h>."
* commit 'fce55ed319648f7b80303815ba25f5a5f48be2db':
  Add <sgidefs.h>.
2014-01-09 22:37:27 +00:00
Elliott Hughes
fb12b9a7a3 am ea7c0ea6: am d29c75f0: Merge "Fix x86 user_regs_struct."
* commit 'ea7c0ea61462691f9466489176c00393641821bc':
  Fix x86 user_regs_struct.
2014-01-09 22:33:46 +00:00
Elliott Hughes
2a25c30e33 am c63fe9fa: am 6114ffb3: Merge "Add the glibc-compatible d_fileno."
* commit 'c63fe9fa49ee8b7ad17021c1bd418525f9ee0fd0':
  Add the glibc-compatible d_fileno.
2014-01-09 21:49:06 +00:00
Elliott Hughes
2a02502c77 am b1955cc4: am 56d790fc: am c65cbf97: Merge "Fix <sys/resource.h>."
* commit 'b1955cc44776dc272eece253e72b567ce32aa185':
  Fix <sys/resource.h>.
2014-01-09 19:21:56 +00:00
Elliott Hughes
b1955cc447 am 56d790fc: am c65cbf97: Merge "Fix <sys/resource.h>."
* commit '56d790fceed92d7d970da8a1bb598bf7c78db7ee':
  Fix <sys/resource.h>.
2014-01-09 19:11:47 +00:00
The Android Automerger
e4732103a3 merge in master-release history after reset to master 2014-01-09 05:49:27 -08:00
Elliott Hughes
cf6090561b am e5af4430: am 8c6c9801: am 8276d287: Merge "Our dirent is a dirent64."
* commit 'e5af4430477b3fb8a6faaa5348a6dda4574fcea6':
  Our dirent is a dirent64.
2014-01-09 01:31:07 +00:00
Elliott Hughes
90e61a3039 am 49fd7864: am 2ab8dd30: am 66f473ef: Merge "Add <sys/reg.h>."
* commit '49fd7864cd997f78ac683c8c54dd009020c3d0e5':
  Add <sys/reg.h>.
2014-01-09 01:31:07 +00:00
Elliott Hughes
e5af443047 am 8c6c9801: am 8276d287: Merge "Our dirent is a dirent64."
* commit '8c6c9801f175acbd7ebde6e2f855e0b47ae0f96e':
  Our dirent is a dirent64.
2014-01-09 01:26:31 +00:00
Elliott Hughes
49fd7864cd am 2ab8dd30: am 66f473ef: Merge "Add <sys/reg.h>."
* commit '2ab8dd30ef455973c94a7386c70f0d4627789bab':
  Add <sys/reg.h>.
2014-01-09 01:26:30 +00:00
Elliott Hughes
72dee4e4aa am d0a17beb: am 548eddab: am 8a6eec38: Merge "Fix x86_64 register names in <sys/user.h>."
* commit 'd0a17beb73c851babf18736773645dbca206f69b':
  Fix x86_64 register names in <sys/user.h>.
2014-01-09 00:37:52 +00:00
Elliott Hughes
16b28da0df am 36a3f941: am 60ff1387: am 5d5cc227: Merge "We shouldn\'t have a <sys/dirent.h> that\'s a subset of <dirent.h>."
* commit '36a3f941d07ad58b7df1152b1cfb6041604eb666':
  We shouldn't have a <sys/dirent.h> that's a subset of <dirent.h>.
2014-01-09 00:37:51 +00:00
Elliott Hughes
d0a17beb73 am 548eddab: am 8a6eec38: Merge "Fix x86_64 register names in <sys/user.h>."
* commit '548eddab41c1665f1baf20be7d9d5267e9243087':
  Fix x86_64 register names in <sys/user.h>.
2014-01-09 00:35:30 +00:00
Elliott Hughes
36a3f941d0 am 60ff1387: am 5d5cc227: Merge "We shouldn\'t have a <sys/dirent.h> that\'s a subset of <dirent.h>."
* commit '60ff1387f418faa24f0eb6f00e72ad1674b3bcaa':
  We shouldn't have a <sys/dirent.h> that's a subset of <dirent.h>.
2014-01-09 00:35:30 +00:00
The Android Automerger
cd3d8dbd07 merge in master-release history after reset to master 2014-01-08 05:49:16 -08:00
Elliott Hughes
398aadbf6d am e4f4ef04: am eac00eb7: am 4c8caf0a: Merge "<sched.h> should offer both __sched_priority and sched_priority."
* commit 'e4f4ef047c7240d5603ad4e65007f4b79a2fefa3':
  <sched.h> should offer both __sched_priority and sched_priority.
2014-01-08 02:53:05 +00:00
Elliott Hughes
f89abab0cb am fccb66b3: am 4458a5a7: am 4faf76ca: Merge "<fcntl.h> should get you the POSIX_FADV_* constants."
* commit 'fccb66b3ab3f6e5672a46d4730d545859308dc8c':
  <fcntl.h> should get you the POSIX_FADV_* constants.
2014-01-08 02:53:04 +00:00
Elliott Hughes
e4f4ef047c am eac00eb7: am 4c8caf0a: Merge "<sched.h> should offer both __sched_priority and sched_priority."
* commit 'eac00eb72bb6b7cfb9fb949df2dec52783df4bc9':
  <sched.h> should offer both __sched_priority and sched_priority.
2014-01-08 02:50:22 +00:00
Elliott Hughes
fccb66b3ab am 4458a5a7: am 4faf76ca: Merge "<fcntl.h> should get you the POSIX_FADV_* constants."
* commit '4458a5a78a9036e17d4747e0350e543588d97952':
  <fcntl.h> should get you the POSIX_FADV_* constants.
2014-01-08 02:50:21 +00:00
Elliott Hughes
e0d647701e am ec93120e: am 82bbaf7e: am bc4e135a: Merge "Add SWAP_FLAG_* constants to <sys/swap.h>."
* commit 'ec93120e63b44e88ee4665820b7b29c0757852f7':
  Add SWAP_FLAG_* constants to <sys/swap.h>.
2014-01-08 02:43:02 +00:00
Elliott Hughes
ec93120e63 am 82bbaf7e: am bc4e135a: Merge "Add SWAP_FLAG_* constants to <sys/swap.h>."
* commit '82bbaf7e88440dc68f21cfe1b35c5a0f4a7b3dd2':
  Add SWAP_FLAG_* constants to <sys/swap.h>.
2014-01-08 02:40:32 +00:00
Elliott Hughes
91a7e423a4 am 24ed782f: am d2fe982b: am 1c1b8354: Merge "Define fsid_t as well as __fsid_t."
* commit '24ed782faaf2f373c9c89a8c403bc3ec2e56bab8':
  Define fsid_t as well as __fsid_t.
2014-01-08 02:24:31 +00:00
Elliott Hughes
24ed782faa am d2fe982b: am 1c1b8354: Merge "Define fsid_t as well as __fsid_t."
* commit 'd2fe982beec5ab7a2c9cc07239f276e7fcbecc46':
  Define fsid_t as well as __fsid_t.
2014-01-08 02:22:17 +00:00
Elliott Hughes
6f32b90ea4 am 0d668937: am 654a26b8: am 27a4bb31: Merge "Regenerate the NOTICE files."
* commit '0d66893771259bb82458ba303ff5f58fd9f9f74e':
  Regenerate the NOTICE files.
2014-01-07 22:00:58 +00:00
Elliott Hughes
0d66893771 am 654a26b8: am 27a4bb31: Merge "Regenerate the NOTICE files."
* commit '654a26b8c43a7955c5b33c5f988f93d6f71d6aa1':
  Regenerate the NOTICE files.
2014-01-07 21:59:08 +00:00
The Android Automerger
6bc44e5bdf merge in master-release history after reset to master 2014-01-07 06:21:54 -08:00
Christopher Ferris
a515fdfe15 am 4beb09a0: am 292f4473: am 10cd709f: Merge "Add cfi directives to x86 syscalls."
* commit '4beb09a0730ccd254a0f7683425911d7c90a1431':
  Add cfi directives to x86 syscalls.
2014-01-07 01:46:15 +00:00
Christopher Ferris
4beb09a073 am 292f4473: am 10cd709f: Merge "Add cfi directives to x86 syscalls."
* commit '292f4473e3c526955d337ccd0b7eb618d4b64d2d':
  Add cfi directives to x86 syscalls.
2014-01-07 01:44:17 +00:00
Elliott Hughes
71d58d5621 am 3d37e2b6: am d7eb7dac: am 5f1322ce: Merge "Pass a valid stack pointer to __bionic_clone in pthread.__bionic_clone"
* commit '3d37e2b632d89f98fc2e53c6fa418ddf2d09a493':
  Pass a valid stack pointer to __bionic_clone in pthread.__bionic_clone
2014-01-06 23:59:39 +00:00
Elliott Hughes
3d37e2b632 am d7eb7dac: am 5f1322ce: Merge "Pass a valid stack pointer to __bionic_clone in pthread.__bionic_clone"
* commit 'd7eb7dacd9a878e7ce3772ebf9b5e6cfcee6ab1c':
  Pass a valid stack pointer to __bionic_clone in pthread.__bionic_clone
2014-01-06 23:52:55 +00:00
Elliott Hughes
9555fa7ec0 am 30ef1f3e: am ca63af9e: am b235f8c8: Merge "Fix dev_t (for LP64)."
* commit '30ef1f3e35e8c473b56cefa85617b660fa3a15fb':
  Fix dev_t (for LP64).
2014-01-06 20:56:51 +00:00
Elliott Hughes
6d3183bc40 am 8a6c497f: am 7a0e89b6: am 8c8852f1: Merge "Add TCPOPT_* constants."
* commit '8a6c497fb727e30d88a594f8ebfec9098595ae84':
  Add TCPOPT_* constants.
2014-01-06 20:56:50 +00:00
Elliott Hughes
30ef1f3e35 am ca63af9e: am b235f8c8: Merge "Fix dev_t (for LP64)."
* commit 'ca63af9e81813d978f19854d230e198de6dd4c6d':
  Fix dev_t (for LP64).
2014-01-06 20:46:29 +00:00
Elliott Hughes
8a6c497fb7 am 7a0e89b6: am 8c8852f1: Merge "Add TCPOPT_* constants."
* commit '7a0e89b61b8779ee800e7414736deb973cd0ea1b':
  Add TCPOPT_* constants.
2014-01-06 20:42:06 +00:00
The Android Automerger
6fa373e091 merge in master-release history after reset to master 2014-01-06 07:49:15 -08:00
Elliott Hughes
a3ae611097 am dd18a8df: am 3fcc90c6: am c1c3f7d4: Merge "Remove as many hard-coded constants from the MIPS vfork.S as possible."
* commit 'dd18a8dfd03884ea6e6d71fdd013b2ebe6ebb999':
  Remove as many hard-coded constants from the MIPS vfork.S as possible.
2014-01-03 23:19:42 +00:00
Elliott Hughes
dd18a8dfd0 am 3fcc90c6: am c1c3f7d4: Merge "Remove as many hard-coded constants from the MIPS vfork.S as possible."
* commit '3fcc90c6c0ed602aeaa51b592e7d8effdae74cc8':
  Remove as many hard-coded constants from the MIPS vfork.S as possible.
2014-01-03 22:45:25 +00:00
The Android Automerger
a5fd8c8e95 merge in master-release history after reset to master 2014-01-03 07:50:11 -08:00
Elliott Hughes
83783d4c2d am c2162cc5: am b8f2df91: am 3b36564b: Merge "Use the MAX_ERRNO constant."
* commit 'c2162cc58fd7d68eb64cc787e741770f7f502343':
  Use the MAX_ERRNO constant.
2014-01-03 00:38:52 +00:00
Elliott Hughes
c2162cc58f am b8f2df91: am 3b36564b: Merge "Use the MAX_ERRNO constant."
* commit 'b8f2df91caa8f3f40cff5b324768d3a84232a87f':
  Use the MAX_ERRNO constant.
2014-01-03 00:36:39 +00:00
Elliott Hughes
8b73b46948 am 0db8180f: am a4c979e3: am 66d16619: Merge "Remove a hardcoded constant from aarch64\'s vfork."
* commit '0db8180f9720c1b844d4e6c126e98d6bb78c0946':
  Remove a hardcoded constant from aarch64's vfork.
2014-01-02 22:28:16 +00:00
Elliott Hughes
0db8180f97 am a4c979e3: am 66d16619: Merge "Remove a hardcoded constant from aarch64\'s vfork."
* commit 'a4c979e396b60269a0f830e762b531f43718da4b':
  Remove a hardcoded constant from aarch64's vfork.
2014-01-02 22:25:44 +00:00
Elliott Hughes
8bea13ddcb am 9d0600e1: am 741d4023: am 7b0c23f1: Merge "Clean up <sched.h>."
* commit '9d0600e16169a326a68543992e428d78d4f67398':
  Clean up <sched.h>.
2014-01-02 21:57:07 +00:00
Elliott Hughes
9d0600e161 am 741d4023: am 7b0c23f1: Merge "Clean up <sched.h>."
* commit '741d4023bb4f752f15221f596c3122de1982cdc1':
  Clean up <sched.h>.
2014-01-02 21:54:39 +00:00
Elliott Hughes
1c1a001deb am 19705a6e: am bb184de2: am 17c9fe7d: Merge "Fix MIPS build."
* commit '19705a6e350d3faedfcb69da117f18770528fe4a':
  Fix MIPS build.
2013-12-22 20:14:41 +00:00
Elliott Hughes
19705a6e35 am bb184de2: am 17c9fe7d: Merge "Fix MIPS build."
* commit 'bb184de241025aa34f9ca1c89ecae871f6fde86a':
  Fix MIPS build.
2013-12-22 20:12:20 +00:00
Elliott Hughes
e2c900cf98 am 56ee4b95: am 8e3bdee3: am 3b2f4142: Merge "Improve dynamic linker diagnostics for internal errors."
* commit '56ee4b955eaa7aaa9fc1f8867b5b4b19d5971c77':
  Improve dynamic linker diagnostics for internal errors.
2013-12-22 19:53:19 +00:00
Elliott Hughes
56ee4b955e am 8e3bdee3: am 3b2f4142: Merge "Improve dynamic linker diagnostics for internal errors."
* commit '8e3bdee39c73af57a3782e10316a2d7a35dc2731':
  Improve dynamic linker diagnostics for internal errors.
2013-12-22 19:51:06 +00:00
Elliott Hughes
14a9c3f516 am 75ed8899: am 2f6f6c0b: am 47033433: Merge "Remove the bogus exit status from _exit_with_stack_teardown."
* commit '75ed8899ac02bf952dd42987f867372a8b56219f':
  Remove the bogus exit status from _exit_with_stack_teardown.
2013-12-22 19:45:47 +00:00
Elliott Hughes
75ed8899ac am 2f6f6c0b: am 47033433: Merge "Remove the bogus exit status from _exit_with_stack_teardown."
* commit '2f6f6c0b8e72c0ca4d6ff76ccd9a806a39b83de3':
  Remove the bogus exit status from _exit_with_stack_teardown.
2013-12-22 19:44:35 +00:00
Elliott Hughes
b12dc8e6c8 am 7b9f6ab8: am 57c6a969: am 6d929061: Merge "Fix MIPS build."
* commit '7b9f6ab83459eea7f4070e93b0a4efbb70a38e2c':
  Fix MIPS build.
2013-12-21 02:59:01 +00:00
Elliott Hughes
7b9f6ab834 am 57c6a969: am 6d929061: Merge "Fix MIPS build."
* commit '57c6a96939533a149b2736a21d3c0bad3a096e4e':
  Fix MIPS build.
2013-12-21 02:56:06 +00:00
Elliott Hughes
bb6bf6417a am e4aaceb3: am 191c7e3e: am 3fdb7355: Merge "Avoid sign extension in 32-bit mmap."
* commit 'e4aaceb302a846cf862d9e8a6d96bf85b07d8123':
  Avoid sign extension in 32-bit mmap.
2013-12-21 02:38:20 +00:00
Elliott Hughes
e4aaceb302 am 191c7e3e: am 3fdb7355: Merge "Avoid sign extension in 32-bit mmap."
* commit '191c7e3e2a9e6a7b81cafd9839556cd8cc92e4c1':
  Avoid sign extension in 32-bit mmap.
2013-12-21 02:35:37 +00:00
Elliott Hughes
a255bce6d2 am 5ff62cbe: am 51166a7e: am 434f97f6: Merge "Remove some old kernel header cruft not needed with uapi."
* commit '5ff62cbe9df50eb9d1bac01180ca7f40c1e2c6e2':
  Remove some old kernel header cruft not needed with uapi.
2013-12-21 02:34:51 +00:00
Elliott Hughes
5ff62cbe9d am 51166a7e: am 434f97f6: Merge "Remove some old kernel header cruft not needed with uapi."
* commit '51166a7e6f172eea42a68f8f8bc4c4d024cfb3f5':
  Remove some old kernel header cruft not needed with uapi.
2013-12-21 02:32:16 +00:00
Elliott Hughes
6ae8ab2896 am 9306d2a2: am bc86e156: am 22323f91: Merge "Fix aarch64 futex assembly routines."
* commit '9306d2a21f281b505582cd8710546decc92bf497':
  Fix aarch64 futex assembly routines.
2013-12-21 01:37:04 +00:00
Elliott Hughes
9306d2a21f am bc86e156: am 22323f91: Merge "Fix aarch64 futex assembly routines."
* commit 'bc86e156cccb9d1d9bb1b2f1fcbce55fb67c5eb5':
  Fix aarch64 futex assembly routines.
2013-12-21 01:32:27 +00:00
Elliott Hughes
fb5222ebef am c2b4de4d: am 9f65022f: am 026b6ab6: Merge "Allocate additional space on stack for indirect syscall"
* commit 'c2b4de4dca45cf8bea64e69563f8efde13539a0f':
  Allocate additional space on stack for indirect syscall
2013-12-20 23:50:41 +00:00
Elliott Hughes
c2b4de4dca am 9f65022f: am 026b6ab6: Merge "Allocate additional space on stack for indirect syscall"
* commit '9f65022f8f7a224cf7c32cccff65a698123f5e97':
  Allocate additional space on stack for indirect syscall
2013-12-20 23:48:19 +00:00
Greg Hackmann
218c50fcc3 am 8d4d6d55: am 70898677: am 5e26221a: Merge "Fix backwards compatible system property structure"
* commit '8d4d6d5536e138260f826f67175fb89b79c41c8c':
  Fix backwards compatible system property structure
2013-12-20 22:51:34 +00:00
Greg Hackmann
8d4d6d5536 am 70898677: am 5e26221a: Merge "Fix backwards compatible system property structure"
* commit '70898677713a4baee6abfb01d1c49b7169e68de2':
  Fix backwards compatible system property structure
2013-12-20 22:06:11 +00:00
Elliott Hughes
ac0c7d599e am 55ac19cf: am 7b0964b1: am 21955e54: Merge "Upgrade to tzdata2013i."
* commit '55ac19cf547b59cc1efce4562655b517f926f72d':
  Upgrade to tzdata2013i.
2013-12-20 19:46:41 +00:00
Elliott Hughes
55ac19cf54 am 7b0964b1: am 21955e54: Merge "Upgrade to tzdata2013i."
* commit '7b0964b1818cc4b136368297ff1b3d38b0bff84d':
  Upgrade to tzdata2013i.
2013-12-20 19:43:12 +00:00
Elliott Hughes
ab27c70dd0 am aefb8b35: am ddeca583: am aa267685: Merge "Allow GCC-built fortified code to run on a clang-built bionic."
* commit 'aefb8b3599056465e8281bd1062c558c8554113f':
  Allow GCC-built fortified code to run on a clang-built bionic.
2013-12-20 05:50:50 +00:00
Elliott Hughes
aefb8b3599 am ddeca583: am aa267685: Merge "Allow GCC-built fortified code to run on a clang-built bionic."
* commit 'ddeca5832eac6ea7a50f8425fc97a45caaf6dd46':
  Allow GCC-built fortified code to run on a clang-built bionic.
2013-12-20 05:47:11 +00:00
Elliott Hughes
b0c37817d7 am 907710e4: am 543e5d54: am ea23753e: Merge "Fix __isnanl on aarch64."
* commit '907710e49e2d177bb7cb5a5cfbf355ffceec9ea4':
  Fix __isnanl on aarch64.
2013-12-20 02:16:30 +00:00
Elliott Hughes
907710e49e am 543e5d54: am ea23753e: Merge "Fix __isnanl on aarch64."
* commit '543e5d543295f1b867e13e66bc93feb04b55c4eb':
  Fix __isnanl on aarch64.
2013-12-20 02:13:41 +00:00
Elliott Hughes
4889dc1658 am 576fba08: am c7295d73: am a19a41b6: Merge "Fix struct stat for aarch64."
* commit '576fba08dc1cf289a1160d2c8e6678f6155a0814':
  Fix struct stat for aarch64.
2013-12-20 02:02:13 +00:00
Elliott Hughes
576fba08dc am c7295d73: am a19a41b6: Merge "Fix struct stat for aarch64."
* commit 'c7295d73098df8b5e6c23b1a08b0273232bb9176':
  Fix struct stat for aarch64.
2013-12-20 01:58:52 +00:00
Elliott Hughes
8491fd501a am d7a47858: am b37569e3: am f85b9ac3: Merge "Don\'t force O_LARGEFILE on LP64."
* commit 'd7a478589fdfde8fb4d7d1c9c4c294498f5009b8':
  Don't force O_LARGEFILE on LP64.
2013-12-20 01:57:29 +00:00
Elliott Hughes
d7a478589f am b37569e3: am f85b9ac3: Merge "Don\'t force O_LARGEFILE on LP64."
* commit 'b37569e32ef9f4ad8359a8b93c7cb029e77f38c0':
  Don't force O_LARGEFILE on LP64.
2013-12-20 01:55:24 +00:00
Ben Cheng
c77395b341 am 88568a4b: am 6517824f: am f576472a: Merge "Add __popcountsi2 to the function compat list."
* commit '88568a4b89f52f37001866680ff1ce07e592f75c':
  Add __popcountsi2 to the function compat list.
2013-12-20 00:58:01 +00:00
Ben Cheng
88568a4b89 am 6517824f: am f576472a: Merge "Add __popcountsi2 to the function compat list."
* commit '6517824f160a41bbf31b410001cae73a35f89b42':
  Add __popcountsi2 to the function compat list.
2013-12-20 00:55:25 +00:00
Elliott Hughes
d14636ae73 am ffbbc131: am 1608659a: am ed96db2a: Merge "Don\'t abort in stdio.getdelim_invalid and stdio.getline_invalid."
* commit 'ffbbc131fa49f60f78a39a1d4a35a2dba20a0167':
  Don't abort in stdio.getdelim_invalid and stdio.getline_invalid.
2013-12-19 23:52:12 +00:00
Elliott Hughes
ffbbc131fa am 1608659a: am ed96db2a: Merge "Don\'t abort in stdio.getdelim_invalid and stdio.getline_invalid."
* commit '1608659a45e2291cab84b4ef1d1c6f35ff988e67':
  Don't abort in stdio.getdelim_invalid and stdio.getline_invalid.
2013-12-19 23:48:01 +00:00
Elliott Hughes
1223248ba1 am 01e8d487: am 61f02065: am cf7a4a4f: Merge "Revert "Add C linkage for __open_2 and __openat_2.""
* commit '01e8d48761e64ce63bb4928ea9ce57f140027213':
  Revert "Add C linkage for __open_2 and __openat_2."
2013-12-19 20:15:24 +00:00
Elliott Hughes
01e8d48761 am 61f02065: am cf7a4a4f: Merge "Revert "Add C linkage for __open_2 and __openat_2.""
* commit '61f020650466751501fce0326e654135b88c9f99':
  Revert "Add C linkage for __open_2 and __openat_2."
2013-12-19 20:13:00 +00:00
Elliott Hughes
d149305258 am b0ad47e2: am d520c95e: am bb4f6dc2: Merge "ARM: Change dmb domain for bionic_atomic_barrier()"
* commit 'b0ad47e20d0f9c5c5c498638cc9b5cd341b304bc':
  ARM: Change dmb domain for bionic_atomic_barrier()
2013-12-19 19:53:19 +00:00
Elliott Hughes
b0ad47e20d am d520c95e: am bb4f6dc2: Merge "ARM: Change dmb domain for bionic_atomic_barrier()"
* commit 'd520c95e457fb81522491b7e50dc736e81e9bbd1':
  ARM: Change dmb domain for bionic_atomic_barrier()
2013-12-19 19:51:14 +00:00
Elliott Hughes
c06eaa3e12 am f850700c: am 2520a94e: am 1afb375d: Merge "Fix aarch64 custom assembler now non-uapi is gone."
* commit 'f850700c67f8a5f9641c91c53269f9a5a14d3399':
  Fix aarch64 custom assembler now non-uapi is gone.
2013-12-19 19:49:46 +00:00
Elliott Hughes
994f5eee12 am 9ebc59e7: am 53fc123c: am eb15a6c9: Merge "We actually have modfl."
* commit '9ebc59e782dbf6de1856ff59125aa30cd9952b3b':
  We actually have modfl.
2013-12-19 19:49:45 +00:00
Elliott Hughes
f850700c67 am 2520a94e: am 1afb375d: Merge "Fix aarch64 custom assembler now non-uapi is gone."
* commit '2520a94e0bfce53b499feb7e88791cd6d8023356':
  Fix aarch64 custom assembler now non-uapi is gone.
2013-12-19 19:47:42 +00:00
Elliott Hughes
9ebc59e782 am 53fc123c: am eb15a6c9: Merge "We actually have modfl."
* commit '53fc123c696a37e428b788dd487598178c592c2c':
  We actually have modfl.
2013-12-19 19:47:41 +00:00
Ben Cheng
0c45d8568d am 08af3aae: am e884a039: am dcc18ea4: Merge "Add C linkage for __open_2 and __openat_2."
* commit '08af3aae104611d269d942354791e5bcb693ceee':
  Add C linkage for __open_2 and __openat_2.
2013-12-19 19:13:00 +00:00
Ben Cheng
08af3aae10 am e884a039: am dcc18ea4: Merge "Add C linkage for __open_2 and __openat_2."
* commit 'e884a039dbb716591a1af6427280a4b555fda604':
  Add C linkage for __open_2 and __openat_2.
2013-12-19 19:09:55 +00:00
Christopher Ferris
f36c3ea8ff resolved conflicts for merge of 85e0dd89 to master
Change-Id: I21f7ffb9a582681877e2dbad54185ee37d18410e
2013-12-18 23:43:36 -08:00
Christopher Ferris
85e0dd89e0 am 5cdc1414: am 81ddd143: Merge "Remove the non-uapi kernel headers."
* commit '5cdc14143351539c3eae053fe142578382f254a5':
  Remove the non-uapi kernel headers.
2013-12-19 07:08:35 +00:00
Nick Kralevich
f9c4078ab7 am c92f7f57: am c1624712: am 25447aec: Merge "Clean up more recursive FORTIFY_SOURCE calls"
* commit 'c92f7f57cf0b3a72f1447a0de99a18727d89d933':
  Clean up more recursive FORTIFY_SOURCE calls
2013-12-19 05:57:53 +00:00
Nick Kralevich
c92f7f57cf am c1624712: am 25447aec: Merge "Clean up more recursive FORTIFY_SOURCE calls"
* commit 'c16247127541af1eb73da28b55b1a41202fa1f56':
  Clean up more recursive FORTIFY_SOURCE calls
2013-12-19 05:53:23 +00:00
Nick Kralevich
2e437261e3 am feceab73: am 58a2429b: am 4063bb61: Merge "__strnlen_chk: avoid recursive strlen calls"
* commit 'feceab7366c03b792c7679b8969bc573dc579ad2':
  __strnlen_chk: avoid recursive strlen calls
2013-12-19 03:06:16 +00:00
Nick Kralevich
feceab7366 am 58a2429b: am 4063bb61: Merge "__strnlen_chk: avoid recursive strlen calls"
* commit '58a2429b5b3defd73457273b1cc375b7aaa54810':
  __strnlen_chk: avoid recursive strlen calls
2013-12-19 03:03:20 +00:00
Elliott Hughes
a59fcae102 am ac65c496: am 7f4b9399: am 90bd36bc: Merge "Don\'t use weak aliases in libm."
* commit 'ac65c496f1980875a81e477a39f14119a31a6c57':
  Don't use weak aliases in libm.
2013-12-19 03:01:45 +00:00
Elliott Hughes
ac65c496f1 am 7f4b9399: am 90bd36bc: Merge "Don\'t use weak aliases in libm."
* commit '7f4b9399717eeedc961354b32727a3c8f9d6cbb8':
  Don't use weak aliases in libm.
2013-12-19 02:58:51 +00:00
Elliott Hughes
2abef87f7d am 9baf4839: am 3761f453: am f5897dcb: Merge "Fix linking of aarch64 static binaries."
* commit '9baf483936ef238d3961c281c6bc7280aec7069c':
  Fix linking of aarch64 static binaries.
2013-12-18 23:42:20 +00:00
Elliott Hughes
9baf483936 am 3761f453: am f5897dcb: Merge "Fix linking of aarch64 static binaries."
* commit '3761f4538424d2bcb332e41c1e78c6e3263d2c39':
  Fix linking of aarch64 static binaries.
2013-12-18 23:40:26 +00:00
Elliott Hughes
106e82ea29 am e567b596: am 512ff272: am 0b61567f: Merge "Fix the x86-64 int64_t/uint64_t."
* commit 'e567b596fe9a25584264ecf4a19ba4407d81d0ed':
  Fix the x86-64 int64_t/uint64_t.
2013-12-18 22:49:09 +00:00
Elliott Hughes
5c7795da84 am 85434881: am dce31dac: am 717ad649: Merge "Don\'t use __kernel_ulong_t."
* commit '85434881d33e8cb527c942c11e7d4c81ff3b56ca':
  Don't use __kernel_ulong_t.
2013-12-18 22:49:01 +00:00
Elliott Hughes
e567b596fe am 512ff272: am 0b61567f: Merge "Fix the x86-64 int64_t/uint64_t."
* commit '512ff2729ac99a6016d2c39a7da0117ba5f9a5b1':
  Fix the x86-64 int64_t/uint64_t.
2013-12-18 22:22:26 +00:00
Elliott Hughes
85434881d3 am dce31dac: am 717ad649: Merge "Don\'t use __kernel_ulong_t."
* commit 'dce31dacfaf964f6438386c1705018fb7ad6d0ca':
  Don't use __kernel_ulong_t.
2013-12-18 20:32:53 +00:00
Elliott Hughes
72b430b5cc am 72f5da94: am 67c42d1d: am 7649766b: Merge "Remove <machine/kernel.h>."
* commit '72f5da943cd2ab5660753c7284e24433c3bb9efa':
  Remove <machine/kernel.h>.
2013-12-18 19:42:06 +00:00
Elliott Hughes
72f5da943c am 67c42d1d: am 7649766b: Merge "Remove <machine/kernel.h>."
* commit '67c42d1df50181108eb1c1eb49967ebbc911cab4':
  Remove <machine/kernel.h>.
2013-12-18 19:38:31 +00:00
Elliott Hughes
a0c2cc7009 am 42513bf8: am 78ce7cbf: am d2bcbf0d: Merge "Small style cleanup."
* commit '42513bf8482fdb896f72d0d882973ebc4ade9aa2':
  Small style cleanup.
2013-12-18 18:22:00 +00:00
Elliott Hughes
42513bf848 am 78ce7cbf: am d2bcbf0d: Merge "Small style cleanup."
* commit '78ce7cbf35447057c9b04fd8f68e8eed1ea92b93':
  Small style cleanup.
2013-12-18 18:17:08 +00:00
Elliott Hughes
67a5d0a429 am 03335d91: am 136e7f2b: am 611b903c: Merge "Properly detect timeout in pthread_mutex_lock_timeout_np_impl"
* commit '03335d91248aaf4c70a126fbf80481a924c4588b':
  Properly detect timeout in pthread_mutex_lock_timeout_np_impl
2013-12-18 18:09:26 +00:00
Elliott Hughes
03335d9124 am 136e7f2b: am 611b903c: Merge "Properly detect timeout in pthread_mutex_lock_timeout_np_impl"
* commit '136e7f2b7909007d29e4cb917a85fc1d6ef0f6d5':
  Properly detect timeout in pthread_mutex_lock_timeout_np_impl
2013-12-18 18:07:23 +00:00
Elliott Hughes
977d4e0dc6 am 93e05879: am debc37b4: am e00f4890: Merge "Move bionic over to GCC\'s \'warning\' attribute."
* commit '93e058796760763f414e3403dca6d7f7781f73b8':
  Move bionic over to GCC's 'warning' attribute.
2013-12-18 18:05:58 +00:00
Elliott Hughes
93e0587967 am debc37b4: am e00f4890: Merge "Move bionic over to GCC\'s \'warning\' attribute."
* commit 'debc37b4fb7bda538ab03b0a0433955006386fda':
  Move bionic over to GCC's 'warning' attribute.
2013-12-18 18:03:54 +00:00
Elliott Hughes
31d0542bcd am 0652fc66: am 63d56a00: am 62e6fe58: Merge "Fix compilation of crtbegin.c and pthread_debug.cpp."
* commit '0652fc667d86a646dc0011e9529bc59145e4bef4':
  Fix compilation of crtbegin.c and pthread_debug.cpp.
2013-12-18 18:02:35 +00:00
Elliott Hughes
0652fc667d am 63d56a00: am 62e6fe58: Merge "Fix compilation of crtbegin.c and pthread_debug.cpp."
* commit '63d56a00e95f6a6ca76d9bfd2e40d73cc7daff7d':
  Fix compilation of crtbegin.c and pthread_debug.cpp.
2013-12-18 18:00:22 +00:00
Elliott Hughes
a414f53e84 am 949295bb: am 22013ac4: am f293b157: Merge "AArch64: Linker64 support for AArch64"
* commit '949295bb87ea710e4c2c5353e39e52eafa0e1d05':
  AArch64: Linker64 support for AArch64
2013-12-17 23:22:40 +00:00
Elliott Hughes
949295bb87 am 22013ac4: am f293b157: Merge "AArch64: Linker64 support for AArch64"
* commit '22013ac4f061e2b88eda191fbd40ca5e1e9c8087':
  AArch64: Linker64 support for AArch64
2013-12-17 23:19:28 +00:00
The Android Automerger
c3986ecfbf merge in master-release history after reset to master 2013-12-17 07:49:16 -08:00
Elliott Hughes
fc98004632 am 75ba3a34: am a2573d95: am 2e3826c0: Merge "AArch64: Add fixes to bionic/tests"
* commit '75ba3a341e7af52c9c6df8ad51d3d099c9710888':
  AArch64: Add fixes to bionic/tests
2013-12-17 01:50:41 +00:00
Elliott Hughes
75ba3a341e am a2573d95: am 2e3826c0: Merge "AArch64: Add fixes to bionic/tests"
* commit 'a2573d956bf98a6dd2bb391fdc344c7637b46e8d':
  AArch64: Add fixes to bionic/tests
2013-12-17 01:49:12 +00:00
Elliott Hughes
47b65d69b6 am 29d3df6d: am 5f0cc63a: am 4e78ca63: Merge "AArch64: Initial AArch64 port of libm"
* commit '29d3df6d3aad093e2ea1b9e55eff31faf2ccc6e0':
  AArch64: Initial AArch64 port of libm
2013-12-17 01:18:35 +00:00
Elliott Hughes
29d3df6d3a am 5f0cc63a: am 4e78ca63: Merge "AArch64: Initial AArch64 port of libm"
* commit '5f0cc63a25b4fa7996b0201f0879784f7b781fbd':
  AArch64: Initial AArch64 port of libm
2013-12-17 01:15:32 +00:00
Elliott Hughes
47fb66a50b am fc61a873: am 1a92f739: am c858b567: Merge "AArch64: Add initial support for AArch64"
* commit 'fc61a87345c5d2e8d156aa9e38aab2f65d3c5670':
  AArch64: Add initial support for AArch64
2013-12-17 01:14:12 +00:00
Elliott Hughes
fc61a87345 am 1a92f739: am c858b567: Merge "AArch64: Add initial support for AArch64"
* commit '1a92f739997b4f86e5cccbebb8da957178998d11':
  AArch64: Add initial support for AArch64
2013-12-17 01:11:01 +00:00
Elliott Hughes
601aef388c am bf5d3929: am fa604740: am db718023: Merge "AArch64: Add support for AArch64 atomic operations"
* commit 'bf5d39296fca2a389f838d5b85fbfc7f19b76df3':
  AArch64: Add support for AArch64 atomic operations
2013-12-16 23:27:46 +00:00
Elliott Hughes
43f135abeb am 334e83e6: am 07fa38da: am 3937d415: Merge "Fix typo."
* commit '334e83e6b47ef4e0f36d4cd99a2269c3c4ae4f76':
  Fix typo.
2013-12-16 23:27:45 +00:00
Elliott Hughes
bf5d39296f am fa604740: am db718023: Merge "AArch64: Add support for AArch64 atomic operations"
* commit 'fa604740390d55ec7e8fe1afc12526f9bd7311e9':
  AArch64: Add support for AArch64 atomic operations
2013-12-16 21:21:08 +00:00
Elliott Hughes
334e83e6b4 am 07fa38da: am 3937d415: Merge "Fix typo."
* commit '07fa38dad69910996b6efe2e4a13732c638c69a5':
  Fix typo.
2013-12-16 21:15:31 +00:00
Elliott Hughes
087333c1cc am b31b775d: am e8101372: am 341b55a1: Merge "Clean up the pthread-only atomic stuff a little."
* commit 'b31b775dfee3730703ec58fcbbbaafae480399ff':
  Clean up the pthread-only atomic stuff a little.
2013-12-16 18:34:47 +00:00
Elliott Hughes
b31b775dfe am e8101372: am 341b55a1: Merge "Clean up the pthread-only atomic stuff a little."
* commit 'e810137214dbeeb9c0ed23b429f9f5f1a3273aa5':
  Clean up the pthread-only atomic stuff a little.
2013-12-16 18:31:56 +00:00
The Android Automerger
ed82694f10 merge in master-release history after reset to master 2013-12-16 07:49:36 -08:00
Elliott Hughes
5bcf426ab1 am 56f7c97e: am 6d4e8c1e: am 003be710: Merge "Clean up some ARMv4/ARMv5 cruft."
* commit '56f7c97e07d1b12a3fd5b22bfadec33afa254caa':
  Clean up some ARMv4/ARMv5 cruft.
2013-12-14 00:02:22 +00:00
Elliott Hughes
56f7c97e07 am 6d4e8c1e: am 003be710: Merge "Clean up some ARMv4/ARMv5 cruft."
* commit '6d4e8c1ea03f332dd86763995d6219ea50a3bce6':
  Clean up some ARMv4/ARMv5 cruft.
2013-12-13 23:51:29 +00:00
Elliott Hughes
f1e05aa736 am b77ef8dc: am 664b1d46: am 8623bf7b: Merge "Make <sys/param.h> more glibc-like."
* commit 'b77ef8dc811c146c3e9b5b9488ea0f0f91b72d1d':
  Make <sys/param.h> more glibc-like.
2013-12-12 23:58:39 +00:00
Elliott Hughes
b77ef8dc81 am 664b1d46: am 8623bf7b: Merge "Make <sys/param.h> more glibc-like."
* commit '664b1d46d8e6e6d3cee600ef11ec9c6966ac5f05':
  Make <sys/param.h> more glibc-like.
2013-12-12 23:55:59 +00:00
Christopher Ferris
9bed351f79 am 64edf779: am 7dfd8ae1: am 513d2770: Merge "Add ioprio.h."
* commit '64edf779d79fd81a39ee5e0327f585b37cd828f2':
  Add ioprio.h.
2013-12-12 23:51:17 +00:00
Christopher Ferris
64edf779d7 am 7dfd8ae1: am 513d2770: Merge "Add ioprio.h."
* commit '7dfd8ae1346bfe20f09dc7f36dd87608393b4154':
  Add ioprio.h.
2013-12-12 23:48:14 +00:00
Elliott Hughes
7b6d74f1a9 am 8d290516: am 2894204d: am 5aad083f: Merge "PTHREAD_KEYS_MAX cleanup."
* commit '8d290516620b6ccd9c86fa5d4ad76049e7ea2c04':
  PTHREAD_KEYS_MAX cleanup.
2013-12-12 21:08:02 +00:00
Elliott Hughes
8d29051662 am 2894204d: am 5aad083f: Merge "PTHREAD_KEYS_MAX cleanup."
* commit '2894204db465b02a0d3d90aef733dabea5888d81':
  PTHREAD_KEYS_MAX cleanup.
2013-12-12 21:05:05 +00:00
Elliott Hughes
bc597d71f8 am b61eeafa: am bce693eb: am 97e0c1dd: Merge "Fix debugging issues in vdso handling"
* commit 'b61eeafac8d734fbb86e0f058bce4fe4a5051354':
  Fix debugging issues in vdso handling
2013-12-12 19:32:19 +00:00
Elliott Hughes
b61eeafac8 am bce693eb: am 97e0c1dd: Merge "Fix debugging issues in vdso handling"
* commit 'bce693ebe08fd17878fde52c13469cd2d39c8e9a':
  Fix debugging issues in vdso handling
2013-12-12 19:28:45 +00:00
Elliott Hughes
e2d10b2a32 am 19e845ec: am 1336cd6d: am 38fcbbb3: Merge "AArch64: Fix mmap64() definition for AArch64, X86_64"
* commit '19e845ec73dc2cdb4f2ca11cd6dd56a0c6c0284a':
  AArch64: Fix mmap64() definition for AArch64, X86_64
2013-12-12 19:12:16 +00:00
Elliott Hughes
19e845ec73 am 1336cd6d: am 38fcbbb3: Merge "AArch64: Fix mmap64() definition for AArch64, X86_64"
* commit '1336cd6d77832aa3179bba4aec5fbf1accde19ca':
  AArch64: Fix mmap64() definition for AArch64, X86_64
2013-12-12 18:56:44 +00:00
The Android Automerger
dbd3819415 merge in master-release history after reset to master 2013-12-12 07:49:16 -08:00
Elliott Hughes
034c084e81 am 7105f406: am 5362e8d2: am 7bd08153: Merge "Remove harmful attempts to be helpful in pthread_mutex functions."
* commit '7105f40649310177ceef1028a39e428d7cf7a71a':
  Remove harmful attempts to be helpful in pthread_mutex functions.
2013-12-11 23:59:42 +00:00
Elliott Hughes
7105f40649 am 5362e8d2: am 7bd08153: Merge "Remove harmful attempts to be helpful in pthread_mutex functions."
* commit '5362e8d232005056b21b65e5e0abaf58b7a2687c':
  Remove harmful attempts to be helpful in pthread_mutex functions.
2013-12-11 23:56:57 +00:00
Elliott Hughes
1a6aea8a05 am fcee65c4: am 200fcb26: am 73ef27cd: Merge "Clarify a comment."
* commit 'fcee65c4c46481eb953bb3b3502a85a369c29fb4':
  Clarify a comment.
2013-12-11 23:05:01 +00:00
Robert Greenwalt
feb8dbf3c2 am 7c2ada7f: am f2e4f8fd: am 2e359155: Merge "Fix dns search domain use in gethostbyname."
* commit '7c2ada7f98ef640e4adeb7e03062bb2de0a96dd9':
  Fix dns search domain use in gethostbyname.
2013-12-11 22:21:07 +00:00
Colin Cross
e3b7e3e6f0 am cee98638: am f9599f30: am a84f88f0: Merge "bionic: move benchmarks out of tests directory"
* commit 'cee986385ffbd76eb546899ea5ba219971e70340':
  bionic: move benchmarks out of tests directory
2013-12-11 22:21:06 +00:00
Elliott Hughes
fcee65c4c4 am 200fcb26: am 73ef27cd: Merge "Clarify a comment."
* commit '200fcb26d21dfd72a1e74de380313462356414ce':
  Clarify a comment.
2013-12-11 22:12:11 +00:00
Robert Greenwalt
7c2ada7f98 am f2e4f8fd: am 2e359155: Merge "Fix dns search domain use in gethostbyname."
* commit 'f2e4f8fd6f9a7de6c98210f754c82ca694d0ef55':
  Fix dns search domain use in gethostbyname.
2013-12-11 22:02:50 +00:00
Colin Cross
cee986385f am f9599f30: am a84f88f0: Merge "bionic: move benchmarks out of tests directory"
* commit 'f9599f306adabad5409bd03788de6c339dbc0b1c':
  bionic: move benchmarks out of tests directory
2013-12-11 22:02:49 +00:00
The Android Automerger
1a9d83fb5c merge in master-release history after reset to master 2013-12-10 07:49:38 -08:00
Qiwen Zhao
5273f557de am 299d25e0: (-s ours) DO NOT MERGE reset to goog/klp-volantis-dev
* commit '299d25e07b1ff58a7e90f9b46cd916ce337ca4ee':
2013-12-10 01:58:25 +00:00
Qiwen Zhao
299d25e07b DO NOT MERGE reset to goog/klp-volantis-dev 2013-12-09 14:09:59 -08:00
Christopher Ferris
a0a8bb060c am 381bf3f0: am b3959928: Merge "Do not clear tids on detached threads."
* commit '381bf3f06acef22fd90ac6aced8f0a25ee51f78b':
  Do not clear tids on detached threads.
2013-12-09 18:34:28 +00:00
Qiwen Zhao
e09cc8cd82 am 2c79b4f6: snap to klp-dev-plus-aosp 3f69e99 with history
* commit '2c79b4f6cec4c8d5976bf4d07e6b03c1ab303e2d':
2013-12-06 21:57:22 +00:00
Qiwen Zhao
2c79b4f6ce snap to klp-dev-plus-aosp 3f69e99 with history 2013-12-06 13:40:37 -08:00
The Android Open Source Project
5511f5caea am 3f69e994: am 33771653: Merge commit \'04b4339ad5396690329877df10fbe568bd4dd600\' into HEAD
* commit '3f69e994e4bfab24223f0323ad301f76956cd1c1':
2013-12-06 01:20:55 +00:00
Elliott Hughes
dec84609b5 am cb0b46e1: (-s ours) am c1772397: am ff8dcd4a: am c933493a: Merge "Fix our missing abs/labs/llabs/imaxabs (and imaxdiv) symbols."
* commit 'cb0b46e13ef65304577eab8f8a201b78894eeb78':
2013-12-05 22:51:27 +00:00
Elliott Hughes
043e4c4d8c am ad9742f8: (-s ours) am 2a5d2e98: am 9e9d1e01: resolved conflicts for merge of 86125aca to klp-dev
* commit 'ad9742f8890c18c6b7f4723139bf135713740877':
2013-12-05 22:50:01 +00:00
Elliott Hughes
12b2431f7b am 0ee109a4: (-s ours) am 598f3e9c: Merge "resolved conflicts for merge of dce94165 to klp-dev-plus-aosp" into klp-dev-plus-aosp
* commit '0ee109a488e667fa038b3550c2441d35b46b3b8d':
2013-12-05 22:50:01 +00:00
Elliott Hughes
a19860fa38 am 456e415b: (-s ours) am 14ec1b58: am ceb670cf: Merge branch \'klp-dev\' of https://googleplex-android.googlesource.com/_direct/platform/bionic into klp-dev
* commit '456e415b93d75233c1948a6398521128c2d5afef':
2013-12-05 22:50:00 +00:00
Christopher Ferris
3e0bbc4df6 am 7f52a466: (-s ours) am a07a9556: (-s ours) am 1036cd79: am 6beb3ea6: (-s ours) am d7d5049d: (-s ours) am 632fd518: (-s ours) Merge "Fix strcpy.c that should have been strcpy.S. DO NOT MERGE"
* commit '7f52a46619d31e8acf19c1f270256de06efe1cf6':
2013-12-05 22:49:59 +00:00
Christopher Ferris
718cc2e088 am f759860c: (-s ours) am 0a7e61d4: (-s ours) am 5ec2ab68: am 21b4ffa7: (-s ours) am 5427eb5c: (-s ours) am e2066293: (-s ours) Merge "Optimize strcat/strcpy, small tweaks to strlen. DO NOT MERGE"
* commit 'f759860cd33db4acf4734fd71a0e7d4e25dc756b':
2013-12-05 22:49:58 +00:00
Christopher Ferris
19e57445d3 am e2fef1a7: (-s ours) am 2e0a707f: (-s ours) am 5427eb5c: (-s ours) am e2066293: (-s ours) Merge "Optimize strcat/strcpy, small tweaks to strlen. DO NOT MERGE"
* commit 'e2fef1a79983ca8ba3ece0943649da30a2ce525d':
2013-12-05 22:49:57 +00:00
Elliott Hughes
cb0b46e13e am c1772397: am ff8dcd4a: am c933493a: Merge "Fix our missing abs/labs/llabs/imaxabs (and imaxdiv) symbols."
* commit 'c1772397f96e82e142dd082da4747824e7c8a839':
  Fix our missing abs/labs/llabs/imaxabs (and imaxdiv) symbols.
2013-12-05 21:28:03 +00:00
Elliott Hughes
ad9742f889 am 2a5d2e98: am 9e9d1e01: resolved conflicts for merge of 86125aca to klp-dev
* commit '2a5d2e98f9ffbddf37d8d57ed3028c3c8349e351':
2013-12-05 19:37:50 +00:00
Elliott Hughes
0ee109a488 am 598f3e9c: Merge "resolved conflicts for merge of dce94165 to klp-dev-plus-aosp" into klp-dev-plus-aosp
* commit '598f3e9c4a48a4f4cbae6fb163f378d9fd1e6321':
2013-12-05 19:37:47 +00:00
Elliott Hughes
456e415b93 am 14ec1b58: am ceb670cf: Merge branch \'klp-dev\' of https://googleplex-android.googlesource.com/_direct/platform/bionic into klp-dev
* commit '14ec1b58869362f07ffdf7495cbba2f746da7b77':
2013-12-05 19:37:29 +00:00
Christopher Ferris
7f52a46619 am a07a9556: (-s ours) am 1036cd79: am 6beb3ea6: (-s ours) am d7d5049d: (-s ours) am 632fd518: (-s ours) Merge "Fix strcpy.c that should have been strcpy.S. DO NOT MERGE"
* commit 'a07a9556663db4dcf7924dd50a91dd6d5f3e266c':
2013-12-05 19:37:29 +00:00
Christopher Ferris
f759860cd3 am 0a7e61d4: (-s ours) am 5ec2ab68: am 21b4ffa7: (-s ours) am 5427eb5c: (-s ours) am e2066293: (-s ours) Merge "Optimize strcat/strcpy, small tweaks to strlen. DO NOT MERGE"
* commit '0a7e61d4a1a28a7c66c05e0ef0b69c7c5b14a2d9':
2013-12-05 19:37:28 +00:00
Christopher Ferris
1d0d290c05 am d41e52a2: (-s ours) am d7d5049d: (-s ours) am 632fd518: (-s ours) Merge "Fix strcpy.c that should have been strcpy.S. DO NOT MERGE"
* commit 'd41e52a238bdb91df5dffb81f202b3d50949bb9a':
2013-12-05 19:37:14 +00:00
Christopher Ferris
e2fef1a799 am 2e0a707f: (-s ours) am 5427eb5c: (-s ours) am e2066293: (-s ours) Merge "Optimize strcat/strcpy, small tweaks to strlen. DO NOT MERGE"
* commit '2e0a707f793a6831452aca9ed0021e90014f3635':
2013-12-05 19:37:13 +00:00
The Android Automerger
72d931346a merge in master-release history after reset to master 2013-12-05 07:49:45 -08:00
Christopher Ferris
fe3f0ccc84 am b679f654: am 6afe8ab7: Merge "Add strcmp/memcmp testing."
* commit 'b679f65420702554ae00dffb0e150ca75aeea989':
  Add strcmp/memcmp testing.
2013-12-04 21:14:34 +00:00
The Android Automerger
9d875e6fe3 merge in master-release history after reset to master 2013-12-04 07:49:10 -08:00
Christopher Ferris
9d5f2d72c9 am df4e7ad8: am 0b4246b5: Merge "Add cfi directives to all arm assembly."
* commit 'df4e7ad88fd3578fc12016f44c754298f5fbd8e8':
  Add cfi directives to all arm assembly.
2013-12-03 20:42:00 +00:00
The Android Automerger
fe1797db2f merge in master-release history after reset to master 2013-11-28 07:49:11 -08:00
Elliott Hughes
d1214a7ec5 am c566f35a: am ab0b0cdf: Merge "Finish <sys/user.h>."
* commit 'c566f35af462de45d119fb3b024e3db56d76927a':
  Finish <sys/user.h>.
2013-11-27 16:55:35 +00:00
Elliott Hughes
867e25105d am 3b9aba55: am 98c910fb: Merge "Fix the order of arguments to sys_clone for x86."
* commit '3b9aba55490ad4bc97c17c4a4e9acd51de1d8958':
  Fix the order of arguments to sys_clone for x86.
2013-11-27 16:55:34 +00:00
Elliott Hughes
bef09fac15 am cb88d966: am 6ae2f22d: Merge "Work around CLONE_SETTLS being weird on x86."
* commit 'cb88d966b0b4c643ddd8c108f75478db7aa4f5f9':
  Work around CLONE_SETTLS being weird on x86.
2013-11-27 16:55:34 +00:00
Elliott Hughes
15a7a13ecf am a1d1a46e: am 1c057607: Merge "Fix _exit_with_stack_teardown for x86."
* commit 'a1d1a46ef635e559bbc4a4548ae28c84102d6f0b':
  Fix _exit_with_stack_teardown for x86.
2013-11-27 16:55:34 +00:00
The Android Automerger
1566b49c63 merge in master-release history after reset to master 2013-11-26 07:49:22 -08:00
Elliott Hughes
ca80f099a2 Merge "Regenerate the bionic headers to match external/kernel-headers." 2013-11-25 22:19:23 +00:00
Elliott Hughes
1c9d30540e am 6fcdba7a: am a98fff25: Merge "Make <sys/timerfd.h> standalone."
* commit '6fcdba7a12eb1fdca200d725d09d27a69ee7b78a':
  Make <sys/timerfd.h> standalone.
2013-11-25 14:09:32 -08:00
Elliott Hughes
356a4e4a32 Regenerate the bionic headers to match external/kernel-headers.
(This undoes the AOSP-only ion.h hack.)

Bug: 11859767
Change-Id: Id863c70d63b2716ae22cafd7ddb1163bbc7a3d11
2013-11-25 14:09:12 -08:00
Elliott Hughes
ee6b6f167a am aee38bc0: am 5a52bd34: Merge "Regenerate the bionic kernel headers to match external/kernel-headers."
* commit 'aee38bc05ff0cd1294d079909c27732249507abd':
  Regenerate the bionic kernel headers to match external/kernel-headers.
2013-11-25 14:05:10 -08:00
The Android Automerger
13f3b03e38 merge in master-release history after reset to master 2013-11-25 07:49:19 -08:00
Christopher Ferris
2884789cfa am cf8500fd: am cda0c61d: am 14d6be45: Merge "Delete non-uapi headers."
* commit 'cf8500fd4359bd026829bdfd0dc4968ed07cc842':
  Delete non-uapi headers.
2013-11-24 00:27:51 -08:00
Christopher Ferris
7b29d586bb am 76115fe9: am dd1d4f1c: am 985c3fbb: Merge "Move arm user.h definitions to sys/user.h."
* commit '76115fe9a0a8a2a7f57abcc3fea4e2be079cb2e6':
  Move arm user.h definitions to sys/user.h.
2013-11-23 12:41:04 -08:00
Christopher Ferris
59a6012367 am 30aebed9: am 038919d3: am 507f95e2: Merge "Update script to copy in extra generated files."
* commit '30aebed98ab66329d62e0884209fd9d04a8b056f':
  Update script to copy in extra generated files.
2013-11-23 12:41:04 -08:00
The Android Open Source Project
220631ee3a am 3f3788c3: am f00c938c: Merge commit \'811b0cdb2d6e4a697dbc63a678712759dd0db242\' into HEAD
* commit '3f3788c339488d106830718174341380ddd5193a':
2013-11-22 19:31:07 -08:00
Christopher Ferris
bbbf505c1d am e3bc2254: am a626e4d8: am 26f0e54a: Merge "Script to grab uapi headers from android kernel."
* commit 'e3bc2254138e92d1b4746709ec355a5bd43bbccd':
  Script to grab uapi headers from android kernel.
2013-11-21 23:00:03 -08:00
Elliott Hughes
6211255a6b am 68a4187c: am 50f6b836: am fa7b48bf: Merge "Regenerate uapi header files."
* commit '68a4187c4a88a885b36412607797e7ca65662968':
  Regenerate uapi header files.
2013-11-21 23:00:02 -08:00
Elliott Hughes
3eba84eee0 am 81768e18: am 5e818b33: am 880d0e6c: Merge "Remove hidden __reboot from header"
* commit '81768e18bb2e7c29917e1f4c188285c64498f61d':
  Remove hidden __reboot from header
2013-11-21 23:00:01 -08:00
Elliott Hughes
6bc95b6906 am 8acd5dd2: am 84336795: am eec57b37: Merge "Add support for the ternary operator to the header scrubber."
* commit '8acd5dd2f82ecbf57c275528d5f2e5db0ef60a34':
  Add support for the ternary operator to the header scrubber.
2013-11-21 23:00:01 -08:00
Elliott Hughes
5d352e6acd am 5a2526ac: am cb478f23: am d4143c8e: Merge "Fix useconds_t for LP64."
* commit '5a2526ac629802ff22f71d516f7979f1f4a4c34d':
  Fix useconds_t for LP64.
2013-11-21 23:00:00 -08:00
Elliott Hughes
57f4718cfc am 03adedfc: am a18a01f5: am 15a64948: Merge "Remove obsolete kernel/arch-mips headers."
* commit '03adedfc3c8d25939d8799ed2ce9292b063d8bc7':
  Remove obsolete kernel/arch-mips headers.
2013-11-21 22:59:59 -08:00
Elliott Hughes
15428215c6 am b749a010: am 8637bb53: am b135f6e5: Merge "Remove the unused arch-x86 and arch-x86-64 kernel headers."
* commit 'b749a010a3cf6b1544d1e27b360ffcb98ae1cdbc':
  Remove the unused arch-x86 and arch-x86-64 kernel headers.
2013-11-21 22:59:59 -08:00
Elliott Hughes
5df692fd4e am a38dcc02: am 70d37e34: am ca045a19: Merge "Switch to upstream sleep(3) and usleep(3)."
* commit 'a38dcc0210ad2f75aac72e2c3bef357bddb7b564':
  Switch to upstream sleep(3) and usleep(3).
2013-11-21 20:08:22 -08:00
Elliott Hughes
3bc173dfad am 7c883327: am 556c7402: am 39bc7ecd: Merge "Fix <signal.h> for mips uapi."
* commit '7c88332701cc9aa2ed95148bed40f50c54adb36b':
  Fix <signal.h> for mips uapi.
2013-11-21 17:12:04 -08:00
Elliott Hughes
b55bc155f6 am 0b4ca7e3: am 004ecb39: am db1dec1e: Merge "Clean up pthread_internal_t."
* commit '0b4ca7e3ce59e6993b47cb7856e74c3c46b44c9b':
  Clean up pthread_internal_t.
2013-11-21 10:15:35 -08:00
Christopher Ferris
96a2e56fad am 47580cc0: am 3c6d1b88: am 2a34009f: Merge "Add .cfi_startproc/.cfi_endproc to ENTRY/END."
* commit '47580cc01768dcb67ab152915a2e78a98e36b463':
  Add .cfi_startproc/.cfi_endproc to ENTRY/END.
2013-11-21 10:15:34 -08:00
Elliott Hughes
07f35d9596 am 3eb08b0e: am f4e03b03: am bf652a5f: Merge "Provide <sys/user.h>."
* commit '3eb08b0e298e5b283add3a6a1abf0026d7cbcd98':
  Provide <sys/user.h>.
2013-11-21 10:15:33 -08:00
Elliott Hughes
0e309c87ab am 0df47ece: am d5a59aa7: am 1b2d214b: Merge "Clean up forking and cloning."
* commit '0df47ece78b2e596dde3a2369b44917842bbbd4b':
  Clean up forking and cloning.
2013-11-21 08:12:58 -08:00
Narayan Kamath
241776e21e am 6e5fda6b: am 22b8c53e: am 9d70ddc4: Merge "Add test case for 1^NaN"
* commit '6e5fda6b6d2b15155d8ca1ef586cf8ce6e04a067':
  Add test case for 1^NaN
2013-11-21 08:12:57 -08:00
Elliott Hughes
7a7429b4f7 am 67026112: am 8154f010: am 318e86ed: Merge "bionic: call stdio cleanup on exit"
* commit '67026112a00b94f9d13c3adea2ffbb4fb83d55c5':
  bionic: call stdio cleanup on exit
2013-11-21 08:12:57 -08:00
Elliott Hughes
9280a859a6 am 86ae0ff1: am 044d4655: am 303fe0cb: Merge "Fix pthread_join."
* commit '86ae0ff135456b2b695f49cf40ccc4e8ebc60f51':
  Fix pthread_join.
2013-11-21 08:12:56 -08:00
Christopher Ferris
54b98c638a am 37e5c6ba: am 750668f5: am 862faa12: Merge "Pull in cleaned version.h header."
* commit '37e5c6ba89b9daca67b1c09e2b73b4c6eac805a5':
  Pull in cleaned version.h header.
2013-11-21 08:12:55 -08:00
Christopher Ferris
7dd95f4fc5 am e4bc301a: am da12e64f: am be8344bb: Merge "Modify tests for another glibc difference."
* commit 'e4bc301aa50071d09d268f661be72647a491a8c0':
  Modify tests for another glibc difference.
2013-11-21 08:12:55 -08:00
Elliott Hughes
0a0fb39e8a am a8276f64: am 18368fc8: am f246c589: Merge "Clean up the pthread_create trampoline."
* commit 'a8276f64b203a01d1b393a11dc9c492d1a6557e3':
  Clean up the pthread_create trampoline.
2013-11-21 08:12:54 -08:00
Christopher Ferris
7bbc82d620 am b343d221: am 862c32b4: am e39e3a77: Merge "Add new tests for memory/string routines."
* commit 'b343d221103432f67df366a95c06a69d23ddbd1b':
  Add new tests for memory/string routines.
2013-11-21 08:12:53 -08:00
Elliott Hughes
6442706d42 am 00f25edc: am 5b524852: am 645d4269: Merge "Switch pthread_create over to __bionic_clone."
* commit '00f25edccace521bc4cbc3cfe3d05e8e1a9b6652':
  Switch pthread_create over to __bionic_clone.
2013-11-21 08:12:53 -08:00
The Android Automerger
f15987fe9c merge in master-release history after reset to master 2013-11-18 07:50:37 -08:00
Elliott Hughes
24cbf1991a am 04b4339a: am 60a67a0c: am 05ec00bf: Merge "[MIPS] Reimplement syscall to invoke the system call directly"
* commit '04b4339ad5396690329877df10fbe568bd4dd600':
  [MIPS] Reimplement syscall to invoke the system call directly
2013-11-14 17:09:48 -08:00
Elliott Hughes
ad7e42d6bd am 1b782289: am 5a70acd1: am ae5c3dd7: Merge "Remove the mips regdef.h and fpregdef.h old kernel headers."
* commit '1b782289f4f89434693e3e906df9c9cf43b4d277':
  Remove the mips regdef.h and fpregdef.h old kernel headers.
2013-11-13 18:47:59 -08:00
Elliott Hughes
67b73d370b am ab894977: am 3cc7da48: am c4250430: Merge "Add unit tests for pow\'s behavior with NaNs."
* commit 'ab894977da4e7519aa5c69b38817ee54ae8fd519':
  Add unit tests for pow's behavior with NaNs.
2013-11-13 18:44:12 -08:00
Elliott Hughes
65d8dadcad am 60101963: am e77538d5: am 44cbe94b: Merge "Add a unit test for syscall(2)."
* commit '6010196355959f1a5d34100aa3d44073f291e886':
  Add a unit test for syscall(2).
2013-11-13 13:42:53 -08:00
The Android Automerger
5211e9b4ce merge in master-release history after reset to master 2013-11-12 07:49:31 -08:00
Elliott Hughes
c79a5b5cda am 3cf6d998: am 6a7e539c: am 22ba86ee: Merge "Add extra regression tests for an already-fixed dynamic linker bug."
* commit '3cf6d9983c534dd6dae0b3e805a6cdadad910aa8':
  Add extra regression tests for an already-fixed dynamic linker bug.
2013-11-11 20:52:09 -08:00
The Android Automerger
4bf99b106e merge in master-release history after reset to master 2013-11-11 07:50:03 -08:00
Elliott Hughes
5ebfaf84df am 5c56512e: am cdd6fdec: am 6768c1ee: Merge "Add a temporary uapi/linux/compiler.h until upstream has one."
* commit '5c56512eebc14558a2b3b83cdca09f04084d609c':
  Add a temporary uapi/linux/compiler.h until upstream has one.
2013-11-08 16:03:52 -08:00
Elliott Hughes
41392e2802 am e9664fea: am 5b6290bc: am ff5b0fc8: Merge "Remove the dependency on the non-uapi __kernel_nlink_t."
* commit 'e9664fea54d21f765c906006db27b8e275c4a198':
  Remove the dependency on the non-uapi __kernel_nlink_t.
2013-11-08 16:03:51 -08:00
Elliott Hughes
0538d38a30 am 26d8853a: am cac7eec5: am 68723453: Merge "Generate the uapi headers for mips and x86/x86_64."
* commit '26d8853ab5d3c42654a90bf31e54bb851f3b083c':
  Generate the uapi headers for mips and x86/x86_64.
2013-11-08 14:28:57 -08:00
Elliott Hughes
fae1b3d1a2 am b92de381: am 99a38fcf: am 486c8616: Merge "Prepare to switch to the uapi <linux/signal.h>."
* commit 'b92de38170e3d3aeb2b05449909fb76c96954062':
  Prepare to switch to the uapi <linux/signal.h>.
2013-11-07 15:13:24 -08:00
Elliott Hughes
693cd7ff65 am 81c24a1a: am c9c84992: am 266eb4a4: Merge "Stop using the non-uapi <linux/err.h> header file."
* commit '81c24a1a49ada6fa86ea51070a6202fce7036f36':
  Stop using the non-uapi <linux/err.h> header file.
2013-11-07 15:12:59 -08:00
The Android Automerger
454e79814e merge in master-release history after reset to master 2013-11-07 07:49:37 -08:00
Rom Lemarchand
d1cd2392c9 Merge "Refresh libc/kernel/common/linux/ion.h" 2013-11-07 13:29:57 +00:00
Elliott Hughes
fd8646457b am 2a6e1306: am 6fc4a1cd: am a034e1d3: Merge "Remove pathconf\'s dependencies on non-uapi header files."
* commit '2a6e13064fe73c22c162a9bf1cf257d0246afbf5':
  Remove pathconf's dependencies on non-uapi header files.
2013-11-06 17:42:14 -08:00
Elliott Hughes
9287ed5f46 am 07ddeb09: am dc9b54c1: am f945732e: Merge "Fix a TODO; we\'ve had SOCK_CLOEXEC for a while now."
* commit '07ddeb09017a043f7dd74980124670f99d003c22':
  Fix a TODO; we've had SOCK_CLOEXEC for a while now.
2013-11-06 17:23:54 -08:00
Elliott Hughes
9c8445638a am a4e281a5: am 76833a7c: am 9e63e03d: Merge "Clean up the 32-bit kernel support, fix LP64 fcntl declaration."
* commit 'a4e281a549adb6a1ed9669bf609e088c8f8a9bd0':
  Clean up the 32-bit kernel support, fix LP64 fcntl declaration.
2013-11-06 17:10:44 -08:00
Ben Cheng
ff088539ae am 64aca718: am 99205dc9: am af10f9e9: Merge "Add processed uapi kernel headers for ARM."
* commit '64aca718ee0b2fceec37f0f0cd41c0323d834b3d':
  Add processed uapi kernel headers for ARM.
2013-11-06 16:15:46 -08:00
Elliott Hughes
7406433662 am c606294b: am 3721a7e7: am 7115c802: Merge "Fix pread/pwrite for LP64."
* commit 'c606294b9397930a18d9c153186b77ece819588c':
  Fix pread/pwrite for LP64.
2013-11-06 16:15:45 -08:00
Elliott Hughes
9f2532507f am a047e0ab: am afc51b92: am c4dbc16e: Merge "Make cpp.py less braindead."
* commit 'a047e0ab516551430cf2fc19f12703d48b9d60f3':
  Make cpp.py less braindead.
2013-11-06 16:15:44 -08:00
Rom Lemarchand
ea699f0cf4 Refresh libc/kernel/common/linux/ion.h
Change-Id: Ibd2bf99224b31bbad7b3a9b0d82bfef19162db7b
2013-11-06 09:55:03 -08:00
The Android Automerger
f672f7cb3e merge in master-release history after reset to master 2013-11-06 07:49:59 -08:00
Elliott Hughes
fdbbcc2fab am c76ba85e: am ffe06880: am f1258672: Merge "Fix <sys/select.h> for LP64, clean up <time.h>."
* commit 'c76ba85e166fa98baf44102894471c483f134c17':
  Fix <sys/select.h> for LP64, clean up <time.h>.
2013-11-05 14:24:21 -08:00
Elliott Hughes
d13288d1ed am a0352c60: am 3c5d651c: am 9b9f0d0c: Merge "Remove unnecessary #include."
* commit 'a0352c60ec72b2fbd9d7a9a1685ec893bf9014aa':
  Remove unnecessary #include.
2013-11-05 14:22:24 -08:00
The Android Automerger
5a5fc18a19 merge in master-release history after reset to master 2013-11-04 07:49:54 -08:00
Elliott Hughes
ab7e8fba0a am 748ad3d3: am 00889af0: am 943cc1b5: Merge "Refresh libc/kernel/common/linux/uinput.h"
* commit '748ad3d3f514707a596b7ede59f1f4788832d3f5':
  Refresh libc/kernel/common/linux/uinput.h
2013-10-31 16:09:42 -07:00
Elliott Hughes
040fe7a832 am 2a60b264: am 6b69b753: am 4d2ab4c7: Merge "Fix linker crashes during unknown symbol lookup"
* commit '2a60b264ebf85bdec2ef741651815781b145d868':
  Fix linker crashes during unknown symbol lookup
2013-10-31 15:17:07 -07:00
Elliott Hughes
f6bf2cd9b1 am 8441e031: am 61ec6a62: am cc9b7456: Merge "Move the pthread debugging flags to the right place."
* commit '8441e0312cf0215560b502a38284b1e918a31364':
  Move the pthread debugging flags to the right place.
2013-10-31 14:29:14 -07:00
Elliott Hughes
0f83967545 am ff9b41de: am 5ab8d33a: Upgrade to tzdata2013h.
* commit 'ff9b41de6285961d4c397ae660cf8c11a6508af0':
  Upgrade to tzdata2013h.
2013-10-31 13:53:37 -07:00
Elliott Hughes
e0503cca60 am 26e9e3c7: am 1658691e: am 0360e3ab: Merge "<pthread.h> fixes and pthread cleanup."
* commit '26e9e3c76a082ae8b6b06208270c7aaf713d2853':
  <pthread.h> fixes and pthread cleanup.
2013-10-31 13:45:49 -07:00
The Android Automerger
806e92a017 merge in master-release history after reset to master 2013-10-31 07:49:11 -07:00
Elliott Hughes
9685cc4967 am b0b2e29d: am 9be24f71: am d0d0b52d: Merge "Remove an obsolete ARM gdb hack."
* commit 'b0b2e29d4eb252a6136348491b6ed85e3da42216':
  Remove an obsolete ARM gdb hack.
2013-10-30 14:44:18 -07:00
The Android Automerger
126bbf028e merge in master-release history after reset to master 2013-10-30 07:49:28 -07:00
Elliott Hughes
7a7380cdad am 0f3973bd: am 6cf34775: am 47a73363: Merge "Factor out some of the makefile cruft."
* commit '0f3973bdb5ad424c7c034c1dcb428b07848155ef':
  Factor out some of the makefile cruft.
2013-10-29 19:21:45 -07:00
Elliott Hughes
2b2a5b6139 am 86959493: am ee99ebbc: am 7a8e20c9: Merge "Explain the sigprocmask in pthread_exit."
* commit '8695949391d0d892351bb1b877b44d4171d8bead':
  Explain the sigprocmask in pthread_exit.
2013-10-29 18:36:20 -07:00
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
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
The Android Automerger
15db5e7a5b merge in master-release history after reset to master 2013-10-29 07:49:29 -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
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
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
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
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
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
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
2c78f0838d am 8129a36d: am c98827e7: am d4e9f076: Merge "Clean up linker architecture macros."
* commit '8129a36dc68eb17497ebbac823de58716473b4f8':
  Clean up linker architecture macros.
2013-10-28 11:09:54 -07:00
Elliott Hughes
82eb3539f0 am 7ef84c7d: am d9916301: am f7f6b268: Merge "Upgrade to tzdata2013h."
* commit '7ef84c7d3d191afc96c8d3dc65c885f3cdf6b8c2':
  Upgrade to tzdata2013h.
2013-10-28 10:04:43 -07:00
The Android Automerger
0c7f42d96c merge in master-release history after reset to master 2013-10-28 07:49:50 -07:00
Christopher Ferris
1f7088a52e am a9b95baa: am 763fe341: am 93fcfeee: Merge "Update running bionic unit tests on host."
* commit 'a9b95baaced558e10c4dc9f26c0e69e6ab557480':
  Update running bionic unit tests on host.
2013-10-25 10:43:41 -07:00
Elliott Hughes
bbd2a6fa4d am 53327463: am 155f5c5f: am ad8fb26a: Merge "Fix the exit syscall stub\'s name."
* commit '5332746383dcfb6d1572451ea895ac301867482a':
  Simplify defining the linker architecture macro.
  Fix the exit syscall stub's name.
2013-10-25 09:31:54 -07:00
Elliott Hughes
7cf6d88f7e am de2df542: am fa262c13: am bbefbf1a: Merge "Use hidden visibility for generated stubs whose names begin with underscores."
* commit 'de2df5421d6b6a36a1bdc6995297cfbe9e706403':
  Use hidden visibility for generated stubs whose names begin with underscores.
2013-10-24 17:30:31 -07:00
Elliott Hughes
4a27075511 am 0a9d0db6: am c2404f6c: am d60a625d: Merge "Start moving 32-bit cruft somewhere it won\'t pollute 64-bit."
* commit '0a9d0db6b33cbd3a0c72ac8f6133a4867e8f228f':
  Start moving 32-bit cruft somewhere it won't pollute 64-bit.
2013-10-24 17:24:25 -07:00
Elliott Hughes
9b22fc2d81 am c55f980d: am 4b832714: am 97288549: Merge "Let the compiler worry about implementing ffs(3)."
* commit 'c55f980d23a62f2b9603c1dfdbc10d3698f9c1ed':
  Let the compiler worry about implementing ffs(3).
2013-10-24 16:46:19 -07:00
Elliott Hughes
c1c14336cd am 322ae56a: am 0c4778d8: am a1b9f0d4: Merge "Revert "Don\'t warn about x86 text relocations. They\'re too prevalent.""
* commit '322ae56a95fd2770dcfcc26f773157d62e24f30f':
  Revert "Don't warn about x86 text relocations. They're too prevalent."
2013-10-24 16:46:18 -07:00
Elliott Hughes
fe489d6ad6 am 557a5e08: am e4ab1b67: am f8dfb6f2: Merge "Remove dependencies on obsolete __ARCH_WANT_SYSCALL_DEPRECATED system calls."
* commit '557a5e08c6d176ed142362243b62e1fc9619f7f3':
  Remove dependencies on obsolete __ARCH_WANT_SYSCALL_DEPRECATED system calls.
2013-10-24 15:59:06 -07:00
The Android Automerger
c3ae20360d merge in master-release history after reset to master 2013-10-24 07:50:22 -07:00
Ben Cheng
614196315d am 112b7088: am 8b113f75: am fcb37b87: Merge "Add __EXPORTED_HEADERS__ as predefined macro."
* commit '112b7088e7cfcda512793bd50476853dac1d8df9':
  Add __EXPORTED_HEADERS__ as predefined macro.
2013-10-23 15:57:01 -07:00
Elliott Hughes
ab19f027fa am dc57fe33: am 7b9aa1a3: am 9098344a: Merge "Don\'t warn about x86 text relocations. They\'re too prevalent."
* commit 'dc57fe3389a532824d1a1197dc0d6fac3dbc8fd0':
  Don't warn about x86 text relocations. They're too prevalent.
2013-10-23 14:05:47 -07:00
Elliott Hughes
b073112ea0 am 977f91f5: am ae61f49b: am cdac5f73: Merge "MIPS\' pipe(2) is weird, but MIPS\' pipe2(2) is the same as everyone else\'s."
* commit '977f91f5bf9011dcde7822004401d71070ff08f7':
  MIPS' pipe(2) is weird, but MIPS' pipe2(2) is the same as everyone else's.
2013-10-23 11:37:45 -07:00
Elliott Hughes
77ec304825 am c410e75c: am 0e1faa2e: am 1370854c: Merge "Fix header file dependencies."
* commit 'c410e75c680b256a3590588ff1a53e8f5e5ccb6b':
  Fix header file dependencies.
2013-10-23 11:37:44 -07:00
Elliott Hughes
9aeb183d65 am 623fcf1e: am db7f8eb0: am 97dc3309: Merge "Remove dependencies on obsolete __ARCH_WANT_SYSCALL_NO_FLAGS syscalls."
* commit '623fcf1e98ba08e2608cfd500cd3aeb9076f72cd':
  Remove dependencies on obsolete __ARCH_WANT_SYSCALL_NO_FLAGS syscalls.
2013-10-23 10:38:59 -07:00
The Android Automerger
10719712eb merge in master-release history after reset to master 2013-10-23 07:49:57 -07:00
Elliott Hughes
56de165481 am e514d2fe: resolved conflicts for merge of 1dbf56aa to klp-dev-plus-aosp
* commit 'e514d2fe6646b89d49037853cf4d6c4232110d18':
  Move away from the __ARCH_WANT_SYSCALL_NO_AT system calls.
2013-10-22 16:43:50 -07:00
Elliott Hughes
85421c64d7 am 0775b1da: am 3f0505cc: am f0ed9bf2: Merge "AArch64: Fix definitions for STDINT_LIMITS"
* commit '0775b1dae8b9927c67064734f48ae3dc25ed1f8a':
  AArch64: Fix definitions for STDINT_LIMITS
2013-10-22 12:49:20 -07:00
Nick Kralevich
7bf961755c am 52185f37: am b8280db7: am 1756f5a4: Merge "change wording on text relocation message."
* commit '52185f37aefbb8be138c1c87ed46bd31807cdcfb':
  change wording on text relocation message.
2013-10-22 12:39:43 -07:00
Elliott Hughes
c93450f6b0 am 081b40f3: am 550ccc2e: am 8c39e58b: Merge "Make sure we have a mkfifo symbol."
* commit '081b40f378f915c8fe342b6e0b21a023601b281f':
  Make sure we have a mkfifo symbol.
2013-10-22 12:12:23 -07:00
Elliott Hughes
ecf42a5dec am 65104ba5: am 9805f3ec: am 23148470: Merge "AArch64: Fix uses of stack size for 32/64bit libc builds"
* commit '65104ba5332381bdafb3dd3ddcaad7752cd45e02':
  AArch64: Fix uses of stack size for 32/64bit libc builds
2013-10-22 12:12:22 -07:00
The Android Automerger
6658859384 merge in master-release history after reset to master 2013-10-22 07:49:23 -07:00
Elliott Hughes
db33f095b7 am 5f985ebb: am a5826391: am 393484ab: Merge "Fix statvfs tests for the host."
* commit '5f985ebb1b68b8666b2f0e65e97d5a4718980ca3':
  Fix statvfs tests for the host.
2013-10-21 20:19:12 -07:00
Elliott Hughes
54c8129144 am c6557e3c: am f777c50a: am c284d47c: Merge "Fix the system property tests to use ."
* commit 'c6557e3c835fb096435994d70675c77de30204b3':
  Fix the system property tests to use $ANDROID_DATA.
2013-10-21 17:48:47 -07:00
Elliott Hughes
783ed81e1a am 41c28741: am dcc3a211: am 9d4b67ea: Merge "Fix 16-byte stack alignment requirement for x86_64 ABI"
* commit '41c28741381d8fbfcc882a7ef5eebec1b172b372':
  Fix 16-byte stack alignment requirement for x86_64 ABI
2013-10-21 17:48:47 -07:00
Elliott Hughes
8c108ea7fb am 16ac7c4d: am 1d8c8b6a: am f4ac8ba5: Merge "Fix the x86_64 vfork implementation."
* commit '16ac7c4d97b31483d176b3cc623b66ddb659567f':
  Fix the x86_64 vfork implementation.
2013-10-21 14:30:24 -07:00
Elliott Hughes
829730274d am f1a93bf7: am 8173b001: am ac5d29fe: Merge "Fix the x86_64 clone implementation."
* commit 'f1a93bf7dac6794c1b5e9c1fad6bde805f05b9ce':
  Fix the x86_64 clone implementation.
2013-10-21 14:30:23 -07:00
The Android Automerger
1007923b26 merge in master-release history after reset to master 2013-10-21 07:50:31 -07:00
Elliott Hughes
00b879409a am 68248e2f: am 013afce9: am a5bab412: Merge "Fix struct statfs for LP64."
* commit '68248e2fecb6c18a2962e1705ab5f286f3986567':
  Fix struct statfs for LP64.
2013-10-18 17:42:15 -07:00
Elliott Hughes
e359788dc4 am 7d0204b6: am f7de5d57: am 25269b88: Merge "Fix the time unit tests for systems with 64-bit time_t."
* commit '7d0204b68538bc646b6ab9cfbef99736d8144ddc':
  Fix the time unit tests for systems with 64-bit time_t.
2013-10-18 17:00:27 -07:00
Elliott Hughes
d80dc4c031 am f00e772b: am 63e118b7: am d0402acd: Merge "x86_64: Fix bionic tests build-and-run"
* commit 'f00e772b25e15761e2205c7cdaa4cf2188ab014e':
  x86_64: Fix bionic tests build-and-run
2013-10-18 15:13:31 -07:00
Elliott Hughes
ae2639c857 am ceb6832c: am 7d604133: am e3cc1555: Merge "Fix some test assumptions that are wrong for __LP64__."
* commit 'ceb6832ca071002e040fab5c1aa0718e030dc3b4':
  Fix some test assumptions that are wrong for __LP64__.
2013-10-18 13:39:48 -07:00
Elliott Hughes
1243c04c00 am 2fa423f4: am c54e7b8d: am 79f79c90: Merge "x86_64: Fix sys/stat.h"
* commit '2fa423f49fb70e3ab60eb61e813273e66b757ce6':
  x86_64: Fix sys/stat.h
2013-10-18 13:33:57 -07:00
Elliott Hughes
d9ae60f7db am b13ad7a8: am b956f3ce: am e9797ac6: Merge "Fix clone.S for x86_64."
* commit 'b13ad7a8bee9e45e44fa5aaeb5d523a9029ea0ac':
  Fix clone.S for x86_64.
2013-10-17 23:01:12 -07:00
Elliott Hughes
d3e3b76c18 am 05c33a59: am 0c72ebc9: am 8ea34537: Merge "Add missing aliases for off64_t functions in 64-bit land."
* commit '05c33a59b91578791926bd6aba42aa733b6cc170':
  Add missing aliases for off64_t functions in 64-bit land.
2013-10-17 21:51:41 -07:00
Elliott Hughes
af5973c6bf am 23eeda6a: am 6519d76c: am 88dcfb5e: Merge "Add ffs and memcmp16 to x86_64."
* commit '23eeda6ad95f8b9514ab33da76b99bbf5c520179':
  Add ffs and memcmp16 to x86_64.
2013-10-17 21:41:42 -07:00
Elliott Hughes
1bd510e1d3 am 22cf36af: am 7e12e6af: am 5b191604: Merge "Add SOCK_CLOEXEC and SOCK_NONBLOCK socket flags."
* commit '22cf36af18993e78dbeaaeee9cfa90b975452be2':
  Add SOCK_CLOEXEC and SOCK_NONBLOCK socket flags.
2013-10-17 14:40:43 -07:00
Elliott Hughes
3988d32c06 am 8c4947ee: am 227e95b2: am 70cf2077: Merge "Build the linker with the same -std flags as the rest of bionic."
* commit '8c4947ee7f4f33de477d8de848c8017cbd792e90':
  Build the linker with the same -std flags as the rest of bionic.
2013-10-17 14:40:38 -07:00
Elliott Hughes
f5890f4232 am 26e26439: am f702652e: am 41b87c65: Merge "x86_64: Add R_X86_64_64 relocation handling"
* commit '26e264394917e7b6b5a634125adb1e54ec7bb882':
  x86_64: Add R_X86_64_64 relocation handling
2013-10-17 14:40:35 -07:00
Elliott Hughes
4e92ee5a7b am 1732a8da: am 417c2061: am 922e2af4: Merge "O_CLOEXEC is always defined for arm, mips, x86, and x86_64."
* commit '1732a8da03af9261d7863d7d8a65dd654986d638':
  O_CLOEXEC is always defined for arm, mips, x86, and x86_64.
2013-10-17 14:40:34 -07:00
Elliott Hughes
862f0846d9 am 7efbac17: am 2039949b: am 967cd1bc: Merge "Fix sigaction(3) for 64-bit."
* commit '7efbac17bf8daba5aeea4c0231f3b14f7174dac9':
  Fix sigaction(3) for 64-bit.
2013-10-17 14:40:32 -07:00
The Android Automerger
b0fad18a47 merge in master-release history after reset to master 2013-10-17 07:49:41 -07:00
Ed Heyl
0d96697a3e am 811b0cdb: am be662187: merge in klp-release (no-op)
* commit '811b0cdb2d6e4a697dbc63a678712759dd0db242':
2013-10-16 17:53:05 -07:00
Ben Cheng
e693d8d704 am 2cda6611: am a458b609: am f89f1eaa: Merge "Refresh libc/kernel/common/linux/auxvec.h"
* commit '2cda66116cd0f0c879d5543182379e2c93049d34':
  Refresh libc/kernel/common/linux/auxvec.h
2013-10-16 17:02:38 -07:00
Ben Cheng
5dfc9e6ed1 am a5e5fad4: am 29351c80: am 3fdd6b83: Merge "Add processed uapi kernel headers (common and aarch64-specific)"
* commit 'a5e5fad478c283f65f2c062d9e5d494d53a40e7d':
  Add processed uapi kernel headers (common and aarch64-specific)
2013-10-16 16:40:21 -07:00
Elliott Hughes
b67d55e916 am b2386fed: am 4346bd9f: am bffe261a: Merge "Sort the syscalls.mk files, give all generated files the same header."
* commit 'b2386fed555d63417af9a4db5c4d9d8f3f22441e':
  Sort the syscalls.mk files, give all generated files the same header.
2013-10-16 16:40:21 -07:00
Ben Cheng
aec5325a53 am 2e0b93b0: am 3b1b9f9f: am f0447ddb: Merge "Tweaked the cleanup scripts to handle uapi and aarch64 headers."
* commit '2e0b93b01f6e7634f7e03e3447cd6437525d0d54':
  Tweaked the cleanup scripts to handle uapi and aarch64 headers.
2013-10-16 16:40:19 -07:00
Elliott Hughes
66140615a9 am 6b9321b8: am d6e117b6: am 1f29c2f5: Merge "Switch sigpending over to rt_sigpending."
* commit '6b9321b85875dd8938d0a5064ea3e9fdebe5c623':
  Switch sigpending over to rt_sigpending.
2013-10-16 16:40:18 -07:00
The Android Automerger
43df1da614 merge in master-release history after reset to master 2013-10-16 07:52:56 -07:00
Elliott Hughes
c3130495ae am d5e5a6a3: am 2426cdb6: am 26242bf2: Merge "Remove support for the useless \'custom\' option in SYSCALLS.TXT."
* commit 'd5e5a6a3534884113e2fefcfa23567c592a82cc8':
  Remove support for the useless 'custom' option in SYSCALLS.TXT.
2013-10-15 20:00:23 -07:00
Elliott Hughes
9b22e71143 am afaebc3f: am 87fc78de: am 608c65f6: Merge "Fix sigsuspend to use rt_sigsuspend on all platforms."
* commit 'afaebc3fefe93cbfbaead60212dab7b99bae9d7a':
  Fix sigsuspend to use rt_sigsuspend on all platforms.
2013-10-15 18:22:55 -07:00
Elliott Hughes
819fd92317 am f2a760dc: am a85606e1: am c100a100: Merge "\'Avoid confusing "read prevented write" log messages\' 2."
* commit 'f2a760dca7e728bd6f7942dece1bb6aefe4821ed':
  'Avoid confusing "read prevented write" log messages' 2.
2013-10-15 17:41:01 -07:00
Elliott Hughes
949676ce6c am cbfa1afd: am 0287db52: am d9913b0b: Merge "Make pthread_create report sched_setscheduler failures on LP64."
* commit 'cbfa1afda32e290ddc9c9bea866c27ae93d040d2':
  Make pthread_create report sched_setscheduler failures on LP64.
2013-10-15 17:29:55 -07:00
Christopher Ferris
3cfa519987 am 03ce5171: am fbefb252: Modify prefetch for krait memcpy.
* commit '03ce51717893dde6a56ef19da9cb3c92b1e4927a':
  Modify prefetch for krait memcpy.
2013-10-15 17:29:52 -07:00
Elliott Hughes
4c46b2992b am df17ce78: am 26491483: am 76725214: Merge "Avoid confusing "read prevented write" log messages."
* commit 'df17ce7858f8df22a14412fa18ee5b80fa6b283e':
  Avoid confusing "read prevented write" log messages.
2013-10-15 17:29:51 -07:00
Elliott Hughes
f60c5baf0b am b01ebe6d: am 14e7482c: am d16391bb: Merge "Fix indentation in sched_getaffinity."
* commit 'b01ebe6d4e76cd57dac09e6bdb581f8f964cd75f':
  Fix indentation in sched_getaffinity.
2013-10-15 17:29:50 -07:00
Christopher Ferris
a3ae4f31ab am 289c460c: am ac6bc319: Remove new aligned memcpy path for cortex-a15.
* commit '289c460c55fdf50c03e8711de077d2db67346d9b':
  Remove new aligned memcpy path for cortex-a15.
2013-10-15 17:29:28 -07:00
Christopher Ferris
6e96069a2b am d77ff4f4: am 76d78dc0: am dc9d8d05: Merge "Modify prefetch for krait memcpy."
* commit 'd77ff4f423c5b8235914d67af5b5ff450f8a2f95':
  Modify prefetch for krait memcpy.
2013-10-15 14:22:13 -07:00
Elliott Hughes
1489e03d9f am 4681f824: am 5b3f1d8b: am 22b83da4: Merge "Clean up the sigprocmask/pthread_sigmask implementation."
* commit '4681f8244ee6fd3aec5a5c62e604e2a429d0d00f':
  Clean up the sigprocmask/pthread_sigmask implementation.
2013-10-15 14:18:45 -07:00
Stephen Hines
29f0db2148 am 8161b236: am 4691325d: am abeafbd6: Merge "Wrap sprintf()/snprintf() macros to prevent expansion errors."
* commit '8161b236891de223b0ebe9b76db57147d50a20f5':
  Wrap sprintf()/snprintf() macros to prevent expansion errors.
2013-10-14 10:48:52 -07:00
Stephen Hines
8e378473a3 am 78f6db64: am 36959302: am 8704ada3: Merge "Fix clang warnings in bionic."
* commit '78f6db64fe90e45f1cdb649543feb2d92696802a':
  Fix clang warnings in bionic.
2013-10-14 10:48:51 -07:00
The Android Automerger
8a6f17b931 merge in master-release history after reset to master 2013-10-14 07:50:43 -07:00
Nick Kralevich
197cabe25c am 49bb53c8: am 95de0df8: am eda2679e: Merge "FORTIFY_SOURCE: fortify read()"
* commit '49bb53c8e20ff37a1965ba4af645464ea4b8f8fa':
  FORTIFY_SOURCE: fortify read()
2013-10-10 08:24:00 -07:00
Elliott Hughes
d68e8a310f am 2d38f0c1: am 21d70d5f: am 39385aa7: Merge "Clean up the cpuacct cruft."
* commit '2d38f0c1c7ccb123a9a71dcabeb3650d8f5832b7':
  Clean up the cpuacct cruft.
2013-10-10 08:24:00 -07:00
The Android Automerger
24ca23db0c merge in master-release history after reset to master 2013-10-10 07:50:49 -07:00
Elliott Hughes
6d332afbd9 am 7e049ba4: am 28b8557d: am 92f3cc50: Merge "x86_64: Rename 64-bit linker to linker64"
* commit '7e049ba47039477a16895450e76c4561bf2350f5':
  x86_64: Rename 64-bit linker to linker64
2013-10-09 17:01:46 -07:00
Nick Kralevich
d4a52318ce am b8771d9f: am b35ebe3d: am 848efa9d: Merge "Revert "FORTIFY_SOURCE: fortify read()""
* commit 'b8771d9fd844fd28b6e5e6fe429ef40c097b32a6':
  Revert "FORTIFY_SOURCE: fortify read()"
2013-10-09 16:58:00 -07:00
Elliott Hughes
a72526073a am 41f56e29: am c7559aea: am 777ebe86: Merge "Fix MIPS build."
* commit '41f56e29c789aa563821715e2f3e5b9d83974280':
  Fix MIPS build.
2013-10-09 16:54:42 -07:00
Elliott Hughes
70e47a3f40 am 6b6c5791: am aa3c17e8: am 37953ee3: Merge "Fix build."
* commit '6b6c5791a00ff2b5577e906a070d1d69e8b52f4b':
  Fix build.
2013-10-09 16:43:58 -07:00
Elliott Hughes
fde559b156 am 1cdc9fe6: am 8826ba8a: am bc545e8a: Merge "Fix x86_64 build, clean up intermediate libraries."
* commit '1cdc9fe6d58b477385de0f60725a355de2151706':
  Fix x86_64 build, clean up intermediate libraries.
2013-10-09 16:40:31 -07:00
Nick Kralevich
fb65221ae1 am 45e3076c: am 731ced6b: am c147478c: Merge "FORTIFY_SOURCE: fortify read()"
* commit '45e3076cdc03efe7d37178fbd4366d5632d50cba':
  FORTIFY_SOURCE: fortify read()
2013-10-09 16:36:33 -07:00
Elliott Hughes
c528d938aa am ac045c32: am f83148af: am 0c17099a: Merge "Fix __errno for LP64 and clean up __get_tls."
* commit 'ac045c32d067d61cb48370eaa10118e827ebf586':
  Fix __errno for LP64 and clean up __get_tls.
2013-10-09 13:58:20 -07:00
Elliott Hughes
7ba30bf47b am 7c98d130: am 898fd6a1: am 777a4ee6: Merge "Fix 32-bit build."
* commit '7c98d1304d4c48927027763b998e79d746dfb697':
  Fix 32-bit build.
2013-10-09 09:14:12 -07:00
Elliott Hughes
49c5d5b54e am e17457fb: am 3c13dade: am 14b66bff: Merge "Fix malloc debugging for LP64."
* commit 'e17457fbf5d02ca152692f3da8d10d1243fadb11':
  Fix malloc debugging for LP64.
2013-10-09 09:13:53 -07:00
Elliott Hughes
1ae358cafc am 5ca2f97f: am 5596240c: am 65e1c48d: Merge "Don\'t allow int<->pointer conversions."
* commit '5ca2f97fb6e5a5301813c810104b1ad772b40f85':
  Don't allow int<->pointer conversions.
2013-10-09 09:13:53 -07:00
Elliott Hughes
fb2b056235 am 8cc98f0b: am 54c7ef7f: am 7027841d: Merge "Fix bionic\'s built-in stack trace dumping for LP64."
* commit '8cc98f0b1e15d9668cfb4eaff10f97e465a2fc21':
  Fix bionic's built-in stack trace dumping for LP64.
2013-10-09 09:13:53 -07:00
Elliott Hughes
d81a7d9dad am e769368d: am c8bd2c2e: am 458076c3: Merge "Fix the ALIGN and ALIGNBYTES macros for LP64."
* commit 'e769368d76ce86e1d166d551436204a5821d0849':
  Fix the ALIGN and ALIGNBYTES macros for LP64.
2013-10-09 09:13:04 -07:00
Ed Heyl
dad7a0106c am 53f30951: am f87684ee: merge in KQS81M
* commit '53f30951d3879260f836a1d048d27b6b10e9bd8a':
  Use kernel default for initial thread size
2013-10-09 09:12:02 -07:00
The Android Automerger
a93409e075 merge in master-release history after reset to master 2013-10-09 07:49:40 -07:00
Elliott Hughes
b2dc358f09 am 42b618cf: am 58b8f225: am 5cf1f229: Merge "pthread_exit should call __NR_exit with status 0."
* commit '42b618cffef4b91bd11633c3ee95659d4fc41943':
  pthread_exit should call __NR_exit with status 0.
2013-10-08 17:44:50 -07:00
Elliott Hughes
04ebb5916e am caa0deee: am 97368e82: am 242b2e0b: Merge "Use /system/lib64 and /vendor/lib64 for 64-bit libraries."
* commit 'caa0deeefbac428a048d6987d9ea0a679ca39bb7':
  Use /system/lib64 and /vendor/lib64 for 64-bit libraries.
2013-10-08 17:44:47 -07:00
Elliott Hughes
d57fbcbb0f am 6260fa50: am ee9da565: am 58522099: Merge "Make logging fall back to /dev/stderr if we\'re on the host."
* commit '6260fa5025fa4173700a6db70a244748acc5388a':
  Make logging fall back to /dev/stderr if we're on the host.
2013-10-08 16:02:35 -07:00
Elliott Hughes
b2bd7d764f am 2f2e8b97: am 4a5c4711: am 9c710927: Merge "Use linker64 for the 64-bit linker."
* commit '2f2e8b977835ef2e4686eb5447ac555744a66088':
  Use linker64 for the 64-bit linker.
2013-10-08 11:43:28 -07:00
Elliott Hughes
1c0ea7b84b am 2ad80c46: am 24f4da96: am 3df50f57: Merge "Use C99 structure initializer designator style."
* commit '2ad80c46ba862d99665fd8465c81915c6a53141c':
  Use C99 structure initializer designator style.
2013-10-08 10:13:26 -07:00
Elliott Hughes
726a5017e9 am 5d389a0a: am b1f4f9aa: am 26933f40: Merge "x86_64 linker."
* commit '5d389a0acfca04993e63d984a339d91a31d22f04':
  x86_64 linker.
2013-10-08 10:06:41 -07:00
Elliott Hughes
b0395d3841 am d2e0b1e7: am 83b5acf4: am 5d06718c: Merge "Refactor the syscall generation script."
* commit 'd2e0b1e777377212ca9da0ea6dc88034cd003ca3':
  Refactor the syscall generation script.
2013-10-08 10:02:47 -07:00
Elliott Hughes
a1edbd89f4 am 6c3e26ad: am 64cb7e36: am 0c1379e4: Merge "Fix Clang warning since KernelArgumentBlock is actually a class."
* commit '6c3e26ad3492fa4c0858d519e9bd11eb793c63b3':
  Fix Clang warning since KernelArgumentBlock is actually a class.
2013-10-08 09:21:21 -07:00
The Android Automerger
69d17067f1 merge in master-release history after reset to master 2013-10-08 07:49:29 -07:00
Elliott Hughes
59e5ba8088 am f662660c: am 4501a00b: am d2b6b5f2: Merge "Add an optional alias list to SYSCALLS.TXT"
* commit 'f662660ca30cca565dc6e4db5ec070bdac24ce05':
  Add an optional alias list to SYSCALLS.TXT
2013-10-07 23:09:41 -07:00
Elliott Hughes
7dcfc88302 am 911214d5: am 3fce4015: Upgrade to tzdata2013g.
* commit '911214d582cd0a58d883339ce450867e2aab9282':
  Upgrade to tzdata2013g.
2013-10-07 15:16:19 -07:00
Elliott Hughes
ed49572c04 am af19e09b: resolved conflicts for merge of e1fe52cc to klp-dev-plus-aosp
* commit 'af19e09b02c676e9cda2fae6398e34150fd3567d':
  Upgrade to tzdata2013f.
2013-10-07 15:12:39 -07:00
Elliott Hughes
e296ab8de1 am 46a091f5: resolved conflicts for merge of 21f59276 to klp-dev-plus-aosp
* commit '46a091f5f15b8a5bfae678e324a98443f6c8340f':
  Upgrade to tzdata2013e.
2013-10-07 15:08:15 -07:00
Elliott Hughes
f296aece8f am 5be92401: am 101a6987: am 5d40527a: Merge "libc: fix __cxa_atexit implicit declaration"
* commit '5be92401e991779d99ab74f1577359db6a48d54d':
  libc: fix __cxa_atexit implicit declaration
2013-10-07 11:39:14 -07:00
Elliott Hughes
ba137b98bf am 3fc57ce6: am d8d60a92: am 04cdfa67: Merge "Clean up the x86 and x86_64 _exit_with_stack_teardown implementations."
* commit '3fc57ce6fd6c412d019bd757733c9d4e7bb28d90':
  Clean up the x86 and x86_64 _exit_with_stack_teardown implementations.
2013-10-07 10:54:59 -07:00
Elliott Hughes
a4330dc276 am 4d388c6a: am 019d0f33: am d262e17e: Merge "Don\'t define the meaningless SOFTFLOAT for x86."
* commit '4d388c6a32e920b76ec18203e56b38724f800229':
  Don't define the meaningless SOFTFLOAT for x86.
2013-10-07 10:35:38 -07:00
The Android Automerger
b8832b3a63 merge in master-release history after reset to master 2013-10-07 07:50:50 -07:00
Elliott Hughes
b2018b5025 am 22678c4d: am dd384c3e: am a6e9ae80: Merge "Fix MIPS build."
* commit '22678c4db9cb6e72f1b8ae3e0896cb0a98bb26e9':
  Fix MIPS build.
2013-10-06 22:39:08 -07:00
Elliott Hughes
fd58a7d531 am ddd8a917: am 06ac96d1: am 4e965d95: Merge "libc: Remove deprecated register"
* commit 'ddd8a91729fc3d917134ba6b4ccf7d01303633d5':
  libc: Remove deprecated register
2013-10-06 21:49:04 -07:00
Elliott Hughes
4d34e8d937 am 51bbfd6f: am 8eafc786: am fcfb6822: Merge "Upgrade to tzdata2013g."
* commit '51bbfd6fb20f983fb342ef260b8855d2b9ab98f8':
  Upgrade to tzdata2013g.
2013-10-06 20:06:03 -07:00
Elliott Hughes
42f9e130c4 am 9258c7b2: am b7d77a9e: am 56777421: Merge "Add arch-x86_64/include/machine."
* commit '9258c7b23edbc761bf4a5cec2f57f83574d6aec6':
  Add arch-x86_64/include/machine.
2013-10-04 17:36:58 -07:00
Elliott Hughes
11ef89183e am 12e62b4f: am fb8ce528: am 8fb977ba: Merge "Add arch-x86_64/bionic."
* commit '12e62b4fe73cb9a769e3ef4ef937bb4b7ba6d293':
  Add arch-x86_64/bionic.
2013-10-04 17:35:59 -07:00
Nick Kralevich
5603abb7df am 7909bd19: am 9da8b682: am c417d0a5: Merge "Make error messages even better!"
* commit '7909bd19ab471a087fc802a15ac11cc4e3bdc68e':
  Make error messages even better!
2013-10-04 12:06:07 -07:00
Elliott Hughes
f286749213 am 83b719a8: am c89f1db0: am 7021e438: Merge "x86_64: Remove lseek64 for x86_64 for a while"
* commit '83b719a88e1e816d1eb0279dc9c35f92574fe920':
  x86_64: Remove lseek64 for x86_64 for a while
2013-10-04 12:06:06 -07:00
Elliott Hughes
4dd49d3a8d am bc109ea4: am aa3c74d1: am 57d9cebb: Merge "Remove useless x86 fallbacks."
* commit 'bc109ea47d85f1f1fb40e6fed537d2885ec33e47':
  Remove useless x86 fallbacks.
2013-10-04 12:02:47 -07:00
Elliott Hughes
ce1c699945 am 10ab1ec3: am 82d974c7: am a81fd294: Merge "Fixed ASM_ALIGN macro"
* commit '10ab1ec3193e44181fac4b366662995972716a28':
  Fixed ASM_ALIGN macro
2013-10-04 11:11:20 -07:00
Nick Kralevich
553e53d7c6 am e0a14e75: am ed1f8ea0: am bf452313: Merge "FORTIFY_SOURCE: emphasize prevention in error messages."
* commit 'e0a14e7573892015181b9b7ae9be2ce13a5b3ca8':
  FORTIFY_SOURCE: emphasize prevention in error messages.
2013-10-04 11:11:19 -07:00
Elliott Hughes
14572ce1bc am 9d3b4b48: am 71e0b240: am 41ba05e2: Merge "x86_64: Fix get_tls and statvfs"
* commit '9d3b4b48d87cb1f8a2ab41d3f5c431ce50418f94':
  x86_64: Fix get_tls and statvfs
2013-10-04 11:11:19 -07:00
Elliott Hughes
5c49cd4df3 am be7b6408: am 6d923d49: am 14102932: Merge "Move common arch-* code to arch-common directory"
* commit 'be7b6408b383f4d2ba5a696a3fc64275d11b1c14':
  Move common arch-* code to arch-common directory
2013-10-04 11:11:18 -07:00
Nick Kralevich
8358f7a992 am 2837f830: am 687c7e3e: am e8dc673c: Merge "Don\'t export unnecessary symbol."
* commit '2837f830685bfc52d1a843882bf6d04420213ed5':
  Don't export unnecessary symbol.
2013-10-04 11:09:38 -07:00
Nick Kralevich
fa85e3d7d8 am 6f103689: am 2e819c58: am 2ff3c746: Merge "Check memory size on FD_* functions"
* commit '6f103689268a8f6c6177b9c17d72436776a27b22':
  Check memory size on FD_* functions
2013-10-04 11:09:38 -07:00
Christopher Ferris
781f764799 am 1a086a52: am 270c52da: am 1fe477fc: Merge "Add dependencies on included makefiles."
* commit '1a086a52d30930893bfc6b2826127120f6482bec':
  Add dependencies on included makefiles.
2013-10-03 15:00:46 -07:00
Christopher Ferris
8037096a22 Merge "Add dependencies on included makefiles." 2013-10-03 21:15:51 +00:00
Christopher Ferris
f389284e86 Add dependencies on included makefiles.
Bug: 11050594
Change-Id: I5e6e1965f9c0c493921cf59c974b3bcbaea40c22
2013-10-03 13:33:07 -07:00
Christopher Ferris
4ef13c1069 am bdc610ab: am dc7f8ddc: am 6088047a: Merge "Remove dead files."
* commit 'bdc610aba53feafe130b749c3cbffc36d6a70d1b':
  Remove dead files.
2013-10-03 13:29:50 -07:00
Christopher Ferris
7ffc1db51a Merge "Remove dead files." 2013-10-03 19:34:56 +00:00
Christopher Ferris
48fc3e8b9f Remove dead files.
memcpy.a15.S/strcmp.a15.S files were submitted by ARM for use as the basis
for the memcpy/strcmp implementations in cortex-a15.

memset.S was moved in to the generic directory.

NOTE: memcpy.a9.S was submitted by Linaro to be the basis for the memcpy
for cortex-a9/cortex-a15 but has not been incorporated yet.

Bug: 10971279

Change-Id: Id8d97c888b4b9951cf49e1d94902501960720d56
2013-10-03 11:19:40 -07:00
The Android Automerger
35c52e7503 merge in master-release history after reset to master 2013-10-03 07:50:22 -07:00
Christopher Ferris
9b9787bbdd am de7ed18d: am 0292c1c8: am 3901b1bd: Merge "Remove the __ARM_FEATURE_DSP check."
* commit 'de7ed18df0f22e1b91bc16072956af8a0d9abaa3':
  Remove the __ARM_FEATURE_DSP check.
2013-10-02 23:29:47 -07:00
Christopher Ferris
23517fb8f3 Merge "Remove the __ARM_FEATURE_DSP check." 2013-10-03 06:11:36 +00:00
Elliott Hughes
9f379b3d84 am fa9fb5cb: am 2a3d760e: am 00a816e5: Merge "Fix 32-bit issues in tests, and add a trivial test for the FD_* macros."
* commit 'fa9fb5cb01986ac77ea4f7c54b2f419ac47989d3':
  Fix 32-bit issues in tests, and add a trivial test for the FD_* macros.
2013-10-02 21:06:26 -07:00
Elliott Hughes
306bc829c7 am b8b8b6dc: am 14d5e22f: am 66b18dd4: Merge "Fix the x86_64 fenv.h."
* commit 'b8b8b6dc2e602b153837a85ebc59814ecfbed018':
  Fix the x86_64 fenv.h.
2013-10-02 20:53:38 -07:00
Nick Kralevich
4551a6e643 am 670f3724: am b6201932: am 2c701a1b: Merge "libc: don\'t export unnecessary symbols"
* commit '670f372470cc6f885fd035495b14b8890763f665':
  libc: don't export unnecessary symbols
2013-10-02 20:28:01 -07:00
Christopher Ferris
d2642fa70c Remove the __ARM_FEATURE_DSP check.
The check for __ARM_FEATURE_DSP being defined is pointless since it
is always defined.

Bug: 10971279

Change-Id: Id3f709cf9fd0e5a001be1a7dab5f249bcc16fe4c
2013-10-02 17:05:00 -07:00
Nick Kralevich
6166d30386 am 56343733: am 8598cd68: am f741e1c2: Merge "FORTIFY_SOURCE: Add __FD_* checks"
* commit '5634373320d7dac30fa68feeb4d3b883566461ac':
  FORTIFY_SOURCE: Add __FD_* checks
2013-10-02 16:35:44 -07:00
Stephen Hines
689d0ed781 am a6d4acc9: am 1986d369: am 32c0c6e7: Merge "Use gnu++11 and gnu99 explicitly for C++/C files."
* commit 'a6d4acc9f957a1d079e646a3bb6ee4a6504b6220':
  Use gnu++11 and gnu99 explicitly for C++/C files.
2013-10-02 15:25:27 -07:00
Nick Kralevich
e1bcd57469 am 944ce989: am f7da611b: am 00d51c9f: Merge "Use alloc_size attribute on *alloc functions"
* commit '944ce989f8d9c4fa1c8211ac5aa46693346e1fe0':
  Use alloc_size attribute on *alloc functions
2013-10-02 14:41:52 -07:00
Elliott Hughes
ade1e9d268 am a0a5a501: am 2e2a4f97: am 4bbf3a8b: Merge "Remove #define _BITSIZE 32."
* commit 'a0a5a5015210585abc426a79e51b8cb70e28569d':
  Remove #define _BITSIZE 32.
2013-10-02 10:11:46 -07:00
Stephen Hines
f32a5dc7b1 am 9218adc3: am 62f95981: am 70e1730c: Merge "Remove _FORTIFY_SOURCE in implementation files."
* commit '9218adc3909ee4d549526bba546203c8e1a16344':
  Remove _FORTIFY_SOURCE in implementation files.
2013-10-02 09:39:15 -07:00
Stephen Hines
3db26e87e7 am 95fa8962: am dcffa999: am e0e6409c: Merge "Add simple implementation _Unwind_GetIP() for clang compiles."
* commit '95fa896206b82f2d8c2c26681511caf5d6c896f6':
  Add simple implementation _Unwind_GetIP() for clang compiles.
2013-10-02 09:39:14 -07:00
Elliott Hughes
5a072ecfb9 am 5cf3b4bd: am a8f4e905: am e26135ab: Merge "The x86_64 kernel headers are the x86 kernel headers."
* commit '5cf3b4bd34c86be6e2dc5197d8b9f503a5faf37d':
  The x86_64 kernel headers are the x86 kernel headers.
2013-10-02 08:59:02 -07:00
The Android Automerger
6939f79e0b merge in master-release history after reset to master 2013-10-02 07:49:54 -07:00
Elliott Hughes
78a44901e9 am 14cf7286: am f0470422: am 9461e9fa: Merge "Add missing backslash in MIPS filelist"
* commit '14cf72860fbc74408db42ef9d85832c450dacf27':
  Add missing backslash in MIPS filelist
2013-10-01 20:59:45 -07:00
Elliott Hughes
4b6f785fa9 am b1b8babb: am c7e8e990: am 5e244a9b: Merge "Fix libm build for x86_64."
* commit 'b1b8babbbb672086a7678741e8769303a2814bca':
  Fix libm build for x86_64.
2013-10-01 20:59:43 -07:00
Elliott Hughes
0683b376ed am 7cb6933c: am 8a50d0c0: am bcc2bd3b: Merge "x86_64: libm fixes"
* commit '7cb6933c0dc87b147100895a77d2743370321976':
  x86_64: libm fixes
2013-10-01 20:59:42 -07:00
Elliott Hughes
7a7c2c5581 am a1de7e50: am f1c534ce: am 6892a29b: Merge "Remove more assumptions that pointers are 32-bit."
* commit 'a1de7e503355eda6910eaea1c06a2c1080d48dff':
  Remove more assumptions that pointers are 32-bit.
2013-10-01 20:59:42 -07:00
Elliott Hughes
8e56d742ff am c1cd0f74: am f43f8aa8: am b2acd5de: Merge "x86_64: Update Makefiles for x86_64 targets and add symlinks"
* commit 'c1cd0f74c93fe00563f117c8029bc8b95c5b823e':
  x86_64: Update Makefiles for x86_64 targets and add symlinks
2013-10-01 20:59:40 -07:00
Elliott Hughes
5f539b16bb am 211fd4f9: am 24e1dd80: am 4eaa1e1e: Merge "x86_64: add new __NR_arch_prctl syscall"
* commit '211fd4f963978f355494100c7038e1b5116d3fce':
  x86_64: add new __NR_arch_prctl syscall
2013-10-01 20:59:36 -07:00
Elliott Hughes
cff436553c am 35336777: am 67e0214d: am 232dff3a: Merge "Regenerate the system call stubs (to get x86_64)."
* commit '35336777f1115ead63559d2ce91cc9c9481cb0c8':
  Regenerate the system call stubs (to get x86_64).
2013-10-01 20:59:35 -07:00
Elliott Hughes
a5090f0ae0 am 1e998861: am c58d08d6: am 475e8dde: Merge "x86_64: Add x86_64 syscalls and tune gen scripts for x86_64"
* commit '1e9988617234fc504c72f26e13cf0c8d598fb85b':
  x86_64: Add x86_64 syscalls and tune gen scripts for x86_64
2013-10-01 20:59:34 -07:00
Elliott Hughes
fd78965e84 am a08be021: am 57e55fe3: am fd152c31: Merge "Clean up some comments."
* commit 'a08be021ccaf81bcbc53553c2f822730124c3d5e':
  Clean up some comments.
2013-10-01 20:59:34 -07:00
Elliott Hughes
3bd92e83ad am d4e69610: am 1a46de67: am f281fd02: Merge "Better statfs/fstatfs glibc compatibility."
* commit 'd4e6961041942c6c01e6205db7d81368b39a4d1e':
  Better statfs/fstatfs glibc compatibility.
2013-10-01 20:59:28 -07:00
Elliott Hughes
a8354c16ef am 58413fe7: am 4b5a0e1a: am 693bd73f: Merge "Remove 32-bit assumptions from the ELF code."
* commit '58413fe73561e8f230092a2b83db64e58fcb061d':
  Remove 32-bit assumptions from the ELF code.
2013-10-01 20:59:28 -07:00
Elliott Hughes
b3a045c79e am 6c8dc464: am 28317d3a: am f5ea738b: Merge "Fix x86 build."
* commit '6c8dc464068816986278d152a7c39d477924b360':
  Fix x86 build.
2013-10-01 18:46:33 -07:00
Elliott Hughes
8182c3ee60 am 5d641bcf: am f5dcdfc4: am 6dee3b9a: Merge "Add x86_64 to the bionic headers."
* commit '5d641bcf70d36caa22ff2c7d3e3f252abf541bed':
  Add x86_64 to the bionic headers.
2013-10-01 18:46:32 -07:00
Elliott Hughes
e770243df2 am b2775090: am 34284954: am 76218efb: Merge "Fix inttypes.h and stdint.h for 64-bit (and C++11)."
* commit 'b27750909579926ad8154218b53f4d1765db7d28':
  Fix inttypes.h and stdint.h for 64-bit (and C++11).
2013-10-01 18:45:53 -07:00
Christopher Ferris
081f6762e4 am a59e16ba: am 34c2a9fc: Move stack unwinding test into library.
* commit 'a59e16bac971db7bb8e65e63d90e895bf4731747':
2013-10-01 18:45:50 -07:00
The Android Automerger
243312ab0e merge in master-release history after reset to master 2013-10-01 07:49:34 -07:00
Christopher Ferris
704ec47d42 am 34c2a9fc: Move stack unwinding test into library.
* commit '34c2a9fc37848d446bf91ce61783884232fffeb1':
  Move stack unwinding test into library.
2013-09-30 14:01:03 -07:00
The Android Automerger
aa4a72601e merge in master-release history after reset to master 2013-09-30 07:49:29 -07:00
Christopher Ferris
b915074f27 am 427e8cf9: Fix line that got removed by merge.
* commit '427e8cf90248f7da0a789fb3b4fb9a859c19aacd':
  Fix line that got removed by merge.
2013-09-29 22:40:36 -07:00
Elliott Hughes
0fbac2729b am 967a6d37: am ef8eb557: am 4d016c6a: Merge "Upgrade to tzcode2013f plus Android modifications (from tzcode2013d plus Android modifications)."
* commit '967a6d37681a006a0be588f83a81b12e79d85f8f':
  Upgrade to tzcode2013f plus Android modifications (from tzcode2013d plus Android modifications).
2013-09-27 15:47:41 -07:00
Nick Kralevich
3f836f85af am cadc6aaf: am f56e0e4b: am 6aed6077: Merge "Fix unnecessary call to __strncpy_chk2"
* commit 'cadc6aaf41e29ffcca0e4b801ffa294e6cea968e':
  Fix unnecessary call to __strncpy_chk2
2013-09-27 15:20:56 -07:00
Christopher Ferris
f14d71fcf7 Fix line that got removed by merge.
Change-Id: I8c1f3624b52161893d1e04f0a156df613f90e39d
2013-09-27 14:18:36 -07:00
Conley Owens
8612b4e453 am e83a7806: resolved conflicts for merge of f4af9110 to klp-dev-plus-aosp
* commit 'e83a780600eda88d351fda590079265bcc0d1f56':
  Create bionic unit test library for use with CTS.
2013-09-27 13:27:49 -07:00
Nick Kralevich
127ac6f86a am 9a622f87: am cc362291: am 8427b745: Merge "libc: fortify recvfrom()"
* commit '9a622f874ceb90431623af140ca9a78eadc96dcb':
  libc: fortify recvfrom()
2013-09-27 09:12:53 -07:00
Elliott Hughes
5bdd121b79 am b1542b09: am 174e98c9: am ad1244b2: Merge "Upgrade to tzdata2013f."
* commit 'b1542b09d95556bd2d7d91c2deba6cf753fdbbb2':
  Upgrade to tzdata2013f.
2013-09-26 23:36:34 -07:00
Elliott Hughes
223c9f7714 am 1b709a94: am 3b7d4697: am abd4b254: Merge "Upgrade to tzdata2013e."
* commit '1b709a946f22e9465afd49068e4390b7be719e8b':
  Upgrade to tzdata2013e.
2013-09-26 23:27:03 -07:00
Christopher Ferris
781e272e46 am 6c4ef747: am 7bfef355: Change hard-coded directory.
* commit '6c4ef747579126ec971239f4e9dc2ff5492c20cd':
  Change hard-coded directory.
2013-09-26 14:42:34 -07:00
Christopher Ferris
c2095e1b64 am 9018a0f4: am 6d1f85dc: Change hard-coded temporary directory.
* commit '9018a0f4626814d4f1023a9107969be108966513':
  Change hard-coded temporary directory.
2013-09-26 14:42:34 -07:00
Elliott Hughes
7a8dc483bc am 5825f979: am 88f29444: am 7b538021: Merge "Make it easier to add syscalls for another architecture."
* commit '5825f979b726ea18b98994561280b5cbb8426b51':
  Make it easier to add syscalls for another architecture.
2013-09-26 09:04:22 -07:00
Elliott Hughes
24338ffa29 am fcdb47d7: am dbd4dbc0: am a1c1a334: Merge "Add a unit test for %n."
* commit 'fcdb47d7f5f859e04e9f4d88006e5595a9acf647':
  Add a unit test for %n.
2013-09-26 07:51:11 -07:00
The Android Automerger
84480f99dc merge in master-release history after reset to master 2013-09-26 07:49:55 -07:00
Michael Wright
57470c937c am 18c2cc68: am 92d512f6: am c612a133: Merge "Update capability.h"
* commit '18c2cc68e8ddd3c2a2769b3c06336606b5ed1f6a':
  Update capability.h
2013-09-25 16:50:20 -07:00
The Android Automerger
5d83ffb3bc merge in master-release history after reset to master 2013-09-25 07:49:46 -07:00
Elliott Hughes
eec5b5dae2 am 67e34826: am 3c49c6ec: am 759111ca: Merge "Simplify the SYSCALLS.TXT format."
* commit '67e34826d8dfe02cb61bc282f1e49e860b50e395':
  Simplify the SYSCALLS.TXT format.
2013-09-24 11:34:52 -07:00
Elliott Hughes
0f0b5ec9e2 am 2f81ac84: am 4808f052: am c8d98679: Merge "Update taskstats.h from Linux 3.11.1"
* commit '2f81ac8443d20fbd7b3ce694b6eca8bc246a0f59':
  Update taskstats.h from Linux 3.11.1
2013-09-24 10:26:29 -07:00
The Android Automerger
c029314822 merge in master-release history after reset to master 2013-09-24 07:49:18 -07:00
Elliott Hughes
cdf086eabb am a663ebd4: am f8222078: am 43e5badd: Merge "Fix %hhd formats in the printf family."
* commit 'a663ebd468b99981b07c1b0dca9aaa5da2cd8d50':
  Fix %hhd formats in the printf family.
2013-09-23 16:42:33 -07:00
Elliott Hughes
c1aa5c0e16 am 4988ec89: am b9f3d31c: am fc2ceae7: Merge "Remove two -D flags for unused macros."
* commit '4988ec89dbfa0a0387acb54603407e99dd466e66':
  Remove two -D flags for unused macros.
2013-09-23 11:24:10 -07:00
The Android Automerger
746f4e9710 merge in master-release history after reset to master 2013-09-23 07:50:06 -07:00
Christopher Ferris
8ae9208f63 am b835cec3: am 63e4644e: am c2de11d3: Merge "__memcpy_chk: Fix signed cmp of unsigned values."
* commit 'b835cec3729d721fffa52546a356264f56df0a5e':
  __memcpy_chk: Fix signed cmp of unsigned values.
2013-09-20 20:46:24 -07:00
Christopher Ferris
2b205bc880 am f67d11b2: am 8da175c8: (-s ours) am ad999b60: Merge "Fix all debug directives."
* commit 'f67d11b2b4830903e4073da982dab92d3143c1ec':
  Fix all debug directives.
2013-09-20 20:07:56 -07:00
Christopher Ferris
7f655b45a1 am 74f7414d: am 768c576d: (-s ours) am 7493568b: Merge "Update all debug directives."
* commit '74f7414d303b50a5c61336434bdfbd262ce91879':
  Update all debug directives.
2013-09-20 19:41:46 -07:00
Nick Kralevich
7af9debdbc am df3ff452: am 5a58a1e0: am bef76b54: Merge "Add linux/sock_diag.h"
* commit 'df3ff45216413cdf4ff8f591d64c480ada534fa2':
  Add linux/sock_diag.h
2013-09-20 11:22:02 -07:00
Elliott Hughes
b36e2e38b1 am e74f77f9: am 48a909c9: am aad3c52e: Merge "Ensure we have the off64_t variant of every function that takes an off_t."
* commit 'e74f77f92d80f11616da699ac908fd5d1913e996':
  Ensure we have the off64_t variant of every function that takes an off_t.
2013-09-20 11:20:55 -07:00
Elliott Hughes
f4e3e21d82 am a5a508a9: am 35cfcc11: am f8e71bac: Merge "Add mmap64()"
* commit 'a5a508a9b6c51259950bab3e628355632ad17fee':
  Add mmap64()
2013-09-20 09:58:54 -07:00
Elliott Hughes
bc42ecb041 am 1b75f3e0: am fd5f6f19: am d5ddf40e: Merge "Fix host tests that need the shell."
* commit '1b75f3e07a8d20f45aa8a78578f294ac499529d0':
  Fix host tests that need the shell.
2013-09-20 09:58:03 -07:00
Elliott Hughes
1b56231c11 am 44fd0d92: am 94c325fb: am 269851bf: Merge "Declare __page_shift and __page_size with C linkage."
* commit '44fd0d92d6e65d0d003103d402240d28d26ae639':
  Declare __page_shift and __page_size with C linkage.
2013-09-20 09:58:02 -07:00
Elliott Hughes
35006b5223 am a3285dc9: am 8ff879a5: am a259472c: Merge "Fix mismatch between declaration and forward declaration"
* commit 'a3285dc9143a8175ff82bf1074720d04bed81faa':
  Fix mismatch between declaration and forward declaration
2013-09-20 09:58:00 -07:00
Elliott Hughes
e7fd29e3db am 823a4e0a: am 26e71c19: am 045f311b: Merge "Use and to find the tzdata."
* commit '823a4e0a7eab7859611189630d7748c254981ebf':
  Use $ANDROID_DATA and $ANDROID_ROOT to find the tzdata.
2013-09-20 09:57:48 -07:00
The Android Automerger
b5e0f2a3e3 merge in master-release history after reset to master 2013-09-19 07:49:55 -07:00
Nick Kralevich
9e71b5f676 am d85d0b4c: am 0c12f125: am 814bbd52: Merge "Update netlink.h from tip-of-tree external/kernel-headers"
* commit 'd85d0b4c2398dba3da126608c9fb79f6971a7b18':
  Update netlink.h from tip-of-tree external/kernel-headers
2013-09-18 21:12:54 -07:00
Elliott Hughes
89186cd219 am ca0f0662: am 2443358b: am 4a509d89: Merge "Add bionic-unit-tests-run-on-host special target"
* commit 'ca0f0662f42a5debe8469e1a9b06ebffb6e492aa':
  Add bionic-unit-tests-run-on-host special target
2013-09-18 19:22:09 -07:00
The Android Automerger
10c1f0d443 merge in master-release history after reset to master 2013-09-16 07:50:50 -07:00
Elliott Hughes
b301042da4 am 56326d14: am e0d1d4cf: am 6ebc24fc: am d3f9e815: resolved conflicts for merge of 5d0ad38c to jb-mr2-dev
* commit '56326d14b579b2db23f0479d3613071a53f129b5':
  Upgrade pre-jb-mr2 releases to tzdata2013d.
2013-09-13 17:18:12 -07:00
Brian Carlstrom
58b2992b49 am 4105fcdb: am 059f5c3f: am 8512992f: Merge "Simplify main thread stack size initialization"
* commit '4105fcdb3cbc820ec560740f02f3061d30e42419':
  Simplify main thread stack size initialization
2013-09-13 17:07:17 -07:00
Brian Carlstrom
f7c48a98d6 am d0628066: am 5f0b5108: am 850f59d8: Merge "Use kernel default for initial thread size"
* commit 'd06280669994e63bba292a6bed5f6f54367d23a7':
  Use kernel default for initial thread size
2013-09-13 17:07:16 -07:00
Brian Carlstrom
9d73b37f99 am 0890436d: am 9a74e36f: Use kernel default for initial thread size
* commit '0890436da9ad6e9281f507d515a4158f241c3bd1':
  Use kernel default for initial thread size
2013-09-13 13:27:03 -07:00
The Android Automerger
54aacf6b95 merge in master-release history after reset to master 2013-09-11 07:49:15 -07:00
Christopher Ferris
3d6871279c am 2e7a8b44: resolved conflicts for merge of 883ef249 to klp-dev-plus-aosp
* commit '2e7a8b44c2691770e917efcca80bc2650d93efaa':
  __memcpy_chk: Fix signed cmp of unsigned values.
2013-09-10 19:57:41 -07:00
The Android Automerger
81b37104e6 merge in master-release history after reset to master 2013-09-06 11:30:03 -07:00
Christopher Ferris
93f204f760 am 5cb04369: am 1a88ca08: am 98c726ec: Merge "Add the dl_iterate_phdr function to libdl for arm."
* commit '5cb04369309856f2d2960fe3fbd517ce4e403605':
  Add the dl_iterate_phdr function to libdl for arm.
2013-09-06 10:59:53 -07:00
Christopher Ferris
cb491bc66d Add the dl_iterate_phdr function to libdl for arm.
Bug: 8410085
Change-Id: I94ed51bc5d4c626df7552c0e85c31ccee2d6568f
2013-09-05 15:08:22 -07:00
Elliott Hughes
6c74b8e05b am a015800e: am 5d094c40: am df7436e7: Merge "Avoid segfaults if properties are not initialized"
* commit 'a015800e731b3cc9a8c76d80d2a9f9eb451bf19f':
  Avoid segfaults if properties are not initialized
2013-09-03 14:16:16 -07:00
Elliott Hughes
82ae97f523 am eb31e1c5: am 1e96d49a: am afa31042: Merge "Fix strchr for basic non-sse case on x86"
* commit 'eb31e1c558766315201907171ebd72ca4eaaeb7c':
  Fix strchr for basic non-sse case on x86
2013-09-03 14:09:23 -07:00
Christopher Ferris
c3676c62cd am 153ec2a7: am 49c0d471: Merge "Fix all debug directives." into klp-dev
* commit '153ec2a76f539902cc84a15b6737bf3ce9243f30':
  Fix all debug directives.
2013-08-29 14:24:11 -07:00
Christopher Ferris
13595433c2 am 7a809829: am fc24bc25: am 99b859cf: Merge "Move stack unwinding test into library."
* commit '7a809829136457bb884e54cce6d1ec29223970c2':
  Move stack unwinding test into library.
2013-08-29 14:20:41 -07:00
Nick Kralevich
d484054765 am 4d0fbf9b: am 89dcc10c: am 4e3ed44d: Merge "cdefs.h: introduce __bos0"
* commit '4d0fbf9b0742e6c98af708641c2cb4318082bce7':
  cdefs.h: introduce __bos0
2013-08-28 14:48:16 -07:00
Nick Kralevich
f135c2c44a am 2c87c3ff: am cfd0d72d: am eb8f3622: Merge "FORTIFY_SOURCE: introduce __strncpy_chk2"
* commit '2c87c3ff021571e82684a865609a1146830338fb':
  FORTIFY_SOURCE: introduce __strncpy_chk2
2013-08-28 14:07:10 -07:00
Christopher Ferris
8501fa38d7 am 7c8ebaf6: am d923b307: am 2557433d: Merge "Change hard-coded directory."
* commit '7c8ebaf6c17c11854ae394ac7fa45c51489de75a':
  Change hard-coded directory.
2013-08-27 17:43:41 -07:00
Christopher Ferris
ef17f8dda6 am 3825da5c: am 7a2c2784: am 1f216e30: Merge "Create bionic unit test library for use with CTS."
* commit '3825da5c0734215d179ce613681322fb5be3bfbe':
  Create bionic unit test library for use with CTS.
2013-08-27 17:25:10 -07:00
Nick Kralevich
259de5897b am f6186e95: am 1278ae38: am 22f5ef6b: Merge "Delete CAVEATS / fix spelling."
* commit 'f6186e95929b8da3d90057648475301bf6ee03d2':
  Delete CAVEATS / fix spelling.
2013-08-27 17:15:36 -07:00
Brian Carlstrom
61a5be7574 am 112ad6bf: am 6ab75bf4: Merge "Fix pthread_getcpuclockid." into klp-dev
* commit '112ad6bf2183ba105b4f4c2b7eba58066a3312d7':
  Fix pthread_getcpuclockid.
2013-08-26 15:17:06 -07:00
Robert Greenwalt
76d93d6002 am cd1480a6: am 26ac8032: Merge "Change how DNS resolver handle no default iface" into klp-dev
* commit 'cd1480a6622de1043645093b29beee43e0671048':
  Change how DNS resolver handle no default iface
2013-08-26 15:17:05 -07:00
Elliott Hughes
3dbb077c5a am bda15698: am d23ef69a: am 33dd7c11: Merge "Add explicit -m32/-melf_i386 for x86 target"
* commit 'bda15698bc59ba307f5faabf7efd22ae9ecac136':
  Add explicit -m32/-melf_i386 for x86 target
2013-08-26 10:13:20 -07:00
Robert Greenwalt
8b1cc6ceb8 am e5911f31: resolved conflicts for merge of 937c3742 to klp-dev-plus-aosp
* commit 'e5911f31286179c1e4dc9bb2691e5098c6e3d20e':
  Change how DNS resolver handle no default iface
2013-08-24 08:25:39 -07:00
Elliott Hughes
aa3defdecb am 9fd0cf81: am 345eb225: Apply upstream commit 943a6621866e9d6e654f5cfe1494378c1fb8957a.
* commit '9fd0cf81702d083b39a839b07ad75d2ff0ac277d':
  Apply upstream commit 943a6621866e9d6e654f5cfe1494378c1fb8957a.
2013-08-22 14:36:54 -07:00
Elliott Hughes
b58a14df12 am 2d38fced: am 7003a14b: am 41f08abf: Merge "Apply upstream commit 943a6621866e9d6e654f5cfe1494378c1fb8957a."
* commit '2d38fced00a873da8077a5193b2d5ef8603dcc66':
  Apply upstream commit 943a6621866e9d6e654f5cfe1494378c1fb8957a.
2013-08-22 14:36:54 -07:00
Elliott Hughes
51edfd4701 am 5cf93f8d: am f0c10a4a: Work around tzcode\'s reliance on signed overflow.
* commit '5cf93f8d91be8e7e1654d7eee5966d6da5d6fe85':
  Work around tzcode's reliance on signed overflow.
2013-08-22 12:39:55 -07:00
Elliott Hughes
617368d07d am 6b5eb313: am e5ac43e1: am c44205cf: Merge "Work around tzcode\'s reliance on signed overflow."
* commit '6b5eb3134adb3d08c0803228ce79d3a5b14d4fac':
  Work around tzcode's reliance on signed overflow.
2013-08-22 12:30:08 -07:00
Brian Carlstrom
8718496e46 am 91df2dd3: am b6cd9cec: am bb34907f: Merge "Make mips_relocate_got tolerate a missing got"
* commit '91df2dd346b1adad48249dc984e102517bd3e2fb':
  Make mips_relocate_got tolerate a missing got
2013-08-21 10:33:06 -07:00
Brian Carlstrom
1714e372df am baebc648: am 9ef1fbb6: Make mips_relocate_got tolerate a missing got
* commit 'baebc6489a2a18a1a406ddea2fd5d228229cb532':
  Make mips_relocate_got tolerate a missing got
2013-08-21 10:33:05 -07:00
Christopher Ferris
ad73d4d9de am 1ebb4401: am 5f7ccea3: Update all debug directives.
* commit '1ebb44013c4d585ca720f391641351eab4bb832f':
  Update all debug directives.
2013-08-20 13:25:50 -07:00
Christopher Ferris
c3867e1fb7 am 2389a267: am c058154b: am c8039337: Merge "Change hard-coded temporary directory."
* commit '2389a26705a600e69c8c0b24a02bc05522bc68d1':
  Change hard-coded temporary directory.
2013-08-16 12:29:43 -07:00
Elliott Hughes
f2046ab3f2 am e714eb15: am 6b6aaec8: am 4eacb341: Merge "Fix pthread_getcpuclockid."
* commit 'e714eb157ea92f3166b6292ed54138f3e092d5da':
  Fix pthread_getcpuclockid.
2013-08-16 12:29:43 -07:00
Christopher Ferris
831b91eab8 am 4ff3ec05: am 2e544837: Merge commit \'cf052994\' into manualmerge
* commit '4ff3ec05dfbec3029b5656868b643f812bec2853':
  Create optimized __strcpy_chk/__strcat_chk.
2013-08-16 12:26:03 -07:00
Christopher Ferris
d48e0bd084 am b25b2760: (-s ours) am 11855d47: (-s ours) am c5cf5370: (-s ours) Merge "Optimize __memset_chk, __memcpy_chk. DO NOT MERGE."
* commit 'b25b2760313d1abd123bf99a3c449600c8c76731':
  Optimize __memset_chk, __memcpy_chk. DO NOT MERGE.
2013-08-15 11:19:52 -07:00
Brian Carlstrom
51acd5c116 am 26c755b2: am 0f14e8d5: am c85e0dbb: Merge "Add more information to error due to truncated Elf32_Ehdr"
* commit '26c755b25644eed0ee044d312af46fe808e8632a':
  Add more information to error due to truncated Elf32_Ehdr
2013-08-14 15:59:20 -07:00
The Android Open Source Project
8a41a44843 am 243ae9f4: (-s ours) Reconcile with klp-release - do not merge
* commit '243ae9f4618e6697ed745e4ec75a53fadef3bc3f':
  bionic: replace 4K property pages with 32K property pages
2013-08-14 14:13:53 -07:00
Michael Wright
4581515290 am a71f676b: am 7b197ea1: am 5e4a2f31: Merge "Update kernel input headers"
* commit 'a71f676b474ff78d69b1edc514fafea58919e5fb':
  Update kernel input headers
2013-08-14 13:52:13 -07:00
Christopher Ferris
509e584552 am 3f78cb42: am f0c3d909: Create optimized __strcpy_chk/__strcat_chk.
* commit '3f78cb428eb51c8813ccbfaa4716682a0e41537e':
  Create optimized __strcpy_chk/__strcat_chk.
2013-08-14 08:16:20 -07:00
Christopher Ferris
6e118609ec Merge "Create optimized __strcpy_chk/__strcat_chk." 2013-08-14 03:34:27 +00:00
Christopher Ferris
2be91915dc Create optimized __strcpy_chk/__strcat_chk.
This change pulls the memcpy code out into a new file so that the
__strcpy_chk and __strcat_chk can use it with an include.

The new versions of the two chk functions uses assembly versions
of strlen and memcpy to implement this check. This allows near
parity with the assembly versions of strcpy/strcat. It also means that
as memcpy implementations get faster, so do the chk functions.

Other included changes:
- Change all of the assembly labels to local labels. The other labels
  confuse gdb and mess up backtracing.
- Add .cfi_startproc and .cfi_endproc directives so that gdb is not
  confused when falling through from one function to another.
- Change all functions to use cfi directives since they are more powerful.
- Move the memcpy_chk fail code outside of the memcpy function definition
  so that backtraces work properly.
- Preserve lr before the calls to __fortify_chk_fail so that the backtrace
  actually works.

Testing:

- Ran the bionic unit tests. Verified all error messages in logs are set
  correctly.
- Ran libc_test, replacing strcpy with __strcpy_chk and replacing
  strcat with __strcat_chk.
- Ran the debugger on nexus10, nexus4, and old nexus7. Verified that the
  backtrace is correct for all fortify check failures. Also verify that
  when falling through from __memcpy_chk to memcpy that the backtrace is
  still correct. Also verified the same for __memset_chk and bzero.
  Verified the two different paths in the cortex-a9 memset routine that
  save variables to the stack still show the backtrace properly.

Bug: 9293744
Change-Id: Id5aec8c3cb14101d91bd125eaf3770c9c8aa3f57
2013-08-13 18:05:33 -07:00
Elliott Hughes
5ba3c7000a am d861b6cb: am 3912f90e: Make ctype.h a little less unhygienic.
* commit 'd861b6cbdf965186e6e85c7973c1eeddd083fc0e':
  Make ctype.h a little less unhygienic.
2013-08-13 14:51:03 -07:00
Elliott Hughes
3cd7f4897f am 34cd4998: am fd61eccf: am ff9b7aa6: Merge "Make ctype.h a little less unhygienic."
* commit '34cd499875a266f6d2a58dcc85c8b7bb15525428':
  Make ctype.h a little less unhygienic.
2013-08-13 14:47:41 -07:00
Elliott Hughes
7a15aaa379 am 0d5745fe: am 5951e846: Fix our missing abs/labs/llabs/imaxabs (and imaxdiv) symbols.
* commit '0d5745fe8aedf46fa7e8aafc6c2beeae1ef59712':
  Fix our missing abs/labs/llabs/imaxabs (and imaxdiv) symbols.
2013-08-13 14:47:40 -07:00
Elliott Hughes
6539da0f25 am c1772397: am ff8dcd4a: am c933493a: Merge "Fix our missing abs/labs/llabs/imaxabs (and imaxdiv) symbols."
* commit 'c1772397f96e82e142dd082da4747824e7c8a839':
  Fix our missing abs/labs/llabs/imaxabs (and imaxdiv) symbols.
2013-08-12 15:52:02 -07:00
Elliott Hughes
70e5758f5c am 2a5d2e98: am 9e9d1e01: resolved conflicts for merge of 86125aca to klp-dev
* commit '2a5d2e98f9ffbddf37d8d57ed3028c3c8349e351':
2013-08-09 06:07:11 -07:00
Elliott Hughes
a7fc5bde71 am 598f3e9c: Merge "resolved conflicts for merge of dce94165 to klp-dev-plus-aosp" into klp-dev-plus-aosp
* commit '598f3e9c4a48a4f4cbae6fb163f378d9fd1e6321':
  Add futimens.
2013-08-09 06:07:10 -07:00
Elliott Hughes
8e6855e0a8 am 14ec1b58: am ceb670cf: Merge branch \'klp-dev\' of https://googleplex-android.googlesource.com/_direct/platform/bionic into klp-dev
* commit '14ec1b58869362f07ffdf7495cbba2f746da7b77':
  Add futimens.
2013-08-09 06:07:04 -07:00
Christopher Ferris
fe94d1f0a8 am a07a9556: (-s ours) am 1036cd79: am 6beb3ea6: (-s ours) am d7d5049d: (-s ours) am 632fd518: (-s ours) Merge "Fix strcpy.c that should have been strcpy.S. DO NOT MERGE"
* commit 'a07a9556663db4dcf7924dd50a91dd6d5f3e266c':
2013-08-09 06:07:03 -07:00
Christopher Ferris
7e8a18960c am 0a7e61d4: (-s ours) am 5ec2ab68: am 21b4ffa7: (-s ours) am 5427eb5c: (-s ours) am e2066293: (-s ours) Merge "Optimize strcat/strcpy, small tweaks to strlen. DO NOT MERGE"
* commit '0a7e61d4a1a28a7c66c05e0ef0b69c7c5b14a2d9':
2013-08-09 06:07:03 -07:00
Christopher Ferris
d60dca00dd am d41e52a2: (-s ours) am d7d5049d: (-s ours) am 632fd518: (-s ours) Merge "Fix strcpy.c that should have been strcpy.S. DO NOT MERGE"
* commit 'd41e52a238bdb91df5dffb81f202b3d50949bb9a':
  Fix strcpy.c that should have been strcpy.S. DO NOT MERGE
2013-08-09 06:06:56 -07:00
Christopher Ferris
351c506315 am 2e0a707f: (-s ours) am 5427eb5c: (-s ours) am e2066293: (-s ours) Merge "Optimize strcat/strcpy, small tweaks to strlen. DO NOT MERGE"
* commit '2e0a707f793a6831452aca9ed0021e90014f3635':
  Optimize strcat/strcpy, small tweaks to strlen. DO NOT MERGE
2013-08-09 06:06:56 -07:00
The Android Automerger
83b030fe63 merge in master-release history after reset to master 2013-08-03 07:49:44 -07:00
The Android Automerger
e0ac5fb456 merge in master-release history after reset to master 2013-08-01 15:42:56 -07:00
The Android Automerger
847e56ae77 merge in master-release history after reset to master 2013-07-31 12:28:42 -07:00
The Android Automerger
7c35f1ce83 merge in master-release history after reset to master 2013-07-31 09:45:07 -07:00
1462 changed files with 11495 additions and 7849 deletions

View File

@@ -81,13 +81,6 @@ libc/
private/
# These are private header files meant for use within bionic itself.
stdio/
stdlib/
unistd/
# These are legacy files of unknown provenance. In the past, bionic was a
# mess of random versions of random files from all three of FreeBSD, NetBSD,
# and OpenBSD! We've been working to clean that up, but these directories
# are basically where all the stuff we haven't got to yet lives.
dns/
# Contains the DNS resolver (originates from NetBSD code).
@@ -114,6 +107,10 @@ libc/
# current upstream source in one of the upstream directories or by
# switching the file to C++ and cleaning it up.
stdio/
# These are legacy files of dubious provenance. We're working to clean
# this mess up, and this directory should disappear.
tools/
# Various tools used to maintain bionic.

View File

@@ -54,7 +54,7 @@ LOCAL_SHARED_LIBRARIES += libstlport
LOCAL_SRC_FILES := $(benchmark_src_files)
include $(BUILD_EXECUTABLE)
ifeq ($(HOST_OS)-$(HOST_ARCH),linux-x86)
ifeq ($(HOST_OS)-$(HOST_ARCH),$(filter $(HOST_OS)-$(HOST_ARCH),linux-x86 linux-x86_64))
ifeq ($(TARGET_ARCH),x86)
LINKER = linker
NATIVE_SUFFIX=32

View File

@@ -28,12 +28,14 @@
extern void *__system_property_area__;
// Do not exceed 512, that is about the largest number of properties
// that can be created with the current property area size.
#define TEST_NUM_PROPS \
Arg(1)->Arg(4)->Arg(16)->Arg(64)->Arg(128)->Arg(256)->Arg(512)->Arg(1024)
Arg(1)->Arg(4)->Arg(16)->Arg(64)->Arg(128)->Arg(256)->Arg(512)
struct LocalPropertyTestState {
LocalPropertyTestState(int nprops) : nprops(nprops), valid(false) {
static const char prop_name_chars[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-_";
static const char prop_name_chars[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_.";
const char* android_data = getenv("ANDROID_DATA");
if (android_data == NULL) {
@@ -66,18 +68,38 @@ struct LocalPropertyTestState {
srandom(nprops);
for (int i = 0; i < nprops; i++) {
name_lens[i] = random() % PROP_NAME_MAX;
// Make sure the name has at least 10 characters to make
// it very unlikely to generate the same random name.
name_lens[i] = (random() % (PROP_NAME_MAX - 10)) + 10;
names[i] = new char[PROP_NAME_MAX + 1];
size_t prop_name_len = sizeof(prop_name_chars) - 1;
for (int j = 0; j < name_lens[i]; j++) {
names[i][j] = prop_name_chars[random() % (sizeof(prop_name_chars) - 1)];
if (j == 0 || names[i][j-1] == '.' || j == name_lens[i] - 1) {
// Certain values are not allowed:
// - Don't start name with '.'
// - Don't allow '.' to appear twice in a row
// - Don't allow the name to end with '.'
// This assumes that '.' is the last character in the
// array so that decrementing the length by one removes
// the value from the possible values.
prop_name_len--;
}
names[i][j] = prop_name_chars[random() % prop_name_len];
}
names[i][name_lens[i]] = 0;
value_lens[i] = random() % PROP_VALUE_MAX;
// Make sure the value contains at least 1 character.
value_lens[i] = (random() % (PROP_VALUE_MAX - 1)) + 1;
values[i] = new char[PROP_VALUE_MAX];
for (int j = 0; j < value_lens[i]; j++) {
values[i][j] = prop_name_chars[random() % (sizeof(prop_name_chars) - 1)];
}
__system_property_add(names[i], name_lens[i], values[i], value_lens[i]);
if (__system_property_add(names[i], name_lens[i], values[i], value_lens[i]) < 0) {
printf("Failed to add a property, terminating...\n");
printf("%s = %.*s\n", names[i], value_lens[i], values[i]);
exit(1);
}
}
valid = true;

View File

@@ -16,32 +16,13 @@
#include "benchmark.h"
#include <sys/syscall.h>
#include <time.h>
#if defined(__BIONIC__)
// Used by the horrible android.text.format.Time class, which is used by Calendar. http://b/8270865.
extern "C" void localtime_tz(const time_t* const timep, struct tm* tmp, const char* tz);
static void BM_time_localtime_tz(int iters) {
StartBenchmarkTiming();
time_t now(time(NULL));
tm broken_down_time;
for (int i = 0; i < iters; ++i) {
localtime_tz(&now, &broken_down_time, "Europe/Berlin");
}
StopBenchmarkTiming();
}
BENCHMARK(BM_time_localtime_tz);
#endif
static void BM_time_clock_gettime(int iters) {
StartBenchmarkTiming();
struct timespec t;
timespec t;
for (int i = 0; i < iters; ++i) {
clock_gettime(CLOCK_MONOTONIC, &t);
}
@@ -49,3 +30,50 @@ static void BM_time_clock_gettime(int iters) {
StopBenchmarkTiming();
}
BENCHMARK(BM_time_clock_gettime);
static void BM_time_clock_gettime_syscall(int iters) {
StartBenchmarkTiming();
timespec t;
for (int i = 0; i < iters; ++i) {
syscall(__NR_clock_gettime, CLOCK_MONOTONIC, &t);
}
StopBenchmarkTiming();
}
BENCHMARK(BM_time_clock_gettime_syscall);
static void BM_time_gettimeofday(int iters) {
StartBenchmarkTiming();
timeval tv;
for (int i = 0; i < iters; ++i) {
gettimeofday(&tv, NULL);
}
StopBenchmarkTiming();
}
BENCHMARK(BM_time_gettimeofday);
static void BM_time_gettimeofday_syscall(int iters) {
StartBenchmarkTiming();
timeval tv;
for (int i = 0; i < iters; ++i) {
syscall(__NR_gettimeofday, &tv, NULL);
}
StopBenchmarkTiming();
}
BENCHMARK(BM_time_gettimeofday_syscall);
static void BM_time_time(int iters) {
StartBenchmarkTiming();
for (int i = 0; i < iters; ++i) {
time(NULL);
}
StopBenchmarkTiming();
}
BENCHMARK(BM_time_time);

View File

@@ -37,7 +37,6 @@ endif
# Define the common source files for all the libc instances
# =========================================================
libc_common_src_files := \
bionic/arc4random.c \
bionic/bindresvport.c \
bionic/daemon.c \
bionic/err.c \
@@ -46,7 +45,6 @@ libc_common_src_files := \
bionic/fts.c \
bionic/gethostname.c \
bionic/getpriority.c \
bionic/getpt.c \
bionic/if_indextoname.c \
bionic/if_nametoindex.c \
bionic/initgroups.c \
@@ -54,8 +52,6 @@ libc_common_src_files := \
bionic/isatty.c \
bionic/memmem.c \
bionic/pathconf.c \
bionic/ptsname.c \
bionic/ptsname_r.c \
bionic/pututline.c \
bionic/sched_cpualloc.c \
bionic/sched_cpucount.c \
@@ -64,11 +60,10 @@ libc_common_src_files := \
bionic/siginterrupt.c \
bionic/sigsetmask.c \
bionic/system_properties_compat.c \
bionic/unlockpt.c \
stdio/findfp.c \
stdio/fread.c \
stdio/snprintf.c\
stdio/sprintf.c \
stdlib/atexit.c \
unistd/syslog.c \
# Fortify implementations of libc functions.
libc_common_src_files += \
@@ -97,7 +92,6 @@ libc_bionic_src_files := \
bionic/access.cpp \
bionic/assert.cpp \
bionic/atof.cpp \
bionic/__bionic_name_mem.cpp \
bionic/bionic_time_conversions.cpp \
bionic/brk.cpp \
bionic/c16rtomb.cpp \
@@ -110,8 +104,6 @@ libc_bionic_src_files := \
bionic/__cmsg_nxthdr.cpp \
bionic/connect.cpp \
bionic/ctype.cpp \
bionic/__cxa_guard.cpp \
bionic/__cxa_pure_virtual.cpp \
bionic/dirent.cpp \
bionic/dup2.cpp \
bionic/epoll_create.cpp \
@@ -127,6 +119,7 @@ libc_bionic_src_files := \
bionic/futimens.cpp \
bionic/getauxval.cpp \
bionic/getcwd.cpp \
bionic/getentropy_linux.c \
bionic/getpgrp.cpp \
bionic/getpid.cpp \
bionic/gettid.cpp \
@@ -149,11 +142,11 @@ libc_bionic_src_files := \
bionic/mknod.cpp \
bionic/mntent.cpp \
bionic/NetdClientDispatch.cpp \
bionic/new.cpp \
bionic/open.cpp \
bionic/pause.cpp \
bionic/pipe.cpp \
bionic/poll.cpp \
bionic/posix_fadvise.cpp \
bionic/posix_fallocate.cpp \
bionic/posix_timers.cpp \
bionic/pthread_atfork.cpp \
@@ -165,6 +158,7 @@ libc_bionic_src_files := \
bionic/pthread_exit.cpp \
bionic/pthread_getcpuclockid.cpp \
bionic/pthread_getschedparam.cpp \
bionic/pthread_gettid_np.cpp \
bionic/pthread_internals.cpp \
bionic/pthread_join.cpp \
bionic/pthread_key.cpp \
@@ -177,7 +171,9 @@ libc_bionic_src_files := \
bionic/pthread_setschedparam.cpp \
bionic/pthread_sigmask.cpp \
bionic/ptrace.cpp \
bionic/pty.cpp \
bionic/raise.cpp \
bionic/rand.cpp \
bionic/readlink.cpp \
bionic/reboot.cpp \
bionic/recv.cpp \
@@ -219,6 +215,7 @@ libc_bionic_src_files := \
bionic/stubs.cpp \
bionic/symlink.cpp \
bionic/sysconf.cpp \
bionic/syslog.cpp \
bionic/sys_siglist.c \
bionic/sys_signame.c \
bionic/system_properties.cpp \
@@ -229,11 +226,16 @@ libc_bionic_src_files := \
bionic/umount.cpp \
bionic/unlink.cpp \
bionic/utimes.cpp \
bionic/vfork.cpp \
bionic/vdso.cpp \
bionic/wait.cpp \
bionic/wchar.cpp \
bionic/wctype.cpp \
libc_cxa_src_files := \
bionic/__cxa_guard.cpp \
bionic/__cxa_pure_virtual.cpp \
bionic/new.cpp \
libc_upstream_freebsd_src_files := \
upstream-freebsd/lib/libc/gen/ldexp.c \
upstream-freebsd/lib/libc/gen/sleep.c \
@@ -282,31 +284,26 @@ libc_upstream_netbsd_src_files := \
upstream-netbsd/lib/libc/regex/regerror.c \
upstream-netbsd/lib/libc/regex/regexec.c \
upstream-netbsd/lib/libc/regex/regfree.c \
upstream-netbsd/lib/libc/resolv/mtctxres.c \
upstream-netbsd/lib/libc/stdlib/bsearch.c \
upstream-netbsd/lib/libc/stdlib/div.c \
upstream-netbsd/lib/libc/stdlib/drand48.c \
upstream-netbsd/lib/libc/stdlib/erand48.c \
upstream-netbsd/lib/libc/stdlib/insque.c \
upstream-netbsd/lib/libc/stdlib/jrand48.c \
upstream-netbsd/lib/libc/stdlib/ldiv.c \
upstream-netbsd/lib/libc/stdlib/lldiv.c \
upstream-netbsd/lib/libc/stdlib/lrand48.c \
upstream-netbsd/lib/libc/stdlib/lsearch.c \
upstream-netbsd/lib/libc/stdlib/mrand48.c \
upstream-netbsd/lib/libc/stdlib/nrand48.c \
upstream-netbsd/lib/libc/stdlib/_rand48.c \
upstream-netbsd/lib/libc/stdlib/rand.c \
upstream-netbsd/lib/libc/stdlib/rand_r.c \
upstream-netbsd/lib/libc/stdlib/remque.c \
upstream-netbsd/lib/libc/stdlib/seed48.c \
upstream-netbsd/lib/libc/stdlib/srand48.c \
upstream-netbsd/lib/libc/stdlib/tdelete.c \
upstream-netbsd/lib/libc/stdlib/tfind.c \
upstream-netbsd/lib/libc/stdlib/tsearch.c \
upstream-netbsd/lib/libc/string/memccpy.c \
upstream-netbsd/lib/libc/string/strcasestr.c \
upstream-netbsd/lib/libc/string/strcoll.c \
upstream-netbsd/lib/libc/string/strxfrm.c \
upstream-netbsd/lib/libc/thread-stub/__isthreaded.c \
upstream-netbsd/lib/libc/unistd/killpg.c \
libc_upstream_openbsd_gdtoa_src_files := \
@@ -337,6 +334,8 @@ libc_upstream_openbsd_gdtoa_src_files_64 := \
upstream-openbsd/lib/libc/gdtoa/strtorQ.c \
libc_upstream_openbsd_src_files := \
upstream-openbsd/lib/libc/crypt/arc4random.c \
upstream-openbsd/lib/libc/crypt/arc4random_uniform.c \
upstream-openbsd/lib/libc/gen/alarm.c \
upstream-openbsd/lib/libc/gen/ctype_.c \
upstream-openbsd/lib/libc/gen/exec.c \
@@ -392,14 +391,12 @@ libc_upstream_openbsd_src_files := \
upstream-openbsd/lib/libc/stdio/fgetwc.c \
upstream-openbsd/lib/libc/stdio/fgetws.c \
upstream-openbsd/lib/libc/stdio/fileno.c \
upstream-openbsd/lib/libc/stdio/findfp.c \
upstream-openbsd/lib/libc/stdio/fprintf.c \
upstream-openbsd/lib/libc/stdio/fpurge.c \
upstream-openbsd/lib/libc/stdio/fputc.c \
upstream-openbsd/lib/libc/stdio/fputs.c \
upstream-openbsd/lib/libc/stdio/fputwc.c \
upstream-openbsd/lib/libc/stdio/fputws.c \
upstream-openbsd/lib/libc/stdio/fread.c \
upstream-openbsd/lib/libc/stdio/freopen.c \
upstream-openbsd/lib/libc/stdio/fscanf.c \
upstream-openbsd/lib/libc/stdio/fseek.c \
@@ -463,11 +460,13 @@ libc_upstream_openbsd_src_files := \
upstream-openbsd/lib/libc/stdio/wprintf.c \
upstream-openbsd/lib/libc/stdio/wscanf.c \
upstream-openbsd/lib/libc/stdio/wsetup.c \
upstream-openbsd/lib/libc/stdlib/atexit.c \
upstream-openbsd/lib/libc/stdlib/atoi.c \
upstream-openbsd/lib/libc/stdlib/atol.c \
upstream-openbsd/lib/libc/stdlib/atoll.c \
upstream-openbsd/lib/libc/stdlib/exit.c \
upstream-openbsd/lib/libc/stdlib/getenv.c \
upstream-openbsd/lib/libc/stdlib/lsearch.c \
upstream-openbsd/lib/libc/stdlib/setenv.c \
upstream-openbsd/lib/libc/stdlib/strtoimax.c \
upstream-openbsd/lib/libc/stdlib/strtol.c \
@@ -476,6 +475,8 @@ libc_upstream_openbsd_src_files := \
upstream-openbsd/lib/libc/stdlib/strtoull.c \
upstream-openbsd/lib/libc/stdlib/strtoumax.c \
upstream-openbsd/lib/libc/stdlib/system.c \
upstream-openbsd/lib/libc/stdlib/tfind.c \
upstream-openbsd/lib/libc/stdlib/tsearch.c \
upstream-openbsd/lib/libc/string/strcasecmp.c \
upstream-openbsd/lib/libc/string/strcspn.c \
upstream-openbsd/lib/libc/string/strdup.c \
@@ -502,7 +503,10 @@ ifneq ($(TARGET_USES_LOGD),false)
libc_common_cflags += -DTARGET_USES_LOGD
endif
use_clang := false
use_clang := $(USE_CLANG_PLATFORM_BUILD)
ifeq ($(use_clang),)
use_clang := false
endif
# Try to catch typical 32-bit assumptions that break with 64-bit pointers.
libc_common_cflags += \
@@ -549,7 +553,6 @@ libc_common_cppflags := \
# Define some common includes
# ========================================================
libc_common_c_includes += \
$(LOCAL_PATH)/stdlib \
$(LOCAL_PATH)/stdio \
# ========================================================
@@ -637,6 +640,7 @@ LOCAL_SRC_FILES := \
$(call all-c-files-under,dns) \
upstream-netbsd/lib/libc/isc/ev_streams.c \
upstream-netbsd/lib/libc/isc/ev_timers.c \
upstream-netbsd/lib/libc/resolv/mtctxres.c \
LOCAL_CFLAGS := \
$(libc_common_cflags) \
@@ -688,6 +692,7 @@ LOCAL_ADDITIONAL_DEPENDENCIES := $(libc_common_additional_dependencies)
LOCAL_SYSTEM_SHARED_LIBRARIES :=
$(eval $(call patch-up-arch-specific-flags,LOCAL_CFLAGS,libc_common_cflags))
$(eval $(call patch-up-arch-specific-flags,LOCAL_SRC_FILES,libc_freebsd_src_files))
include $(BUILD_STATIC_LIBRARY)
@@ -732,9 +737,17 @@ include $(BUILD_STATIC_LIBRARY)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(libc_upstream_openbsd_src_files)
ifneq (,$(filter $(TARGET_ARCH),x86 x86_64))
# Clang has wrong long double size or LDBL_MANT_DIG, http://b/17163651.
LOCAL_CLANG := false
else
LOCAL_CLANG := $(use_clang)
endif
LOCAL_CFLAGS := \
$(libc_common_cflags) \
-Wno-sign-compare -Wno-uninitialized -Wno-unused-parameter \
-I$(LOCAL_PATH)/private \
-I$(LOCAL_PATH)/upstream-openbsd/android/include \
-I$(LOCAL_PATH)/upstream-openbsd/lib/libc/include \
-I$(LOCAL_PATH)/upstream-openbsd/lib/libc/gdtoa/ \
@@ -744,11 +757,11 @@ LOCAL_CONLYFLAGS := $(libc_common_conlyflags)
LOCAL_CPPFLAGS := $(libc_common_cppflags)
LOCAL_C_INCLUDES := $(libc_common_c_includes)
LOCAL_MODULE := libc_openbsd
LOCAL_CLANG := $(use_clang)
LOCAL_ADDITIONAL_DEPENDENCIES := $(libc_common_additional_dependencies)
LOCAL_SYSTEM_SHARED_LIBRARIES :=
$(eval $(call patch-up-arch-specific-flags,LOCAL_CFLAGS,libc_common_cflags))
$(eval $(call patch-up-arch-specific-flags,LOCAL_SRC_FILES,libc_openbsd_src_files))
include $(BUILD_STATIC_LIBRARY)
@@ -763,10 +776,18 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES_32 := $(libc_upstream_openbsd_gdtoa_src_files_32)
LOCAL_SRC_FILES_64 := $(libc_upstream_openbsd_gdtoa_src_files_64)
ifneq (,$(filter $(TARGET_ARCH),x86 x86_64))
# Clang has wrong long double size or LDBL_MANT_DIG, http://b/17163651.
LOCAL_CLANG := false
else
LOCAL_CLANG := $(use_clang)
endif
LOCAL_CFLAGS := \
$(libc_common_cflags) \
-Wno-sign-compare -Wno-uninitialized \
-fvisibility=hidden \
-I$(LOCAL_PATH)/private \
-I$(LOCAL_PATH)/upstream-openbsd/android/include \
-I$(LOCAL_PATH)/upstream-openbsd/lib/libc/include \
-include openbsd-compat.h \
@@ -775,7 +796,6 @@ LOCAL_CONLYFLAGS := $(libc_common_conlyflags)
LOCAL_CPPFLAGS := $(libc_common_cppflags)
LOCAL_C_INCLUDES := $(libc_common_c_includes)
LOCAL_MODULE := libc_gdtoa
LOCAL_CLANG := $(use_clang)
LOCAL_ADDITIONAL_DEPENDENCIES := $(libc_common_additional_dependencies)
LOCAL_SYSTEM_SHARED_LIBRARIES :=
@@ -793,6 +813,11 @@ LOCAL_SRC_FILES := $(libc_bionic_src_files)
LOCAL_CFLAGS := $(libc_common_cflags) \
-Wframe-larger-than=2048 \
ifeq ($(TARGET_ARCH),x86_64)
# Clang assembler has problem with ssse3-strcmp-slm.S, http://b/17302991
LOCAL_CLANG_ASFLAGS += -no-integrated-as
endif
LOCAL_CONLYFLAGS := $(libc_common_conlyflags)
LOCAL_CPPFLAGS := $(libc_common_cppflags)
LOCAL_C_INCLUDES := $(libc_common_c_includes)
@@ -806,6 +831,28 @@ $(eval $(call patch-up-arch-specific-flags,LOCAL_SRC_FILES,libc_bionic_src_files
include $(BUILD_STATIC_LIBRARY)
# ========================================================
# libc_cxa.a - Things traditionally in libstdc++
# ========================================================
include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(libc_cxa_src_files)
LOCAL_CFLAGS := $(libc_common_cflags) \
-fvisibility=hidden \
LOCAL_CONLYFLAGS := $(libc_common_conlyflags)
LOCAL_CPPFLAGS := $(libc_common_cppflags)
LOCAL_C_INCLUDES := $(libc_common_c_includes)
LOCAL_MODULE := libc_cxa
# GCC refuses to hide new/delete
LOCAL_CLANG := true
LOCAL_ADDITIONAL_DEPENDENCIES := $(libc_common_additional_dependencies)
LOCAL_SYSTEM_SHARED_LIBRARIES :=
include $(BUILD_STATIC_LIBRARY)
# ========================================================
# libc_syscalls.a
# ========================================================
@@ -858,6 +905,7 @@ LOCAL_CLANG := $(use_clang)
LOCAL_ADDITIONAL_DEPENDENCIES := $(libc_common_additional_dependencies)
LOCAL_WHOLE_STATIC_LIBRARIES := \
libc_bionic \
libc_cxa \
libc_dns \
libc_freebsd \
libc_gdtoa \
@@ -979,8 +1027,6 @@ LOCAL_SRC_FILES := \
$(libc_arch_dynamic_src_files) \
$(libc_static_common_src_files) \
bionic/malloc_debug_common.cpp \
bionic/debug_mapinfo.cpp \
bionic/debug_stacktrace.cpp \
bionic/libc_init_dynamic.cpp \
bionic/NetdClient.cpp \
@@ -1046,7 +1092,9 @@ LOCAL_CFLAGS := \
LOCAL_CONLYFLAGS := $(libc_common_conlyflags)
LOCAL_CPPFLAGS := $(libc_common_cppflags)
LOCAL_C_INCLUDES := $(libc_common_c_includes)
# Make sure that unwind.h comes from libunwind.
LOCAL_C_INCLUDES := \
$(libc_common_c_includes) \
LOCAL_SRC_FILES := \
bionic/debug_mapinfo.cpp \
@@ -1061,6 +1109,9 @@ LOCAL_ADDITIONAL_DEPENDENCIES := $(libc_common_additional_dependencies)
LOCAL_SHARED_LIBRARIES := libc libdl
LOCAL_SYSTEM_SHARED_LIBRARIES :=
# Only need this for arm since libc++ uses its own unwind code that
# doesn't mix with the other default unwind code.
LOCAL_STATIC_LIBRARIES_arm := libc++
LOCAL_ALLOW_UNDEFINED_SYMBOLS := true
# Don't install on release build
@@ -1103,6 +1154,38 @@ include $(BUILD_SHARED_LIBRARY)
endif #!user
# ========================================================
# libstdc++.so
# ========================================================
libstdcxx_common_src_files := \
bionic/__cxa_guard.cpp \
bionic/__cxa_pure_virtual.cpp \
bionic/new.cpp \
bionic/libc_logging.cpp \
include $(CLEAR_VARS)
LOCAL_C_INCLUDES := $(libc_common_c_includes)
LOCAL_CFLAGS := $(libc_common_cflags)
LOCAL_CPPFLAGS := $(libc_common_cppflags)
LOCAL_SRC_FILES := $(libstdcxx_common_src_files)
LOCAL_MODULE:= libstdc++
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
LOCAL_SYSTEM_SHARED_LIBRARIES := libc
include $(BUILD_SHARED_LIBRARY)
# ========================================================
# libstdc++.a
# ========================================================
include $(CLEAR_VARS)
LOCAL_C_INCLUDES := $(libc_common_c_includes)
LOCAL_CFLAGS := $(libc_common_cflags)
LOCAL_CPPFLAGS := $(libc_common_cppflags)
LOCAL_SRC_FILES := $(libstdcxx_common_src_files)
LOCAL_MODULE:= libstdc++
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
LOCAL_SYSTEM_SHARED_LIBRARIES := libc
include $(BUILD_STATIC_LIBRARY)
# ========================================================
include $(call all-makefiles-under,$(LOCAL_PATH))

View File

@@ -3,12 +3,12 @@
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
Neither the name of the Linaro nor the
* Neither the name of the Linaro nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
@@ -34,12 +34,12 @@
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
Neither the name of the company nor the names of its contributors
* Neither the name of the company nor the names of its contributors
may be used to endorse or promote products derived from this
software without specific prior written permission.
@@ -55,6 +55,34 @@
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-------------------------------------------------------------------
Copyright (c) 1993 John Brezak
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. The name of the author may be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR `AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
-------------------------------------------------------------------
====================================================
@@ -184,9 +212,9 @@ All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
Redistributions of source code must retain the above copyright
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
@@ -228,9 +256,9 @@ All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
Redistributions of source code must retain the above copyright
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
@@ -257,9 +285,9 @@ Copyright (c) 2013-2014, NVIDIA Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
Redistributions of source code must retain the above copyright
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
@@ -285,9 +313,9 @@ All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
Redistributions of source code must retain the above copyright
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
@@ -329,9 +357,9 @@ All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
Redistributions of source code must retain the above copyright
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
@@ -373,9 +401,9 @@ All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
Redistributions of source code must retain the above copyright
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
@@ -448,9 +476,9 @@ All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
Redistributions of source code must retain the above copyright
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
@@ -492,9 +520,9 @@ All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
Redistributions of source code must retain the above copyright
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
@@ -536,9 +564,9 @@ All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
Redistributions of source code must retain the above copyright
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
@@ -565,9 +593,9 @@ Copyright (c) 2013-2014 NVIDIA Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
Redistributions of source code must retain the above copyright
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
@@ -594,9 +622,9 @@ All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
Redistributions of source code must retain the above copyright
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
@@ -638,9 +666,9 @@ All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
Redistributions of source code must retain the above copyright
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
@@ -804,35 +832,6 @@ SUCH DAMAGE.
-------------------------------------------------------------------
Copyright (c) 1983, 1988, 1993
The Regents of the University of California. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
-------------------------------------------------------------------
Copyright (c) 1983, 1989
The Regents of the University of California. All rights reserved.
@@ -3164,35 +3163,6 @@ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-------------------------------------------------------------------
Copyright (c) 1999 The NetBSD Foundation, Inc.
All rights reserved.
This code is derived from software contributed to The NetBSD Foundation
by Michael Graff.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
-------------------------------------------------------------------
Copyright (c) 2000 Ben Harris.
Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
All rights reserved.
@@ -4132,6 +4102,22 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-------------------------------------------------------------------
Copyright (c) 2008, Damien Miller <djm@openbsd.org>
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-------------------------------------------------------------------
Copyright (c) 2009
MIPS Technologies, Inc., California.
@@ -4253,13 +4239,13 @@ Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
Redistributions of source code must retain the above copyright
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with
the distribution.
Neither the name of MIPS Technologies Inc. nor the names of its
* Neither the name of MIPS Technologies Inc. nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
@@ -4299,16 +4285,16 @@ All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
Neither the name of Intel Corporation nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
* Neither the name of Intel Corporation nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
@@ -4329,16 +4315,16 @@ All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
Neither the name of Intel Corporation nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
* Neither the name of Intel Corporation nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
@@ -4412,16 +4398,16 @@ All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
Neither the name of Intel Corporation nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
* Neither the name of Intel Corporation nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
@@ -4471,16 +4457,16 @@ All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
Neither the name of Intel Corporation nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
* Neither the name of Intel Corporation nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
@@ -4501,16 +4487,16 @@ All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
Neither the name of Intel Corporation nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
* Neither the name of Intel Corporation nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
@@ -4530,12 +4516,12 @@ All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
Neither the name of the VMware, Inc. nor the names of its contributors
* Neither the name of the VMware, Inc. nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
@@ -4557,12 +4543,12 @@ Copyright (c) 2012, Linaro Limited
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
Neither the name of the Linaro nor the
* Neither the name of the Linaro nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
@@ -4586,12 +4572,12 @@ Copyright (c) 2012, Linaro Limited
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
Neither the name of the Linaro nor the
* Neither the name of the Linaro nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
@@ -4660,14 +4646,14 @@ Copyright (c) 2013, Linaro Limited
modification, are permitted provided that the following conditions
are met:
Redistributions of source code must retain the above copyright
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
Neither the name of Linaro Limited nor the names of its
* Neither the name of Linaro Limited nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
@@ -4685,22 +4671,42 @@ Copyright (c) 2013, Linaro Limited
-------------------------------------------------------------------
Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org>
Copyright (c) 2014 Bob Beck <beck@obtuse.com>
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Emulation of getentropy(2) as documented at:
http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man2/getentropy.2
-------------------------------------------------------------------
Copyright (c) 2014, Intel Corporation
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
Neither the name of Intel Corporation nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
* Neither the name of Intel Corporation nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
@@ -4720,12 +4726,12 @@ Copyright (c) 2014, Linaro Limited
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
Neither the name of the Linaro nor the
* Neither the name of the Linaro nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
@@ -5149,3 +5155,34 @@ THIS SOFTWARE.
-------------------------------------------------------------------
memchr - find a character in a memory zone
Copyright (c) 2014, ARM Limited
All rights Reserved.
Copyright (c) 2014, Linaro Ltd.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of the company nor the names of its contributors
may be used to endorse or promote products derived from this
software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-------------------------------------------------------------------

View File

@@ -77,12 +77,11 @@ int prlimit64(pid_t, int, struct rlimit64*, const struct rlimit64*) arm,mips,x8
int setgroups:setgroups32(int, const gid_t*) arm,x86
int setgroups:setgroups(int, const gid_t*) arm64,mips,mips64,x86_64
int setpgid(pid_t, pid_t) all
pid_t vfork(void) arm
int setregid:setregid32(gid_t, gid_t) arm,x86
int setregid:setregid(gid_t, gid_t) arm64,mips,mips64,x86_64
int chroot(const char*) all
# IMPORTANT: Even though <sys/prctl.h> declares prctl(int, ...), the syscall stub must take 6 arguments
# to match the kernel implementation.
int prctl(int option, unsigned int arg2, unsigned int arg3, unsigned int arg4, unsigned int arg5) all
int prctl(int, unsigned long, unsigned long, unsigned long, unsigned long) all
long __arch_prctl:arch_prctl(int, unsigned long) x86_64
int capget(cap_user_header_t header, cap_user_data_t data) all
int capset(cap_user_header_t header, const cap_user_data_t data) all
@@ -168,6 +167,12 @@ void* mmap|mmap64(void*, size_t, int, int, int, off_t) arm64,mips64,x86_64
int fallocate64:fallocate(int, int, off64_t, off64_t) arm,mips,x86
int fallocate|fallocate64(int, int, off_t, off_t) arm64,mips64,x86_64
# posix_fadvise64 is awkward: arm has shuffled arguments,
# the POSIX functions don't set errno, and no architecture has posix_fadvise.
int __arm_fadvise64_64:arm_fadvise64_64(int, int, off64_t, off64_t) arm
int __fadvise64:fadvise64_64(int, off64_t, off64_t, int) x86
int __fadvise64:fadvise64(int, off64_t, off64_t, int) arm64,mips,mips64,x86_64
int __fstatfs64:fstatfs64(int, size_t, struct statfs*) arm,mips,x86
int fstatfs64|fstatfs:fstatfs(int, struct statfs*) arm64,mips64,x86_64
int __statfs64:statfs64(const char*, size_t, struct statfs*) arm,mips,x86
@@ -194,11 +199,9 @@ int swapon(const char*, int) all
int swapoff(const char*) all
# time
int gettimeofday(struct timeval*, struct timezone*) all
int settimeofday(const struct timeval*, const struct timezone*) all
clock_t times(struct tms*) all
int nanosleep(const struct timespec*, struct timespec*) all
int clock_gettime(clockid_t clk_id, struct timespec* tp) all
int clock_settime(clockid_t clk_id, const struct timespec* tp) all
int clock_getres(clockid_t clk_id, struct timespec* res) all
int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec* req, struct timespec* rem) all
@@ -307,6 +310,9 @@ int __ppoll:ppoll(pollfd*, unsigned int, timespec*, const sigset_t*, size_t) al
int __set_tid_address:set_tid_address(int*) all
int setfsgid(gid_t) all
int setfsuid(uid_t) all
pid_t wait4(pid_t, int*, int, struct rusage*) all
int __waitid:waitid(int, pid_t, struct siginfo_t*, int, void*) all
@@ -320,3 +326,9 @@ int __set_tls:set_thread_area(void*) mips,mips64
# x86-specific
int __set_thread_area:set_thread_area(void*) x86
# vdso stuff.
int clock_gettime(clockid_t, timespec*) arm,mips,mips64,x86
int __clock_gettime:clock_gettime(clockid_t, timespec*) arm64,x86_64
int gettimeofday(timeval*, timezone*) arm,mips,mips64,x86
int __gettimeofday:gettimeofday(timeval*, timezone*) arm64,x86_64

View File

@@ -1,22 +1,35 @@
# arm specific configs
# 32-bit arm.
# These are used by the 32-bit targets, but not the 64-bit ones.
libc_common_src_files_arm := \
#
# Various kinds of LP32 cruft.
#
libc_bionic_src_files_arm += \
bionic/mmap.cpp \
libc_common_src_files_arm += \
bionic/legacy_32_bit_support.cpp \
bionic/ndk_cruft.cpp \
bionic/time64.c \
libc_netbsd_src_files_arm += \
upstream-netbsd/common/lib/libc/hash/sha1/sha1.c \
libc_openbsd_src_files_arm += \
upstream-openbsd/lib/libc/stdio/putw.c \
# These are shared by all the 32-bit targets, but not the 64-bit ones.
libc_bionic_src_files_arm := \
bionic/mmap.cpp
#
# Default implementations of functions that are commonly optimized.
#
libc_common_src_files_arm += \
libc_bionic_src_files_arm += \
bionic/memchr.c \
bionic/memrchr.c \
bionic/strchr.cpp \
bionic/strnlen.c \
bionic/strrchr.cpp \
libc_freebsd_src_files_arm += \
upstream-freebsd/lib/libc/string/wcscat.c \
upstream-freebsd/lib/libc/string/wcschr.c \
upstream-freebsd/lib/libc/string/wcscmp.c \
@@ -25,8 +38,9 @@ libc_common_src_files_arm += \
upstream-freebsd/lib/libc/string/wcsrchr.c \
upstream-freebsd/lib/libc/string/wmemcmp.c \
upstream-freebsd/lib/libc/string/wmemmove.c \
libc_openbsd_src_files_arm += \
upstream-openbsd/lib/libc/string/bcopy.c \
upstream-openbsd/lib/libc/string/stpcpy.c \
upstream-openbsd/lib/libc/string/stpncpy.c \
upstream-openbsd/lib/libc/string/strlcat.c \
upstream-openbsd/lib/libc/string/strlcpy.c \
@@ -34,28 +48,18 @@ libc_common_src_files_arm += \
upstream-openbsd/lib/libc/string/strncmp.c \
upstream-openbsd/lib/libc/string/strncpy.c \
# The C++ fortify function implementations for which there is an
# arm assembler version.
#
# Fortify implementations of libc functions.
# libc_common_src_files_arm +=
# bionic/__memcpy_chk.cpp \
# bionic/__memset_chk.cpp \
# bionic/__strcpy_chk.cpp \
# bionic/__strcat_chk.cpp \
# Inherently architecture-specific code.
#
libc_common_cflags_arm := -DSOFTFLOAT
##########################################
### CPU specific source files
libc_bionic_src_files_arm += \
arch-arm/bionic/abort_arm.S \
arch-arm/bionic/atomics_arm.c \
arch-arm/bionic/__bionic_clone.S \
arch-arm/bionic/_exit_with_stack_teardown.S \
arch-arm/bionic/__get_sp.S \
arch-arm/bionic/libgcc_compat.c \
arch-arm/bionic/memcmp.S \
arch-arm/bionic/__restore.S \
arch-arm/bionic/_setjmp.S \
arch-arm/bionic/setjmp.S \
arch-arm/bionic/sigsetjmp.S \
@@ -64,9 +68,6 @@ libc_bionic_src_files_arm += \
libc_arch_static_src_files_arm := arch-arm/bionic/exidx_static.c
libc_arch_dynamic_src_files_arm := arch-arm/bionic/exidx_dynamic.c
libc_netbsd_src_files_arm := \
upstream-netbsd/common/lib/libc/hash/sha1/sha1.c \
## CPU variant specific source files
ifeq ($(strip $(TARGET_$(my_2nd_arch_prefix)CPU_VARIANT)),)
$(warning TARGET_$(my_2nd_arch_prefix)ARCH is arm, but TARGET_$(my_2nd_arch_prefix)CPU_VARIANT is not defined)

View File

@@ -57,7 +57,7 @@ ENTRY(__bionic_clone)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
1: # The child.
# Setting lr to 0 will make the unwinder stop at __start_thread

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2013 The Android Open Source Project
* Copyright (C) 2014 The Android Open Source Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -28,7 +28,34 @@
#include <private/bionic_asm.h>
ENTRY_PRIVATE(__rt_sigreturn)
mov x8, __NR_rt_sigreturn
svc #0
END(__rt_sigreturn)
// gdb is smart enough to unwind through signal frames with just the regular
// CFI information but libgcc and libunwind both need extra help. We do this
// by using .fnstart/.fnend and inserting a nop before both __restore and
// __restore_rt (but covered by the .fnstart/.fnend) so that although they're
// not inside the functions from objdump's point of view, an unwinder that
// blindly looks at the previous instruction (but is then smart enough to check
// the DWARF information to find out where it landed) gets the right answer.
// We need to place .fnstart ourselves (but we may as well keep the free .fnend).
#undef __bionic_asm_custom_entry
#define __bionic_asm_custom_entry(f)
.fnstart
.save {r0-r15}
.pad #32
nop
ENTRY_PRIVATE(__restore)
// This function must have exactly this instruction sequence.
mov r7, #__NR_sigreturn
swi #0
END(__restore)
.fnstart
.save {r0-r15}
.pad #160
nop
ENTRY_PRIVATE(__restore_rt)
// This function must have exactly this instruction sequence.
mov r7, #__NR_rt_sigreturn
swi #0
END(__restore_rt)

View File

@@ -47,5 +47,5 @@ ENTRY(syscall)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(syscall)

View File

@@ -40,12 +40,10 @@
ENTRY(__strcat_chk)
pld [r0, #0]
push {r0, lr}
.save {r0, lr}
.cfi_def_cfa_offset 8
.cfi_rel_offset r0, 0
.cfi_rel_offset lr, 4
push {r4, r5}
.save {r4, r5}
.cfi_adjust_cfa_offset 8
.cfi_rel_offset r4, 0
.cfi_rel_offset r5, 4
@@ -195,9 +193,6 @@ END(__strcat_chk)
#include "memcpy_base.S"
ENTRY_PRIVATE(__strcat_chk_failed)
.save {r0, lr}
.save {r4, r5}
.cfi_def_cfa_offset 8
.cfi_rel_offset r0, 0
.cfi_rel_offset lr, 4

View File

@@ -39,7 +39,6 @@
ENTRY(__strcpy_chk)
pld [r0, #0]
push {r0, lr}
.save {r0, lr}
.cfi_def_cfa_offset 8
.cfi_rel_offset r0, 0
.cfi_rel_offset lr, 4
@@ -161,7 +160,6 @@ END(__strcpy_chk)
#include "memcpy_base.S"
ENTRY_PRIVATE(__strcpy_chk_failed)
.save {r0, lr}
.cfi_def_cfa_offset 8
.cfi_rel_offset r0, 0
.cfi_rel_offset lr, 4

View File

@@ -72,7 +72,6 @@ END(__memcpy_chk)
ENTRY(memcpy)
pld [r1, #64]
push {r0, lr}
.save {r0, lr}
.cfi_def_cfa_offset 8
.cfi_rel_offset r0, 0
.cfi_rel_offset lr, 4
@@ -85,7 +84,6 @@ END(memcpy)
ENTRY_PRIVATE(__memcpy_chk_fail)
// Preserve lr for backtrace.
push {lr}
.save {lr}
.cfi_def_cfa_offset 4
.cfi_rel_offset lr, 0

View File

@@ -54,7 +54,6 @@
*/
ENTRY_PRIVATE(MEMCPY_BASE)
.save {r0, lr}
.cfi_def_cfa_offset 8
.cfi_rel_offset r0, 0
.cfi_rel_offset lr, 4
@@ -172,7 +171,6 @@ ENTRY_PRIVATE(MEMCPY_BASE)
END(MEMCPY_BASE)
ENTRY_PRIVATE(MEMCPY_BASE_ALIGNED)
.save {r0, lr}
.cfi_def_cfa_offset 8
.cfi_rel_offset r0, 0
.cfi_rel_offset lr, 4
@@ -181,17 +179,14 @@ ENTRY_PRIVATE(MEMCPY_BASE_ALIGNED)
// i.e., not keeping the stack looking like users expect
// (highest numbered register at highest address).
strd r4, r5, [sp, #-8]!
.save {r4, r5}
.cfi_adjust_cfa_offset 8
.cfi_rel_offset r4, 0
.cfi_rel_offset r5, 4
strd r6, r7, [sp, #-8]!
.save {r6, r7}
.cfi_adjust_cfa_offset 8
.cfi_rel_offset r6, 0
.cfi_rel_offset r7, 0
strd r8, r9, [sp, #-8]!
.save {r8, r9}
.cfi_adjust_cfa_offset 8
.cfi_rel_offset r8, 0
.cfi_rel_offset r9, 4

View File

@@ -44,7 +44,6 @@ ENTRY(__memset_chk)
bls .L_done
// Preserve lr for backtrace.
.save {lr}
push {lr}
.cfi_def_cfa_offset 4
.cfi_rel_offset lr, 0
@@ -68,7 +67,6 @@ ENTRY(bzero)
END(bzero)
ENTRY(memset)
.save {r0}
stmfd sp!, {r0}
.cfi_def_cfa_offset 4
.cfi_rel_offset r0, 0

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2008 The Android Open Source Project
* Copyright (C) 2014 The Android Open Source Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -26,9 +26,5 @@
* SUCH DAMAGE.
*/
#include <private/bionic_asm.h>
ENTRY_PRIVATE(__get_sp)
mov r0, sp
bx lr
END(__get_sp)
#define STPCPY
#include "string_copy.S"

View File

@@ -168,7 +168,6 @@ ENTRY(strcmp)
bne .L_do_align
/* Fast path. */
.save {r4-r7}
init
.L_doubleword_aligned:

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2013 The Android Open Source Project
* Copyright (C) 2014 The Android Open Source Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -25,427 +25,6 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
/*
* Copyright (c) 2013 ARM Ltd
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. The name of the company may not be used to endorse or promote
* products derived from this software without specific prior written
* permission.
*
* THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <private/bionic_asm.h>
.syntax unified
.thumb
.thumb_func
.macro m_push
push {r0, r4, r5, lr}
.endm // m_push
.macro m_pop
pop {r0, r4, r5, pc}
.endm // m_pop
.macro m_copy_byte reg, cmd, label
ldrb \reg, [r1], #1
strb \reg, [r0], #1
\cmd \reg, \label
.endm // m_copy_byte
ENTRY(strcpy)
// For short copies, hard-code checking the first 8 bytes since this
// new code doesn't win until after about 8 bytes.
m_push
m_copy_byte reg=r2, cmd=cbz, label=strcpy_finish
m_copy_byte reg=r3, cmd=cbz, label=strcpy_finish
m_copy_byte reg=r4, cmd=cbz, label=strcpy_finish
m_copy_byte reg=r5, cmd=cbz, label=strcpy_finish
m_copy_byte reg=r2, cmd=cbz, label=strcpy_finish
m_copy_byte reg=r3, cmd=cbz, label=strcpy_finish
m_copy_byte reg=r4, cmd=cbz, label=strcpy_finish
m_copy_byte reg=r5, cmd=cbnz, label=strcpy_continue
strcpy_finish:
m_pop
strcpy_continue:
pld [r1, #0]
ands r3, r0, #7
beq strcpy_check_src_align
// Align to a double word (64 bits).
rsb r3, r3, #8
lsls ip, r3, #31
beq strcpy_align_to_32
ldrb r2, [r1], #1
strb r2, [r0], #1
cbz r2, strcpy_complete
strcpy_align_to_32:
bcc strcpy_align_to_64
ldrb r2, [r1], #1
strb r2, [r0], #1
cbz r2, strcpy_complete
ldrb r2, [r1], #1
strb r2, [r0], #1
cbz r2, strcpy_complete
strcpy_align_to_64:
tst r3, #4
beq strcpy_check_src_align
ldr r2, [r1], #4
sub ip, r2, #0x01010101
bic ip, ip, r2
ands ip, ip, #0x80808080
bne strcpy_zero_in_first_register
str r2, [r0], #4
strcpy_check_src_align:
// At this point dst is aligned to a double word, check if src
// is also aligned to a double word.
ands r3, r1, #7
bne strcpy_unaligned_copy
.p2align 2
strcpy_mainloop:
ldrd r2, r3, [r1], #8
pld [r1, #64]
sub ip, r2, #0x01010101
bic ip, ip, r2
ands ip, ip, #0x80808080
bne strcpy_zero_in_first_register
sub ip, r3, #0x01010101
bic ip, ip, r3
ands ip, ip, #0x80808080
bne strcpy_zero_in_second_register
strd r2, r3, [r0], #8
b strcpy_mainloop
strcpy_complete:
m_pop
strcpy_zero_in_first_register:
lsls lr, ip, #17
bne strcpy_copy1byte
bcs strcpy_copy2bytes
lsls ip, ip, #1
bne strcpy_copy3bytes
strcpy_copy4bytes:
// Copy 4 bytes to the destiniation.
str r2, [r0]
m_pop
strcpy_copy1byte:
strb r2, [r0]
m_pop
strcpy_copy2bytes:
strh r2, [r0]
m_pop
strcpy_copy3bytes:
strh r2, [r0], #2
lsr r2, #16
strb r2, [r0]
m_pop
strcpy_zero_in_second_register:
lsls lr, ip, #17
bne strcpy_copy5bytes
bcs strcpy_copy6bytes
lsls ip, ip, #1
bne strcpy_copy7bytes
// Copy 8 bytes to the destination.
strd r2, r3, [r0]
m_pop
strcpy_copy5bytes:
str r2, [r0], #4
strb r3, [r0]
m_pop
strcpy_copy6bytes:
str r2, [r0], #4
strh r3, [r0]
m_pop
strcpy_copy7bytes:
str r2, [r0], #4
strh r3, [r0], #2
lsr r3, #16
strb r3, [r0]
m_pop
strcpy_unaligned_copy:
// Dst is aligned to a double word, while src is at an unknown alignment.
// There are 7 different versions of the unaligned copy code
// to prevent overreading the src. The mainloop of every single version
// will store 64 bits per loop. The difference is how much of src can
// be read without potentially crossing a page boundary.
tbb [pc, r3]
strcpy_unaligned_branchtable:
.byte 0
.byte ((strcpy_unalign7 - strcpy_unaligned_branchtable)/2)
.byte ((strcpy_unalign6 - strcpy_unaligned_branchtable)/2)
.byte ((strcpy_unalign5 - strcpy_unaligned_branchtable)/2)
.byte ((strcpy_unalign4 - strcpy_unaligned_branchtable)/2)
.byte ((strcpy_unalign3 - strcpy_unaligned_branchtable)/2)
.byte ((strcpy_unalign2 - strcpy_unaligned_branchtable)/2)
.byte ((strcpy_unalign1 - strcpy_unaligned_branchtable)/2)
.p2align 2
// Can read 7 bytes before possibly crossing a page.
strcpy_unalign7:
ldr r2, [r1], #4
sub ip, r2, #0x01010101
bic ip, ip, r2
ands ip, ip, #0x80808080
bne strcpy_zero_in_first_register
ldrb r3, [r1]
cbz r3, strcpy_unalign7_copy5bytes
ldrb r4, [r1, #1]
cbz r4, strcpy_unalign7_copy6bytes
ldrb r5, [r1, #2]
cbz r5, strcpy_unalign7_copy7bytes
ldr r3, [r1], #4
pld [r1, #64]
lsrs ip, r3, #24
strd r2, r3, [r0], #8
beq strcpy_unalign_return
b strcpy_unalign7
strcpy_unalign7_copy5bytes:
str r2, [r0], #4
strb r3, [r0]
strcpy_unalign_return:
m_pop
strcpy_unalign7_copy6bytes:
str r2, [r0], #4
strb r3, [r0], #1
strb r4, [r0], #1
m_pop
strcpy_unalign7_copy7bytes:
str r2, [r0], #4
strb r3, [r0], #1
strb r4, [r0], #1
strb r5, [r0], #1
m_pop
.p2align 2
// Can read 6 bytes before possibly crossing a page.
strcpy_unalign6:
ldr r2, [r1], #4
sub ip, r2, #0x01010101
bic ip, ip, r2
ands ip, ip, #0x80808080
bne strcpy_zero_in_first_register
ldrb r4, [r1]
cbz r4, strcpy_unalign_copy5bytes
ldrb r5, [r1, #1]
cbz r5, strcpy_unalign_copy6bytes
ldr r3, [r1], #4
pld [r1, #64]
tst r3, #0xff0000
beq strcpy_copy7bytes
lsrs ip, r3, #24
strd r2, r3, [r0], #8
beq strcpy_unalign_return
b strcpy_unalign6
.p2align 2
// Can read 5 bytes before possibly crossing a page.
strcpy_unalign5:
ldr r2, [r1], #4
sub ip, r2, #0x01010101
bic ip, ip, r2
ands ip, ip, #0x80808080
bne strcpy_zero_in_first_register
ldrb r4, [r1]
cbz r4, strcpy_unalign_copy5bytes
ldr r3, [r1], #4
pld [r1, #64]
sub ip, r3, #0x01010101
bic ip, ip, r3
ands ip, ip, #0x80808080
bne strcpy_zero_in_second_register
strd r2, r3, [r0], #8
b strcpy_unalign5
strcpy_unalign_copy5bytes:
str r2, [r0], #4
strb r4, [r0]
m_pop
strcpy_unalign_copy6bytes:
str r2, [r0], #4
strb r4, [r0], #1
strb r5, [r0]
m_pop
.p2align 2
// Can read 4 bytes before possibly crossing a page.
strcpy_unalign4:
ldr r2, [r1], #4
sub ip, r2, #0x01010101
bic ip, ip, r2
ands ip, ip, #0x80808080
bne strcpy_zero_in_first_register
ldr r3, [r1], #4
pld [r1, #64]
sub ip, r3, #0x01010101
bic ip, ip, r3
ands ip, ip, #0x80808080
bne strcpy_zero_in_second_register
strd r2, r3, [r0], #8
b strcpy_unalign4
.p2align 2
// Can read 3 bytes before possibly crossing a page.
strcpy_unalign3:
ldrb r2, [r1]
cbz r2, strcpy_unalign3_copy1byte
ldrb r3, [r1, #1]
cbz r3, strcpy_unalign3_copy2bytes
ldrb r4, [r1, #2]
cbz r4, strcpy_unalign3_copy3bytes
ldr r2, [r1], #4
ldr r3, [r1], #4
pld [r1, #64]
lsrs lr, r2, #24
beq strcpy_copy4bytes
sub ip, r3, #0x01010101
bic ip, ip, r3
ands ip, ip, #0x80808080
bne strcpy_zero_in_second_register
strd r2, r3, [r0], #8
b strcpy_unalign3
strcpy_unalign3_copy1byte:
strb r2, [r0]
m_pop
strcpy_unalign3_copy2bytes:
strb r2, [r0], #1
strb r3, [r0]
m_pop
strcpy_unalign3_copy3bytes:
strb r2, [r0], #1
strb r3, [r0], #1
strb r4, [r0]
m_pop
.p2align 2
// Can read 2 bytes before possibly crossing a page.
strcpy_unalign2:
ldrb r2, [r1]
cbz r2, strcpy_unalign_copy1byte
ldrb r4, [r1, #1]
cbz r4, strcpy_unalign_copy2bytes
ldr r2, [r1], #4
ldr r3, [r1], #4
pld [r1, #64]
tst r2, #0xff0000
beq strcpy_copy3bytes
lsrs ip, r2, #24
beq strcpy_copy4bytes
sub ip, r3, #0x01010101
bic ip, ip, r3
ands ip, ip, #0x80808080
bne strcpy_zero_in_second_register
strd r2, r3, [r0], #8
b strcpy_unalign2
.p2align 2
// Can read 1 byte before possibly crossing a page.
strcpy_unalign1:
ldrb r2, [r1]
cbz r2, strcpy_unalign_copy1byte
ldr r2, [r1], #4
ldr r3, [r1], #4
pld [r1, #64]
sub ip, r2, #0x01010101
bic ip, ip, r2
ands ip, ip, #0x80808080
bne strcpy_zero_in_first_register
sub ip, r3, #0x01010101
bic ip, ip, r3
ands ip, ip, #0x80808080
bne strcpy_zero_in_second_register
strd r2, r3, [r0], #8
b strcpy_unalign1
strcpy_unalign_copy1byte:
strb r2, [r0]
m_pop
strcpy_unalign_copy2bytes:
strb r2, [r0], #1
strb r4, [r0]
m_pop
END(strcpy)
#define STRCPY
#include "string_copy.S"

View File

@@ -0,0 +1,513 @@
/*
* Copyright (C) 2013 The Android Open Source Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
/*
* Copyright (c) 2013 ARM Ltd
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. The name of the company may not be used to endorse or promote
* products derived from this software without specific prior written
* permission.
*
* THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#if !defined(STPCPY) && !defined(STRCPY)
#error "Either STPCPY or STRCPY must be defined."
#endif
#include <private/bionic_asm.h>
.syntax unified
.thumb
.thumb_func
#if defined(STPCPY)
.macro m_push
push {r4, r5, lr}
.cfi_def_cfa_offset 12
.cfi_rel_offset r4, 0
.cfi_rel_offset r5, 4
.cfi_rel_offset lr, 8
.endm // m_push
#else
.macro m_push
push {r0, r4, r5, lr}
.cfi_def_cfa_offset 16
.cfi_rel_offset r0, 0
.cfi_rel_offset r4, 4
.cfi_rel_offset r5, 8
.cfi_rel_offset lr, 12
.endm // m_push
#endif
#if defined(STPCPY)
.macro m_pop
pop {r4, r5, pc}
.endm // m_pop
#else
.macro m_pop
pop {r0, r4, r5, pc}
.endm // m_pop
#endif
.macro m_copy_byte reg, cmd, label
ldrb \reg, [r1], #1
strb \reg, [r0], #1
\cmd \reg, \label
.endm // m_copy_byte
#if defined(STPCPY)
ENTRY(stpcpy)
#else
ENTRY(strcpy)
#endif
// For short copies, hard-code checking the first 8 bytes since this
// new code doesn't win until after about 8 bytes.
m_push
m_copy_byte reg=r2, cmd=cbz, label=.Lstringcopy_finish
m_copy_byte reg=r3, cmd=cbz, label=.Lstringcopy_finish
m_copy_byte reg=r4, cmd=cbz, label=.Lstringcopy_finish
m_copy_byte reg=r5, cmd=cbz, label=.Lstringcopy_finish
m_copy_byte reg=r2, cmd=cbz, label=.Lstringcopy_finish
m_copy_byte reg=r3, cmd=cbz, label=.Lstringcopy_finish
m_copy_byte reg=r4, cmd=cbz, label=.Lstringcopy_finish
m_copy_byte reg=r5, cmd=cbnz, label=.Lstringcopy_continue
.Lstringcopy_finish:
#if defined(STPCPY)
sub r0, r0, #1
#endif
m_pop
.Lstringcopy_continue:
pld [r1, #0]
ands r3, r0, #7
beq .Lstringcopy_check_src_align
// Align to a double word (64 bits).
rsb r3, r3, #8
lsls ip, r3, #31
beq .Lstringcopy_align_to_32
ldrb r2, [r1], #1
strb r2, [r0], #1
cbz r2, .Lstringcopy_complete
.Lstringcopy_align_to_32:
bcc .Lstringcopy_align_to_64
ldrb r2, [r1], #1
strb r2, [r0], #1
cbz r2, .Lstringcopy_complete
ldrb r2, [r1], #1
strb r2, [r0], #1
cbz r2, .Lstringcopy_complete
.Lstringcopy_align_to_64:
tst r3, #4
beq .Lstringcopy_check_src_align
ldr r2, [r1], #4
sub ip, r2, #0x01010101
bic ip, ip, r2
ands ip, ip, #0x80808080
bne .Lstringcopy_zero_in_first_register
str r2, [r0], #4
.Lstringcopy_check_src_align:
// At this point dst is aligned to a double word, check if src
// is also aligned to a double word.
ands r3, r1, #7
bne .Lstringcopy_unaligned_copy
.p2align 2
.Lstringcopy_mainloop:
ldrd r2, r3, [r1], #8
pld [r1, #64]
sub ip, r2, #0x01010101
bic ip, ip, r2
ands ip, ip, #0x80808080
bne .Lstringcopy_zero_in_first_register
sub ip, r3, #0x01010101
bic ip, ip, r3
ands ip, ip, #0x80808080
bne .Lstringcopy_zero_in_second_register
strd r2, r3, [r0], #8
b .Lstringcopy_mainloop
.Lstringcopy_complete:
#if defined(STPCPY)
sub r0, r0, #1
#endif
m_pop
.Lstringcopy_zero_in_first_register:
lsls lr, ip, #17
bne .Lstringcopy_copy1byte
bcs .Lstringcopy_copy2bytes
lsls ip, ip, #1
bne .Lstringcopy_copy3bytes
.Lstringcopy_copy4bytes:
// Copy 4 bytes to the destiniation.
#if defined(STPCPY)
str r2, [r0], #3
#else
str r2, [r0]
#endif
m_pop
.Lstringcopy_copy1byte:
strb r2, [r0]
m_pop
.Lstringcopy_copy2bytes:
#if defined(STPCPY)
strh r2, [r0], #1
#else
strh r2, [r0]
#endif
m_pop
.Lstringcopy_copy3bytes:
strh r2, [r0], #2
lsr r2, #16
strb r2, [r0]
m_pop
.Lstringcopy_zero_in_second_register:
lsls lr, ip, #17
bne .Lstringcopy_copy5bytes
bcs .Lstringcopy_copy6bytes
lsls ip, ip, #1
bne .Lstringcopy_copy7bytes
// Copy 8 bytes to the destination.
strd r2, r3, [r0]
#if defined(STPCPY)
add r0, r0, #7
#endif
m_pop
.Lstringcopy_copy5bytes:
str r2, [r0], #4
strb r3, [r0]
m_pop
.Lstringcopy_copy6bytes:
str r2, [r0], #4
#if defined(STPCPY)
strh r3, [r0], #1
#else
strh r3, [r0]
#endif
m_pop
.Lstringcopy_copy7bytes:
str r2, [r0], #4
strh r3, [r0], #2
lsr r3, #16
strb r3, [r0]
m_pop
.Lstringcopy_unaligned_copy:
// Dst is aligned to a double word, while src is at an unknown alignment.
// There are 7 different versions of the unaligned copy code
// to prevent overreading the src. The mainloop of every single version
// will store 64 bits per loop. The difference is how much of src can
// be read without potentially crossing a page boundary.
tbb [pc, r3]
.Lstringcopy_unaligned_branchtable:
.byte 0
.byte ((.Lstringcopy_unalign7 - .Lstringcopy_unaligned_branchtable)/2)
.byte ((.Lstringcopy_unalign6 - .Lstringcopy_unaligned_branchtable)/2)
.byte ((.Lstringcopy_unalign5 - .Lstringcopy_unaligned_branchtable)/2)
.byte ((.Lstringcopy_unalign4 - .Lstringcopy_unaligned_branchtable)/2)
.byte ((.Lstringcopy_unalign3 - .Lstringcopy_unaligned_branchtable)/2)
.byte ((.Lstringcopy_unalign2 - .Lstringcopy_unaligned_branchtable)/2)
.byte ((.Lstringcopy_unalign1 - .Lstringcopy_unaligned_branchtable)/2)
.p2align 2
// Can read 7 bytes before possibly crossing a page.
.Lstringcopy_unalign7:
ldr r2, [r1], #4
sub ip, r2, #0x01010101
bic ip, ip, r2
ands ip, ip, #0x80808080
bne .Lstringcopy_zero_in_first_register
ldrb r3, [r1]
cbz r3, .Lstringcopy_unalign7_copy5bytes
ldrb r4, [r1, #1]
cbz r4, .Lstringcopy_unalign7_copy6bytes
ldrb r5, [r1, #2]
cbz r5, .Lstringcopy_unalign7_copy7bytes
ldr r3, [r1], #4
pld [r1, #64]
lsrs ip, r3, #24
strd r2, r3, [r0], #8
#if defined(STPCPY)
beq .Lstringcopy_finish
#else
beq .Lstringcopy_unalign_return
#endif
b .Lstringcopy_unalign7
.Lstringcopy_unalign7_copy5bytes:
str r2, [r0], #4
strb r3, [r0]
.Lstringcopy_unalign_return:
m_pop
.Lstringcopy_unalign7_copy6bytes:
str r2, [r0], #4
strb r3, [r0], #1
strb r4, [r0]
m_pop
.Lstringcopy_unalign7_copy7bytes:
str r2, [r0], #4
strb r3, [r0], #1
strb r4, [r0], #1
strb r5, [r0]
m_pop
.p2align 2
// Can read 6 bytes before possibly crossing a page.
.Lstringcopy_unalign6:
ldr r2, [r1], #4
sub ip, r2, #0x01010101
bic ip, ip, r2
ands ip, ip, #0x80808080
bne .Lstringcopy_zero_in_first_register
ldrb r4, [r1]
cbz r4, .Lstringcopy_unalign_copy5bytes
ldrb r5, [r1, #1]
cbz r5, .Lstringcopy_unalign_copy6bytes
ldr r3, [r1], #4
pld [r1, #64]
tst r3, #0xff0000
beq .Lstringcopy_copy7bytes
lsrs ip, r3, #24
strd r2, r3, [r0], #8
#if defined(STPCPY)
beq .Lstringcopy_finish
#else
beq .Lstringcopy_unalign_return
#endif
b .Lstringcopy_unalign6
.p2align 2
// Can read 5 bytes before possibly crossing a page.
.Lstringcopy_unalign5:
ldr r2, [r1], #4
sub ip, r2, #0x01010101
bic ip, ip, r2
ands ip, ip, #0x80808080
bne .Lstringcopy_zero_in_first_register
ldrb r4, [r1]
cbz r4, .Lstringcopy_unalign_copy5bytes
ldr r3, [r1], #4
pld [r1, #64]
sub ip, r3, #0x01010101
bic ip, ip, r3
ands ip, ip, #0x80808080
bne .Lstringcopy_zero_in_second_register
strd r2, r3, [r0], #8
b .Lstringcopy_unalign5
.Lstringcopy_unalign_copy5bytes:
str r2, [r0], #4
strb r4, [r0]
m_pop
.Lstringcopy_unalign_copy6bytes:
str r2, [r0], #4
strb r4, [r0], #1
strb r5, [r0]
m_pop
.p2align 2
// Can read 4 bytes before possibly crossing a page.
.Lstringcopy_unalign4:
ldr r2, [r1], #4
sub ip, r2, #0x01010101
bic ip, ip, r2
ands ip, ip, #0x80808080
bne .Lstringcopy_zero_in_first_register
ldr r3, [r1], #4
pld [r1, #64]
sub ip, r3, #0x01010101
bic ip, ip, r3
ands ip, ip, #0x80808080
bne .Lstringcopy_zero_in_second_register
strd r2, r3, [r0], #8
b .Lstringcopy_unalign4
.p2align 2
// Can read 3 bytes before possibly crossing a page.
.Lstringcopy_unalign3:
ldrb r2, [r1]
cbz r2, .Lstringcopy_unalign3_copy1byte
ldrb r3, [r1, #1]
cbz r3, .Lstringcopy_unalign3_copy2bytes
ldrb r4, [r1, #2]
cbz r4, .Lstringcopy_unalign3_copy3bytes
ldr r2, [r1], #4
ldr r3, [r1], #4
pld [r1, #64]
lsrs lr, r2, #24
beq .Lstringcopy_copy4bytes
sub ip, r3, #0x01010101
bic ip, ip, r3
ands ip, ip, #0x80808080
bne .Lstringcopy_zero_in_second_register
strd r2, r3, [r0], #8
b .Lstringcopy_unalign3
.Lstringcopy_unalign3_copy1byte:
strb r2, [r0]
m_pop
.Lstringcopy_unalign3_copy2bytes:
strb r2, [r0], #1
strb r3, [r0]
m_pop
.Lstringcopy_unalign3_copy3bytes:
strb r2, [r0], #1
strb r3, [r0], #1
strb r4, [r0]
m_pop
.p2align 2
// Can read 2 bytes before possibly crossing a page.
.Lstringcopy_unalign2:
ldrb r2, [r1]
cbz r2, .Lstringcopy_unalign_copy1byte
ldrb r4, [r1, #1]
cbz r4, .Lstringcopy_unalign_copy2bytes
ldr r2, [r1], #4
ldr r3, [r1], #4
pld [r1, #64]
tst r2, #0xff0000
beq .Lstringcopy_copy3bytes
lsrs ip, r2, #24
beq .Lstringcopy_copy4bytes
sub ip, r3, #0x01010101
bic ip, ip, r3
ands ip, ip, #0x80808080
bne .Lstringcopy_zero_in_second_register
strd r2, r3, [r0], #8
b .Lstringcopy_unalign2
.p2align 2
// Can read 1 byte before possibly crossing a page.
.Lstringcopy_unalign1:
ldrb r2, [r1]
cbz r2, .Lstringcopy_unalign_copy1byte
ldr r2, [r1], #4
ldr r3, [r1], #4
pld [r1, #64]
sub ip, r2, #0x01010101
bic ip, ip, r2
ands ip, ip, #0x80808080
bne .Lstringcopy_zero_in_first_register
sub ip, r3, #0x01010101
bic ip, ip, r3
ands ip, ip, #0x80808080
bne .Lstringcopy_zero_in_second_register
strd r2, r3, [r0], #8
b .Lstringcopy_unalign1
.Lstringcopy_unalign_copy1byte:
strb r2, [r0]
m_pop
.Lstringcopy_unalign_copy2bytes:
strb r2, [r0], #1
strb r4, [r0]
m_pop
#if defined(STPCPY)
END(stpcpy)
#else
END(strcpy)
#endif

View File

@@ -1,10 +1,11 @@
libc_bionic_src_files_arm += \
arch-arm/cortex-a15/bionic/memcpy.S \
arch-arm/cortex-a15/bionic/memset.S \
arch-arm/cortex-a15/bionic/stpcpy.S \
arch-arm/cortex-a15/bionic/strcat.S \
arch-arm/cortex-a15/bionic/__strcat_chk.S \
arch-arm/cortex-a15/bionic/strcmp.S \
arch-arm/cortex-a15/bionic/strcpy.S \
arch-arm/cortex-a15/bionic/strlen.S \
arch-arm/cortex-a15/bionic/__strcat_chk.S \
arch-arm/cortex-a15/bionic/__strcpy_chk.S \
arch-arm/cortex-a15/bionic/strlen.S \
bionic/memmove.c \

View File

@@ -40,12 +40,10 @@
ENTRY(__strcat_chk)
pld [r0, #0]
push {r0, lr}
.save {r0, lr}
.cfi_def_cfa_offset 8
.cfi_rel_offset r0, 0
.cfi_rel_offset lr, 4
push {r4, r5}
.save {r4, r5}
.cfi_adjust_cfa_offset 8
.cfi_rel_offset r4, 0
.cfi_rel_offset r5, 4
@@ -199,8 +197,6 @@ END(__strcat_chk)
#include "memcpy_base.S"
ENTRY_PRIVATE(__strcat_chk_fail)
.save {r0, lr}
.save {r4, r5}
.cfi_def_cfa_offset 8
.cfi_rel_offset r0, 0
.cfi_rel_offset lr, 4

View File

@@ -39,7 +39,6 @@
ENTRY(__strcpy_chk)
pld [r0, #0]
push {r0, lr}
.save {r0, lr}
.cfi_def_cfa_offset 8
.cfi_rel_offset r0, 0
.cfi_rel_offset lr, 4
@@ -165,7 +164,6 @@ END(__strcpy_chk)
#include "memcpy_base.S"
ENTRY_PRIVATE(__strcpy_chk_fail)
.save {r0, lr}
.cfi_def_cfa_offset 8
.cfi_rel_offset r0, 0
.cfi_rel_offset lr, 4

View File

@@ -50,7 +50,6 @@ END(__memcpy_chk)
ENTRY(memcpy)
pld [r1, #0]
stmfd sp!, {r0, lr}
.save {r0, lr}
.cfi_def_cfa_offset 8
.cfi_rel_offset r0, 0
.cfi_rel_offset lr, 4
@@ -64,7 +63,6 @@ END(memcpy)
ENTRY_PRIVATE(__memcpy_chk_fail)
// Preserve lr for backtrace.
push {lr}
.save {lr}
.cfi_def_cfa_offset 4
.cfi_rel_offset lr, 0

View File

@@ -33,7 +33,6 @@
*/
ENTRY_PRIVATE(MEMCPY_BASE)
.save {r0, lr}
.cfi_def_cfa_offset 8
.cfi_rel_offset r0, 0
.cfi_rel_offset lr, 4
@@ -139,14 +138,12 @@ ENTRY_PRIVATE(MEMCPY_BASE)
END(MEMCPY_BASE)
ENTRY_PRIVATE(MEMCPY_BASE_ALIGNED)
.save {r0, lr}
.cfi_def_cfa_offset 8
.cfi_rel_offset r0, 0
.cfi_rel_offset lr, 4
/* Simple arm-only copy loop to handle aligned copy operations */
stmfd sp!, {r4-r8}
.save {r4-r8}
.cfi_adjust_cfa_offset 20
.cfi_rel_offset r4, 0
.cfi_rel_offset r5, 4

View File

@@ -42,7 +42,6 @@ ENTRY(__memset_chk)
// Preserve lr for backtrace.
push {lr}
.save {lr}
.cfi_def_cfa_offset 4
.cfi_rel_offset lr, 0
@@ -72,7 +71,6 @@ ENTRY(memset)
bhi __memset_large_copy
stmfd sp!, {r0}
.save {r0}
.cfi_def_cfa_offset 4
.cfi_rel_offset r0, 0
@@ -114,7 +112,6 @@ ENTRY_PRIVATE(__memset_large_copy)
* offset = (4-(src&3))&3 = -src & 3
*/
stmfd sp!, {r0, r4-r7, lr}
.save {r0, r4-r7, lr}
.cfi_def_cfa_offset 24
.cfi_rel_offset r0, 0
.cfi_rel_offset r4, 4

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2008 The Android Open Source Project
* Copyright (C) 2014 The Android Open Source Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -26,9 +26,5 @@
* SUCH DAMAGE.
*/
#include <private/bionic_asm.h>
ENTRY_PRIVATE(__get_sp)
move v0, sp
j ra
END(__get_sp)
#define STPCPY
#include "string_copy.S"

View File

@@ -168,7 +168,6 @@ ENTRY(strcmp)
bne .L_do_align
/* Fast path. */
.save {r4-r7}
init
.L_doubleword_aligned:

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2013 The Android Open Source Project
* Copyright (C) 2014 The Android Open Source Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -25,432 +25,6 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
/*
* Copyright (c) 2013 ARM Ltd
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. The name of the company may not be used to endorse or promote
* products derived from this software without specific prior written
* permission.
*
* THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <private/bionic_asm.h>
.syntax unified
.thumb
.thumb_func
.macro m_push
push {r0, r4, r5, lr}
.endm // m_push
.macro m_ret inst
\inst {r0, r4, r5, pc}
.endm // m_ret
.macro m_copy_byte reg, cmd, label
ldrb \reg, [r1], #1
strb \reg, [r0], #1
\cmd \reg, \label
.endm // m_copy_byte
ENTRY(strcpy)
// Unroll the first 8 bytes that will be copied.
m_push
m_copy_byte reg=r2, cmd=cbz, label=strcpy_finish
m_copy_byte reg=r3, cmd=cbz, label=strcpy_finish
m_copy_byte reg=r4, cmd=cbz, label=strcpy_finish
m_copy_byte reg=r5, cmd=cbz, label=strcpy_finish
m_copy_byte reg=r2, cmd=cbz, label=strcpy_finish
m_copy_byte reg=r3, cmd=cbz, label=strcpy_finish
m_copy_byte reg=r4, cmd=cbz, label=strcpy_finish
m_copy_byte reg=r5, cmd=cbnz, label=strcpy_continue
strcpy_finish:
m_ret inst=pop
strcpy_continue:
pld [r1, #0]
ands r3, r0, #7
bne strcpy_align_dst
strcpy_check_src_align:
// At this point dst is aligned to a double word, check if src
// is also aligned to a double word.
ands r3, r1, #7
bne strcpy_unaligned_copy
.p2align 2
strcpy_mainloop:
ldmia r1!, {r2, r3}
pld [r1, #64]
sub ip, r2, #0x01010101
bic ip, ip, r2
ands ip, ip, #0x80808080
bne strcpy_zero_in_first_register
sub ip, r3, #0x01010101
bic ip, ip, r3
ands ip, ip, #0x80808080
bne strcpy_zero_in_second_register
stmia r0!, {r2, r3}
b strcpy_mainloop
strcpy_zero_in_first_register:
lsls lr, ip, #17
itt ne
strbne r2, [r0]
m_ret inst=popne
itt cs
strhcs r2, [r0]
m_ret inst=popcs
lsls ip, ip, #1
itt eq
streq r2, [r0]
m_ret inst=popeq
strh r2, [r0], #2
lsr r3, r2, #16
strb r3, [r0]
m_ret inst=pop
strcpy_zero_in_second_register:
lsls lr, ip, #17
ittt ne
stmiane r0!, {r2}
strbne r3, [r0]
m_ret inst=popne
ittt cs
strcs r2, [r0], #4
strhcs r3, [r0]
m_ret inst=popcs
lsls ip, ip, #1
itt eq
stmiaeq r0, {r2, r3}
m_ret inst=popeq
stmia r0!, {r2}
strh r3, [r0], #2
lsr r4, r3, #16
strb r4, [r0]
m_ret inst=pop
strcpy_align_dst:
// Align to a double word (64 bits).
rsb r3, r3, #8
lsls ip, r3, #31
beq strcpy_align_to_32
ldrb r2, [r1], #1
strb r2, [r0], #1
cbz r2, strcpy_complete
strcpy_align_to_32:
bcc strcpy_align_to_64
ldrb r4, [r1], #1
strb r4, [r0], #1
cmp r4, #0
it eq
m_ret inst=popeq
ldrb r5, [r1], #1
strb r5, [r0], #1
cmp r5, #0
it eq
m_ret inst=popeq
strcpy_align_to_64:
tst r3, #4
beq strcpy_check_src_align
ldr r2, [r1], #4
sub ip, r2, #0x01010101
bic ip, ip, r2
ands ip, ip, #0x80808080
bne strcpy_zero_in_first_register
stmia r0!, {r2}
b strcpy_check_src_align
strcpy_complete:
m_ret inst=pop
strcpy_unaligned_copy:
// Dst is aligned to a double word, while src is at an unknown alignment.
// There are 7 different versions of the unaligned copy code
// to prevent overreading the src. The mainloop of every single version
// will store 64 bits per loop. The difference is how much of src can
// be read without potentially crossing a page boundary.
tbb [pc, r3]
strcpy_unaligned_branchtable:
.byte 0
.byte ((strcpy_unalign7 - strcpy_unaligned_branchtable)/2)
.byte ((strcpy_unalign6 - strcpy_unaligned_branchtable)/2)
.byte ((strcpy_unalign5 - strcpy_unaligned_branchtable)/2)
.byte ((strcpy_unalign4 - strcpy_unaligned_branchtable)/2)
.byte ((strcpy_unalign3 - strcpy_unaligned_branchtable)/2)
.byte ((strcpy_unalign2 - strcpy_unaligned_branchtable)/2)
.byte ((strcpy_unalign1 - strcpy_unaligned_branchtable)/2)
.p2align 2
// Can read 7 bytes before possibly crossing a page.
strcpy_unalign7:
ldr r2, [r1], #4
sub ip, r2, #0x01010101
bic ip, ip, r2
ands ip, ip, #0x80808080
bne strcpy_zero_in_first_register
ldrb r3, [r1]
cbz r3, strcpy_unalign7_copy5bytes
ldrb r4, [r1, #1]
cbz r4, strcpy_unalign7_copy6bytes
ldrb r5, [r1, #2]
cbz r5, strcpy_unalign7_copy7bytes
ldr r3, [r1], #4
pld [r1, #64]
lsrs ip, r3, #24
stmia r0!, {r2, r3}
beq strcpy_unalign_return
b strcpy_unalign7
strcpy_unalign7_copy5bytes:
stmia r0!, {r2}
strb r3, [r0]
strcpy_unalign_return:
m_ret inst=pop
strcpy_unalign7_copy6bytes:
stmia r0!, {r2}
strb r3, [r0], #1
strb r4, [r0], #1
m_ret inst=pop
strcpy_unalign7_copy7bytes:
stmia r0!, {r2}
strb r3, [r0], #1
strb r4, [r0], #1
strb r5, [r0], #1
m_ret inst=pop
.p2align 2
// Can read 6 bytes before possibly crossing a page.
strcpy_unalign6:
ldr r2, [r1], #4
sub ip, r2, #0x01010101
bic ip, ip, r2
ands ip, ip, #0x80808080
bne strcpy_zero_in_first_register
ldrb r4, [r1]
cbz r4, strcpy_unalign_copy5bytes
ldrb r5, [r1, #1]
cbz r5, strcpy_unalign_copy6bytes
ldr r3, [r1], #4
pld [r1, #64]
tst r3, #0xff0000
beq strcpy_unalign6_copy7bytes
lsrs ip, r3, #24
stmia r0!, {r2, r3}
beq strcpy_unalign_return
b strcpy_unalign6
strcpy_unalign6_copy7bytes:
stmia r0!, {r2}
strh r3, [r0], #2
lsr r3, #16
strb r3, [r0]
m_ret inst=pop
.p2align 2
// Can read 5 bytes before possibly crossing a page.
strcpy_unalign5:
ldr r2, [r1], #4
sub ip, r2, #0x01010101
bic ip, ip, r2
ands ip, ip, #0x80808080
bne strcpy_zero_in_first_register
ldrb r4, [r1]
cbz r4, strcpy_unalign_copy5bytes
ldr r3, [r1], #4
pld [r1, #64]
sub ip, r3, #0x01010101
bic ip, ip, r3
ands ip, ip, #0x80808080
bne strcpy_zero_in_second_register
stmia r0!, {r2, r3}
b strcpy_unalign5
strcpy_unalign_copy5bytes:
stmia r0!, {r2}
strb r4, [r0]
m_ret inst=pop
strcpy_unalign_copy6bytes:
stmia r0!, {r2}
strb r4, [r0], #1
strb r5, [r0]
m_ret inst=pop
.p2align 2
// Can read 4 bytes before possibly crossing a page.
strcpy_unalign4:
ldmia r1!, {r2}
sub ip, r2, #0x01010101
bic ip, ip, r2
ands ip, ip, #0x80808080
bne strcpy_zero_in_first_register
ldmia r1!, {r3}
pld [r1, #64]
sub ip, r3, #0x01010101
bic ip, ip, r3
ands ip, ip, #0x80808080
bne strcpy_zero_in_second_register
stmia r0!, {r2, r3}
b strcpy_unalign4
.p2align 2
// Can read 3 bytes before possibly crossing a page.
strcpy_unalign3:
ldrb r2, [r1]
cbz r2, strcpy_unalign3_copy1byte
ldrb r3, [r1, #1]
cbz r3, strcpy_unalign3_copy2bytes
ldrb r4, [r1, #2]
cbz r4, strcpy_unalign3_copy3bytes
ldr r2, [r1], #4
ldr r3, [r1], #4
pld [r1, #64]
lsrs lr, r2, #24
beq strcpy_unalign_copy4bytes
sub ip, r3, #0x01010101
bic ip, ip, r3
ands ip, ip, #0x80808080
bne strcpy_zero_in_second_register
stmia r0!, {r2, r3}
b strcpy_unalign3
strcpy_unalign3_copy1byte:
strb r2, [r0]
m_ret inst=pop
strcpy_unalign3_copy2bytes:
strb r2, [r0], #1
strb r3, [r0]
m_ret inst=pop
strcpy_unalign3_copy3bytes:
strb r2, [r0], #1
strb r3, [r0], #1
strb r4, [r0]
m_ret inst=pop
.p2align 2
// Can read 2 bytes before possibly crossing a page.
strcpy_unalign2:
ldrb r2, [r1]
cbz r2, strcpy_unalign_copy1byte
ldrb r3, [r1, #1]
cbz r3, strcpy_unalign_copy2bytes
ldr r2, [r1], #4
ldr r3, [r1], #4
pld [r1, #64]
tst r2, #0xff0000
beq strcpy_unalign_copy3bytes
lsrs ip, r2, #24
beq strcpy_unalign_copy4bytes
sub ip, r3, #0x01010101
bic ip, ip, r3
ands ip, ip, #0x80808080
bne strcpy_zero_in_second_register
stmia r0!, {r2, r3}
b strcpy_unalign2
.p2align 2
// Can read 1 byte before possibly crossing a page.
strcpy_unalign1:
ldrb r2, [r1]
cbz r2, strcpy_unalign_copy1byte
ldr r2, [r1], #4
ldr r3, [r1], #4
pld [r1, #64]
sub ip, r2, #0x01010101
bic ip, ip, r2
ands ip, ip, #0x80808080
bne strcpy_zero_in_first_register
sub ip, r3, #0x01010101
bic ip, ip, r3
ands ip, ip, #0x80808080
bne strcpy_zero_in_second_register
stmia r0!, {r2, r3}
b strcpy_unalign1
strcpy_unalign_copy1byte:
strb r2, [r0]
m_ret inst=pop
strcpy_unalign_copy2bytes:
strb r2, [r0], #1
strb r3, [r0]
m_ret inst=pop
strcpy_unalign_copy3bytes:
strh r2, [r0], #2
lsr r2, #16
strb r2, [r0]
m_ret inst=pop
strcpy_unalign_copy4bytes:
stmia r0, {r2}
m_ret inst=pop
END(strcpy)
#define STRCPY
#include "string_copy.S"

View File

@@ -0,0 +1,535 @@
/*
* Copyright (C) 2013 The Android Open Source Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
/*
* Copyright (c) 2013 ARM Ltd
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. The name of the company may not be used to endorse or promote
* products derived from this software without specific prior written
* permission.
*
* THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#if !defined(STPCPY) && !defined(STRCPY)
#error "Either STPCPY or STRCPY must be defined."
#endif
#include <private/bionic_asm.h>
.syntax unified
.thumb
.thumb_func
#if defined(STPCPY)
.macro m_push
push {r4, r5, lr}
.cfi_def_cfa_offset 12
.cfi_rel_offset r4, 0
.cfi_rel_offset r5, 4
.cfi_rel_offset lr, 8
.endm // m_push
#else
.macro m_push
push {r0, r4, r5, lr}
.cfi_def_cfa_offset 16
.cfi_rel_offset r0, 0
.cfi_rel_offset r4, 4
.cfi_rel_offset r5, 8
.cfi_rel_offset lr, 12
.endm // m_push
#endif
#if defined(STPCPY)
.macro m_ret inst
\inst {r4, r5, pc}
.endm // m_ret
#else
.macro m_ret inst
\inst {r0, r4, r5, pc}
.endm // m_ret
#endif
.macro m_copy_byte reg, cmd, label
ldrb \reg, [r1], #1
strb \reg, [r0], #1
\cmd \reg, \label
.endm // m_copy_byte
#if defined(STPCPY)
ENTRY(stpcpy)
#else
ENTRY(strcpy)
#endif
// Unroll the first 8 bytes that will be copied.
m_push
m_copy_byte reg=r2, cmd=cbz, label=.Lstringcopy_finish
m_copy_byte reg=r3, cmd=cbz, label=.Lstringcopy_finish
m_copy_byte reg=r4, cmd=cbz, label=.Lstringcopy_finish
m_copy_byte reg=r5, cmd=cbz, label=.Lstringcopy_finish
m_copy_byte reg=r2, cmd=cbz, label=.Lstringcopy_finish
m_copy_byte reg=r3, cmd=cbz, label=.Lstringcopy_finish
m_copy_byte reg=r4, cmd=cbz, label=.Lstringcopy_finish
m_copy_byte reg=r5, cmd=cbnz, label=.Lstringcopy_continue
.Lstringcopy_finish:
#if defined(STPCPY)
sub r0, r0, #1
#endif
m_ret inst=pop
.Lstringcopy_continue:
pld [r1, #0]
ands r3, r0, #7
bne .Lstringcopy_align_dst
.Lstringcopy_check_src_align:
// At this point dst is aligned to a double word, check if src
// is also aligned to a double word.
ands r3, r1, #7
bne .Lstringcopy_unaligned_copy
.p2align 2
.Lstringcopy_mainloop:
ldmia r1!, {r2, r3}
pld [r1, #64]
sub ip, r2, #0x01010101
bic ip, ip, r2
ands ip, ip, #0x80808080
bne .Lstringcopy_zero_in_first_register
sub ip, r3, #0x01010101
bic ip, ip, r3
ands ip, ip, #0x80808080
bne .Lstringcopy_zero_in_second_register
stmia r0!, {r2, r3}
b .Lstringcopy_mainloop
.Lstringcopy_zero_in_first_register:
lsls lr, ip, #17
itt ne
strbne r2, [r0]
m_ret inst=popne
itt cs
#if defined(STPCPY)
strhcs r2, [r0], #1
#else
strhcs r2, [r0]
#endif
m_ret inst=popcs
lsls ip, ip, #1
itt eq
#if defined(STPCPY)
streq r2, [r0], #3
#else
streq r2, [r0]
#endif
m_ret inst=popeq
strh r2, [r0], #2
lsr r3, r2, #16
strb r3, [r0]
m_ret inst=pop
.Lstringcopy_zero_in_second_register:
lsls lr, ip, #17
ittt ne
stmiane r0!, {r2}
strbne r3, [r0]
m_ret inst=popne
ittt cs
strcs r2, [r0], #4
#if defined(STPCPY)
strhcs r3, [r0], #1
#else
strhcs r3, [r0]
#endif
m_ret inst=popcs
lsls ip, ip, #1
#if defined(STPCPY)
ittt eq
#else
itt eq
#endif
stmiaeq r0, {r2, r3}
#if defined(STPCPY)
addeq r0, r0, #7
#endif
m_ret inst=popeq
stmia r0!, {r2}
strh r3, [r0], #2
lsr r4, r3, #16
strb r4, [r0]
m_ret inst=pop
.Lstringcopy_align_dst:
// Align to a double word (64 bits).
rsb r3, r3, #8
lsls ip, r3, #31
beq .Lstringcopy_align_to_32
ldrb r2, [r1], #1
strb r2, [r0], #1
cbz r2, .Lstringcopy_complete
.Lstringcopy_align_to_32:
bcc .Lstringcopy_align_to_64
ldrb r4, [r1], #1
strb r4, [r0], #1
cmp r4, #0
#if defined(STPCPY)
itt eq
subeq r0, r0, #1
#else
it eq
#endif
m_ret inst=popeq
ldrb r5, [r1], #1
strb r5, [r0], #1
cmp r5, #0
#if defined(STPCPY)
itt eq
subeq r0, r0, #1
#else
it eq
#endif
m_ret inst=popeq
.Lstringcopy_align_to_64:
tst r3, #4
beq .Lstringcopy_check_src_align
ldr r2, [r1], #4
sub ip, r2, #0x01010101
bic ip, ip, r2
ands ip, ip, #0x80808080
bne .Lstringcopy_zero_in_first_register
stmia r0!, {r2}
b .Lstringcopy_check_src_align
.Lstringcopy_complete:
#if defined(STPCPY)
sub r0, r0, #1
#endif
m_ret inst=pop
.Lstringcopy_unaligned_copy:
// Dst is aligned to a double word, while src is at an unknown alignment.
// There are 7 different versions of the unaligned copy code
// to prevent overreading the src. The mainloop of every single version
// will store 64 bits per loop. The difference is how much of src can
// be read without potentially crossing a page boundary.
tbb [pc, r3]
.Lstringcopy_unaligned_branchtable:
.byte 0
.byte ((.Lstringcopy_unalign7 - .Lstringcopy_unaligned_branchtable)/2)
.byte ((.Lstringcopy_unalign6 - .Lstringcopy_unaligned_branchtable)/2)
.byte ((.Lstringcopy_unalign5 - .Lstringcopy_unaligned_branchtable)/2)
.byte ((.Lstringcopy_unalign4 - .Lstringcopy_unaligned_branchtable)/2)
.byte ((.Lstringcopy_unalign3 - .Lstringcopy_unaligned_branchtable)/2)
.byte ((.Lstringcopy_unalign2 - .Lstringcopy_unaligned_branchtable)/2)
.byte ((.Lstringcopy_unalign1 - .Lstringcopy_unaligned_branchtable)/2)
.p2align 2
// Can read 7 bytes before possibly crossing a page.
.Lstringcopy_unalign7:
ldr r2, [r1], #4
sub ip, r2, #0x01010101
bic ip, ip, r2
ands ip, ip, #0x80808080
bne .Lstringcopy_zero_in_first_register
ldrb r3, [r1]
cbz r3, .Lstringcopy_unalign7_copy5bytes
ldrb r4, [r1, #1]
cbz r4, .Lstringcopy_unalign7_copy6bytes
ldrb r5, [r1, #2]
cbz r5, .Lstringcopy_unalign7_copy7bytes
ldr r3, [r1], #4
pld [r1, #64]
lsrs ip, r3, #24
stmia r0!, {r2, r3}
#if defined(STPCPY)
beq .Lstringcopy_finish
#else
beq .Lstringcopy_unalign_return
#endif
b .Lstringcopy_unalign7
.Lstringcopy_unalign7_copy5bytes:
stmia r0!, {r2}
strb r3, [r0]
.Lstringcopy_unalign_return:
m_ret inst=pop
.Lstringcopy_unalign7_copy6bytes:
stmia r0!, {r2}
strb r3, [r0], #1
strb r4, [r0]
m_ret inst=pop
.Lstringcopy_unalign7_copy7bytes:
stmia r0!, {r2}
strb r3, [r0], #1
strb r4, [r0], #1
strb r5, [r0]
m_ret inst=pop
.p2align 2
// Can read 6 bytes before possibly crossing a page.
.Lstringcopy_unalign6:
ldr r2, [r1], #4
sub ip, r2, #0x01010101
bic ip, ip, r2
ands ip, ip, #0x80808080
bne .Lstringcopy_zero_in_first_register
ldrb r4, [r1]
cbz r4, .Lstringcopy_unalign_copy5bytes
ldrb r5, [r1, #1]
cbz r5, .Lstringcopy_unalign_copy6bytes
ldr r3, [r1], #4
pld [r1, #64]
tst r3, #0xff0000
beq .Lstringcopy_unalign6_copy7bytes
lsrs ip, r3, #24
stmia r0!, {r2, r3}
#if defined(STPCPY)
beq .Lstringcopy_finish
#else
beq .Lstringcopy_unalign_return
#endif
b .Lstringcopy_unalign6
.Lstringcopy_unalign6_copy7bytes:
stmia r0!, {r2}
strh r3, [r0], #2
lsr r3, #16
strb r3, [r0]
m_ret inst=pop
.p2align 2
// Can read 5 bytes before possibly crossing a page.
.Lstringcopy_unalign5:
ldr r2, [r1], #4
sub ip, r2, #0x01010101
bic ip, ip, r2
ands ip, ip, #0x80808080
bne .Lstringcopy_zero_in_first_register
ldrb r4, [r1]
cbz r4, .Lstringcopy_unalign_copy5bytes
ldr r3, [r1], #4
pld [r1, #64]
sub ip, r3, #0x01010101
bic ip, ip, r3
ands ip, ip, #0x80808080
bne .Lstringcopy_zero_in_second_register
stmia r0!, {r2, r3}
b .Lstringcopy_unalign5
.Lstringcopy_unalign_copy5bytes:
stmia r0!, {r2}
strb r4, [r0]
m_ret inst=pop
.Lstringcopy_unalign_copy6bytes:
stmia r0!, {r2}
strb r4, [r0], #1
strb r5, [r0]
m_ret inst=pop
.p2align 2
// Can read 4 bytes before possibly crossing a page.
.Lstringcopy_unalign4:
ldmia r1!, {r2}
sub ip, r2, #0x01010101
bic ip, ip, r2
ands ip, ip, #0x80808080
bne .Lstringcopy_zero_in_first_register
ldmia r1!, {r3}
pld [r1, #64]
sub ip, r3, #0x01010101
bic ip, ip, r3
ands ip, ip, #0x80808080
bne .Lstringcopy_zero_in_second_register
stmia r0!, {r2, r3}
b .Lstringcopy_unalign4
.p2align 2
// Can read 3 bytes before possibly crossing a page.
.Lstringcopy_unalign3:
ldrb r2, [r1]
cbz r2, .Lstringcopy_unalign3_copy1byte
ldrb r3, [r1, #1]
cbz r3, .Lstringcopy_unalign3_copy2bytes
ldrb r4, [r1, #2]
cbz r4, .Lstringcopy_unalign3_copy3bytes
ldr r2, [r1], #4
ldr r3, [r1], #4
pld [r1, #64]
lsrs lr, r2, #24
beq .Lstringcopy_unalign_copy4bytes
sub ip, r3, #0x01010101
bic ip, ip, r3
ands ip, ip, #0x80808080
bne .Lstringcopy_zero_in_second_register
stmia r0!, {r2, r3}
b .Lstringcopy_unalign3
.Lstringcopy_unalign3_copy1byte:
strb r2, [r0]
m_ret inst=pop
.Lstringcopy_unalign3_copy2bytes:
strb r2, [r0], #1
strb r3, [r0]
m_ret inst=pop
.Lstringcopy_unalign3_copy3bytes:
strb r2, [r0], #1
strb r3, [r0], #1
strb r4, [r0]
m_ret inst=pop
.p2align 2
// Can read 2 bytes before possibly crossing a page.
.Lstringcopy_unalign2:
ldrb r2, [r1]
cbz r2, .Lstringcopy_unalign_copy1byte
ldrb r3, [r1, #1]
cbz r3, .Lstringcopy_unalign_copy2bytes
ldr r2, [r1], #4
ldr r3, [r1], #4
pld [r1, #64]
tst r2, #0xff0000
beq .Lstringcopy_unalign_copy3bytes
lsrs ip, r2, #24
beq .Lstringcopy_unalign_copy4bytes
sub ip, r3, #0x01010101
bic ip, ip, r3
ands ip, ip, #0x80808080
bne .Lstringcopy_zero_in_second_register
stmia r0!, {r2, r3}
b .Lstringcopy_unalign2
.p2align 2
// Can read 1 byte before possibly crossing a page.
.Lstringcopy_unalign1:
ldrb r2, [r1]
cbz r2, .Lstringcopy_unalign_copy1byte
ldr r2, [r1], #4
ldr r3, [r1], #4
pld [r1, #64]
sub ip, r2, #0x01010101
bic ip, ip, r2
ands ip, ip, #0x80808080
bne .Lstringcopy_zero_in_first_register
sub ip, r3, #0x01010101
bic ip, ip, r3
ands ip, ip, #0x80808080
bne .Lstringcopy_zero_in_second_register
stmia r0!, {r2, r3}
b .Lstringcopy_unalign1
.Lstringcopy_unalign_copy1byte:
strb r2, [r0]
m_ret inst=pop
.Lstringcopy_unalign_copy2bytes:
strb r2, [r0], #1
strb r3, [r0]
m_ret inst=pop
.Lstringcopy_unalign_copy3bytes:
strh r2, [r0], #2
lsr r2, #16
strb r2, [r0]
m_ret inst=pop
.Lstringcopy_unalign_copy4bytes:
stmia r0, {r2}
#if defined(STPCPY)
add r0, r0, #3
#endif
m_ret inst=pop
#if defined(STPCPY)
END(stpcpy)
#else
END(strcpy)
#endif

View File

@@ -1,10 +1,11 @@
libc_bionic_src_files_arm += \
arch-arm/cortex-a9/bionic/memcpy.S \
arch-arm/cortex-a9/bionic/memset.S \
arch-arm/cortex-a9/bionic/stpcpy.S \
arch-arm/cortex-a9/bionic/strcat.S \
arch-arm/cortex-a9/bionic/__strcat_chk.S \
arch-arm/cortex-a9/bionic/strcmp.S \
arch-arm/cortex-a9/bionic/strcpy.S \
arch-arm/cortex-a9/bionic/strlen.S \
arch-arm/cortex-a9/bionic/__strcat_chk.S \
arch-arm/cortex-a9/bionic/__strcpy_chk.S \
arch-arm/cortex-a9/bionic/strlen.S \
bionic/memmove.c \

View File

@@ -40,12 +40,10 @@
ENTRY(__strcat_chk)
pld [r0, #0]
push {r0, lr}
.save {r0, lr}
.cfi_def_cfa_offset 8
.cfi_rel_offset r0, 0
.cfi_rel_offset lr, 4
push {r4, r5}
.save {r4, r5}
.cfi_adjust_cfa_offset 8
.cfi_rel_offset r4, 0
.cfi_rel_offset r5, 4
@@ -195,9 +193,6 @@ END(__strcat_chk)
#include "memcpy_base.S"
ENTRY_PRIVATE(__strcat_chk_failed)
.save {r0, lr}
.save {r4, r5}
.cfi_def_cfa_offset 8
.cfi_rel_offset r0, 0
.cfi_rel_offset lr, 4

View File

@@ -39,7 +39,6 @@
ENTRY(__strcpy_chk)
pld [r0, #0]
push {r0, lr}
.save {r0, lr}
.cfi_def_cfa_offset 8
.cfi_rel_offset r0, 0
.cfi_rel_offset lr, 4
@@ -161,7 +160,6 @@ END(__strcpy_chk)
#include "memcpy_base.S"
ENTRY_PRIVATE(__strcpy_chk_failed)
.save {r0, lr}
.cfi_def_cfa_offset 8
.cfi_rel_offset r0, 0
.cfi_rel_offset lr, 4

View File

@@ -72,7 +72,6 @@ END(__memcpy_chk)
ENTRY(memcpy)
pld [r1, #64]
push {r0, lr}
.save {r0, lr}
.cfi_def_cfa_offset 8
.cfi_rel_offset r0, 0
.cfi_rel_offset lr, 4
@@ -85,7 +84,6 @@ END(memcpy)
ENTRY_PRIVATE(__memcpy_chk_fail)
// Preserve lr for backtrace.
push {lr}
.save {lr}
.cfi_def_cfa_offset 4
.cfi_rel_offset lr, 0

View File

@@ -7,7 +7,8 @@ libc_bionic_src_files_arm += \
# Use cortex-a15 versions of strcat/strcpy/strlen.
libc_bionic_src_files_arm += \
arch-arm/cortex-a15/bionic/stpcpy.S \
arch-arm/cortex-a15/bionic/strcat.S \
arch-arm/cortex-a15/bionic/strcmp.S \
arch-arm/cortex-a15/bionic/strcpy.S \
arch-arm/cortex-a15/bionic/strlen.S \
arch-arm/cortex-a15/bionic/strcmp.S \

View File

@@ -39,7 +39,7 @@
ENTRY(__memcpy_chk)
cmp r2, r3
bgt fortify_check_failed
bhi __memcpy_chk_fail
// Fall through to memcpy...
END(__memcpy_chk)
@@ -49,11 +49,14 @@ ENTRY(memcpy)
* ARM ABI. Since we have to save R0, we might as well save R4
* which we can use for better pipelining of the reads below
*/
.save {r0, r4, lr}
stmfd sp!, {r0, r4, lr}
.cfi_def_cfa_offset 12
.cfi_rel_offset r0, 0
.cfi_rel_offset r4, 4
.cfi_rel_offset lr, 8
/* Making room for r5-r11 which will be spilled later */
.pad #28
sub sp, sp, #28
.cfi_adjust_cfa_offset 28
// preload the destination because we'll align it to a cache line
// with small writes. Also start the source "pump".
@@ -63,14 +66,14 @@ ENTRY(memcpy)
/* it simplifies things to take care of len<4 early */
cmp r2, #4
blo copy_last_3_and_return
blo .Lcopy_last_3_and_return
/* compute the offset to align the source
* offset = (4-(src&3))&3 = -src & 3
*/
rsb r3, r1, #0
ands r3, r3, #3
beq src_aligned
beq .Lsrc_aligned
/* align source to 32 bits. We need to insert 2 instructions between
* a ldr[b|h] and str[b|h] because byte and half-word instructions
@@ -85,12 +88,12 @@ ENTRY(memcpy)
strcsb r4, [r0], #1
strcsb r12,[r0], #1
src_aligned:
.Lsrc_aligned:
/* see if src and dst are aligned together (congruent) */
eor r12, r0, r1
tst r12, #3
bne non_congruent
bne .Lnon_congruent
/* Use post-incriment mode for stm to spill r5-r11 to reserved stack
* frame. Don't update sp.
@@ -100,7 +103,7 @@ src_aligned:
/* align the destination to a cache-line */
rsb r3, r0, #0
ands r3, r3, #0x1C
beq congruent_aligned32
beq .Lcongruent_aligned32
cmp r3, r2
andhi r3, r2, #0x1C
@@ -115,14 +118,14 @@ src_aligned:
strne r10,[r0], #4
sub r2, r2, r3
congruent_aligned32:
.Lcongruent_aligned32:
/*
* here source is aligned to 32 bytes.
*/
cached_aligned32:
.Lcached_aligned32:
subs r2, r2, #32
blo less_than_32_left
blo .Lless_than_32_left
/*
* We preload a cache-line up to 64 bytes ahead. On the 926, this will
@@ -160,10 +163,7 @@ cached_aligned32:
add r2, r2, #32
less_than_32_left:
.Lless_than_32_left:
/*
* less than 32 bytes left at this point (length in r2)
*/
@@ -197,7 +197,7 @@ less_than_32_left:
/********************************************************************/
non_congruent:
.Lnon_congruent:
/*
* here source is aligned to 4 bytes
* but destination is not.
@@ -207,9 +207,9 @@ non_congruent:
* partial words in the shift queue)
*/
cmp r2, #4
blo copy_last_3_and_return
blo .Lcopy_last_3_and_return
/* Use post-incriment mode for stm to spill r5-r11 to reserved stack
/* Use post-increment mode for stm to spill r5-r11 to reserved stack
* frame. Don't update sp.
*/
stmea sp, {r5-r11}
@@ -236,7 +236,7 @@ non_congruent:
movcs r3, r3, lsr #8
cmp r2, #4
blo partial_word_tail
blo .Lpartial_word_tail
/* Align destination to 32 bytes (cache line boundary) */
1: tst r0, #0x1c
@@ -248,11 +248,11 @@ non_congruent:
str r4, [r0], #4
cmp r2, #4
bhs 1b
blo partial_word_tail
blo .Lpartial_word_tail
/* copy 32 bytes at a time */
2: subs r2, r2, #32
blo less_than_thirtytwo
blo .Lless_than_thirtytwo
/* Use immediate mode for the shifts, because there is an extra cycle
* for register shifts, which could account for up to 50% of
@@ -260,11 +260,11 @@ non_congruent:
*/
cmp r12, #24
beq loop24
beq .Lloop24
cmp r12, #8
beq loop8
beq .Lloop8
loop16:
.Lloop16:
ldr r12, [r1], #4
1: mov r4, r12
ldmia r1!, { r5,r6,r7, r8,r9,r10,r11}
@@ -289,9 +289,9 @@ loop16:
stmia r0!, {r3,r4,r5,r6, r7,r8,r9,r10}
mov r3, r11, lsr #16
bhs 1b
b less_than_thirtytwo
b .Lless_than_thirtytwo
loop8:
.Lloop8:
ldr r12, [r1], #4
1: mov r4, r12
ldmia r1!, { r5,r6,r7, r8,r9,r10,r11}
@@ -316,9 +316,9 @@ loop8:
stmia r0!, {r3,r4,r5,r6, r7,r8,r9,r10}
mov r3, r11, lsr #8
bhs 1b
b less_than_thirtytwo
b .Lless_than_thirtytwo
loop24:
.Lloop24:
ldr r12, [r1], #4
1: mov r4, r12
ldmia r1!, { r5,r6,r7, r8,r9,r10,r11}
@@ -345,12 +345,12 @@ loop24:
bhs 1b
less_than_thirtytwo:
.Lless_than_thirtytwo:
/* copy the last 0 to 31 bytes of the source */
rsb r12, lr, #32 /* we corrupted r12, recompute it */
add r2, r2, #32
cmp r2, #4
blo partial_word_tail
blo .Lpartial_word_tail
1: ldr r5, [r1], #4
sub r2, r2, #4
@@ -360,7 +360,7 @@ less_than_thirtytwo:
cmp r2, #4
bhs 1b
partial_word_tail:
.Lpartial_word_tail:
/* we have a partial word in the input buffer */
movs r5, lr, lsl #(31-3)
strmib r3, [r0], #1
@@ -372,7 +372,7 @@ partial_word_tail:
/* Refill spilled registers from the stack. Don't update sp. */
ldmfd sp, {r5-r11}
copy_last_3_and_return:
.Lcopy_last_3_and_return:
movs r2, r2, lsl #31 /* copy remaining 0, 1, 2 or 3 bytes */
ldrmib r2, [r1], #1
ldrcsb r3, [r1], #1
@@ -385,9 +385,15 @@ copy_last_3_and_return:
add sp, sp, #28
ldmfd sp!, {r0, r4, lr}
bx lr
END(memcpy)
// Only reached when the __memcpy_chk check fails.
fortify_check_failed:
ENTRY_PRIVATE(__memcpy_chk_fail)
// Preserve lr for backtrace.
push {lr}
.cfi_def_cfa_offset 4
.cfi_rel_offset lr, 0
ldr r0, error_message
ldr r1, error_code
1:
@@ -397,7 +403,7 @@ error_code:
.word BIONIC_EVENT_MEMCPY_BUFFER_OVERFLOW
error_message:
.word error_string-(1b+8)
END(memcpy)
END(__memcpy_chk_fail)
.data
error_string:

View File

@@ -7,4 +7,5 @@ libc_bionic_src_files_arm += \
bionic/memmove.c \
bionic/__strcat_chk.cpp \
bionic/__strcpy_chk.cpp \
upstream-openbsd/lib/libc/string/stpcpy.c \
upstream-openbsd/lib/libc/string/strcat.c \

View File

@@ -40,12 +40,10 @@
ENTRY(__strcat_chk)
pld [r0, #0]
push {r0, lr}
.save {r0, lr}
.cfi_def_cfa_offset 8
.cfi_rel_offset r0, 0
.cfi_rel_offset lr, 4
push {r4, r5}
.save {r4, r5}
.cfi_adjust_cfa_offset 8
.cfi_rel_offset r4, 0
.cfi_rel_offset r5, 4
@@ -194,8 +192,6 @@ END(__strcat_chk)
#include "memcpy_base.S"
ENTRY_PRIVATE(__strcat_chk_failed)
.save {r0, lr}
.save {r4, r5}
.cfi_def_cfa_offset 8
.cfi_rel_offset r0, 0
.cfi_rel_offset lr, 4

View File

@@ -39,7 +39,6 @@
ENTRY(__strcpy_chk)
pld [r0, #0]
push {r0, lr}
.save {r0, lr}
.cfi_def_cfa_offset 8
.cfi_rel_offset r0, 0
.cfi_rel_offset lr, 4
@@ -161,7 +160,6 @@ END(__strcpy_chk)
#include "memcpy_base.S"
ENTRY_PRIVATE(__strcpy_chk_failed)
.save {r0, lr}
.cfi_def_cfa_offset 8
.cfi_rel_offset r0, 0
.cfi_rel_offset lr, 4

View File

@@ -53,7 +53,6 @@ END(__memcpy_chk)
ENTRY(memcpy)
pld [r1, #64]
stmfd sp!, {r0, lr}
.save {r0, lr}
.cfi_def_cfa_offset 8
.cfi_rel_offset r0, 0
.cfi_rel_offset lr, 4
@@ -66,7 +65,6 @@ END(memcpy)
ENTRY_PRIVATE(__memcpy_chk_fail)
// Preserve lr for backtrace.
push {lr}
.save {lr}
.cfi_def_cfa_offset 4
.cfi_rel_offset lr, 0

View File

@@ -36,7 +36,6 @@
// Assumes neon instructions and a cache line size of 32 bytes.
ENTRY_PRIVATE(MEMCPY_BASE)
.save {r0, lr}
.cfi_def_cfa_offset 8
.cfi_rel_offset r0, 0
.cfi_rel_offset lr, 4

View File

@@ -43,7 +43,6 @@ ENTRY(__memset_chk)
bls .L_done
// Preserve lr for backtrace.
.save {lr}
push {lr}
.cfi_def_cfa_offset 4
.cfi_rel_offset lr, 0
@@ -69,7 +68,6 @@ END(bzero)
/* memset() returns its first argument. */
ENTRY(memset)
.save {r0}
stmfd sp!, {r0}
.cfi_def_cfa_offset 4
.cfi_rel_offset r0, 0

View File

@@ -168,7 +168,6 @@ ENTRY(strcmp)
bne .L_do_align
/* Fast path. */
.save {r4-r7}
init
.L_doubleword_aligned:

View File

@@ -7,6 +7,7 @@ libc_bionic_src_files_arm += \
# Use cortex-a15 versions of strcat/strcpy/strlen and standard memmove
libc_bionic_src_files_arm += \
arch-arm/cortex-a15/bionic/stpcpy.S \
arch-arm/cortex-a15/bionic/strcat.S \
arch-arm/cortex-a15/bionic/strcpy.S \
arch-arm/cortex-a15/bionic/strlen.S \

View File

@@ -10,5 +10,5 @@ ENTRY(__accept4)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__accept4)

View File

@@ -0,0 +1,22 @@
/* Generated by gensyscalls.py. Do not edit. */
#include <private/bionic_asm.h>
ENTRY(__arm_fadvise64_64)
mov ip, sp
stmfd sp!, {r4, r5, r6, r7}
.cfi_def_cfa_offset 16
.cfi_rel_offset r4, 0
.cfi_rel_offset r5, 4
.cfi_rel_offset r6, 8
.cfi_rel_offset r7, 12
ldmfd ip, {r4, r5, r6}
ldr r7, =__NR_arm_fadvise64_64
swi #0
ldmfd sp!, {r4, r5, r6, r7}
.cfi_def_cfa_offset 0
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno_internal
END(__arm_fadvise64_64)

View File

@@ -10,5 +10,5 @@ ENTRY(__brk)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__brk)

View File

@@ -10,5 +10,5 @@ ENTRY(__connect)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__connect)

View File

@@ -18,5 +18,5 @@ ENTRY(__epoll_pwait)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__epoll_pwait)

View File

@@ -10,5 +10,5 @@ ENTRY(__exit)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__exit)

View File

@@ -10,5 +10,5 @@ ENTRY(__fcntl64)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__fcntl64)

View File

@@ -10,5 +10,5 @@ ENTRY(__fstatfs64)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__fstatfs64)

View File

@@ -10,5 +10,5 @@ ENTRY(__getcpu)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__getcpu)

View File

@@ -10,5 +10,5 @@ ENTRY(__getcwd)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__getcwd)

View File

@@ -10,5 +10,5 @@ ENTRY(__getdents64)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__getdents64)

View File

@@ -10,5 +10,5 @@ ENTRY(__getpid)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__getpid)

View File

@@ -10,5 +10,5 @@ ENTRY(__getpriority)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__getpriority)

View File

@@ -10,5 +10,5 @@ ENTRY(__ioctl)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__ioctl)

View File

@@ -18,5 +18,5 @@ ENTRY(__llseek)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__llseek)

View File

@@ -18,5 +18,5 @@ ENTRY(__mmap2)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__mmap2)

View File

@@ -10,5 +10,5 @@ ENTRY(__openat)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__openat)

View File

@@ -18,5 +18,5 @@ ENTRY(__ppoll)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__ppoll)

View File

@@ -18,5 +18,5 @@ ENTRY(__pselect6)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__pselect6)

View File

@@ -10,5 +10,5 @@ ENTRY(__ptrace)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__ptrace)

View File

@@ -10,5 +10,5 @@ ENTRY(__reboot)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__reboot)

View File

@@ -10,5 +10,5 @@ ENTRY(__rt_sigaction)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__rt_sigaction)

View File

@@ -10,5 +10,5 @@ ENTRY(__rt_sigpending)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__rt_sigpending)

View File

@@ -10,5 +10,5 @@ ENTRY(__rt_sigprocmask)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__rt_sigprocmask)

View File

@@ -10,5 +10,5 @@ ENTRY(__rt_sigsuspend)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__rt_sigsuspend)

View File

@@ -10,5 +10,5 @@ ENTRY(__rt_sigtimedwait)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__rt_sigtimedwait)

View File

@@ -10,5 +10,5 @@ ENTRY(__sched_getaffinity)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__sched_getaffinity)

View File

@@ -10,5 +10,5 @@ ENTRY(__set_tid_address)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__set_tid_address)

View File

@@ -10,5 +10,5 @@ ENTRY(__set_tls)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__set_tls)

View File

@@ -10,5 +10,5 @@ ENTRY(__sigaction)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__sigaction)

View File

@@ -10,5 +10,5 @@ ENTRY(__signalfd4)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__signalfd4)

View File

@@ -10,5 +10,5 @@ ENTRY(__socket)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__socket)

View File

@@ -10,5 +10,5 @@ ENTRY(__statfs64)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__statfs64)

View File

@@ -10,5 +10,5 @@ ENTRY(__timer_create)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__timer_create)

View File

@@ -10,5 +10,5 @@ ENTRY(__timer_delete)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__timer_delete)

View File

@@ -10,5 +10,5 @@ ENTRY(__timer_getoverrun)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__timer_getoverrun)

View File

@@ -10,5 +10,5 @@ ENTRY(__timer_gettime)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__timer_gettime)

View File

@@ -10,5 +10,5 @@ ENTRY(__timer_settime)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__timer_settime)

View File

@@ -18,5 +18,5 @@ ENTRY(__waitid)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(__waitid)

View File

@@ -10,7 +10,7 @@ ENTRY(_exit)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(_exit)
.globl _Exit

View File

@@ -10,5 +10,5 @@ ENTRY(acct)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(acct)

View File

@@ -10,5 +10,5 @@ ENTRY(bind)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(bind)

View File

@@ -10,5 +10,5 @@ ENTRY(cacheflush)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(cacheflush)

View File

@@ -10,5 +10,5 @@ ENTRY(capget)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(capget)

View File

@@ -10,5 +10,5 @@ ENTRY(capset)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(capset)

View File

@@ -10,5 +10,5 @@ ENTRY(chdir)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(chdir)

View File

@@ -10,5 +10,5 @@ ENTRY(chroot)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(chroot)

View File

@@ -10,5 +10,5 @@ ENTRY(clock_getres)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(clock_getres)

View File

@@ -10,5 +10,5 @@ ENTRY(clock_gettime)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(clock_gettime)

View File

@@ -10,5 +10,5 @@ ENTRY(clock_nanosleep)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(clock_nanosleep)

View File

@@ -10,5 +10,5 @@ ENTRY(clock_settime)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(clock_settime)

View File

@@ -10,5 +10,5 @@ ENTRY(close)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(close)

View File

@@ -10,5 +10,5 @@ ENTRY(delete_module)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(delete_module)

View File

@@ -10,5 +10,5 @@ ENTRY(dup)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(dup)

View File

@@ -10,5 +10,5 @@ ENTRY(dup3)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(dup3)

View File

@@ -10,5 +10,5 @@ ENTRY(epoll_create1)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
b __set_errno
b __set_errno_internal
END(epoll_create1)

Some files were not shown because too many files have changed in this diff Show More