diff -r 3786872203cb contrib/binutils/ld/emulparams/elf64bmip-defs.sh --- a/contrib/binutils/ld/emulparams/elf64bmip-defs.sh Mon Oct 10 19:35:46 2011 -0400 +++ b/contrib/binutils/ld/emulparams/elf64bmip-defs.sh Tue Oct 11 12:34:37 2011 -0400 @@ -1,3 +1,8 @@ . ${srcdir}/emulparams/elf32bmipn32-defs.sh COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)" -INITIAL_READONLY_SECTIONS=".MIPS.options : { *(.MIPS.options) }" +INITIAL_READONLY_SECTIONS= +if test -z "${CREATE_SHLIB}"; then + INITIAL_READONLY_SECTIONS=".interp ${RELOCATING-0} : { *(.interp) }" +fi +INITIAL_READONLY_SECTIONS="${INITIAL_READONLY_SECTIONS} + .MIPS.options : { *(.MIPS.options) }"