This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Adjusting value of _SDA_BASE_
- To: Geoff Keating <geoffk at redhat dot com>
- Subject: Re: Adjusting value of _SDA_BASE_
- From: Momchil Velikov <velco at fadata dot bg>
- Date: 19 Feb 2001 00:14:44 +0200
- Cc: binutils at sourceware dot cygnus dot com
- References: <87d7cfanl4.fsf@fadata.bg> <200102182143.NAA20515@geoffk.org>
>>>>> "Geoff" == Geoff Keating <geoffk@geoffk.org> writes:
>> From: Momchil Velikov <velco@fadata.bg>
>> Date: 18 Feb 2001 19:49:11 +0200
>> This patch adjust the values of _SDA_BASE_ and _SDA2_BASE_ so the
>> symbols in small data sections are within range.
Geoff> Can you explain why this patch is needed? _SDA_BASE_ is normally
Geoff> chosen to have the maximum possible range anyway.
_SDA_BASE_ is created at offset 32768 from the beginning of
the linker created `.sdata'. If this section is at `output_offset'
greater that zero the data items at the beginnig of the output
`.sdata' section become inaccessible.
Regards,
-velco