From 6a65ccdf5213cf3b9e80eba11ef8a0f40240272b Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 13 Feb 2020 09:48:14 -0800 Subject: [PATCH] Remove mips test workarounds. The mips/mips64 targets were never able to pass these tests, and the supported architectures don't need any of these workarounds. Test: treehugger Change-Id: I640a8b7a98ae13d9d9cdb09b0fbef61d31d4c79a --- tests/Android.build.prebuilt.mk | 2 - tests/dl_test.cpp | 6 --- tests/dlfcn_test.cpp | 15 -------- tests/headers/posix/sys_stat_h.c | 4 +- tests/libs/Android.bp | 35 ------------------ .../prebuilt-elf-files/mips/libtest_empty.so | Bin 5340 -> 0 bytes .../mips/libtest_invalid-empty_shdr_table.so | Bin 5340 -> 0 bytes .../mips/libtest_invalid-rw_load_segment.so | Bin 5340 -> 0 bytes .../mips/libtest_invalid-textrels.so | Bin 5340 -> 0 bytes .../mips/libtest_invalid-textrels2.so | Bin 5340 -> 0 bytes .../libtest_invalid-unaligned_shdr_offset.so | Bin 5340 -> 0 bytes ...libtest_invalid-zero_shdr_table_content.so | Bin 5340 -> 0 bytes .../libtest_invalid-zero_shdr_table_offset.so | Bin 5340 -> 0 bytes .../mips/libtest_invalid-zero_shentsize.so | Bin 5340 -> 0 bytes .../mips/libtest_invalid-zero_shstrndx.so | Bin 5340 -> 0 bytes .../mips64/libtest_empty.so | Bin 5872 -> 0 bytes .../libtest_invalid-empty_shdr_table.so | Bin 5872 -> 0 bytes .../mips64/libtest_invalid-rw_load_segment.so | Bin 5872 -> 0 bytes .../mips64/libtest_invalid-textrels.so | Bin 5872 -> 0 bytes .../mips64/libtest_invalid-textrels2.so | Bin 5872 -> 0 bytes .../libtest_invalid-unaligned_shdr_offset.so | Bin 5872 -> 0 bytes ...libtest_invalid-zero_shdr_table_content.so | Bin 5872 -> 0 bytes .../libtest_invalid-zero_shdr_table_offset.so | Bin 5872 -> 0 bytes .../mips64/libtest_invalid-zero_shentsize.so | Bin 5872 -> 0 bytes .../mips64/libtest_invalid-zero_shstrndx.so | Bin 5872 -> 0 bytes tests/setjmp_test.cpp | 10 ----- tests/signal_test.cpp | 13 ++----- tests/stdatomic_test.cpp | 5 --- tests/sys_personality_test.cpp | 4 +- tests/sys_ptrace_test.cpp | 3 -- 30 files changed, 5 insertions(+), 92 deletions(-) delete mode 100755 tests/prebuilt-elf-files/mips/libtest_empty.so delete mode 100755 tests/prebuilt-elf-files/mips/libtest_invalid-empty_shdr_table.so delete mode 100755 tests/prebuilt-elf-files/mips/libtest_invalid-rw_load_segment.so delete mode 100755 tests/prebuilt-elf-files/mips/libtest_invalid-textrels.so delete mode 100755 tests/prebuilt-elf-files/mips/libtest_invalid-textrels2.so delete mode 100755 tests/prebuilt-elf-files/mips/libtest_invalid-unaligned_shdr_offset.so delete mode 100755 tests/prebuilt-elf-files/mips/libtest_invalid-zero_shdr_table_content.so delete mode 100755 tests/prebuilt-elf-files/mips/libtest_invalid-zero_shdr_table_offset.so delete mode 100755 tests/prebuilt-elf-files/mips/libtest_invalid-zero_shentsize.so delete mode 100755 tests/prebuilt-elf-files/mips/libtest_invalid-zero_shstrndx.so delete mode 100755 tests/prebuilt-elf-files/mips64/libtest_empty.so delete mode 100755 tests/prebuilt-elf-files/mips64/libtest_invalid-empty_shdr_table.so delete mode 100755 tests/prebuilt-elf-files/mips64/libtest_invalid-rw_load_segment.so delete mode 100755 tests/prebuilt-elf-files/mips64/libtest_invalid-textrels.so delete mode 100755 tests/prebuilt-elf-files/mips64/libtest_invalid-textrels2.so delete mode 100755 tests/prebuilt-elf-files/mips64/libtest_invalid-unaligned_shdr_offset.so delete mode 100755 tests/prebuilt-elf-files/mips64/libtest_invalid-zero_shdr_table_content.so delete mode 100755 tests/prebuilt-elf-files/mips64/libtest_invalid-zero_shdr_table_offset.so delete mode 100755 tests/prebuilt-elf-files/mips64/libtest_invalid-zero_shentsize.so delete mode 100755 tests/prebuilt-elf-files/mips64/libtest_invalid-zero_shstrndx.so diff --git a/tests/Android.build.prebuilt.mk b/tests/Android.build.prebuilt.mk index 3b3484664..de8f5e6c5 100644 --- a/tests/Android.build.prebuilt.mk +++ b/tests/Android.build.prebuilt.mk @@ -25,8 +25,6 @@ LOCAL_SRC_FILES_arm := prebuilt-elf-files/arm/$(bionic_tests_module) LOCAL_SRC_FILES_arm64 := prebuilt-elf-files/arm64/$(bionic_tests_module) LOCAL_SRC_FILES_x86 := prebuilt-elf-files/x86/$(bionic_tests_module) LOCAL_SRC_FILES_x86_64 := prebuilt-elf-files/x86_64/$(bionic_tests_module) -LOCAL_SRC_FILES_mips := prebuilt-elf-files/mips/$(bionic_tests_module) -LOCAL_SRC_FILES_mips64 := prebuilt-elf-files/mips64/$(bionic_tests_module) include $(BUILD_PREBUILT) bionic-loader-test-libs-target: $(LOCAL_MODULE) .PHONY: bionic-loader-test-libs-target diff --git a/tests/dl_test.cpp b/tests/dl_test.cpp index ed60e8ee2..6adba1906 100644 --- a/tests/dl_test.cpp +++ b/tests/dl_test.cpp @@ -95,12 +95,6 @@ TEST(dl, lib_does_not_preempt_global_protected) { static constexpr const char* kAlternatePathToLinker = "/system/bin/x86_64/linker64"; #elif defined (__i386__) static constexpr const char* kAlternatePathToLinker = "/system/bin/x86/linker"; -#elif defined (__mips__) -#if defined(__LP64__) - static constexpr const char* kAlternatePathToLinker = "/system/bin/mips64/linker64"; -#else - static constexpr const char* kAlternatePathToLinker = "/system/bin/mips/linker"; -#endif #else #error "Unknown architecture" #endif diff --git a/tests/dlfcn_test.cpp b/tests/dlfcn_test.cpp index d815dba5e..d7b9bae64 100644 --- a/tests/dlfcn_test.cpp +++ b/tests/dlfcn_test.cpp @@ -273,8 +273,6 @@ TEST(dlfcn, dlopen_vdso) { dlclose(handle); } -// mips doesn't support ifuncs -#if !defined(__mips__) TEST(dlfcn, ifunc_variable) { typedef const char* (*fn_ptr)(); @@ -367,7 +365,6 @@ TEST(dlfcn, ifunc_ctor_call_rtld_lazy) { ASSERT_STREQ("true", is_ctor_called()); dlclose(handle); } -#endif TEST(dlfcn, dlopen_check_relocation_dt_needed_order) { // This is the structure of the test library and @@ -989,12 +986,6 @@ TEST(dlfcn, dlopen_executable_by_absolute_path) { #define ALTERNATE_PATH_TO_SYSTEM_LIB "/system/lib/x86/" #elif defined (__x86_64__) #define ALTERNATE_PATH_TO_SYSTEM_LIB "/system/lib64/x86_64/" -#elif defined (__mips__) -#if defined(__LP64__) -#define ALTERNATE_PATH_TO_SYSTEM_LIB "/system/lib64/mips64/" -#else -#define ALTERNATE_PATH_TO_SYSTEM_LIB "/system/lib/mips/" -#endif #else #error "Unknown architecture" #endif @@ -1047,10 +1038,7 @@ TEST(dlfcn, dladdr_invalid) { ASSERT_TRUE(dlerror() == nullptr); // dladdr(3) doesn't set dlerror(3). } -// GNU-style ELF hash tables are incompatible with the MIPS ABI. -// MIPS requires .dynsym to be sorted to match the GOT but GNU-style requires sorting by hash code. TEST(dlfcn, dlopen_library_with_only_gnu_hash) { -#if !defined(__mips__) dlerror(); // Clear any pending errors. void* handle = dlopen("libgnu-hash-table-library.so", RTLD_NOW); ASSERT_TRUE(handle != nullptr) << dlerror(); @@ -1067,9 +1055,6 @@ TEST(dlfcn, dlopen_library_with_only_gnu_hash) { ASSERT_TRUE(fn == dlinfo.dli_saddr); ASSERT_STREQ("getRandomNumber", dlinfo.dli_sname); ASSERT_SUBSTR("libgnu-hash-table-library.so", dlinfo.dli_fname); -#else - GTEST_SKIP() << "mips toolchain does not support '--hash-style=gnu'"; -#endif } TEST(dlfcn, dlopen_library_with_only_sysv_hash) { diff --git a/tests/headers/posix/sys_stat_h.c b/tests/headers/posix/sys_stat_h.c index 5764dfb42..b22e34fdf 100644 --- a/tests/headers/posix/sys_stat_h.c +++ b/tests/headers/posix/sys_stat_h.c @@ -69,10 +69,8 @@ static void sys_stat_h() { STRUCT_MEMBER(struct stat, struct timespec, st_mtim); STRUCT_MEMBER(struct stat, struct timespec, st_ctim); #if defined(__BIONIC__) -#if defined(__aarch64__) || (defined(__mips__) && defined(__LP64__)) +#if defined(__aarch64__) STRUCT_MEMBER(struct stat, int, st_blksize); -#elif defined(__mips__) && !defined(__LP64__) - STRUCT_MEMBER(struct stat, unsigned int, st_blksize); #elif defined(__x86_64__) STRUCT_MEMBER(struct stat, long, st_blksize); #else diff --git a/tests/libs/Android.bp b/tests/libs/Android.bp index fdf2ccaaa..06c090c63 100644 --- a/tests/libs/Android.bp +++ b/tests/libs/Android.bp @@ -117,14 +117,6 @@ cc_test_library { defaults: ["bionic_testlib_defaults"], srcs: ["dlext_test_library.cpp"], ldflags: ["-Wl,--hash-style=gnu"], - arch: { - mips: { - enabled: false, - }, - mips64: { - enabled: false, - }, - }, } // ----------------------------------------------------------------------------- @@ -1120,15 +1112,6 @@ cc_test_library { name: "libtest_ifunc", defaults: ["bionic_testlib_defaults"], srcs: ["dlopen_testlib_ifunc.cpp"], - - arch: { - mips: { - enabled: false, - }, - mips64: { - enabled: false, - }, - }, } cc_test_library { @@ -1136,30 +1119,12 @@ cc_test_library { defaults: ["bionic_testlib_defaults"], srcs: ["dlopen_testlib_ifunc_variable.cpp"], shared_libs: ["libtest_ifunc_variable_impl"], - - arch: { - mips: { - enabled: false, - }, - mips64: { - enabled: false, - }, - }, } cc_test_library { name: "libtest_ifunc_variable_impl", defaults: ["bionic_testlib_defaults"], srcs: ["dlopen_testlib_ifunc_variable_impl.cpp"], - - arch: { - mips: { - enabled: false, - }, - mips64: { - enabled: false, - }, - }, } // ----------------------------------------------------------------------------- diff --git a/tests/prebuilt-elf-files/mips/libtest_empty.so b/tests/prebuilt-elf-files/mips/libtest_empty.so deleted file mode 100755 index 417a98bdd61fab811881e77fe682613bc73a443e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5340 zcmeHLO=ule6h1GnwTU+IX)DAMWg>yRYBQusit%TWHfV^XHLX;-8|P&vFGFA68)hbw zRI8yCe^8tVZYnN9ao$PoDZ_lWE&h(9ETv`JC!lf43ye+o_-o$w=e z0Ik4AG$^1?b|wG=<&^z;hsgDgoWck?5O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}o2 diff --git a/tests/prebuilt-elf-files/mips/libtest_invalid-textrels.so b/tests/prebuilt-elf-files/mips/libtest_invalid-textrels.so deleted file mode 100755 index 7ff07530afd9b5dd59535eb5e5133d029cb09e65..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5340 zcmeHLO=ule6h1GnwTU+IX)DAMWg>yRYBQusit%TWHfV^XHLX;-8|P&vFGFA68)hbw zRI8yCe^8tVZYnN9ao$PoDZ_lWE&h(9ETv`JC!lf43ye+o_-o$w=e z0Ik4AG$^1?b|wG=<&^z;hsgDgoWck?5O<{Z7VtIL*I*|Kun~-};X~Ij&`xL@`4R@x z$j*=xqq1>gki+4=3oSOoim-InN+kkNv){^za*+BpVtC}YP?%E{GX4Im9S5%b%YwzPvYSG#~Dw<32!<~r^I7;7`)-jec&^a}U^ zCRfpo_2b~$UVvR$mJ<6Oxv?I=p7lS)erf*#W;@+rf2%>a8uYUb`h0`_2y{PP+`W+R z2VThNT<>H?7pv@Bju-l3SyS`2HSJaHig(6^8n|UIjNHJoqv=|3I(4ukcixMn;+33= z8P+IFrF@p$nubFJ=Gc)fmYXoE6oyt9*#Rw(VW>KY$Yw~E1v%k}7r9|%xwC$>z<@n3 zJ$qt&Z2Z_+nHWDZis^%rgTn8|UkmoOMd^p(!81deYUg5GL)$mQPF^i(v)FyzXLA>YP3WkgMpayHghaX7Cx-`;v&jN65|8FDr5Tzow?Hkl(= zf4lg_|B2rtS67Pi9p--}h8#o2SZ~BV+Z=0S7qCx@7vk>udY-xLkj|d0-rk_^hMw(9 znfIG_pEvGs)d^~zqs~0kCN(qA%s?{(%?va%(9A$H1I-LTNT zzG7fN$z9aK6U~mO*@d|A?ZCHC7!u>yIx0)?2!+E8q=|vRPI!9%~lXpL>9` zHugC-;`prH5XT2&9G_#LpU?Ua{rt3_&pPlyfc)?E^&0#C1HO#->#4p5eonpKVcZU3 zuA9&zYr1|+h_x5%E!J3Lqoa=-MO3Z(jUn?fbKV%}KX|DB;J~0!^aD3=E3O^7`}MQc zn5x*-vhkuDgkG&`44T8{z@vwThWibpSc0Qtpmk#6`J)*VI&<;m>YU_Q)$YjMQa+*e z<@3MAVumwe6hwAO%%kIz&zW|~o37a9P|RvAa!rIVOLJbu>B9rsoUy|hF`b2KxG-{C z7}^+v^d&&Kp9+Y6P9mx=ZNw$uckG*L#AgY9*^oNk53p&OzRPgR=1<$m)mrHU`U-wO KC!+dlzkdN$LA&Mv diff --git a/tests/prebuilt-elf-files/mips/libtest_invalid-textrels2.so b/tests/prebuilt-elf-files/mips/libtest_invalid-textrels2.so deleted file mode 100755 index bfbadecfb320c278897373bd7d20c2e3a602d137..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5340 zcmeHLO=ule6h1GnwTU+IX{*E%Wg>yRYBQusit%TWHfV^XHLX;-8|P&vFGFA68)hbw zRI8yCe^8tVZYnN9ao$PoB@cZuvMh(9ETv`JC!k=+85e*#V#o$w>J z0j;~fa1>hL$+4=3pSOoim-IVB)kkNv){_Cy<+BpVtC}T&C%kkA=0RzuBN$4f^Q@eZE0|7`mS>?rzBU z0ncZ2u6Ht{i&ge5#|wS2tf_h1n)a%8#XIFf4cxL9Ms8r)(R3|1nL5~!JMTqO@k&m` z3~LmoQa(#=O~WAqbL_|#%T1V73PUT5?0^=?FjO5xWHThof}C)~i`+1>+*veRLE(4fuLXPCqV$9C;F%#!wR5p8@~P4`KDh7TO4a+7qCx@=i=`9dY-xLkj|d0-rk_^gr4n7 znfIG_pEvGc)d^~zqs~0kCN(qA%s?{(%?va%(9A$H1I-NFVg~AX-SS;E45;^2%E!Sw zfOmoWfe(Q_0N>PI;Czn}EQ9#^{sBc7YpgnS)*qh(thaPsSHK$_WwWeeJk~6%KX(CX zZR~Sw#PM0XA&w8mI6lWfKcDp<`uS-;pLO890O_yw^&0#C4Ze){>#4p5en!3CmD~US zV6L0cB5S&SOo+7?>n+w;W22*w8AVjBdyOIUQFGoH=-+>!fB(RsQS<{ha4W7Ix_kAr z)tIW-)w1z|8-!l1Y7Cmg=D;HdhKBnMqgaBYW1w|n;<>{a6FPJ8vP@#Q(DAI~uH0AxKb+X>Ev=bkdpK4C!SxQwO!`5Oa&Bcb0adqveJLtZfvgjJ;1@ewr6kMWcPCa&kMn)m^I0;GNg{*NlaiT~d;u@7T@1~5O2$KQJP zWrLxOF-Ttkl>4cG=;tJ&`qD;R0Di;1sYZO3;Fk@l<9!dCmg&0;r)>VTja;pjPM|O0 L_fsOOulD-~?NYna diff --git a/tests/prebuilt-elf-files/mips/libtest_invalid-unaligned_shdr_offset.so b/tests/prebuilt-elf-files/mips/libtest_invalid-unaligned_shdr_offset.so deleted file mode 100755 index f6fcad2978d410586b9cca3491f9a0ea7fff9a28..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5340 zcmeHLO=ule6h1GnwTU+IX)DAMWg>yRYBQusit%TWHfV^XHLX;-8|P&vFGFA68)hbw zRI8yCe^8vba8Yp)bfcgR;>Ja*L0WO)!lj^#w<(BpkuDTbFn-^ixn}yBRI-03d~?pZ z=iGDeJ@?*l&wKT$iKlb9oM_5Rt5B=wMTWrNzei+OLHr>xq)m!)pX?Qw{8Mn!=!74! z184;{qCo+DvNHh~D5vb#J4CK`#l3a=g$N%bJ?Et!b}nSG+SW)W9u!VdMsu9ZlDQ)2V|Ux$|Bm6|dw} z%&Dd$GW8=rp%Eb7QQA{6{929;x{#vlNElNKO51tv)R67^jBA+R3v(hPFuXL|1=L>RarE~GMxVU&O?*4v6+Ws_>5b{gh{p)HT zzA=1bLoWBWrl+DYh9Os04EZ+RDI;o%l(Vt6ioG2|FB#(E>}+2&XqyMTRKybyQK*YnI}hjjL2_4WpRH}q^@ z%Dmsa`@C_7t4>h!9ChZQHmR9`W(JxWXl9_9fo2Ap8E9r;n;EF%b<20vFreO7DIW*# z0Nw*006qft0en+;f%82^ungks`$rUAtg-6QS$}*1u-?*jT>)=!l+Ch=@mRC4{@eqk zwXx5!5yxlkhB!VLXe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qrEOY{A_ kqq#U;DbF@K;D+JenrRuGM$>lAZ*dygRMvs41KaMve-BuVkpKVy diff --git a/tests/prebuilt-elf-files/mips/libtest_invalid-zero_shdr_table_offset.so b/tests/prebuilt-elf-files/mips/libtest_invalid-zero_shdr_table_offset.so deleted file mode 100755 index e4166d1e87f7025c5b7b673e237923397d2a3cba..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5340 zcmeHLO=ule6h1GnwTU+IX)DAMWg>yRYBQv1it%TWHfV^XHLX;-8|P&vFGJtYFf);) zS`DrEgW|+x#YNDKf*Qn)i&lfQ;=+YXK^JdR5a}XaD57BezB_Zx^fjqu|4#VkoO92) z=iYnnz2Tns>Qj?X=W;pGl$Um)*2s$tr;WP`;tz`<9a5D0WUs*FpN5l0H~felKs&Gz z4GQSvoe97|Ic2}zC33whr!a~R#2u-<4SWsuHQ0#)Yy{(L_|P>Bv=iD!zJ$Rvvh$Lz)ydD zw(r6p&m3j@-2nY|14zS7#Qb)oEuG-Z)h-~(t;n5_xsJO4#@dXyx1>BGy#juK$yIb? z{RFtS7hqSGrNq8RZmb8eXZ=sJU)sNb+0HcC-)hpWCjDHKKHsE20^Ls+cQ54offq75 z*E^Nb#VY%j&3HAt;+=J&25#94BR8<@Xr>;VNgeFSo%bTCcqOM|hII$J3^fN4*$m0DASWF0A~%dIx9Ud=4A}S5vnMCU zCyt+!$%&(5m_8^uDEw~xwPA1Dlzs#rJTs)}PA;}hK2_Srhj&SBEA}G0?`_iar18!N z{k@Hg`NsO?{vP>erCYvU>0MjS7v$1P_u^}Daq)cI`~9eN{Ana13RM%5H4XJc&@hx2;#?XBm#n)qFlR0wrw~Jr= zpZI-pb)_iZVg6TQ$T4J$^+w#c&9OFi0sFLgG47pjF&$wolW{~=-IxMdB1u0 zdE<`MoS^PG>dZrJQ7Z$j474)P%0Mdvtqim>(8|CzGtj{6mhY+&K)tV0J^|hZyazl0 zdO_&{`dl5y`}5A0^Z>FKwrgptXWup?g7%;*yq@Y z%a#A_Wyf*z0UssfG;EddaAF1pI5JU7`H>1>n60w znr;viV(rCxi#68x*x2Jn5moDcW7vGmoHvFB4;~&oICRJ;`hgp`71s{k{rcHzOjqn$ z*?7?nLa$yk4w)n7(4&WkM+Oa}Sc0QtpmlQc`C}OqI&<;m+MMKA)$YjMQa+*e zJje9o876q%^|)*&I2WFK$~^mo0h!}6miFgw4E&9Reyi{ymp74OhBn3^ zeF;z=qynO!lZfg|8*vHv9s8yl@mYdjHl&XC18iER?=qaS`O`LXwN^TTzJlM+iKxEX F?_c7SyFCB^ diff --git a/tests/prebuilt-elf-files/mips/libtest_invalid-zero_shentsize.so b/tests/prebuilt-elf-files/mips/libtest_invalid-zero_shentsize.so deleted file mode 100755 index ace8fdd4c6bd2492be5c4b9dc269f906e20af491..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5340 zcmeHLO=ule6h1GnwW&7oX)DAMWg>y3+6-xuV*FX84H_b8O)Hh|#(8fhFGFA68)hbw zRI8yCe^8tVZYnN z+4<3S>}uqI-9#L}033%sJHI^`i(p@{TM~T|GTM;V|J=1eJI6o{W#Z@wIk7fsJalz@ z;HSSn-+S(lXAZOdZh(Hf0HomtVt%;~qz-_&+5sfF6}b~K*KrrXSep^|mXt@NSHSl( zxr(kgj)7}?0d{3sPVBqodLw{6>wl8{(*6a^cBaYxR+DZu>1Uesg(m$G=zhAmdm-Ns zypYkk-sy}kR@t{4FZ9K-N(;6%<5lg7ciM#-xMeSl+`zJy1l&-SW+9mwdh2v%Zoq$i>yJrPt#ArL%F*_hYj2Pa_E-zr;PiuI1qy z!#6hMQeS&|Dw<;$a(UH|Z{zJUrlv?a8*8gLoY$LgZ#^%@?Z(^;xe|9Ry&fBz%#o|V zRs8<{iQg+%R{P~U%>Qx>Ifjg}-iUi|bF7VBz&_aow@jObzX9;YPaQXDxc8$ z^10t)F~iv~3L?8G=8?(i=S;ik%~b4iC}y=5xh6uG#d)vd4B!E6&f4Lun9gD~T%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4HOEA{YNPEmAOg2GKWq4>1|qO+Q>?&nWTl<$Rk76SJn{g#NEEF z$ewu4!KssXZguzT`a-{-JEeR0M}7Pc<^DVqE6&?}{O9}VkM_~0ef0U_(%tz##s0E4 zuVEwPeDhls{eq>J{VDo$mYzIsV%GO2qn6){J_uQi!$y>(VeI+oWIH~l4t^TWMkzI; zdeC%}wsa;Grv<%9c1RflKlRBA4S4k=@siY!#ln3yv;vMOYVLU+_YHEqG)z)2oSsSN zB;eB@9y&a_Z}i|tG&cJ3-h6fg{42ZjufTi8{L(}(&zw^3Ni?xZc20rLsB8nCFGjzm zc;~vZtZlJ-p)pK9bW3!xJ4old<)zcb0&U$>UOZVmcj8pTng1-S&3}@Wf2`5avXk@5 zzbzD*lQAb_PUg^s2GNr@u5qjpj^%JHi9>X`OLQq)OEpdV(p_=bpZOQF$~|HXTlqMg zkHj3|oQSSu&ivdho{i5$8pm5BKfe`=T?# zH@g*UetQ{LWdZ5R|Z*Y3OnYx88}GL7D&gyTM$`pN=NTo$`~ZTukPs4W=>W&YI^Pg2y(Vme9$~ z&$4E$B<<8OkZ%qcZWM&Alw3YEN1h+Y{v3ywW3St2vs%u%?nHZfI(L%f{4|ZDdWR3V z`H)@^);o=6)H-IZ&c6`lPW24m5pmz__r3<9as0>qQtsPQeenCe4*?%{GstD`$ej&* zBm#8Qfa@m4$2t8u=9-hbiHLhWaLlMz-YtQTJod0%YJl-^?+1?S#T+?;kNLmCTsgFZ zkM{_`vux{axaUJB`NtlmNr&@t$Ho9DB*!x0ZvxQ(eXK13$3z-~-RI{ZD--)a&|2ROmUJOBUy diff --git a/tests/prebuilt-elf-files/mips64/libtest_invalid-rw_load_segment.so b/tests/prebuilt-elf-files/mips64/libtest_invalid-rw_load_segment.so deleted file mode 100755 index 3fcfc3862c797c7ee417a33bedda59f308c446bb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5872 zcmeHLO=w(I6h4{hPhwj;R)r{4AL1ev<~jY-QMwq7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hT0x>w|X{Iu)b&nGEBQQfJL`o#3#IrzLc< z)3a`deAs-tj@m>h1j{Zj7RQho5dy$=B&cQeRE?#P`D zd?W(2)PUYARdFEy(^(-Rp^}w-Ao%%=@eB^O}by5S2k9$9GLNDgX5q!-5Rp!c} z9elh;0G?r6XTv=oI>}G&*x=({4aEBknWHrL0pDhw+}R=H-VU^c#7**-v5~*%q)qcj z?#bZey#=r&PTVj)_^AJTY?HWHA3R5Z?-~;ZPhv{@fIpplJU@UHaq4IoAF9u|)4Bgv z)d7fgf{y##C$5Q|R diff --git a/tests/prebuilt-elf-files/mips64/libtest_invalid-textrels.so b/tests/prebuilt-elf-files/mips64/libtest_invalid-textrels.so deleted file mode 100755 index ec43aceeaca0dfd1a400aab06b83ac60c24bef5d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5872 zcmeHLPiP!f82_@{KZ$MaS{0&H9mGQ_?701>tMss1wF#zeY%$V ze}3Ql-uK>4-kVQe8-6|4(?e)^>Lrmzwq}}&8s;9#I$Jl<`3jY(k1F&iJwkb+sZDGu z=Q6vA{mKXSsw`t{*8aVqw=dHIDa|VT-omDpotb@QXO=r~M1ujrlk_CdDb3SFOZ7nH zDIEEXsNF=1ZPKjtJM)z;c*`2dMAQQ){?gvO9eXmr`)vhvJi$DP(XB3+4=}6R{f=_i z4}7A^mRwF3h0Ta3IY>^tFX+gzx9H}b=It;0M&omT+V+hgIvzURk@<_ zgNkPqpHMuj__!k0f49oW6LtMcJJ@q2Ei!7or1l4te^GIpBGyUfC9P1%GS{C4_3Q6t zS7xS?;=_tqCuU8F3iIZCQdzebaXzW6G~#?x8S~)rQWyr0xS+ZF$6 zx0}+%_vl%pilLYNA^JH(PmVJ-?KtD&`YeWiEr?=2bliBn8Jeq!jz(6Ntcc<7bG>Fj!Vm#_WH@t(!-`@0xh(AX}(=tKA+Fg?nA|;v-!C*=W5pM=SgMu)1>%gh5A;k zlvn)iN}f3ha}wqx7G0_lJ$35_#~R>R7R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?gH?9)EY^;Wo;ciLV)72ouGVN#k0i6HXU!RqwXN@`kB}WrMsXOsRk9C{j2*Y# zYA{iEYZ2LvX6)M>!mhT0x>w|X{YH2GtfH zaMK|j&#$&>^`LRmSe<_%%AM+Iz9Ztk+3kG|LgV<4`=#8srTXA^dmjQm?q-mS+>tvQ z_(%k3sR7qbjE{5rv&_v->RCkG>w%-0diC8B_{ifR+oc8=ANPLXm|o10BlwvA%gmKS zJNS5y06fRG&W3wFbdsOkvBAf^8i@B7GDm6f1HQ>RxwAvYy&Y%?iJRmvV^n_dkbJmoVa0p@KOJF*d}qYK6s7*-!>);p2U>)9)CLdczysY;?&VFK2)D@r*r=; zs{;`01b?hMJC3O;XP789pz5i z*}z90->^~o7$5H`hT+&r=Dx8U^quNTh9CHzp$8v$f$e|lJE2b3uXTJg4e;Rm6L(CV Z*e)p1TtCxSWXxT7Xg@3e7bp}>{y!{h$5H?Q diff --git a/tests/prebuilt-elf-files/mips64/libtest_invalid-zero_shdr_table_content.so b/tests/prebuilt-elf-files/mips64/libtest_invalid-zero_shdr_table_content.so deleted file mode 100755 index ffabdc31a3e9e5900b521b216e36afce7d99aa8e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5872 zcmeHKO>7%Q6n?hT)}akC1tfzCtPltH;H{gs!XOTY2-1i&4Xwxxt=8VPv#S5JJ4Oiz zVIf3&;J`If4wblY%!L~bQI%92tDbt>2&obhmsDILAz|Lzc`tP~v6KrZb|U+m_dDNv zGrOLA{o&k4=~N12WFQM9Eu7Mt3LDm6(34YRaJK?w7>5eH3@SBEgou^?K8dEiNp0Vo)Z7IZIGLct5k2DBWu9>~ST86%DTY1^Y>%UX zHX26st$k@Kal4!-j?xc7@~8316Xj5S#~nF#yn%6)V^m+H9zor;R-e*8TcbcWaehvhwP z#2{whW%;o*N{IbONd2YSh%ePJfuG^QZH6pX`-(D;ox#0E z9)2C7it^(#VFc;+k*ct%b4^KdaY2QDT2mLXABP<<}BOl{qARo$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k;_=on)1Hjb{=Xi=X8)8BW`9gwxHALb5{9nC~>7`s)n4~$P9 zvE6DgU3Y5{*^OrG+w8)wwt~7>_k1YPsjyQ_b1g)JTGJ<2Vee zExzEUQ#zhsZPn^QRGN4QEzs8Ujx^;{-eH>dRwv&ez*4_;G;H!T;z__ zY~Ujhprr#SH!(l%>CZDayQya$QP%?}GWFWKCGZi)J|34GV1Cs7z)3C45hM6m|EtWE zOFQ^@j{rQ&W1S6kK6DbF)Y#yot_I@$g{)B;?0|2xPHJ|@sM~>-khn?wGB@HEowOPL zNSzEm-dg}mV#E#egOB{b$7A9b`-A5Q@LglU;E7LZAMmG>kLL%lB1Rnz^F#F+cRJ7C ziW&g1Pq4?nL;jjO@)$`AFGkdLcyDITXUb=oBk_Ze=OYS9bG@eg%^iL^g!f1VHI$mP zvw@E|zT-jZV}87+*bl=_GWU(`pzl>zGVH+j3_bY3^F02iz7y&+{Z{8U!vGJqKXJ#@ a$=G=%n)_$kij1`j5AA2={{n@g$^Qpu$;S}@ diff --git a/tests/prebuilt-elf-files/mips64/libtest_invalid-zero_shstrndx.so b/tests/prebuilt-elf-files/mips64/libtest_invalid-zero_shstrndx.so deleted file mode 100755 index 8155949a8381c9720d703d62436de7c4c978892b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5872 zcmeHLO^6&t6n;CCpIwufF(RxIwGj^+VcN-`j*`P@)MRm!tO*7@NZYgBJKJP-X6^3L zT}50}Ob#BrNg#(nE)hfm;w_0wNP-6sA$SOQ=tT$!UN(rZAUM9)^}fxdl7S$2a%-9S z>ivALUcIX6t?G|o9eb@XFhFQU8YGd%*Bebu4d)&*o%L(zbd9PsL^XPZRYjtiHH_7Q zvD-Lo)C3$XSkkJAu&&qtSW7G0xV_)8EatDrUFd%r6p5!^BdD`fx9*8`J zBcE}#+vu=Onv;JUU+IFkq=9TiJ%Hjb?TwphAoIK5R#L~q%##@X>Vo+IP1Wvql-qvb z6V=ug3c4t4Mm)(ua^ih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1+XGc+%P`)sQS-7ss!zGoyZ@Hd z0f=>iKh_=cSKN`uNPh8R#Jvvh&Ft}P`3!R;fAH~q#6{AcuPuLlo1dHT9;u{`awqL= z;3JQ3*(iOCkM|V&;n+*&zO@|mo$4x(jb) & ~7L; - long* sigflag = reinterpret_cast(jb_aligned) + __JB_SIGFLAG; -#else long* sigflag = reinterpret_cast(jb) + __JB_SIGFLAG; -#endif // Make sure there's actually a cookie. EXPECT_NE(0, *sigflag & ~1); diff --git a/tests/signal_test.cpp b/tests/signal_test.cpp index eec56dc73..3c660346d 100644 --- a/tests/signal_test.cpp +++ b/tests/signal_test.cpp @@ -282,8 +282,7 @@ static void TestSigAction(int (sigaction_fn)(int, const SigActionT*, SigActionT* int sig) { // Both bionic and glibc set SA_RESTORER when talking to the kernel on arm, // arm64, x86, and x86-64. The version of glibc we're using also doesn't - // define SA_RESTORER, but luckily it's the same value everywhere, and mips - // doesn't use the bit for anything. + // define SA_RESTORER, but luckily it's the same value everywhere. static const unsigned sa_restorer = 0x4000000; // See what's currently set for this signal. @@ -598,19 +597,13 @@ TEST(signal, sys_siglist) { } TEST(signal, limits) { - // This comes from the kernel. + // These come from the kernel. ASSERT_EQ(32, __SIGRTMIN); + ASSERT_EQ(64, __SIGRTMAX); // We reserve a non-zero number at the bottom for ourselves. ASSERT_GT(SIGRTMIN, __SIGRTMIN); - // MIPS has more signals than everyone else. -#if defined(__mips__) - ASSERT_EQ(128, __SIGRTMAX); -#else - ASSERT_EQ(64, __SIGRTMAX); -#endif - // We don't currently reserve any at the top. ASSERT_EQ(SIGRTMAX, __SIGRTMAX); } diff --git a/tests/stdatomic_test.cpp b/tests/stdatomic_test.cpp index 9911d642e..8a6b267cc 100644 --- a/tests/stdatomic_test.cpp +++ b/tests/stdatomic_test.cpp @@ -69,12 +69,7 @@ TEST(stdatomic, atomic_is_lock_free) { atomic_char small; ASSERT_TRUE(atomic_is_lock_free(&small)); atomic_intmax_t big; - // atomic_intmax_t(size = 64) is not lock free on mips32. -#if defined(__mips__) && !defined(__LP64__) - ASSERT_FALSE(atomic_is_lock_free(&big)); -#else ASSERT_TRUE(atomic_is_lock_free(&big)); -#endif } TEST(stdatomic, atomic_flag) { diff --git a/tests/sys_personality_test.cpp b/tests/sys_personality_test.cpp index 6bd00efd9..2dfaa658c 100644 --- a/tests/sys_personality_test.cpp +++ b/tests/sys_personality_test.cpp @@ -21,9 +21,7 @@ TEST(sys_personality, current_persona) { int persona = personality(0xffffffff) & PER_MASK; #if defined(__BIONIC__) -// When personality syscall is executed on mips64, for a 32bit process -// sys_32_personality() is called, which converts PER_LINUX32 -> PER_LINUX -#if defined(__LP64__) || (__mips==32 && __mips_isa_rev>2) +#if defined(__LP64__) ASSERT_EQ(PER_LINUX, persona); #else ASSERT_EQ(PER_LINUX32, persona); diff --git a/tests/sys_ptrace_test.cpp b/tests/sys_ptrace_test.cpp index f17f80cfa..a079eaddf 100644 --- a/tests/sys_ptrace_test.cpp +++ b/tests/sys_ptrace_test.cpp @@ -257,9 +257,6 @@ static void watchpoint_imprecise_child(Uint128_t& data) { asm volatile("stm %0, { r0, r1, r2, r3 }" : : "r"(&data)); #elif defined(__aarch64__) asm volatile("stp x0, x1, %0" : : "m"(data)); -#elif defined(__mips__) -// TODO - UNUSED(data); #endif }