Treehugger Robot
9c3b74d1ac
Merge "riscv64: correct comparison logic of have_fast_v" into main am: 0b4dfb9ba3
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2844983
Change-Id: I31e51317b261a82b192cc521eae7d14691544d8c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-28 00:09:57 +00:00
Treehugger Robot
0b4dfb9ba3
Merge "riscv64: correct comparison logic of have_fast_v" into main
2023-11-27 22:52:28 +00:00
Kenny Gong
066f4b778b
riscv64: correct comparison logic of have_fast_v
...
Change-Id: I47fdc0900a8edf878e99a57d6f06ff6e12ca74f2
Signed-off-by: Kenny Gong <kenny.gong@intel.com>
2023-11-23 11:14:45 +08:00
Prashanth Swaminathan
453fbd0e9a
Merge "string/memory functions: avoid qemu bugs/performance issues." into main am: c20bf013a1
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2806377
Change-Id: I9a70563b39564b75bf952ae8e78339ebb7d42e52
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-17 18:12:56 +00:00
Prashanth Swaminathan
c20bf013a1
Merge "string/memory functions: avoid qemu bugs/performance issues." into main
2023-11-17 17:47:20 +00:00
Elliott Hughes
b620ed5206
Merge "libc_init_static.cpp: drop gold support." into main am: 63dce74ca0
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2836070
Change-Id: I92ae7e48c6dd5b61f2b7e4e10d95ee8dbad032ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-17 17:07:50 +00:00
Elliott Hughes
63dce74ca0
Merge "libc_init_static.cpp: drop gold support." into main
2023-11-17 16:38:09 +00:00
Elliott Hughes
d65368e7d7
libc_init_static.cpp: drop gold support.
...
The NDK no longer includes gold, so static binaries built by the NDK no
longer need to support gold.
Test: bionic static unit tests
Change-Id: Idddcb9eb18921acfc1ae2a3c755592a5ab30290a
2023-11-16 17:31:09 -08:00
Elliott Hughes
aefe999d92
string/memory functions: avoid qemu bugs/performance issues.
...
Use V on real hardware, but GC on qemu.
Change-Id: I419546d94555540e14a14dcc52bd99413cbbcfa1
2023-11-15 15:49:57 -08:00
Hans Boehm
d78eaf67b3
Merge "Better obstruct optimization for ordering test" into main am: 87ce3a2dc5
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2828516
Change-Id: I05688531b7e511ae60f04b646a73f222fc4c2571
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-15 06:34:36 +00:00
Hans Boehm
87ce3a2dc5
Merge "Better obstruct optimization for ordering test" into main
2023-11-15 05:59:20 +00:00
Treehugger Robot
ec6677350c
Merge "Move ; in NDK declaration" into main am: c6034e4228
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2830814
Change-Id: I7d14f0627c687dbb0f5141c34009fedc87f8cd07
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-15 00:49:19 +00:00
Treehugger Robot
c6034e4228
Merge "Move ; in NDK declaration" into main
2023-11-15 00:26:40 +00:00
Nate Myren
4b94522c14
Move ; in NDK declaration
...
per comment on aosp/2796861, it should be at the end of the line
Bug: 291814949
Test: presubmit
Change-Id: Ib104d6764791b7a2507e371d955cbd8e69e3ccdc
2023-11-14 15:28:57 -08:00
Hans Boehm
71eb46fc00
Better obstruct optimization for ordering test
...
... to make sure that stores to the same locations are harder to
eliminate.
Also ensure that reader gets a chance to run by sleeping if necessary.
Bug: 308744279
Test: atest stdatomic
Test: Check that we don't usually sleep.
Change-Id: Iddab2a109525f96e065ac8331f227baa08dd8e22
2023-11-14 14:11:25 -08:00
Treehugger Robot
e57e7f3102
Merge "string.h: drag in <strings.h> for GNU source as well as BSD." into main am: fb85d77da6
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2828517
Change-Id: I273d2b29665522f062a1d4c921e6a2c5dc474159
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-14 18:51:49 +00:00
Treehugger Robot
fb85d77da6
Merge "string.h: drag in <strings.h> for GNU source as well as BSD." into main
2023-11-14 17:59:13 +00:00
Elliott Hughes
c5d9795cf4
string.h: drag in <strings.h> for GNU source as well as BSD.
...
Both glibc/musl's and Apple's <string.h> drags in <strings.h> in most
cases. So do the BSDs. Given so much historic precedent (often accompanied
by comments saying "POSIX made us move this stuff out into another
file, but we don't want to break existing code [from the 1980s]"!), plus
the fact that someone hit this in practice, trying to build one of the
linux selftests against bionic, let's change bionic over too...
Bug: http://b/310035365
Test: treehugger
Change-Id: I8f13d82fe3d3df71a656641a725410acdfd97465
2023-11-14 00:40:30 +00:00
Christopher Ferris
93c0926a52
Merge "Make sure debug_frame is not compressed." into main am: 77704b7505
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2826691
Change-Id: Iaf31d10b9edc09fff35cfdcc181cb43dc1bac3e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-11 01:39:16 +00:00
Christopher Ferris
77704b7505
Merge "Make sure debug_frame is not compressed." into main
2023-11-11 00:32:20 +00:00
Treehugger Robot
33c8da0d99
Merge "Unmap appcompat properties in property benchmark" into main am: 5a71f238eb
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2824884
Change-Id: Ibe9d4d367e271cdab1516e5e88793d0b02a87114
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-10 21:16:59 +00:00
Treehugger Robot
5a71f238eb
Merge "Unmap appcompat properties in property benchmark" into main
2023-11-10 20:01:04 +00:00
Christopher Ferris
9d03a16d8c
Make sure debug_frame is not compressed.
...
Right now, the unwinder doesn't support compressed sections, so unwinds
through the 32 bit libc.so don't work. It will be supported very soon,
but even then, it will be slower to use, so make sure the debug_frame
is not compressed at all.
Bug: 309857311
Test: 32 bit debuggerd unit tests pass.
Test: 32 bit unwind unit tests pass.
Change-Id: Ic8bec1d275c629ec43051bbe912014f281450eda
2023-11-10 11:19:11 -08:00
Nate Myren
08b0a68d6d
Unmap appcompat properties in property benchmark
...
Otherwise, they'll leak and cause failures
Fixes: 305838406
Test: adb shell /data/benchmarktest/bionic-benchmarks/bionic-benchmarks --benchmark_filter=BM_property
Change-Id: I2d6ed4aa30012dd7aa92eed8dc564699e6505c8f
2023-11-10 11:09:46 -08:00
Nate Myren
512506a954
Merge "Modify benchmark for appcompat properties, exit when init fails" into main am: 9fe73234ab
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2820091
Change-Id: Ibbfb5723f68978bd451f5a69292dc59e338f51d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-08 17:35:27 +00:00
Nate Myren
9fe73234ab
Merge "Modify benchmark for appcompat properties, exit when init fails" into main
2023-11-08 17:03:43 +00:00
Nate Myren
58df4dfe9a
Modify benchmark for appcompat properties, exit when init fails
...
The property_benchmark needs to use the `load_default_path` parameter in
when writing its test, which is necessary now. Also, the benchmark
seemed to retry infinitely when the initialization failed, so it has now
been modified to exit when the initialization fails, and send a message
as it does so.
Bug: 305838406
Test: adb shell /data/benchmarktest/bionic-benchmarks/bionic-benchmarks --benchmark_filter=BM_property
Change-Id: Idb235b0e7c119fa08ace5b814d7f7404dd0eaeb3
2023-11-07 15:20:49 -08:00
Treehugger Robot
aedc1c90e8
Merge "elf.h: add SHT_RISCV_ATTRIBUTES." into main am: 5512532418
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2818165
Change-Id: Ic483c9b1ba06393b662e3bb1e6044109c91530f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-04 03:07:59 +00:00
Treehugger Robot
5512532418
Merge "elf.h: add SHT_RISCV_ATTRIBUTES." into main
2023-11-04 02:19:11 +00:00
Elliott Hughes
a3f24eb6b2
elf.h: add SHT_RISCV_ATTRIBUTES.
...
Test: treehugger
Change-Id: I1919ae440f56c46aad0948e4535eb6fc90b10895
2023-11-03 17:25:09 -07:00
Elliott Hughes
172da47c49
Merge "Remove extraneous text from header comments." into main am: c43ebff0a7
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2808593
Change-Id: Ia9182d3a76b798d05029ea82486b8c88f1eee7fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-02 16:43:36 +00:00
Elliott Hughes
c43ebff0a7
Merge "Remove extraneous text from header comments." into main
2023-11-02 16:09:45 +00:00
Elliott Hughes
180edefbd2
Remove extraneous text from header comments.
...
Test: treehugger
Change-Id: I8e27e8ac15f5f1380046accbd7875da1c3b512f2
2023-11-02 00:08:05 +00:00
Christopher Ferris
94df76e5ed
Merge "Stop fp unwinding if the pc is 0." into main am: 0b27d314d6
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2813433
Change-Id: I0405d6673254970a1ad8fc1345c499f20f50f344
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-01 20:21:39 +00:00
Christopher Ferris
0b27d314d6
Merge "Stop fp unwinding if the pc is 0." into main
2023-11-01 19:50:33 +00:00
Christopher Ferris
c4707a3726
Merge "Update to v6.6 kernel headers." into main am: 85dd55530a
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2812362
Change-Id: I46da1faa5f1db2346c2d7ffa3be02618eac6d1f6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-01 02:45:15 +00:00
Christopher Ferris
85dd55530a
Merge "Update to v6.6 kernel headers." into main
2023-11-01 02:14:31 +00:00
Treehugger Robot
0dc540d286
Merge "time.h: use "duration" rather than "request"." into main am: 318a1276b4
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2813844
Change-Id: I33ca9388daa4a183ad00ab97d5811963ec2e3fe2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-01 02:12:19 +00:00
Treehugger Robot
227e78148d
Merge "dlfcn.h: dlclose doc ~'do not use'" into main am: 2e9bc49ac5
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2813726
Change-Id: I0a45fa612e393745d3e70ec31bd41fe3acdd4f1f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-01 02:12:00 +00:00
Treehugger Robot
318a1276b4
Merge "time.h: use "duration" rather than "request"." into main
2023-11-01 02:02:23 +00:00
Treehugger Robot
2e9bc49ac5
Merge "dlfcn.h: dlclose doc ~'do not use'" into main
2023-11-01 01:54:25 +00:00
Steven Moreland
f61b2b16b8
dlfcn.h: dlclose doc ~'do not use'
...
There are a lot of bugs about this over the years, too many to
reference here. Though, I referenced b/176065420 to understand
exactly why it's problematic and what the future direction may
be.
Fixes: 307859642
Test: N/A
Change-Id: Ida31fe622309a7f9b2cd55e5bbb3569fc5aded0e
2023-11-01 00:48:24 +00:00
Elliott Hughes
77add1bbfd
time.h: use "duration" rather than "request".
...
This came up in a man-pages discussion. I've left the ones that take an
integer to say what _units_ they sleep in, but the ones that take a
struct seem clearest if they just say "duration".
Test: treehugger
Change-Id: I13e39855a9d2c49e1653ec2263cb09c9f239254d
2023-11-01 00:34:47 +00:00
Treehugger Robot
e8378e2353
Merge "Remove accidental re-addition of factored-out cruft." into main am: 5f8ae9f942
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2812364
Change-Id: Ifb3dadedea73b99596266160ca3c4ee506f45a6c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 23:26:43 +00:00
Treehugger Robot
5f8ae9f942
Merge "Remove accidental re-addition of factored-out cruft." into main
2023-10-31 22:53:40 +00:00
Elliott Hughes
f2e04f5fbd
Remove accidental re-addition of factored-out cruft.
...
This is in libc_defaults now.
Test: treehugger
Change-Id: I3b10c5ca4274aacb75be7ea0bedafb727881444b
2023-10-31 22:17:27 +00:00
Christopher Ferris
cfcb7b6c83
Stop fp unwinding if the pc is 0.
...
The android_unsafe_frame_pointer_chase keeps going even when a
frame is 0. Modify the unwind to stop when this case is found.
I found this while running the GwpAsanCrasherTest.run_gwp_asan_test
from debuggerd_test and printing the tombstone created. The
deallocated by and allocated by stack traces always ended in 0 frame.
After fixing this, the last 0 frame is no longer present.
Test: Ran the debuggerd test and printed the tombstone on a raven
Test: verifying that the last frame is non-zero.
Test: Ran the bionic unit tests.
Change-Id: I8d64679277abcf5f237e6759051db11ffaa34c2f
2023-10-31 14:14:28 -07:00
Christopher Ferris
67d1e5eb74
Update to v6.6 kernel headers.
...
Kernel headers coming from:
Git: https://android.googlesource.com/kernel/common/
Branch: android-mainline
Tag: android-mainline-6.6
Test: Builds and bionic unit tests pass on raven.
Test: Able to log in to an Android GO 32 bit device.
Change-Id: Ib5ff5a23f382721d98d1e428a295c6794b190d8d
2023-10-31 13:36:37 -07:00
Treehugger Robot
76bfb3bd85
Merge "sys_msg_test: Fix msgsnd() argument passing" into main am: d0f5e4cf8a
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2811534
Change-Id: I331237ac688bd73a74da492d4a6bb7dc0a0b8d54
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 17:20:02 +00:00
Treehugger Robot
d0f5e4cf8a
Merge "sys_msg_test: Fix msgsnd() argument passing" into main
2023-10-31 16:56:08 +00:00