summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/ld/emulparams/elf32_sparc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/binutils/ld/emulparams/elf32_sparc.sh')
-rw-r--r--gnu/usr.bin/binutils/ld/emulparams/elf32_sparc.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/ld/emulparams/elf32_sparc.sh b/gnu/usr.bin/binutils/ld/emulparams/elf32_sparc.sh
index fc23bb59c5e..eab69a77956 100644
--- a/gnu/usr.bin/binutils/ld/emulparams/elf32_sparc.sh
+++ b/gnu/usr.bin/binutils/ld/emulparams/elf32_sparc.sh
@@ -9,6 +9,8 @@ MACHINE=
TEMPLATE_NAME=elf32
DATA_PLT=
PAD_RO=
+RODATA_PADSIZE=${MAXPAGESIZE}
+RODATA_ALIGN=". = ALIGN(${RODATA_PADSIZE}) + (. & (${RODATA_PADSIZE} - 1))"
PAD_PLT=
PAD_GOT=
GENERATE_SHLIB_SCRIPT=yes