Choose members of the dynamic tag enum based on the current machine (#183)
authorAudrey Dutcher <audrey@rhelmot.io>
Fri, 23 Feb 2018 13:30:52 +0000 (05:30 -0800)
committerEli Bendersky <eliben@users.noreply.github.com>
Fri, 23 Feb 2018 13:30:52 +0000 (05:30 -0800)
commit505e5c6de7909457a3b621e7bb148999453325bf
tree69d691062250d69df29c4072d446774819cca1d6
parent82299758cc0c0ca788de094ee2d83f6f490a8ef4
Choose members of the dynamic tag enum based on the current machine (#183)

* Only use processor/os specific dynamic tags if that processor or os is in use

* Add testcase for machine-specific dynamic tags

* Clarify layout of ENUM_D_TAG
elftools/elf/elffile.py
elftools/elf/enums.py
elftools/elf/structs.py
test/test_dynamic.py
test/testfiles_for_unittests/android_dyntags.elf [new file with mode: 0644]