Skip to content

Commit

Permalink
Fix the no-rpath-pie-powerpc test
Browse files Browse the repository at this point in the history
  • Loading branch information
Patryk27 committed Feb 8, 2024
1 parent 4061915 commit 527926d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/no-rpath-pie-powerpc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ if [ "$(echo "$readelfData" | grep -c "PHDR")" != 1 ]; then
fi

virtAddr=$(echo "$readelfData" | grep "PHDR" | awk '{print $3}')
if [ "$virtAddr" != "0x01040000" ]; then
if [ "$virtAddr" != "0x01030000" ] && [ "$virtAddr" != "0x01040000" ]; then
# Triggered if the virtual address is the incorrect endianness
echo "Unexpected virt addr, expected [0x01040000] got [$virtAddr]"
echo "Unexpected virt addr, got [$virtAddr]"
exit 1
fi

Expand Down

0 comments on commit 527926d

Please sign in to comment.