16kb: bionic: Re-align libtest_invalid-zero_shdr_table_offset.so to 16kb
The library libtest_invalid-zero_shdr_table_offset.so is realigned to 16kb
for arm64 and x86_64.
In order for the bionic-unit-tests to pass with 16kb page size targets,
it is necessary to realign the libraries to 16kb.
This library was generated using:
```
$ m geninvalelf64
$ adb push out/target/product/vsoc_x86_64_pgagnostic/system/bin/geninvalelf64 /data
$ adb shell
vsoc_x86_64_pgagnostic:./data/geninvalelf64 test_X86_64/libtest_empty.so test_X86_64
```
With this change, the test `dlopen_invalid_zero_shdr_table_offset` is passing in
aosp_cf_x86_64_phone_pgagnostic target.
```
$ m bionic-unit-tests
$ atest bionic-unit-tests
[2872/2978] dlfcn#dlopen_invalid_zero_shdr_table_offset: PASSED (2ms)
```
Bug: 347728628
Test: Use readelf to verify executable header
For arm64:
```
$ readelf: test_arm64/libtest_invalid-zero_shdr_table_offset.so: bad shstrndx
ELF Header:
Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
Class: ELF64
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: DYN (Shared object file)
Machine: arm64
Version: 0x1
Entry point address: 0x0
Start of program headers: 64 (bytes into file)
Start of section headers: 0 (bytes into file)
Flags: 0x0
Size of this header: 64 (bytes)
Size of program headers: 56 (bytes)
Number of program headers: 9
Size of section headers: 64 (bytes)
Number of section headers: 22
Section header string table index: 20
section header 20's offset 28 + size 532575944724 > file size 4888
```
For x86_64
```
$ readelf -h test_x86_64/libtest_invalid-zero_shdr_table_offset.so
readelf: test_x86_64/libtest_invalid-zero_shdr_table_offset.so: bad shstrndx
ELF Header:
Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
Class: ELF64
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: DYN (Shared object file)
Machine: x86-64
Version: 0x1
Entry point address: 0x0
Start of program headers: 64 (bytes into file)
Start of section headers: 0 (bytes into file)
Flags: 0x0
Size of this header: 64 (bytes)
Size of program headers: 56 (bytes)
Number of program headers: 9
Size of section headers: 64 (bytes)
Number of section headers: 22
Section header string table index: 20
section header 20's offset 94489297000 + size 68719476736 > file size 4624
```
Change-Id: I303c3f10dfd64ced27e0c269d4e244f9fb6e1714
diff --git a/tests/prebuilt-elf-files/arm64/libtest_invalid-zero_shdr_table_offset.so b/tests/prebuilt-elf-files/arm64/libtest_invalid-zero_shdr_table_offset.so
index 0aaca72..90892a6 100755
--- a/tests/prebuilt-elf-files/arm64/libtest_invalid-zero_shdr_table_offset.so
+++ b/tests/prebuilt-elf-files/arm64/libtest_invalid-zero_shdr_table_offset.so
Binary files differ
diff --git a/tests/prebuilt-elf-files/x86_64/libtest_invalid-zero_shdr_table_offset.so b/tests/prebuilt-elf-files/x86_64/libtest_invalid-zero_shdr_table_offset.so
index 3e2c1d1..aeea1d2 100755
--- a/tests/prebuilt-elf-files/x86_64/libtest_invalid-zero_shdr_table_offset.so
+++ b/tests/prebuilt-elf-files/x86_64/libtest_invalid-zero_shdr_table_offset.so
Binary files differ