[LTP] [PATCH] max_map_count: Delete dead code

zhaogongyi zhaogongyi@huawei.com
Mon Nov 29 08:25:34 CET 2021


Hi,

In my test system, the __arm__ is not defined, elf head like:

ELF Header:
  Magic:   7f 45 4c 46 01 02 01 00 00 00 00 00 00 00 00 00
  Class:                             ELF32
  Data:                              2's complement, big endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              DYN (Shared object file)
  Machine:                           AArch64
  Version:                           0x1
  Entry point address:               0x490
  Start of program headers:          52 (bytes into file)
  Start of section headers:          10012 (bytes into file)
  Flags:                             0x0
  Size of this header:               52 (bytes)
  Size of program headers:           32 (bytes)
  Number of program headers:         9
  Size of section headers:           40 (bytes)
  Number of section headers:         36
  Section header string table index: 35

But for other arm32 platform, the code may be usefull since i have not an older kernel version can run on arm64.

Thanks,
Gongyi


Hi Gongyi,

On Mon, Nov 29, 2021 at 11:56 AM Zhao Gongyi via ltp <ltp@lists.linux.it<mailto:ltp@lists.linux.it>> wrote:
When we run the testcase on AARCH64, there are no TST_ARM defined.

We thought there is a possible 32bit ARM binary runs on 64bit aarch64 kernel.
https://lists.linux.it/pipermail/ltp/2021-November/026038.html

Or, what's your test scenarios, did you build and test that?




--
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20211129/b5d6da5d/attachment.htm>


More information about the ltp mailing list