diff options
author | Gabe Black <gabeblack@google.com> | 2019-10-01 19:26:12 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2019-10-05 04:17:23 +0000 |
commit | e4ed0d84013a36dda19dd93d6b883d7d2984d600 (patch) | |
tree | eaa6b0727f949545856610075a5c6366d5168c93 /tests/SConscript | |
parent | 2dc4b9d95a156030e9b7ac44ffbdbf9bdacc5944 (diff) | |
download | gem5-e4ed0d84013a36dda19dd93d6b883d7d2984d600.tar.xz |
base: ELF segment types are not bitfields.
The ELF segment type had been checked by bitwise &-ing it with the
PT_LOAD constant to check if it was loadable. This is incorrect. The
value is a flat integer, with different values selecting different
types of segments.
Change-Id: I644dd985bda4ad2d992557c90ffe8048c0ae6aac
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21460
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
Diffstat (limited to 'tests/SConscript')
0 files changed, 0 insertions, 0 deletions