Treehugger Robot
dcd082a1c5
Merge "Remove explicit lists of ABIs." am: f2be65d0f7
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2261496
Change-Id: I0eac7a7d002b267d93e604564028a346fce03a80
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-19 18:45:30 +00:00
Elliott Hughes
7047431d2f
arm64: fix fesetround().
...
The FE_* rounding mode constants have different values on different
architectures, so you can't just copy & paste the validity check from
one to another, like I did here...
Bug: http://b/254501880
Test: treehugger
Change-Id: I2ffa766ffcbe22c1afcd28eab4bd964100dc2d98
2022-10-19 18:44:33 +00:00
Treehugger Robot
f2be65d0f7
Merge "Remove explicit lists of ABIs."
2022-10-19 18:08:17 +00:00
Elliott Hughes
3f73ea6547
Remove explicit lists of ABIs.
...
Rather than add riscv64 to these lists, let's just outsource to libbase.
Test: treehugger
Change-Id: Ifd0f19564b9bca4544ef60c05eda9591fd8958dd
2022-10-19 16:20:02 +00:00
Elliott Hughes
473dcc59f3
Remove Commodore 64 support.
...
https://en.wikipedia.org/wiki/KERNAL
Test: treehugger
Change-Id: I42fc21daa051eca29e6bda7f29c81dd8f353c14e
2022-10-19 16:13:09 +00:00
Yu Liu
5ae6e98aa5
Merge "Refactor the bp file to avoid arch variant in cc_genrule." am: 0b67417d77
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2261041
Change-Id: I14244de97b6f3dd72f97286fc11be2bb455a85f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-19 15:55:20 +00:00
Yu Liu
0b67417d77
Merge "Refactor the bp file to avoid arch variant in cc_genrule."
2022-10-19 15:27:08 +00:00
Treehugger Robot
893469efda
Merge "riscv64: fix <fenv.h> tests." am: d33a5c63a8
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2261047
Change-Id: I5850f3668259e4d07815d3f2900889f65f9b16d1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-19 07:03:40 +00:00
Treehugger Robot
d33a5c63a8
Merge "riscv64: fix <fenv.h> tests."
2022-10-19 04:20:36 +00:00
Treehugger Robot
e8f33cd65b
Merge "riscv64: fix setjmp so we're actually using the right cookie!" am: 017aec5f61
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2261045
Change-Id: I4b342693c8dd76c8aa04267b537d333e4f832045
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-19 01:29:58 +00:00
Treehugger Robot
017aec5f61
Merge "riscv64: fix setjmp so we're actually using the right cookie!"
2022-10-19 00:51:49 +00:00
Treehugger Robot
99f6e97c92
Merge "arm64: simplify the fenv implementation a bit." am: 5a4a2fec44
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2256269
Change-Id: I92d8c4dbccefbdebb84446f91c9e57f956311c0d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-19 00:42:40 +00:00
Yu Liu
938ec9b7e8
Refactor the bp file to avoid arch variant in cc_genrule.
...
The arch variant of genrule.out will be soon disallowed in soong.
Bug: 253645813
Test: Manually build.
Change-Id: I2d5daa67b4e10f4abddebc98775df18df485843f
2022-10-18 17:23:17 -07:00
Treehugger Robot
5a4a2fec44
Merge "arm64: simplify the fenv implementation a bit."
2022-10-19 00:09:10 +00:00
Elliott Hughes
017bd9882a
riscv64: fix <fenv.h> tests.
...
Group riscv64 with arm/arm64, and allow for the fact that there's no
FE_DENORMAL in the riscv64 spec.
Test: fenv.*
Change-Id: Ibf188bcedffd092a7ef1555fa2762e249e1f9845
2022-10-18 23:47:28 +00:00
Elliott Hughes
45a84869c4
riscv64: fix setjmp so we're actually using the right cookie!
...
Test: setjmp.setjmp_smoke
Change-Id: Ia0a160656b9e83cdec611ac196b1ae62f082ab6c
2022-10-18 23:04:12 +00:00
Treehugger Robot
510f032b37
Merge "riscv64: don't store both arguments in the same place on the stack." am: e24dd597e7
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2261042
Change-Id: I816b3bb900ab279e9e4fbd016dc202db601aed79
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-18 22:26:22 +00:00
Treehugger Robot
e24dd597e7
Merge "riscv64: don't store both arguments in the same place on the stack."
2022-10-18 22:05:08 +00:00
Elliott Hughes
c800a3bd02
riscv64: don't store both arguments in the same place on the stack.
...
All the pthread tests are, unsurprisingly, broken without this fix.
Test: treehugger
Change-Id: Ia4c6ac077f3bbd749201ae8d200ec99093f7f4bc
2022-10-18 20:01:58 +00:00
Treehugger Robot
68967712ca
Merge "Revert "Refactor the bp file to avoid arch variant in cc_genrule."" am: 8333532f3b
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2258809
Change-Id: Ia291a9377bb833bd361c4004ed005d9c73c30c55
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-18 04:56:35 +00:00
Treehugger Robot
8333532f3b
Merge "Revert "Refactor the bp file to avoid arch variant in cc_genrule.""
2022-10-18 04:48:28 +00:00
Treehugger Robot
d4ccda755a
Merge "riscv64 setjmp." am: b15a64f722
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2258484
Change-Id: I4728727837274332d6a91d0985833265bd10a0d2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-18 04:42:13 +00:00
Treehugger Robot
b15a64f722
Merge "riscv64 setjmp."
2022-10-18 04:09:55 +00:00
Yu Liu
3a57969a6f
Revert "Refactor the bp file to avoid arch variant in cc_genrule."
...
This reverts commit ed2654cfdc
.
Reason for revert: breaks aosp-master
Change-Id: I8236e3e31e208e8719df52f6b1488af919b37d94
2022-10-18 03:02:32 +00:00
Yu Liu
926c3a6bcf
Merge "Refactor the bp file to avoid arch variant in cc_genrule." am: 86ef94783b
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2258443
Change-Id: I955f90306e7b36f76150fb3266bf9d42a77230c2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-18 02:47:11 +00:00
Yu Liu
86ef94783b
Merge "Refactor the bp file to avoid arch variant in cc_genrule."
2022-10-18 02:19:03 +00:00
Treehugger Robot
dc773f1a83
Merge changes I712a9a93,Idd7b3610 am: 5acd891bdb
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2258415
Change-Id: I6732c6d9df8a9917176bc3b16f9e8c527b38060d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-17 23:37:19 +00:00
Yu Liu
ed2654cfdc
Refactor the bp file to avoid arch variant in cc_genrule.
...
The arch variant of genrule.out will be soon disallowed in soong.
Bug: 253645813
Test: Manually build.
Change-Id: Ia07d45195de8c22f18487aef34795279d2962c4c
2022-10-17 16:36:30 -07:00
Elliott Hughes
e1905ed629
riscv64 setjmp.
...
Signed-off-by: Mao Han <han_mao@linux.alibaba.com>
Signed-off-by: Xia Lifang <lifang_xia@linux.alibaba.com>
Signed-off-by: Chen Guoyin <chenguoyin.cgy@linux.alibaba.com>
Signed-off-by: Wang Chen <wangchen20@iscas.ac.cn>
Signed-off-by: Lu Xufan <luxufan@iscas.ac.cn>
Test: m
Change-Id: I02cf117f67bda74516e4de8cd6f4c05efdb9a85b
2022-10-17 23:23:36 +00:00
Treehugger Robot
5acd891bdb
Merge changes I712a9a93,Idd7b3610
...
* changes:
Add riscv64 crtbegin assembler.
riscv64: enable the version scripts.
2022-10-17 23:03:49 +00:00
Elliott Hughes
7a19624698
Add riscv64 crtbegin assembler.
...
Signed-off-by: Mao Han <han_mao@linux.alibaba.com>
Signed-off-by: Xia Lifang <lifang_xia@linux.alibaba.com>
Signed-off-by: Chen Guoyin <chenguoyin.cgy@linux.alibaba.com>
Signed-off-by: Wang Chen <wangchen20@iscas.ac.cn>
Signed-off-by: Lu Xufan <luxufan@iscas.ac.cn>
Test: treehugger
Change-Id: I712a9a93a2df208d763bc46175e00ff763b68146
2022-10-17 21:06:19 +00:00
Elliott Hughes
604ab0fe82
riscv64: enable the version scripts.
...
Test: treehugger
Change-Id: Idd7b3610bd3321d7e1a4e868cf5dbaf2980909ab
2022-10-17 21:06:10 +00:00
Treehugger Robot
a6147142f1
Merge "riscv64: fenv implementation." am: 81f0bdb6f3
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2256273
Change-Id: I26049c50955827b495b5d179af0d47d582e4932c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-15 17:01:55 +00:00
Treehugger Robot
81f0bdb6f3
Merge "riscv64: fenv implementation."
2022-10-15 16:31:16 +00:00
Elliott Hughes
6cb1e4eaba
Merge "riscv64: add bionic assembler and string functions." am: 6cef594171
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2254947
Change-Id: I469185996056703324b921be37291ddb0f1803fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-15 16:06:44 +00:00
Elliott Hughes
9748ac5436
Merge "Add an explicit test that fegetenv()/fesetenv() includes the rounding mode." am: a0733976c5
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2256270
Change-Id: I283d0606e5e92b8393ff1fae9ba34358e080b376
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-15 16:06:34 +00:00
Elliott Hughes
6cef594171
Merge "riscv64: add bionic assembler and string functions."
2022-10-15 15:40:49 +00:00
Elliott Hughes
a0733976c5
Merge "Add an explicit test that fegetenv()/fesetenv() includes the rounding mode."
2022-10-15 15:37:56 +00:00
Treehugger Robot
4dc9fb5e3c
Merge "arm64: remove unnecessary duplication of constants in vfork.S." am: edc06da0fe
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2256274
Change-Id: Ieb46b26553bf4c734ec2ea2bf0999323f21d1834
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-15 00:11:17 +00:00
Elliott Hughes
ebc19a9ccb
riscv64: add bionic assembler and string functions.
...
Pull the portable C string functions from FreeBSD, and do fairly literal
translations of our existing .S files for the bionic-specific stuff.
Test: treehugger
Change-Id: Id42e5b8a51ed73155be020d74edd7011a2103574
2022-10-14 23:25:36 +00:00
Treehugger Robot
edc06da0fe
Merge "arm64: remove unnecessary duplication of constants in vfork.S."
2022-10-14 23:18:24 +00:00
Elliott Hughes
faac8e658c
arm64: remove unnecessary duplication of constants in vfork.S.
...
Test: treehugger
Change-Id: I41fd22bad0581269c88f5b3bb499735ab6ecafd2
2022-10-14 21:36:58 +00:00
Elliott Hughes
6a1b0f3cac
riscv64: fenv implementation.
...
Signed-off-by: Mao Han <han_mao@linux.alibaba.com>
Signed-off-by: Xia Lifang <lifang_xia@linux.alibaba.com>
Signed-off-by: Chen Guoyin <chenguoyin.cgy@linux.alibaba.com>
Signed-off-by: Wang Chen <wangchen20@iscas.ac.cn>
Signed-off-by: Lu Xufan <luxufan@iscas.ac.cn>
Test: treehugger
Change-Id: I0f0227cd4cb5e78aba1a749f8d8fce296a024dfb
2022-10-14 21:34:18 +00:00
Elliott Hughes
d25a5e73f8
Add an explicit test that fegetenv()/fesetenv() includes the rounding mode.
...
I haven't found this explicitly stated anywhere, but it's how our
existing implementations behave, and it seems obviously implied by
the word "entire" in POSIX's claim that fenv_t "Represents the entire
floating-point environment".
Test: treehugger
Change-Id: Ic8fc993775b4ded57dc88766a7d24d0954f3b56d
2022-10-14 20:55:23 +00:00
Elliott Hughes
a93431ca4c
arm64: simplify the fenv implementation a bit.
...
The macOS man page was helpful in advancing my understanding of
feupdateenv() in particular.
Test: treehugger
Change-Id: I511e8b31ac16f3fdf08b42eee5a2e6558ec3b70b
2022-10-14 20:38:35 +00:00
Elliott Hughes
2e3ef176a9
Merge "riscv64 syscall stub and seccomp filter generation." am: 4c2de1fccc
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2245796
Change-Id: I35ee764dafc95a39f41bdb62f512c8caee4a05c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-14 15:23:04 +00:00
Elliott Hughes
4c2de1fccc
Merge "riscv64 syscall stub and seccomp filter generation."
2022-10-14 14:36:29 +00:00
Treehugger Robot
318979fcaa
Merge "Add REG_S0 to ucontext.h for riscv64" am: 716b48057c
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2254061
Change-Id: Ic5fe29c134046826d01a796deb6fa686a7552335
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-14 01:38:56 +00:00
Treehugger Robot
716b48057c
Merge "Add REG_S0 to ucontext.h for riscv64"
2022-10-14 00:58:26 +00:00
Elliott Hughes
704772bda0
riscv64 syscall stub and seccomp filter generation.
...
These are sufficiently intertwined that they need to be done together.
riscv64 is our first primary-only architecture, so that required some
changes. The .bp changes are to support this --- we need to only show
the python scripts the architectures they'll actually be using, rather
than showing them everything and ignoring some of the results.
riscv64 is also the first architecture that post-dates the kernel's
64-bit time work, so there's a bit of extra fiddling needed to handle
the __NR3264_ indirection in the uapi headers.
Signed-off-by: Mao Han <han_mao@linux.alibaba.com>
Signed-off-by: Xia Lifang <lifang_xia@linux.alibaba.com>
Signed-off-by: Chen Guoyin <chenguoyin.cgy@linux.alibaba.com>
Signed-off-by: Wang Chen <wangchen20@iscas.ac.cn>
Signed-off-by: Lu Xufan <luxufan@iscas.ac.cn>
Test: local builds for x86-64 and riscv64
Change-Id: I74044744e80b312088f805c44fbd667c9bfcdc69
2022-10-13 23:41:53 +00:00