aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2019-10-03 23:32:53 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2019-10-03 23:32:53 +0000
commit320be74c5ca406ca2ad37de9a059879217ec1bf1 (patch)
treed806543d4412ba11ee07978826b684e7c8492ab6
parent4a6cb9c0da73ce8733a68fc802b1f5a332cfebdc (diff)
downloadgcc-320be74c5ca406ca2ad37de9a059879217ec1bf1.zip
gcc-320be74c5ca406ca2ad37de9a059879217ec1bf1.tar.gz
gcc-320be74c5ca406ca2ad37de9a059879217ec1bf1.tar.bz2
pa.h (MAX_PCREL17F_OFFSET): Adjust.
* config/pa/pa.h (MAX_PCREL17F_OFFSET): Adjust. From-SVN: r276555
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/config/pa/pa.h13
2 files changed, 8 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2068d05..54240d5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,7 @@
2019-10-03 John David Anglin <danglin@gcc.gnu.org>
+ * config/pa/pa.h (MAX_PCREL17F_OFFSET): Adjust.
+
* config/pa/pa.c (pa_output_call): Remove 64-bit sibcall sequence.
(pa_attr_length_call): Adjust length for 64-bit plabel sequence.
diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h
index f38a6dc..1a43e5c 100644
--- a/gcc/config/pa/pa.h
+++ b/gcc/config/pa/pa.h
@@ -1292,13 +1292,12 @@ do { \
#endif
/* The maximum offset in bytes for a PA 1.X pc-relative call to the
- head of the preceding stub table. The selected offsets have been
- chosen so that approximately one call stub is allocated for every
- 86.7 instructions. A long branch stub is two instructions when
- not generating PIC code. For HP-UX and ELF targets, PIC stubs are
- seven and four instructions, respectively. */
-#define MAX_PCREL17F_OFFSET \
- (flag_pic ? (TARGET_HPUX ? 198164 : 221312) : 240000)
+ head of the preceding stub table. A long branch stub is two or three
+ instructions for non-PIC and PIC, respectively. Import stubs are
+ seven and five instructions for HP-UX and ELF targets, respectively.
+ The default stub group size for ELF targets is 217856 bytes.
+ FIXME: We need an option to set the maximum offset. */
+#define MAX_PCREL17F_OFFSET (TARGET_HPUX ? 198164 : 217856)
#define NEED_INDICATE_EXEC_STACK 0