Treehugger Robot
4154b77285
Merge "linker: add test for zero shdr offset"
2016-08-15 22:01:30 +00:00
Josh Gao
9ab148c450
versioner: add idempotence test that uses the bionic headers.
...
Bug: http://b/30170081
Change-Id: Iaf798077518a1a82c626c3b1524633c6df578409
Test: python run_tests.py
2016-08-15 14:28:25 -07:00
Lazar Trsic
05d6befe01
Merge "[MIPS] Fix bionic test build"
...
am: 63ccb1bdac
Change-Id: If68781a1ed2d6fe22b8128e82c9d8a227d3cc444
2016-08-15 21:13:22 +00:00
Josh Gao
9f7ce3d27f
versioner: fix off-by-one error in header guard calculation.
...
This was causing redundant guards to be emitted in cases where
declarations were already guarded by another macro.
Bug: http://b/30170081
Change-Id: I9080838fbea5a56225df4b26d0918657fb6c4f21
Test: python run_tests.py
2016-08-15 14:09:53 -07:00
Dimitry Ivanov
559583469c
linker: add test for zeroed out shdr_table_
...
Bug: http://b/30795430
Change-Id: I86b658d01b64670d3e702ddb1d3f9db4f75d784f
Test: bionic-unit-tests --gtest_filter=dlfcn.dlopen_invalid*
2016-08-15 14:06:04 -07:00
Treehugger Robot
63ccb1bdac
Merge "[MIPS] Fix bionic test build"
2016-08-15 21:00:47 +00:00
Dan Albert
8420be9bcc
Add a script to update the bionic headers.
...
Test: ./update_headers.sh
Bug: http://b/30465923
Change-Id: I888a1ec0c4f26134845583a03bbaad88fa17afa0
2016-08-15 13:55:22 -07:00
Dimitry Ivanov
4623044517
linker: add test for zero shdr offset
...
Bug: http://b/30795430
Change-Id: I03853257c4b632ad9daaf1e90f9620678397cff0
Test: bionic-unit-tests --gtest_filter=dlfcn.dlopen_invalid*
2016-08-15 13:42:47 -07:00
Josh Gao
1b4b3d7a3c
versioner: improve preprocessor tests.
...
Make sure everything works with relative/absolute paths, and with and
without trailing slashes.
Bug: http://b/30170081
Change-Id: Ia13a8ae2fa44590e835d0f4b006d4c31e9eaea83
Test: python run_tests.py
2016-08-15 13:42:36 -07:00
Josh Gao
a6b8c4e163
versioner: always copy over source headers when preprocessing.
...
Also, be less noisy when preprocessing.
Bug: http://b/30170081
Change-Id: If0d81b0a3a49756164e4945a20703afeb302fd4d
Test: python run_tests.py
2016-08-15 13:41:57 -07:00
Josh Gao
b0af100297
versioner: add test output directories to gitignore.
...
Bug: http://b/30170081
Change-Id: Ie493d8c321bb0e8d308234dec2d42ac8306c21c6
Test: python run_tests.py
2016-08-15 13:41:47 -07:00
Elliott Hughes
b3ed1c5202
Merge "Fix mktime's errno behavior."
...
am: 228e747b6c
Change-Id: I1f70691679023dd1e187ac8d4d41674272ac4688
2016-08-15 20:17:20 +00:00
Dimitry Ivanov
68418746f2
Merge "linker: add test for empty shdr table"
...
am: ac69db1f85
Change-Id: Ib72a58f9f3e07cb136cdf01e2e073b389d77c62e
2016-08-15 20:17:17 +00:00
Treehugger Robot
228e747b6c
Merge "Fix mktime's errno behavior."
2016-08-15 20:06:57 +00:00
Treehugger Robot
ac69db1f85
Merge "linker: add test for empty shdr table"
2016-08-15 20:02:09 +00:00
Lazar Trsic
293d5132d0
[MIPS] Fix bionic test build
...
Group of libtest_invalid* libraries does not exists for mips architecture,
so disable relevant tests.
Change-Id: I3a4fef94933eb33654c4274aa249ea5d61d6cf9b
2016-08-15 12:48:20 -07:00
Dimitry Ivanov
5a66605226
Merge "linker: add test for zero shstrndx"
...
am: 21482db6e1
Change-Id: I977c806350895693127f2f3e3d40c449480691a8
2016-08-15 18:57:11 +00:00
Treehugger Robot
21482db6e1
Merge "linker: add test for zero shstrndx"
2016-08-15 18:48:02 +00:00
Dimitry Ivanov
8bdf70e6e4
linker: add test for empty shdr table
...
Bug: http://b/30795430
Change-Id: Id839c22f88276f31e0615bc2a67d75e27a9aa7c6
Test: run bionic-unit-tests --gtest_filter=dlfcn.dlopen_invalid*
2016-08-15 11:30:45 -07:00
Dimitry Ivanov
c9a95613a9
linker: add test for zero shstrndx
...
Bug: http://b/30166532
Bug: http://b/30795430
Test: bionic-unit-tests --gtest_filter=dlfcn.dlopen_invalid*
Change-Id: I4cec73635cf403df9dd60b9a294d2298bb0abe3d
2016-08-15 10:29:50 -07:00
Dimitry Ivanov
aa2798e9a8
Merge changes Ibcefd6d9,I249c0815,If59cb6da
...
am: 0deb70cd04
Change-Id: Iae249549924d9dbfc86fdaf3f0f91a741bd0d741
2016-08-13 03:47:41 +00:00
Dimitry Ivanov
0deb70cd04
Merge changes Ibcefd6d9,I249c0815,If59cb6da
...
* changes:
Remove some duplication in the makefile
linker: add test for zero e_shentsize
Add test for misaligned section header
2016-08-13 03:42:15 +00:00
Andreas Gampe
6a2f9e6ad3
Merge "versioner: Ignore if Clang is missing"
...
am: 3e3364a89d
Change-Id: I8e4d498c5838bc2049d0070ddcb1924a3fe913f8
2016-08-13 03:33:41 +00:00
Treehugger Robot
3e3364a89d
Merge "versioner: Ignore if Clang is missing"
2016-08-13 03:27:11 +00:00
Andreas Gampe
64da006063
versioner: Ignore if Clang is missing
...
This happens in some branches. Work around for now.
Change-Id: I75c01a3ae52ce89f6c56a19728903bf86db0a309
2016-08-12 19:10:21 -07:00
Elliott Hughes
a671192666
Merge "Move some POSIX math functions out of _USE_GNU/_USE_BSD."
...
am: e73fc63f96
Change-Id: Ia74880366d34d2e5d70c0f9b052cbbcfbaf4b3b4
2016-08-13 00:48:03 +00:00
Treehugger Robot
e73fc63f96
Merge "Move some POSIX math functions out of _USE_GNU/_USE_BSD."
2016-08-13 00:43:54 +00:00
Josh Gao
c275939791
Merge "versioner: copy unmodified headers when preprocessing."
...
am: 0538dcfd4c
Change-Id: I75e853f811eb20458141f26fbb3de31d58ee8904
2016-08-13 00:37:43 +00:00
Josh Gao
0538dcfd4c
Merge "versioner: copy unmodified headers when preprocessing."
2016-08-13 00:28:34 +00:00
Dimitry Ivanov
ff25581083
Remove some duplication in the makefile
...
Bug: http://b/30795430
Test: bionic-unit-tests --gtest_filter=dlfcn.dlopen_invalid*
Change-Id: Ibcefd6d913abafe0b202a83399db72050510cd5d
2016-08-12 16:55:17 -07:00
Elliott Hughes
f8ebaa4985
Fix mktime's errno behavior.
...
Don't touch errno on success, do set it to EOVERFLOW (the only allowed errno
value according to POSIX: http://pubs.opengroup.org/onlinepubs/9699919799/functions/mktime.html )
on failure.
Bug: http://b/30477946
Change-Id: Ia915c7b9c3bfcd2f9025530cf5b068fe4dd4fd9e
2016-08-12 16:28:36 -07:00
Elliott Hughes
c1929e4452
Move some POSIX math functions out of _USE_GNU/_USE_BSD.
...
The signgam global and the j0/j1/jn and y0/y1/yn functions are POSIX.
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/math.h.html
Change-Id: I802997a2060a011a777c2b641f28c1d58dfe49ed
2016-08-12 16:25:40 -07:00
Josh Gao
79786347db
versioner: copy unmodified headers when preprocessing.
...
Change-Id: I2517f560fd44fb519d6ee7e8d0a485036d3ecd87
2016-08-12 16:24:04 -07:00
Josh Gao
080574433c
Merge changes I9b662ca9,Iad7f3fc9,I1b16a4b5,I47b07755,I6496a8c4, ...
...
am: 9519fc08b7
Change-Id: I837341f7ffeac2dc5a8f6c4d2921c19e26758a9e
2016-08-12 23:19:24 +00:00
Treehugger Robot
9519fc08b7
Merge changes I9b662ca9,Iad7f3fc9,I1b16a4b5,I47b07755,I6496a8c4, ...
...
* changes:
versioner: add support for preprocessing headers.
versioner: fix makefiles.
versioner: purge iostreams.
versioner: assorted fixes.
versioner: replace availability attributes with annotate.
versioner: improve the test script.
2016-08-12 23:14:19 +00:00
Dimitry Ivanov
cb86c3128f
linker: add test for zero e_shentsize
...
Bug: http://b/30166532
Bug: http://b/30795430
Change-Id: I249c081563f0ca7bcc799d8445a53683616eaa4e
Test: run bionic-unit-tests --gtest_filter=dlfcn.dlopen_invalid*
2016-08-12 15:28:42 -07:00
Dimitry Ivanov
972e3d0787
Add test for misaligned section header
...
Make sure linker does not crash when dlopening
elf-file with odd section header offset.
Bug: http://b/30795430
Bug: http://b/30687964
Test: bionic-unit-tests --gtest_filter=dlfcn.dlopen_invalid*
Change-Id: If59cb6da85b8752a69dc5687de85f9a9b74c92b4
2016-08-12 14:48:15 -07:00
Elliott Hughes
f6f567f299
Merge "POSIX says <sys/types.h> should make all the pthread_* types available."
...
am: 6f89d02f55
Change-Id: I4b471a6f658af7fcdccd0901a680c7b4441d387e
2016-08-12 21:39:18 +00:00
Treehugger Robot
6f89d02f55
Merge "POSIX says <sys/types.h> should make all the pthread_* types available."
2016-08-12 21:32:21 +00:00
Elliott Hughes
280236537e
POSIX says <sys/types.h> should make all the pthread_* types available.
...
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_types.h.html
Change-Id: I606194e15ceaa3129f266a9a460c358eaa8bf686
2016-08-12 13:18:32 -07:00
Elliott Hughes
96ea9e6fd5
Merge "POSIX says <locale.h> makes NULL visible."
...
am: cea5c8a609
Change-Id: Ic28faf09d246aed6545eb4b11dbbb7af53a180f8
2016-08-12 20:06:42 +00:00
Elliott Hughes
8407ddebec
Merge "Fix sysconf(_SC_ARG_MAX)."
...
am: 51b3b44585
Change-Id: I9cbe4d41c1cb7422dadb13f28389ae44e8b8c325
2016-08-12 19:59:22 +00:00
Elliott Hughes
a7908ef625
Merge "Fix recvfrom prototype."
...
am: 4a77fa3dcd
Change-Id: I6824e7b6eafe1191c4a48830ace246fd7000a90d
2016-08-12 19:58:58 +00:00
Treehugger Robot
cea5c8a609
Merge "POSIX says <locale.h> makes NULL visible."
2016-08-12 19:56:46 +00:00
Elliott Hughes
51b3b44585
Merge "Fix sysconf(_SC_ARG_MAX)."
2016-08-12 19:53:46 +00:00
Treehugger Robot
4a77fa3dcd
Merge "Fix recvfrom prototype."
2016-08-12 19:48:38 +00:00
Elliott Hughes
f232711408
Merge "Fix pthread_barrierattr_getpshared prototype."
...
am: f8f2949744
Change-Id: I736800acfd412eac40685f6cc2ad56f19cadaeaa
2016-08-12 19:23:12 +00:00
Treehugger Robot
f8f2949744
Merge "Fix pthread_barrierattr_getpshared prototype."
2016-08-12 19:13:37 +00:00
Elliott Hughes
f3308b92e9
Merge "POSIX says IPPORT_RESERVED is in <netdb.h>."
...
am: a1858a7f59
Change-Id: I3a88b0f1d4749a4ad8596885578b3155b3e27578
2016-08-12 19:00:47 +00:00
Elliott Hughes
e8469fd74f
Merge "POSIX says SEM_FAILED shall have type sem_t*."
...
am: 5b45d2fec8
Change-Id: I695e085bf4e9efe442ce8f56b959d40e9a3ea0c2
2016-08-12 18:53:18 +00:00