Commit Graph

18776 Commits

Author SHA1 Message Date
Dimitry Ivanov
9923e5e3db android-21: Restore __ns_* symbols for lp32 libc
Bug: http://b/26268835
Change-Id: I96c891e9ddf95dae54cbe0f082d4761d731ba0a5
2015-12-18 13:35:53 -08:00
Dimitry Ivanov
08db3272eb android-19: Cleanup libc symbols
Also add symbols moved from anroid-18 libm

Bug: http://b/26236057
Change-Id: Ied502e82678ffea4d335765667f3dd12b619829d
2015-12-18 12:47:58 -08:00
Dimitry Ivanov
a57440a131 Remove LIBC_PRIVATE symbols from android-19 libc
Bug: http://b/26234924
Change-Id: I912b646e7b43a69fee55b36935cf46138f5c4b91
2015-12-18 12:47:58 -08:00
Dimitry Ivanov
6a8ad129ef Merge changes Iaa2aba28,I3ed36a15
* changes:
  android-18: Cleanup libm symbols
  android-18: Cleanup libc symbols for x86/mips
2015-12-18 19:48:38 +00:00
Dimitry Ivanov
91616de1be android-18: Cleanup libm symbols
And move some of them to the right place: libc.so.functions.txt

Bug: http://b/26236057
Change-Id: Iaa2aba28ca705fdada0b46d9c40e09f9d574b492
2015-12-18 11:32:06 -08:00
Dimitry Ivanov
0bb1b17d01 android-18: Cleanup libc symbols for x86/mips
Bug: http://b/26236057
Change-Id: I3ed36a1596a435928cc6758a7005eec8d7d1b1f7
2015-12-18 11:32:03 -08:00
Jeff Sharkey
dd803c269e Merge "Updated import order." 2015-12-18 18:41:04 +00:00
Dimitry Ivanov
295e979535 Merge "Cleanup libc symbols for other architectures" 2015-12-18 18:04:36 +00:00
Dimitry Ivanov
9b9b8c51cc Cleanup libc symbols for other architectures
Bug: http://b/26236057
Change-Id: I3c2f9a05490897fd5fb2fa2e5d765a6fdb9517f7
2015-12-17 21:54:29 -08:00
Dimitry Ivanov
994929b524 Merge changes Icb5ba2a5,Ic5688a2c,I7c42aa37
* changes:
  Remove android-18/arm symbols not present in platform libc
  Remove LIBC_PRIVATE symbols from android-18 libm
  Remove LIBC_PRIVATE symbols from android-18 libc
2015-12-18 00:03:48 +00:00
Dimitry Ivanov
cfd35aa934 Remove android-18/arm symbols not present in platform libc
Bug: http://b/26236057
Change-Id: Icb5ba2a5b7e1a9b81aee4b388ec3601c3f2ad434
2015-12-17 15:47:05 -08:00
Dimitry Ivanov
86f95e8475 Remove LIBC_PRIVATE symbols from android-18 libm
Bug: http://b/26234924
Change-Id: Ic5688a2c867aebfbfb67cbfef60099d1a72b302f
2015-12-17 15:31:35 -08:00
Dimitry Ivanov
64c835fdb7 Remove LIBC_PRIVATE symbols from android-18 libc
Bug: http://b/26234924
Change-Id: I7c42aa37eb5ed59082a4a5cb7ad57c4761e93543
2015-12-17 15:29:58 -08:00
Josh Gao
8ced24100b Merge "Update gdbclient to use the multiarch gdb." 2015-12-17 21:45:42 +00:00
Josh Gao
409ab9f212 Update gdbclient to use the multiarch gdb.
Bug: http://b/26224915
Change-Id: I9bfcc08e6c92c18f6c774ce7f9ad13c9b055fc68
2015-12-17 12:58:00 -08:00
Dimitry Ivanov
b5d91e2ece Merge "Restore libc __cxa_atexit symbol" 2015-12-17 15:58:25 +00:00
Dimitry Ivanov
329b34b41f Restore libc __cxa_atexit symbol
Bug: http://b/26234924
Change-Id: Ib57de6777088eacf1062251c85c87c29e7103d4c
2015-12-16 22:15:35 -08:00
Dimitry Ivanov
f3cbb4c77d Merge changes If317bf19,Ie8b5bc0e,Iaa8c88aa,Idab7680c
* changes:
  Remove symbols that are not present in platform libc
  Remove LIBC_PRIVATE symbols from android-21 libdl
  Remove LIBC_PRIVATE symbols from android-21 libm
  Remove LIBC_PRIVATE symbols from android-21 libc
2015-12-17 03:27:32 +00:00
Dimitry Ivanov
1a3e15aaf5 Remove symbols that are not present in platform libc
Bug: http://b/26236057
Change-Id: If317bf196f15a23e94b6e5469d9e7eabfb68fb07
2015-12-16 16:38:32 -08:00
Dimitry Ivanov
2a421ad890 Remove LIBC_PRIVATE symbols from android-21 libdl
Bug: http://b/26234924
Change-Id: Ie8b5bc0e7ee78f1ea2a8c70fe3d46000a9efed0e
2015-12-16 16:17:31 -08:00
Dimitry Ivanov
7c74453162 Remove LIBC_PRIVATE symbols from android-21 libm
Bug: http://b/26234924
Change-Id: Iaa8c88aa7a75677b543f699d791bb9f463d000a2
2015-12-16 16:16:28 -08:00
Dimitry Ivanov
4713395668 Remove LIBC_PRIVATE symbols from android-21 libc
And also that strange _Z16__libc_init_vdsov symbol

Bug: http://b/26234924
Change-Id: Idab7680cbde32c48f97c22a403212abbf30eb0f9
2015-12-16 16:15:05 -08:00
Shinichiro Hamaji
c51d71ec48 Merge "Enable .toc optimization for SDK stub" 2015-12-16 01:14:03 +00:00
Shinichiro Hamaji
8b09785ad2 Enable .toc optimization for SDK stub
As we don't build .dex file for SDK stub, use .jar.toc even for
the .jack file. This should be safe we are building the .jack
file from .jar file.

This was actually necessary to achieve performance improvement
mentioned in https://android-review.googlesource.com/#/c/186470/

Bug: 24597504
Change-Id: I7d4518421b64510ce83229d9f19a654888753a84
2015-12-16 09:52:22 +09:00
Yohei Yukawa
72f24a0fa1 Merge "Updating Idegen project to use JDK 1.7" 2015-12-15 05:01:56 +00:00
Shinichiro Hamaji
3578bf1c87 Merge "Define a rule to build a dummy .dex.toc file" 2015-12-14 23:07:58 +00:00
Shinichiro Hamaji
ee81f7eb90 Define a rule to build a dummy .dex.toc file
This is a preparation of
https://android-review.googlesource.com/#/c/186470/

Bug: 24597504
Change-Id: I5b403f4b3ae29579d11653103464819c61063b3e
2015-12-14 18:34:45 +09:00
Josh Gao
4d00ec0adb Merge "Move adb tests to system/core/adb." 2015-12-10 18:09:47 +00:00
Dan Albert
b6d57640cc Merge "Update byteswap.h from bionic to match endian.h." 2015-12-10 18:07:06 +00:00
Dan Albert
6e84c13895 Update byteswap.h from bionic to match endian.h.
Change-Id: I79e445a167800ce083039d0cb65c5a966d7e6a72
2015-12-09 19:17:28 -08:00
Josh Gao
5cd0f10ebc Move adb tests to system/core/adb.
Change-Id: Ieeb0e1122a7b13a784ec8c19cf360c7699dcd9ff
2015-12-09 11:25:57 -08:00
Yohei Yukawa
85fad37aa7 Merge "Fix exception in MakeFileParser" 2015-12-09 19:11:13 +00:00
Xiaohui Chen
0b7e903d4c Fix exception in MakeFileParser
The code currently tries to parse all "$" as variables.  Now narrow it
down to only "$()" as it should.

Bug: 23155276
Change-Id: I1732ce757a9f7d611e90138b595a0aa1d3ce6009
2015-12-08 19:03:23 -08:00
Dan Albert
a3a48fc603 Merge changes from topic 'update-endian-h'
* changes:
  Update endian.h from bionic.
  Always use the newest sys/cdefs.h.
2015-12-08 23:28:18 +00:00
Dan Albert
616a494ec1 Update endian.h from bionic.
This consolidates the guts of the three endian.h files (endian.h,
sys/endian.h, and machine/endian.h) into just sys/endian.h, and turns
the others into headers that forward to it.

This also consolidates all the architecture specific machine/endian.h
files into a single generic header.

Finally, this is also the update version of sys/endian.h, which just
forwards to compiler builtins rather than implementing it ourselves.

Change-Id: Ifce64dc684ce3d3231f3f43a94c083bbd8661840
2015-12-08 14:20:25 -08:00
Dan Albert
c57abe4eb2 Always use the newest sys/cdefs.h.
This is all macros, so there's no reason to have one per API level.

This is still quite a ways from matching what we have in bionic, but
that's a problem for another day.

Change-Id: I804edfd6299d9ba15a3ba59e1091f301eace2142
2015-12-08 14:19:48 -08:00
Elliott Hughes
6f859c4b4f Merge "win32: for Unicode cmdline args, switch from cmd.exe to powershell.exe" 2015-12-08 20:53:07 +00:00
Michael
6836ddf514 Updating Idegen project to use JDK 1.7
Updating Idegen intellij template to use JDK 1.7, which is required for
marshmallow.

Change-Id: I4ad02acb19fa850a62b6a25bbbaf4db2577a9fe0
2015-12-06 13:54:56 +01:00
Dan Albert
7d7f8702f3 Merge "Update uchar.h from bionic."
am: 008a22f9b9

* commit '008a22f9b9588ff3df3e0605970f3cf39442df96':
  Update uchar.h from bionic.
2015-12-04 21:42:34 +00:00
Dan Albert
2f3b724142 Merge "Fix complex.h for clang."
am: 0cdb55f880

* commit '0cdb55f8807f86509f3a7c3b33dfe2cf98067c7e':
  Fix complex.h for clang.
2015-12-04 21:42:24 +00:00
Dan Albert
008a22f9b9 Merge "Update uchar.h from bionic." 2015-12-04 21:36:21 +00:00
Dan Albert
0cdb55f880 Merge "Fix complex.h for clang." 2015-12-04 21:36:15 +00:00
Dan Albert
53bc2e2f1e Update uchar.h from bionic.
char16_t and char32_t should not be defined when building as C. For
GCC they are, but not for clang. Pull in the updated bionic header
which has the fix for this.

Change-Id: I41b292ece36af79bbe835706bee4441b298215ff
2015-12-04 11:29:12 -08:00
Dan Albert
4efb18d5f5 Fix complex.h for clang.
From the comment about __NDK_FPABI__ vs __NDK_FPABI_MATH__:

    NOTE: Disable for clang for now unless _NDK_MATH_NO_SOFTFP=1, because clang before 3.4 doesn't
          allow change of calling convension for builtin and produces error message reads:

            a.i:564:6: error: function declared 'aapcs' here was previously declared without calling convention
            int  sin(double d) __attribute__((pcs("aapcs")));
                ^
            a.i:564:6: note: previous declaration is here

This applies to current clang as well, not just pre-3.4. Mark these
math functions as math functions.

Change-Id: I001b31df540aa3f61eec049f89346cbf2f11f128
2015-12-04 11:22:26 -08:00
Christopher Ferris
79266dd407 Merge "Modify the dso rule to allow spaces in [] names."
am: 07bf64b28a

* commit '07bf64b28a19f0fa290b0ad3b1c656efd2e5289a':
  Modify the dso rule to allow spaces in [] names.
2015-12-01 06:09:26 +00:00
Christopher Ferris
07bf64b28a Merge "Modify the dso rule to allow spaces in [] names." 2015-12-01 06:06:11 +00:00
Christopher Ferris
c14b612ba1 Modify the dso rule to allow spaces in [] names.
Some of the map names have spaces in them, but only the ones that look
like:

[anon:atexit handlers]

So allow spaces between a [ and a ].

Change-Id: I09f1b50533fcd2e79acda199dcc3fb99c6d8428f
2015-11-30 16:29:57 -08:00
Spencer Low
82aa7da5a6 win32: for Unicode cmdline args, switch from cmd.exe to powershell.exe
Previously, to pass a subprocess cmdline args with Unicode characters,
we'd write the command line to a batch file and run it with cmd.exe. The
problem was that the batch file used chcp to get cmd.exe to be able to
read UTF-8 from the batch file, but this had the side-effect of changing
the codepage of the user's console window.

Instead of saving & restoring the codepage (which would always have the
risk of somehow leaving the console in the wrong codepage if a Ctrl-C
handler somehow wasn't called, or if Task Manager was used manually,
etc.), we use Windows PowerShell as the helper instead of cmd.exe.

PowerShell is installed on every version of Windows since Windows 7 and
is a separate free download for Windows XP and Windows Vista, but
realistically Windows XP is no longer supported by Microsoft and
probably no one chooses to run Windows Vista over Windows 7. Plus, this
change only uses PowerShell if Unicode args are passed.

Switching to PowerShell allows us to get rid of the temp file, context
manager, and messy __del__ that caused a variety of problems in the
past.

Change-Id: Ia3df533f7747f7b9b28a093f8ca24117371e5e59
Signed-off-by: Spencer Low <CompareAndSwap@gmail.com>
2015-11-21 20:39:56 -08:00
Shinichiro Hamaji
477d5d1770 Merge "Generate .toc for android_stubs_current.jar"
am: 6cf9ae5b6b

* commit '6cf9ae5b6bc8b3bebd9769617c06845402b0a7a5':
  Generate .toc for android_stubs_current.jar
2015-11-21 00:48:19 +00:00
Shinichiro Hamaji
6cf9ae5b6b Merge "Generate .toc for android_stubs_current.jar" 2015-11-21 00:42:12 +00:00