 +    *(LARGE_COMMON)
 +  }"
 +test "${LARGE_SECTIONS}" = "yes" && LARGE_SECTIONS="
-+  .lrodata ${RELOCATING-0} ${RELOCATING+ALIGN(${MAXPAGESIZE}) + (. & (${MAXPAGESIZE} - 1))} :
++  .lrodata ${RELOCATING-0} ${RELOCATING+ALIGN(${COMMONPAGESIZE}) + (. & (${COMMONPAGESIZE} - 1))} :
 +  {
 +    *(.lrodata${RELOCATING+ .lrodata.* .gnu.linkonce.lr.*})
 +  }
-+  .ldata ${RELOCATING-0} ${RELOCATING+ALIGN(${MAXPAGESIZE}) + (. & (${MAXPAGESIZE} - 1))} :
++  .ldata ${RELOCATING-0} ${RELOCATING+ALIGN(${COMMONPAGESIZE}) + (. & (${COMMONPAGESIZE} - 1))} :
 +  {
 +    *(.ldata${RELOCATING+ .ldata.* .gnu.linkonce.l.*})
 +    ${RELOCATING+. = ALIGN(. != 0 ? ${ALIGNMENT} : 1);}

diff -Naur ../PRISTINE/binutils-2.20/ld/emulparams/elf64_nacl.sh binutils-2.20/ld/emulparams/elf64_nacl.sh
--- ../PRISTINE/binutils-2.20/ld/emulparams/elf64_nacl.sh	1969-12-31 16:00:00.000000000 -0800
+++ binutils-2.20/ld/emulparams/elf64_nacl.sh	2010-01-05 13:21:03.785168000 -0800
@@ -0,0 +1,4 @@
+. ${srcdir}/emulparams/elf_x86_64.sh
+SCRIPT_NAME=naclelf
+OUTPUT_FORMAT="elf64-nacl"
+TEXT_START_ADDR=0x00020000
diff -Naur ../PRISTINE/binutils-2.20/ld/emulparams/elf_nacl.sh binutils-2.20/ld/emulparams/elf_nacl.sh
--- ../PRISTINE/binutils-2.20/ld/emulparams/elf_nacl.sh	1969-12-31 16:00:00.000000000 -0800
+++ binutils-2.20/ld/emulparams/elf_nacl.sh	2010-01-05 13:21:03.798157000 -0800
@@ -0,0 +1,4 @@
+. ${srcdir}/emulparams/elf_i386.sh
+SCRIPT_NAME=naclelf
+OUTPUT_FORMAT="elf32-nacl"
+TEXT_START_ADDR=0x00020000
diff -Naur ../PRISTINE/binutils-2.20/ld/genscripts.sh binutils-2.20/ld/genscripts.sh
--- ../PRISTINE/binutils-2.20/ld/genscripts.sh	2009-09-02 00:25:35.000000000 -0700
+++ binutils-2.20/ld/genscripts.sh	2010-01-05 13:21:03.805147000 -0800

+test -z "$CREATE_SHLIB$CREATE_PIE" && test -n "$DATA_ADDR" && COMMONPAGESIZE=""
+test -n "$RELRO_NOW" && unset SEPARATE_GOTPLT
+test -z "$ATTRS_SECTIONS" && ATTRS_SECTIONS=".gnu.attributes 0 : { KEEP (*(.gnu.attributes)) }"
+DATA_SEGMENT_ALIGN="ALIGN(${SEGMENT_SIZE}) + (. & (${COMMONPAGESIZE} - 1))"
+DATA_SEGMENT_RELRO_END=""
+DATA_SEGMENT_END=""
+if test -z "${INITIAL_READONLY_SECTIONS}${CREATE_SHLIB}"; then
+  INITIAL_READONLY_SECTIONS=".interp       ${RELOCATING-0} : { *(.interp) }"
+fi
