OSDN Git Service

android-x86/bionic.git
7 years agoMerge "Document more dynamic linker changes." am: 5fabe02757 am: 78991b1f68
Elliott Hughes [Sat, 19 Nov 2016 01:02:33 +0000 (01:02 +0000)]
Merge "Document more dynamic linker changes." am: 5fabe02757 am: 78991b1f68
am: 136508c1b2

Change-Id: I0b23cd9eb6f9ee727c2eaf6788ef16a2e1b43dd2

7 years agoMerge "Document more dynamic linker changes." am: 5fabe02757
Elliott Hughes [Sat, 19 Nov 2016 00:58:33 +0000 (00:58 +0000)]
Merge "Document more dynamic linker changes." am: 5fabe02757
am: 78991b1f68

Change-Id: I2bf47dc9b127a3f1586c063f4ca20d2c62ce04d3

7 years agoMerge "Document more dynamic linker changes."
Elliott Hughes [Sat, 19 Nov 2016 00:55:03 +0000 (00:55 +0000)]
Merge "Document more dynamic linker changes."
am: 5fabe02757

Change-Id: I706fa3635c31b8520fcb4ba57245de0b4d926d33

7 years agoMerge "Document more dynamic linker changes."
Treehugger Robot [Sat, 19 Nov 2016 00:49:38 +0000 (00:49 +0000)]
Merge "Document more dynamic linker changes."

7 years agoDocument more dynamic linker changes.
Elliott Hughes [Fri, 18 Nov 2016 20:28:01 +0000 (12:28 -0800)]
Document more dynamic linker changes.

Based on https://plus.google.com/+ElliottHughes/posts/dtguP8BWkc7?sfc=false.

Bug: http://b/33001640
Change-Id: I9efedaf1c17a38d4426f030dd252446e4dfbc1cb

7 years agoMerge "Enable malloc debug using environment variables" am: c2395be74a am: 2b1150ee30
Christopher Ferris [Fri, 18 Nov 2016 21:46:18 +0000 (21:46 +0000)]
Merge "Enable malloc debug using environment variables" am: c2395be74a am: 2b1150ee30
am: 72b07c26b8

Change-Id: Ia1588dbf658bdf335123c8684d3d1ddda61eb073

7 years agoMerge "Enable malloc debug using environment variables" am: c2395be74a
Christopher Ferris [Fri, 18 Nov 2016 21:42:48 +0000 (21:42 +0000)]
Merge "Enable malloc debug using environment variables" am: c2395be74a
am: 2b1150ee30

Change-Id: I15d3b85ad8295e323017f70c7a7296afbe952f05

7 years agoMerge "Enable malloc debug using environment variables"
Christopher Ferris [Fri, 18 Nov 2016 21:39:17 +0000 (21:39 +0000)]
Merge "Enable malloc debug using environment variables"
am: c2395be74a

Change-Id: I9d9cfebc646895aaf49fdcffd20ac3ddb098deba

7 years agoMerge "Enable malloc debug using environment variables"
Christopher Ferris [Fri, 18 Nov 2016 21:33:17 +0000 (21:33 +0000)]
Merge "Enable malloc debug using environment variables"

7 years agoMerge "Add note about pid_max to host test documentation." am: a7e74f09b8 am: 7015e90e35
Josh Gao [Fri, 18 Nov 2016 03:04:59 +0000 (03:04 +0000)]
Merge "Add note about pid_max to host test documentation." am: a7e74f09b8 am: 7015e90e35
am: 58ee451ba0

Change-Id: I37b9d6be67e292dd976b1e3554774167fbfccc27

7 years agoMerge "Add note about pid_max to host test documentation." am: a7e74f09b8
Josh Gao [Fri, 18 Nov 2016 03:02:28 +0000 (03:02 +0000)]
Merge "Add note about pid_max to host test documentation." am: a7e74f09b8
am: 7015e90e35

Change-Id: I420b45b315853328794ef7e92b9c29daf8815280

7 years agoMerge "Add note about pid_max to host test documentation."
Josh Gao [Fri, 18 Nov 2016 02:59:28 +0000 (02:59 +0000)]
Merge "Add note about pid_max to host test documentation."
am: a7e74f09b8

Change-Id: I2d000a8bfc7b697a50bd5f268b32d8c2d3380d85

7 years agoMerge "Add note about pid_max to host test documentation."
Josh Gao [Fri, 18 Nov 2016 02:55:31 +0000 (02:55 +0000)]
Merge "Add note about pid_max to host test documentation."

7 years agoAdd note about pid_max to host test documentation.
Josh Gao [Fri, 18 Nov 2016 02:52:09 +0000 (18:52 -0800)]
Add note about pid_max to host test documentation.

Bug: none
Test: none
Change-Id: I3e446744076131329201543fa29b71fc4f843728

7 years agoMerge "versioner: ignore non-header files." am: 348eaa6480 am: 7214cd61d6
Josh Gao [Fri, 18 Nov 2016 02:15:24 +0000 (02:15 +0000)]
Merge "versioner: ignore non-header files." am: 348eaa6480 am: 7214cd61d6
am: f0539c3a44

Change-Id: I96fd90d285367759bdead67525715fec05a0b185

7 years agoMerge "versioner: ignore non-header files." am: 348eaa6480
Josh Gao [Fri, 18 Nov 2016 02:12:24 +0000 (02:12 +0000)]
Merge "versioner: ignore non-header files." am: 348eaa6480
am: 7214cd61d6

Change-Id: Ie330b41b18f3b110c85749b21d267443427a1975

7 years agoMerge "versioner: ignore non-header files."
Josh Gao [Fri, 18 Nov 2016 02:09:53 +0000 (02:09 +0000)]
Merge "versioner: ignore non-header files."
am: 348eaa6480

Change-Id: I8654cb3532cb23f5a1280fc84e11f483d23481a8

7 years agoMerge "versioner: ignore non-header files."
Treehugger Robot [Fri, 18 Nov 2016 02:04:24 +0000 (02:04 +0000)]
Merge "versioner: ignore non-header files."

7 years agoMerge "Improve dlerror_concurrent test" am: ada292531e am: c4786906f8
Dimitry Ivanov [Fri, 18 Nov 2016 00:57:14 +0000 (00:57 +0000)]
Merge "Improve dlerror_concurrent test" am: ada292531e am: c4786906f8
am: df8dcd0a38

Change-Id: Ibdbd0621bc251d2eaa33ceb04b1595091fb10611

7 years agoMerge "Improve dlerror_concurrent test" am: ada292531e
Dimitry Ivanov [Fri, 18 Nov 2016 00:43:13 +0000 (00:43 +0000)]
Merge "Improve dlerror_concurrent test" am: ada292531e
am: c4786906f8

Change-Id: Ie28796552173589de034012be31e9ceb30fbe3dd

7 years agoMerge "Improve dlerror_concurrent test"
Dimitry Ivanov [Fri, 18 Nov 2016 00:27:43 +0000 (00:27 +0000)]
Merge "Improve dlerror_concurrent test"
am: ada292531e

Change-Id: I7f33d654dafc319305edabf44b6bc43b3aa6eb6b

7 years agoMerge "Improve dlerror_concurrent test"
Treehugger Robot [Fri, 18 Nov 2016 00:07:41 +0000 (00:07 +0000)]
Merge "Improve dlerror_concurrent test"

7 years agoImprove dlerror_concurrent test
Dimitry Ivanov [Thu, 17 Nov 2016 20:38:09 +0000 (12:38 -0800)]
Improve dlerror_concurrent test

Add a test to check if result is thread-local, not only buffer.

Test: run bionic-unit-tests
Change-Id: Ia95f88c0d76aa86f7f439836393abd67a57dd396

7 years agoEnable malloc debug using environment variables
Tamas Berghammer [Fri, 26 Aug 2016 14:54:59 +0000 (15:54 +0100)]
Enable malloc debug using environment variables

Previously malloc debug can be enabled only using global settings
accessible to the root user only. This CL adds a new option to enable
it using environment variables making it possible to use it with pure
native (shell) applications on production builds (from shell user) and
prepares it for using it from logwrapper on production devices.

Remove the old environment variable and property since they are not
necessary.

Test: Enable malloc debug using environment variable and verify
Test: that it only affects the commands launched from the shell.
Test: Enable malloc debug using the property variable and verify
Test: that it affects all commands.
Test: Run all unit tests in 32 bit and 64 bit.
Change-Id: Iecb75a3471552f619f196ad550c5f41fcd9ce8e5

7 years agoMerge "Fix iswlower/iswupper." am: a5c16983a6 am: fffb63fe90
Christopher Ferris [Thu, 17 Nov 2016 20:30:52 +0000 (20:30 +0000)]
Merge "Fix iswlower/iswupper." am: a5c16983a6 am: fffb63fe90
am: 31637b14c9

Change-Id: I97cfacc72ab5809e23593c145aa4c0fa593c5cd4

7 years agoMerge "Fix iswlower/iswupper." am: a5c16983a6
Christopher Ferris [Thu, 17 Nov 2016 20:22:21 +0000 (20:22 +0000)]
Merge "Fix iswlower/iswupper." am: a5c16983a6
am: fffb63fe90

Change-Id: I9dbd0139f20e399b539a21c7c32408addb39cb3f

7 years agoMerge "Fix iswlower/iswupper."
Christopher Ferris [Thu, 17 Nov 2016 20:14:21 +0000 (20:14 +0000)]
Merge "Fix iswlower/iswupper."
am: a5c16983a6

Change-Id: I9e00bcfdb4365f7a4438570181deead6e371df12

7 years agoMerge "Fix iswlower/iswupper."
Christopher Ferris [Thu, 17 Nov 2016 20:06:05 +0000 (20:06 +0000)]
Merge "Fix iswlower/iswupper."

7 years agoMerge "Relax ELF header checks - warn for apps targeting pre-O" am: 3613c20c59 am...
Dimitry Ivanov [Thu, 17 Nov 2016 05:46:57 +0000 (05:46 +0000)]
Merge "Relax ELF header checks - warn for apps targeting pre-O" am: 3613c20c59 am: 14420fc56c
am: 680a6c72a2

Change-Id: Ie03f3ad517a05d5783fd11fc3b507c54cc2b7f41

7 years agoMerge "Relax ELF header checks - warn for apps targeting pre-O" am: 3613c20c59
Dimitry Ivanov [Thu, 17 Nov 2016 05:38:57 +0000 (05:38 +0000)]
Merge "Relax ELF header checks - warn for apps targeting pre-O" am: 3613c20c59
am: 14420fc56c

Change-Id: I7769812ef6521164dca685dbf785486dd4bd783d

7 years agoMerge "Relax ELF header checks - warn for apps targeting pre-O"
Dimitry Ivanov [Thu, 17 Nov 2016 05:30:26 +0000 (05:30 +0000)]
Merge "Relax ELF header checks - warn for apps targeting pre-O"
am: 3613c20c59

Change-Id: Ib5757e7b2821529f02e1fc972a42cd86f202974d

7 years agoMerge "Relax ELF header checks - warn for apps targeting pre-O"
Dimitry Ivanov [Thu, 17 Nov 2016 05:21:41 +0000 (05:21 +0000)]
Merge "Relax ELF header checks - warn for apps targeting pre-O"

7 years agoMerge "Remove unused includes/externals" am: 585838ba32 am: da826583c8
Dimitry Ivanov [Thu, 17 Nov 2016 03:14:49 +0000 (03:14 +0000)]
Merge "Remove unused includes/externals" am: 585838ba32 am: da826583c8
am: 6ed351a62d

Change-Id: I5756fd410ad350176f86265c4e043635ceafb897

7 years agoMerge "Remove unused includes/externals" am: 585838ba32
Dimitry Ivanov [Thu, 17 Nov 2016 03:06:19 +0000 (03:06 +0000)]
Merge "Remove unused includes/externals" am: 585838ba32
am: da826583c8

Change-Id: Ia56bea205f0d5f17a26cc0a50e891a838f984b31

7 years agoMerge "Remove unused includes/externals"
Dimitry Ivanov [Thu, 17 Nov 2016 02:58:18 +0000 (02:58 +0000)]
Merge "Remove unused includes/externals"
am: 585838ba32

Change-Id: I2d7496310bd64822a90f9cb3dca2ba27ce24b00e

7 years agoMerge "Add and use constants for the Android API levels." am: 60ba60dd25 am: aee547dbef
Elliott Hughes [Thu, 17 Nov 2016 02:58:18 +0000 (02:58 +0000)]
Merge "Add and use constants for the Android API levels." am: 60ba60dd25 am: aee547dbef
am: ecd8d9dd7b

Change-Id: I1de4c938dbcc0113dacc717776bc4f74979e6d96

7 years agoMerge "Add and use constants for the Android API levels." am: 60ba60dd25
Elliott Hughes [Thu, 17 Nov 2016 02:50:17 +0000 (02:50 +0000)]
Merge "Add and use constants for the Android API levels." am: 60ba60dd25
am: aee547dbef

Change-Id: I90b15bb458b20e241a177c4407f45b3e51be43a3

7 years agoMerge "Remove unused includes/externals"
Treehugger Robot [Thu, 17 Nov 2016 02:48:41 +0000 (02:48 +0000)]
Merge "Remove unused includes/externals"

7 years agoMerge "Add and use constants for the Android API levels."
Elliott Hughes [Thu, 17 Nov 2016 02:43:18 +0000 (02:43 +0000)]
Merge "Add and use constants for the Android API levels."
am: 60ba60dd25

Change-Id: I83b38008d8ba734b303cae6b270534ee11afebe6

7 years agoRelax ELF header checks - warn for apps targeting pre-O
Dimitry Ivanov [Wed, 16 Nov 2016 20:29:37 +0000 (12:29 -0800)]
Relax ELF header checks - warn for apps targeting pre-O

Bug: http://b/32581440
Test: bionic-unit-tests --gtest_filter=dl*:Dl*
Change-Id: I2fe356c67eb9665c671758117679a29b207219e4

7 years agoMerge "Add and use constants for the Android API levels."
Treehugger Robot [Thu, 17 Nov 2016 02:37:37 +0000 (02:37 +0000)]
Merge "Add and use constants for the Android API levels."

7 years agoMerge "Add original prebuilt test libraries" am: 2880754368 am: 05d1ada098
Dimitry Ivanov [Thu, 17 Nov 2016 01:20:12 +0000 (01:20 +0000)]
Merge "Add original prebuilt test libraries" am: 2880754368 am: 05d1ada098
am: 688968b784

Change-Id: I1a974c200b29e3125fe51973591420a8abd380cb

7 years agoMerge "Add original prebuilt test libraries" am: 2880754368
Dimitry Ivanov [Thu, 17 Nov 2016 01:12:11 +0000 (01:12 +0000)]
Merge "Add original prebuilt test libraries" am: 2880754368
am: 05d1ada098

Change-Id: I759d6fa0a3ee9b9824953d39fd5bfbdd1fba24b6

7 years agoMerge "Add original prebuilt test libraries"
Dimitry Ivanov [Thu, 17 Nov 2016 01:04:40 +0000 (01:04 +0000)]
Merge "Add original prebuilt test libraries"
am: 2880754368

Change-Id: I80a1c62d81baf96256d8901059026f8b18ea13fc

7 years agoversioner: ignore non-header files.
Josh Gao [Thu, 17 Nov 2016 01:01:57 +0000 (17:01 -0800)]
versioner: ignore non-header files.

Don't try to compile non-headers (vim swap files, etc.) that happen to
be in the header directory.

Bug: none
Test: manually created a file in libc/include
Change-Id: I2c1647ec7174dc617898dc2f07c9a80a08b69c72

7 years agoAdd and use constants for the Android API levels.
Elliott Hughes [Wed, 16 Nov 2016 19:35:43 +0000 (11:35 -0800)]
Add and use constants for the Android API levels.

Test: bionic tests still pass
Change-Id: If1b619cfc9db1d3f5d91f14f2ace71058dca0c4a

7 years agoMerge "Add original prebuilt test libraries"
Dimitry Ivanov [Thu, 17 Nov 2016 00:52:40 +0000 (00:52 +0000)]
Merge "Add original prebuilt test libraries"

7 years agoFix uninitialized variable usage. am: c0f1f552f9
Christopher Ferris [Thu, 17 Nov 2016 00:22:13 +0000 (00:22 +0000)]
Fix uninitialized variable usage. am: c0f1f552f9
am: 4cf7dfd1a4

Change-Id: I592e943272ca48e5544513f25d911586548bd933

7 years agoFix error case to print newlines properly. am: 1dc3ae163e
Christopher Ferris [Thu, 17 Nov 2016 00:22:10 +0000 (00:22 +0000)]
Fix error case to print newlines properly. am: 1dc3ae163e
am: 9012573a23

Change-Id: Id534decf695ffed021bf7603554eac73e2b5ed50

7 years agoMake prctl test check maps. am: f1e44785e5
Christopher Ferris [Thu, 17 Nov 2016 00:22:07 +0000 (00:22 +0000)]
Make prctl test check maps. am: f1e44785e5
am: c7ca9bd6c4  -s ours

Change-Id: I63b1a542ba0c7c92ff973a078dbfb2dfe5cb8e6b

7 years agoFix uninitialized variable usage.
Christopher Ferris [Thu, 17 Nov 2016 00:00:41 +0000 (00:00 +0000)]
Fix uninitialized variable usage.
am: c0f1f552f9

Change-Id: I0c61977adde9af8f3b98505770f19d5f2cb7fb0f

7 years agoFix error case to print newlines properly.
Christopher Ferris [Thu, 17 Nov 2016 00:00:38 +0000 (00:00 +0000)]
Fix error case to print newlines properly.
am: 1dc3ae163e

Change-Id: If9a1f4c601445eb2bbb3cf6264f6ae162090c0ae

7 years agoMake prctl test check maps.
Christopher Ferris [Thu, 17 Nov 2016 00:00:35 +0000 (00:00 +0000)]
Make prctl test check maps.
am: f1e44785e5

Change-Id: I477f9022ee761632e8575454af184a1dcd7b6cd9

7 years agoFix uninitialized variable usage.
Christopher Ferris [Tue, 15 Nov 2016 22:04:16 +0000 (14:04 -0800)]
Fix uninitialized variable usage.

If the dladdr call fails, then info.dli_fname will be unitialized.
Make sure that this can't happen.

Bug: 32907235

Test: Enabled malloc debug on an angler and verified that function names
Test: still work.
Change-Id: I738e66d9f37bce07bc4c10f1f9bac11fbfdae2c7
(cherry picked from commit a19bc2d4edfc261bdccfc5f855c50e83477b3757)
(cherry picked from commit b7f0267f0ddfa2d2ffb71a7980e80b05961401d0)

7 years agoFix error case to print newlines properly.
Christopher Ferris [Tue, 8 Nov 2016 22:05:18 +0000 (14:05 -0800)]
Fix error case to print newlines properly.

Bug: 32640542

Test: Built and ran on a failing device.

(cherry picked from commit 4dd2785f056f885e6dc9a022b867f511c2e83c3c)

Change-Id: I81a578af7608c741819062bd54aa8e348a621b83

7 years agoMake prctl test check maps.
Christopher Ferris [Thu, 3 Nov 2016 23:06:40 +0000 (16:06 -0700)]
Make prctl test check maps.

It turns out that sometimes this kernel bug can be present but not
trigger a crash. Modify the test to check for overlapping maps instead.

Bug: 32640542

Test: Verified that this fails on a device without the kernel patch
Test: (both bionic-unit-tests32 and CtsBionicTestCases32). Verified
Test: this passes on an angler.

(cherry picked from commit f1649d92f7869331ea1c4db7f2bb189489af03e6)

Change-Id: Ia3fae3ee3d01f33d8414c1796fc3e942d5b56ec8

7 years agoRemove unused includes/externals
Dimitry Ivanov [Wed, 16 Nov 2016 23:23:37 +0000 (15:23 -0800)]
Remove unused includes/externals

Test: mm
Change-Id: I4b88602b7d0a18664cbeddfa9854e589c2886e1a

7 years agoFix iswlower/iswupper.
Elliott Hughes [Wed, 16 Nov 2016 23:19:08 +0000 (15:19 -0800)]
Fix iswlower/iswupper.

The previous conditions were just plain wrong.

Test: bionic tests
Change-Id: Ia6d98207b1ff98ea4c6f619912e4bcdb8a7fdd24

7 years agoAdd original prebuilt test libraries
Dimitry Ivanov [Wed, 16 Nov 2016 21:41:36 +0000 (13:41 -0800)]
Add original prebuilt test libraries

This is the library used to produce invalid prebuilt libraries
for loader tests.

Bug: http://b/30795430
Test: not necessary - these are added for reference
Change-Id: I06e681bf826e59a76da9b49d84d26dee34920d49

7 years agoFix uninitialized variable usage.
Christopher Ferris [Wed, 16 Nov 2016 21:22:54 +0000 (21:22 +0000)]
Fix uninitialized variable usage.
am: b7f0267f0d

Change-Id: I3b15bccbd4f653feeb6642e5a394a56ed5e3e27c

7 years agoFix uninitialized variable usage.
Christopher Ferris [Tue, 15 Nov 2016 22:04:16 +0000 (14:04 -0800)]
Fix uninitialized variable usage.

If the dladdr call fails, then info.dli_fname will be unitialized.
Make sure that this can't happen.

Bug: 32907235

Test: Enabled malloc debug on an angler and verified that function names
Test: still work.
Change-Id: I738e66d9f37bce07bc4c10f1f9bac11fbfdae2c7
(cherry picked from commit a19bc2d4edfc261bdccfc5f855c50e83477b3757)

7 years agoMerge "Downgrade W+E load segments to a warning unless targeting O." am: 8945d5e43a...
Elliott Hughes [Wed, 16 Nov 2016 19:23:00 +0000 (19:23 +0000)]
Merge "Downgrade W+E load segments to a warning unless targeting O." am: 8945d5e43a am: c1673b087b
am: 2f5552766a

Change-Id: I15e7068cf3b6405fe194125636814c67c43d129b

7 years agoMerge "Fix uninitialized variable usage." am: bd15515cfc am: 304e321e19
Christopher Ferris [Wed, 16 Nov 2016 19:22:47 +0000 (19:22 +0000)]
Merge "Fix uninitialized variable usage." am: bd15515cfc am: 304e321e19
am: 5ed1cdf668

Change-Id: I8462c4c5f91dde850ff9ee777ed048486dfdb589

7 years agoMerge "Downgrade W+E load segments to a warning unless targeting O." am: 8945d5e43a
Elliott Hughes [Wed, 16 Nov 2016 19:15:36 +0000 (19:15 +0000)]
Merge "Downgrade W+E load segments to a warning unless targeting O." am: 8945d5e43a
am: c1673b087b

Change-Id: Ib4349cf479484fbe63f88ec593b12050f29c0d7b

7 years agoMerge "Fix uninitialized variable usage." am: bd15515cfc
Christopher Ferris [Wed, 16 Nov 2016 19:15:20 +0000 (19:15 +0000)]
Merge "Fix uninitialized variable usage." am: bd15515cfc
am: 304e321e19

Change-Id: I952355b8fd26c30e8bcb8f83d2eb6243af322690

7 years agoMerge "Downgrade W+E load segments to a warning unless targeting O."
Elliott Hughes [Wed, 16 Nov 2016 19:08:28 +0000 (19:08 +0000)]
Merge "Downgrade W+E load segments to a warning unless targeting O."
am: 8945d5e43a

Change-Id: I9e3c5b16ed24ec263519435c43e18b9e700238b7

7 years agoMerge "Fix uninitialized variable usage."
Christopher Ferris [Wed, 16 Nov 2016 19:08:15 +0000 (19:08 +0000)]
Merge "Fix uninitialized variable usage."
am: bd15515cfc

Change-Id: I8822c72b24572a07ef4c813df8b750cf8428e4b8

7 years agoMerge "Downgrade W+E load segments to a warning unless targeting O."
Elliott Hughes [Wed, 16 Nov 2016 19:04:17 +0000 (19:04 +0000)]
Merge "Downgrade W+E load segments to a warning unless targeting O."

7 years agoMerge "Fix uninitialized variable usage."
Christopher Ferris [Wed, 16 Nov 2016 18:59:02 +0000 (18:59 +0000)]
Merge "Fix uninitialized variable usage."

7 years agoFix uninitialized variable usage.
Christopher Ferris [Tue, 15 Nov 2016 22:04:16 +0000 (14:04 -0800)]
Fix uninitialized variable usage.

If the dladdr call fails, then info.dli_fname will be unitialized.
Make sure that this can't happen.

Bug: 32907235

Test: Enabled malloc debug on an angler and verified that function names
Test: still work.
Change-Id: I738e66d9f37bce07bc4c10f1f9bac11fbfdae2c7

7 years agoMerge "Fix deprecated range_x() calls." am: 7afafce831 am: 56ff0cbe00
Martijn Coenen [Wed, 16 Nov 2016 10:17:45 +0000 (10:17 +0000)]
Merge "Fix deprecated range_x() calls." am: 7afafce831 am: 56ff0cbe00
am: 021837df02

Change-Id: I3e9bcfdaab36b7557d7a039ed38c877096479af7

7 years agoMerge "Fix deprecated range_x() calls." am: 7afafce831
Martijn Coenen [Wed, 16 Nov 2016 10:06:57 +0000 (10:06 +0000)]
Merge "Fix deprecated range_x() calls." am: 7afafce831
am: 56ff0cbe00

Change-Id: I391b9a690e691b9c4d7be1712565f5e94303795b

7 years agoMerge "Fix deprecated range_x() calls."
Martijn Coenen [Wed, 16 Nov 2016 09:59:31 +0000 (09:59 +0000)]
Merge "Fix deprecated range_x() calls."
am: 7afafce831

Change-Id: Ie930f4ebc7167b755bdea3cd6c9535f90ebcfa08

7 years agoMerge "Fix deprecated range_x() calls."
Martijn Coenen [Wed, 16 Nov 2016 09:48:30 +0000 (09:48 +0000)]
Merge "Fix deprecated range_x() calls."

7 years agoMerge "Fix getrandom syscall checking" am: 5a073a18f3 am: 68f3c3e31a
Wei Wang [Wed, 16 Nov 2016 03:46:52 +0000 (03:46 +0000)]
Merge "Fix getrandom syscall checking" am: 5a073a18f3 am: 68f3c3e31a
am: 729aa32615

Change-Id: If881c7ed224d1f1a3c1a19952b5d4b1f79d35b34

7 years agoMerge "Fix getrandom syscall checking" am: 5a073a18f3
Wei Wang [Wed, 16 Nov 2016 03:39:20 +0000 (03:39 +0000)]
Merge "Fix getrandom syscall checking" am: 5a073a18f3
am: 68f3c3e31a

Change-Id: Ic8859d86f8d8ff14b11aab66846b403b2d612280

7 years agoMerge "Fix getrandom syscall checking"
Wei Wang [Wed, 16 Nov 2016 03:32:20 +0000 (03:32 +0000)]
Merge "Fix getrandom syscall checking"
am: 5a073a18f3

Change-Id: I0300bdb1257c77c8c5820f9bef19932d99fe5632

7 years agoMerge "Fix getrandom syscall checking"
Treehugger Robot [Wed, 16 Nov 2016 03:23:43 +0000 (03:23 +0000)]
Merge "Fix getrandom syscall checking"

7 years agoDowngrade W+E load segments to a warning unless targeting O.
Elliott Hughes [Wed, 16 Nov 2016 00:54:16 +0000 (16:54 -0800)]
Downgrade W+E load segments to a warning unless targeting O.

I don't think we're getting any value from more dupes of the same dodgy
middleware, and I worry that we're hiding other, more subtle, compatibility
issues behind this one.

Test: bionic tests
Change-Id: I556cf36eac96c90976bae32621d1c133bbb8fcc7

7 years agoFix getrandom syscall checking
Wei Wang [Wed, 16 Nov 2016 00:42:53 +0000 (16:42 -0800)]
Fix getrandom syscall checking

Test: angler
Bug: 32838381
(cherry-picked from commit 46289b4c0211fc48d8719b385a7e56d765510ebd)

Change-Id: I102ffa26d7f39a8d3572b31f04b66ae31a9e752c

7 years agoMerge "Don't pack relocations in libc.so" am: d5aa03600e am: 26b9dfe9d4
Colin Cross [Wed, 16 Nov 2016 00:03:38 +0000 (00:03 +0000)]
Merge "Don't pack relocations in libc.so" am: d5aa03600e am: 26b9dfe9d4
am: 27f172458a

Change-Id: I3d5fe748087091762947e3d525041982b14f535a

7 years agoMerge "Don't pack relocations in libc.so" am: d5aa03600e
Colin Cross [Tue, 15 Nov 2016 23:57:08 +0000 (23:57 +0000)]
Merge "Don't pack relocations in libc.so" am: d5aa03600e
am: 26b9dfe9d4

Change-Id: I0a97859a7a272c73c586e1d0dccb0f1202388b86

7 years agoMerge "Don't pack relocations in libc.so"
Colin Cross [Tue, 15 Nov 2016 23:49:37 +0000 (23:49 +0000)]
Merge "Don't pack relocations in libc.so"
am: d5aa03600e

Change-Id: I384080d14ca3415a4cf604d836161efaf58c9137

7 years agoMerge "Don't pack relocations in libc.so"
Colin Cross [Tue, 15 Nov 2016 23:38:01 +0000 (23:38 +0000)]
Merge "Don't pack relocations in libc.so"

7 years agoDon't pack relocations in libc.so
Colin Cross [Tue, 15 Nov 2016 21:15:43 +0000 (13:15 -0800)]
Don't pack relocations in libc.so

Ic9125cc1bc4c9ba9eb20d030de72e3ce1fb86fa6 disabled relocation packing
in libc.so, but the flag was dropped when we switched to Android.bp
in Ib0ba2d28bff88483b505426ba61606da314e03ab.

Bug: 20645321
Bug: 20655855
Bug: 32750616
Test: builds
Test: inspect out/build-aosp_angler.ninja
Test: run app that crashes with packed libc.so
Change-Id: Ib0630f2e342afa543bb88303fec8f9695ac583e9

7 years agoMerge "Differentiate the wctype functions we need to improve." am: f97b27a9c0 am...
Elliott Hughes [Tue, 15 Nov 2016 19:38:22 +0000 (19:38 +0000)]
Merge "Differentiate the wctype functions we need to improve." am: f97b27a9c0 am: bf2556dc72
am: 9428d23e19

Change-Id: I5bbe5552edd75fb7819078a8e89e03bff9690e3a

7 years agoMerge "Differentiate the wctype functions we need to improve." am: f97b27a9c0
Elliott Hughes [Tue, 15 Nov 2016 19:31:20 +0000 (19:31 +0000)]
Merge "Differentiate the wctype functions we need to improve." am: f97b27a9c0
am: bf2556dc72

Change-Id: If661da3b7d84f80e2b0d923e666074dfced55cb1

7 years agoMerge "Differentiate the wctype functions we need to improve."
Elliott Hughes [Tue, 15 Nov 2016 19:23:51 +0000 (19:23 +0000)]
Merge "Differentiate the wctype functions we need to improve."
am: f97b27a9c0

Change-Id: I078de2d9b7c8e58640c9d2847a88dbea970c893d

7 years agoMerge "Differentiate the wctype functions we need to improve."
Elliott Hughes [Tue, 15 Nov 2016 19:04:25 +0000 (19:04 +0000)]
Merge "Differentiate the wctype functions we need to improve."

7 years agoFix deprecated range_x() calls.
Martijn Coenen [Mon, 14 Nov 2016 13:16:08 +0000 (14:16 +0100)]
Fix deprecated range_x() calls.

Test: builds with new libbenchmark.
Change-Id: I91c0e5c1b5cf75b8e551f3c59d83ac9352817c4a

7 years agoMerge changes I72d37b7c,I7d254a10,I2e967acf am: b3321c9614 am: f4a13b1feb
Josh Gao [Tue, 15 Nov 2016 01:18:03 +0000 (01:18 +0000)]
Merge changes I72d37b7c,I7d254a10,I2e967acf am: b3321c9614 am: f4a13b1feb
am: cf2d23fb0c

Change-Id: I5f7e0ed06bed3cc0363e165919bd929751f92a2c

7 years agoversioner: use a virtual filesystem for input files. am: 78b8a1430d am: 64541e2cc3
Josh Gao [Tue, 15 Nov 2016 01:18:00 +0000 (01:18 +0000)]
versioner: use a virtual filesystem for input files. am: 78b8a1430d am: 64541e2cc3
am: 2a9e5bfcea

Change-Id: I52d6a3031d6c68db874b8d6eafb4957261b9d4c4

7 years agoversioner: cache -cc1 flags generated by the clang Driver. am: b5c496346f am: 0aa3ed5170
Josh Gao [Tue, 15 Nov 2016 01:17:56 +0000 (01:17 +0000)]
versioner: cache -cc1 flags generated by the clang Driver. am: b5c496346f am: 0aa3ed5170
am: d01e518f7e

Change-Id: I8ee76a8d4220d8e98cd7398f00c4795de1f4863d

7 years agoversioner: refactor to use CompilerInstance directly. am: 16016df79f am: cdfd128911
Josh Gao [Tue, 15 Nov 2016 01:17:51 +0000 (01:17 +0000)]
versioner: refactor to use CompilerInstance directly. am: 16016df79f am: cdfd128911
am: 2d09cfcbea

Change-Id: Ib88008e1a63045d414678776de7a0116fbcf4948

7 years agoMerge changes I72d37b7c,I7d254a10,I2e967acf am: b3321c9614
Josh Gao [Tue, 15 Nov 2016 01:10:34 +0000 (01:10 +0000)]
Merge changes I72d37b7c,I7d254a10,I2e967acf am: b3321c9614
am: f4a13b1feb

Change-Id: I04a9dafaaa9f61e5b8aaa43110170a6eb8d7de1f

7 years agoversioner: use a virtual filesystem for input files. am: 78b8a1430d
Josh Gao [Tue, 15 Nov 2016 01:10:30 +0000 (01:10 +0000)]
versioner: use a virtual filesystem for input files. am: 78b8a1430d
am: 64541e2cc3

Change-Id: Icdf75426a9e4139973200bffabcb86a38c428740

7 years agoversioner: cache -cc1 flags generated by the clang Driver. am: b5c496346f
Josh Gao [Tue, 15 Nov 2016 01:10:25 +0000 (01:10 +0000)]
versioner: cache -cc1 flags generated by the clang Driver. am: b5c496346f
am: 0aa3ed5170

Change-Id: Iea9fd7d67537ec29a3d4b0c063ca6cf1cc4a4653

7 years agoversioner: refactor to use CompilerInstance directly. am: 16016df79f
Josh Gao [Tue, 15 Nov 2016 01:10:21 +0000 (01:10 +0000)]
versioner: refactor to use CompilerInstance directly. am: 16016df79f
am: cdfd128911

Change-Id: I79c4805fb3651c9eaabd2e3379c223f3df9c71fc

7 years agoMerge changes I72d37b7c,I7d254a10,I2e967acf
Josh Gao [Tue, 15 Nov 2016 01:03:00 +0000 (01:03 +0000)]
Merge changes I72d37b7c,I7d254a10,I2e967acf
am: b3321c9614

Change-Id: Ibb764c5a1b0481b2402a0f584e5c6334378cf350

7 years agoversioner: use a virtual filesystem for input files.
Josh Gao [Tue, 15 Nov 2016 01:02:59 +0000 (01:02 +0000)]
versioner: use a virtual filesystem for input files.
am: 78b8a1430d

Change-Id: I457fcb0d2a8bc421b776ab8f2d385844ccfa5218