Module Name: src
Committed By: rin
Date: Sat Oct 7 12:04:50 UTC 2023
Modified Files:
src/external/gpl3/gcc.old/dist/gcc/config/vax: elf.h
Log Message:
gcc.old: vax: PR port-vax/57646 patch provided by Kalvis Duckmanton [12/21]
PR toolchain/43314: pc relative relocations are "off by 1*size" on vax
Address http://gnats.netbsd.org/43314
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 \
src/external/gpl3/gcc.old/dist/gcc/config/vax/elf.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gcc.old/dist/gcc/config/vax/elf.h
diff -u src/external/gpl3/gcc.old/dist/gcc/config/vax/elf.h:1.12 src/external/gpl3/gcc.old/dist/gcc/config/vax/elf.h:1.13
--- src/external/gpl3/gcc.old/dist/gcc/config/vax/elf.h:1.12 Sat Oct 7 11:57:01 2023
+++ src/external/gpl3/gcc.old/dist/gcc/config/vax/elf.h Sat Oct 7 12:04:50 2023
@@ -106,5 +106,5 @@ along with GCC; see the file COPYING3.
fputs (integer_asm_op (SIZE, FALSE), FILE); \
fprintf (FILE, "%%pcrel%d(", SIZE * 8); \
assemble_name (FILE, LABEL); \
- fprintf (FILE, "%+d)", SIZE); \
+ fputc (')', FILE); \
} while (0)