This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
linker script question
- To: binutils at sourceware dot cygnus dot com
- Subject: linker script question
- From: Nick Papadonis <npapadon at yahoo dot com>
- Date: 28 Mar 2001 02:45:56 -0500
- Organization: None
Hi. Quick question that might help me resolve a possible bug in
binutils.
In the following linker script snippit:
.data :
{
_sdata = . ;
*(.data)
} > ram
Can I assume, _sdata becomes a symbol and is initialized with an
unsigned integer value of the memory location at .data?
Should _sdata be a symbol located at
.data and assigned nothing?
'ld' is apparently doing the later. I don't think this is correct.
Any ideas? Thanks.
--
- Nick