generating a shared library to not skip a large block of memory.
From Per Fogelstrom <pefo@cvs.openbsd.org>.
+Fri Mar 14 21:30:06 1997 Ian Lance Taylor <ian@cygnus.com>
+
+ * scripttempl/elfmips.sc: Change handling of data area when
+ generating a shared library to not skip a large block of memory.
+ From Per Fogelstrom <pefo@cvs.openbsd.org>.
+
Wed Mar 12 21:33:09 1997 Ian Lance Taylor <ian@cygnus.com>
* ldmain.c (multiple_definition): Only skip the warning if the
important than losing a page of the virtual address space (note
that no actual memory is lost; the page which is skipped can not
be referenced). */
- ${RELOCATING+. += ${DATA_ADDR} - ${TEXT_START_ADDR};}
- ${RELOCATING+. += 0x10000;}
+ ${CREATE_SHLIB-${RELOCATING+. += ${DATA_ADDR} - ${TEXT_START_ADDR};}}
+ ${CREATE_SHLIB-${RELOCATING+. += 0x10000;}}
+ ${CREATE_SHLIB+${RELOCATING+. = ALIGN(${MAXPAGESIZE}) + (ALIGN(8) & (${MAXPAGESIZE} - 1));}}
.data ${RELOCATING-0} :
{
${RELOCATING+${DATA_START_SYMBOLS}}