* 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>.
This commit is contained in:
Ian Lance Taylor 1997-03-15 02:31:01 +00:00
parent 4813bbed2b
commit 2adb092c95
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
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

View File

@ -128,8 +128,9 @@ SECTIONS
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}}