[Toybox] One for Elliott.

Rob Landley rob at landley.net
Wed May 13 04:30:33 PDT 2020


$ TEST_HOST=1 make test_readelf
...
FAIL: readelf -d
echo -ne '' | readelf -dW
/home/landley/toybox/toybox/subdued/tests/files/elf/ndk-elf-note-full
--- expected	2020-05-13 03:54:51.324153627 -0500
+++ actual	2020-05-13 03:54:51.324153627 -0500
@@ -1,5 +1,5 @@

-Dynamic section at offset 0xd98 contains 33 entries:
+Dynamic section at offset 0xd98 contains 29 entries:
   Tag                Type                 Name/Value
  0x0000000000000001 (NEEDED)             Shared library: [libc.so]
  0x0000000000000001 (NEEDED)             Shared library: [libm.so]
@@ -30,7 +30,3 @@
  0x000000006ffffff0 (VERSYM)             0x528
  0x000000006ffffff9 (RELACOUNT)          4
  0x0000000000000000 (NULL)               0x0
- 0x0000000000000000 (NULL)               0x0
- 0x0000000000000000 (NULL)               0x0
- 0x0000000000000000 (NULL)               0x0
- 0x0000000000000000 (NULL)               0x0

... what?

Rob



More information about the Toybox mailing list