Commit graph

16564 commits

Author SHA1 Message Date
Dimitry Ivanov
015f2e803a Merge "libm: rename LIBC_PRIVATE to LIBC_DEPRECATED" 2016-03-04 21:29:49 +00:00
Chih-hung Hsieh
cb9e4530a8 Merge "Enable test with clang aarch64." 2016-03-04 21:26:05 +00:00
Chih-Hung Hsieh
389e28e61d Enable test with clang aarch64.
TLS bug on aarch64 was fixed.

Bug: 25642296
Change-Id: I02b4f67955991f08a133a3d72ba4b109f896f1dd
2016-03-04 12:28:50 -08:00
Dimitry Ivanov
9296460bf4 libm: rename LIBC_PRIVATE to LIBC_DEPRECATED
Bug: http://b/26386014
Change-Id: Ia32411ce779f9dcf2cf7910d8658ffa753c73af9
2016-03-04 11:05:52 -08:00
Elliott Hughes
b9b99b83cd Merge "Add x86 __memset_chk assembler."
am: 728e0e9b97

* commit '728e0e9b97d7a43b4348062e4040d478c2ab8f51':
  Add x86 __memset_chk assembler.
2016-03-04 16:33:58 +00:00
Elliott Hughes
728e0e9b97 Merge "Add x86 __memset_chk assembler." 2016-03-04 16:28:10 +00:00
Elliott Hughes
6ac4d0a054 Merge "Fix x86-64 __memset_chk."
am: 7d188ce0fe

* commit '7d188ce0feda07f3e0cf6bdbe4e52efe224bb39f':
  Fix x86-64 __memset_chk.
2016-03-04 03:21:06 +00:00
Elliott Hughes
7d188ce0fe Merge "Fix x86-64 __memset_chk." 2016-03-04 03:12:35 +00:00
Elliott Hughes
a80ddc8a34 Fix x86-64 __memset_chk.
I can only assume I was testing the 32-bit implementation when I claimed
this worked. While improving the 32-bit code I realized that I'd used
signed comparisons instead of unsigned, and came back to find that the
64-bit code didn't work.

By way of apology, make x86-64 the first architecture where __memset_chk
falls through to memset.

Change-Id: I54d9eee5349b6a2abb2ce81e161fdcde09556561
2016-03-03 16:46:25 -08:00
Dan Willemsen
27770d6286 Merge "Update Android.bp with recent *.mk changes"
am: 5f67f8ae9d

* commit '5f67f8ae9ded09b1eb68e54a1b3a226c35e10166':
  Update Android.bp with recent *.mk changes
2016-03-04 00:40:52 +00:00
Elliott Hughes
81d6a18c69 Add x86 __memset_chk assembler.
Change-Id: Ic6732f761ea8a41f70d5ff59d47ad38417d17cc2
2016-03-03 16:10:33 -08:00
Dan Willemsen
5f67f8ae9d Merge "Update Android.bp with recent *.mk changes" 2016-03-03 23:50:24 +00:00
Dan Willemsen
a27d8c3094 Update Android.bp with recent *.mk changes
Change-Id: I01acce3b0018d838c4765881c19f5f009721370f
2016-03-03 15:41:14 -08:00
Elliott Hughes
915f64cb73 Merge "Clean up bcopy cruft."
am: f3b42e5ae7

* commit 'f3b42e5ae7727234cac586c20c230466886a7232':
  Clean up bcopy cruft.
2016-03-03 22:27:03 +00:00
Elliott Hughes
f3b42e5ae7 Merge "Clean up bcopy cruft." 2016-03-03 22:24:51 +00:00
Elliott Hughes
a8dc8e601b Merge "Mandate optimized assembler for x86-64 __memset_chk."
am: ff9bda7201

* commit 'ff9bda720194f3596c9096eb8648ef92d9337c7e':
  Mandate optimized assembler for x86-64 __memset_chk.
2016-03-03 22:23:25 +00:00
Elliott Hughes
ff9bda7201 Merge "Mandate optimized assembler for x86-64 __memset_chk." 2016-03-03 22:18:46 +00:00
Josh Gao
6e7e53af2d Merge changes I17c22dc2,I9989e2ea
am: 19ca2fe82f

* commit '19ca2fe82fe05dd7565ce294841bd6425e84bb3d':
  Add a checksum to jmp_buf on AArch64.
  Add a checksum to jmp_buf on ARM.
2016-03-03 22:04:45 +00:00
Josh Gao
19ca2fe82f Merge changes I17c22dc2,I9989e2ea
* changes:
  Add a checksum to jmp_buf on AArch64.
  Add a checksum to jmp_buf on ARM.
2016-03-03 22:02:37 +00:00
Josh Gao
0c3655a864 Add a checksum to jmp_buf on AArch64.
Bug: http://b/27417786
Change-Id: I17c22dc28a46dd6b678b449b506b0da978f3793e
2016-03-03 12:45:08 -08:00
Josh Gao
a4c69137c6 Add a checksum to jmp_buf on ARM.
Make it easier to diagnose applications mucking with the contents of
jmp_buf by checksumming its contents.

Bug: http://b/27417786
Change-Id: I9989e2ea3979a36ae0bc4c9e1bacafddbacc731b
2016-03-03 12:45:08 -08:00
Elliott Hughes
bed110af26 Clean up bcopy cruft.
Also remove some generic x86 assembler that's never built.

Change-Id: Ic126de2eee646b5ba2b6ee549679ba90d67a48bb
2016-03-03 10:41:42 -08:00
Elliott Hughes
11dcd28038 Merge "Remove optimized code for bzero, which was removed from POSIX in 2008."
am: 6809af0375

* commit '6809af03759e27c87598ea56e4f6a8c9b6267add':
  Remove optimized code for bzero, which was removed from POSIX in 2008.
2016-03-03 18:27:36 +00:00
Elliott Hughes
6809af0375 Merge "Remove optimized code for bzero, which was removed from POSIX in 2008." 2016-03-03 18:26:02 +00:00
Elliott Hughes
01d5b946ac Remove optimized code for bzero, which was removed from POSIX in 2008.
I'll come back for the last bcopy remnant...

Bug: http://b/26407170
Change-Id: Iabfeb95fc8a4b4b3992e3cc209ec5221040e7c26
2016-03-02 17:21:07 -08:00
Elliott Hughes
e579456a80 Merge "Mandate optimized __memset_chk for arm and arm64."
am: 5e57039c24

* commit '5e57039c24d8aa777480e33255d627ca28af7dfe':
  Mandate optimized __memset_chk for arm and arm64.
2016-03-03 00:42:51 +00:00
Elliott Hughes
61c95fe52d Mandate optimized assembler for x86-64 __memset_chk.
Change-Id: I4d6b452f3cf850d405e8f5d7da01d432603e606b
2016-03-02 16:39:29 -08:00
Elliott Hughes
5e57039c24 Merge "Mandate optimized __memset_chk for arm and arm64." 2016-03-03 00:30:06 +00:00
Dimitry Ivanov
b2fd768656 Merge "libdl: Rename LIBC_PRIVATE to LIBC_PLATFORM"
am: 6e30ca516b

* commit '6e30ca516bbf1d209d827306c495b2a205540c5a':
  libdl: Rename LIBC_PRIVATE to LIBC_PLATFORM
2016-03-02 21:34:03 +00:00
Dimitry Ivanov
6e30ca516b Merge "libdl: Rename LIBC_PRIVATE to LIBC_PLATFORM" 2016-03-02 21:04:31 +00:00
Elliott Hughes
784609317d Mandate optimized __memset_chk for arm and arm64.
This involves actually implementing assembler __memset_chk for arm64,
but that's easily done.

Obviously I'd like this for all architectures (and all the string functions),
but this is low-hanging fruit...

Change-Id: I70ec48c91aafd1f0feb974a2555c51611de9ef82
2016-03-02 11:58:41 -08:00
Dimitry Ivanov
7264f571a7 Merge "Do not add linker the _r_debug.r_map on link_image"
am: ca75a3e3e7

* commit 'ca75a3e3e7574e66e09632b1692b3c144ba2b4f4':
  Do not add linker the _r_debug.r_map on link_image
2016-03-02 19:53:12 +00:00
Dimitry Ivanov
ca75a3e3e7 Merge "Do not add linker the _r_debug.r_map on link_image" 2016-03-02 19:49:25 +00:00
Dimitry Ivanov
98cdef39dc libdl: Rename LIBC_PRIVATE to LIBC_PLATFORM
Bug: http://b/26386014
Change-Id: I3255faac66a96867aed302e205e3644b40ce7750
2016-03-02 11:41:22 -08:00
Elliott Hughes
61050edbfd Merge "Improve diagnostics from the assembler __memcpy_chk routines."
am: 2332d52439

* commit '2332d524396aa69c55969cf6e48a5048f12d53ea':
  Improve diagnostics from the assembler __memcpy_chk routines.
2016-03-02 19:21:33 +00:00
Elliott Hughes
2332d52439 Merge "Improve diagnostics from the assembler __memcpy_chk routines." 2016-03-02 19:13:03 +00:00
Dimitry Ivanov
e97d8ed70e Do not add linker the _r_debug.r_map on link_image
Change-Id: Idd0fb06a5d9f400c0608ae532cc4c575211810fa
2016-03-02 11:09:18 -08:00
Elliott Hughes
869dfdc6be Merge "Fix getifaddrs\' handling of point-to-point interfaces."
am: c5fa374ee9

* commit 'c5fa374ee92e3aedd15daf450e1a8bb5179e7a6a':
  Fix getifaddrs' handling of point-to-point interfaces.
2016-03-02 16:30:41 +00:00
Elliott Hughes
c5fa374ee9 Merge "Fix getifaddrs' handling of point-to-point interfaces." 2016-03-02 16:06:13 +00:00
Elliott Hughes
ef925e50d3 Fix getifaddrs' handling of point-to-point interfaces.
Also remove an if that implied that IFA_BROADCAST is a possibility for
AF_INET6.

The existing tests fail if you have a point-to-point interface configured,
so no new test necessary.

Bug: http://b/27442503
Change-Id: I4c5823b32204ae6c15527853414c2a0cef320b53
2016-03-01 20:05:59 -08:00
Dimitry Ivanov
e80bd8c884 Merge "linker: print "not accessible" error message to the log"
am: a3be5bfded

* commit 'a3be5bfdede8ae6c88bb06d6fa6bf8192ea3268e':
  linker: print "not accessible" error message to the log
2016-03-01 23:33:31 +00:00
Dimitry Ivanov
a3be5bfded Merge "linker: print "not accessible" error message to the log" 2016-03-01 23:29:59 +00:00
Dimitry Ivanov
d17a377c49 linker: print "not accessible" error message to the log
Print properties of the namespace on "library is not accessible"
error to better diagnose problems with native library accessiblity

Bug: http://b/27406143
Change-Id: Icf3d6c604f09dfa015de863fdb1267d343930d2a
(cherry picked from commit 350bdad61c)
2016-03-01 15:28:43 -08:00
Elliott Hughes
3c6016f04a Improve diagnostics from the assembler __memcpy_chk routines.
Change-Id: Iec16c92ed80beee505cba2121ea33e3550197b02
2016-03-01 14:45:58 -08:00
Elliott Hughes
2ed0e35c3b Merge "Improve diagnostics from the assembler __memset_chk routines."
am: c199690b5f

* commit 'c199690b5ffda0f4df50d1121f7ab577af1fe468':
  Improve diagnostics from the assembler __memset_chk routines.
2016-03-01 21:28:16 +00:00
Elliott Hughes
c199690b5f Merge "Improve diagnostics from the assembler __memset_chk routines." 2016-03-01 21:25:06 +00:00
Elliott Hughes
62e59646f8 Improve diagnostics from the assembler __memset_chk routines.
Change-Id: Ic165043ab8cd5e16866b3e11cfba960514cbdc57
2016-03-01 12:46:47 -08:00
Lazar Trsic
3bb5ea60a0 Merge "Update libgcc_compat.c file for mips32 arch"
am: 4fedc4154d

* commit '4fedc4154d09149d2376bd69ef2ad0e771466517':
  Update libgcc_compat.c file for mips32 arch
2016-03-01 19:38:24 +00:00
Dimitry Ivanov
4fedc4154d Merge "Update libgcc_compat.c file for mips32 arch" 2016-03-01 19:35:35 +00:00
Lazar Trsic
375a915c37 Update libgcc_compat.c file for mips32 arch
Contains complete list of libgcc references.

Change-Id: If6b8000dcefa72036a025ebbe59f51e93fe57e98
2016-03-01 15:22:17 +01:00