This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Patch for ppc _SDA_BASE_ value
- To: velco at fadata dot bg
- Subject: Re: Patch for ppc _SDA_BASE_ value
- From: Ian Lance Taylor <ian at zembu dot com>
- Date: 23 Mar 2000 14:49:09 -0800
- CC: binutils at sourceware dot cygnus dot com
- References: <38D94CF6.2BC63064@fadata.bg>
Date: Thu, 23 Mar 2000 00:45:10 +0200
From: Momchil Velikov <velco@fadata.bg>
+ /* Make sure _SDA_BASE_ and _SDA2_BASE_ are at offset <= 32768 from the
+ beginning of the respective output section. */
That isn't the right check, though. What you really want to ensure is
that _SDA_BASE_ (_SDA2_BASE_) is at an offset <= 32768 from the start
of where the .sdata (.sdata2) section is in the output file.
Consider
.data : { *(.data) *(.sdata) *(.sdata2) }
where the input .data sections are larger than 65536 bytes in total.
Ian