hppa: Always enable PIE on 64-bit target
commit0c7c65c4c359f8bfa1ebcb7b1c409af314064da2
authorJohn David Anglin <danglin@gcc.gnu.org>
Thu, 18 Jan 2024 22:46:19 +0000 (18 22:46 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Thu, 18 Jan 2024 22:46:19 +0000 (18 22:46 +0000)
tree00f3319449036d8b76ad4df5d2e691492935ae3c
parentb6c4fcda7fea2c6e14f539780f976bdc1d2591fb
hppa: Always enable PIE on 64-bit target

2024-01-18  John David Anglin  <danglin@gcc.gnu.org>

gcc/ChangeLog:

PR tree-optimization/69807
* config/pa/pa.cc (pa_option_override): Set flag_pie on TARGET_64BIT.

gcc/testsuite/ChangeLog:

* gcc.dg/pic-2.c: Skip on hppa*64*-*-*.
gcc/config/pa/pa.cc
gcc/testsuite/gcc.dg/pic-2.c