This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
RE: Possible problem debug sections default addresses on powerpc-linux-gnu
- To: Donn Terry <donnte at microsoft dot com>
- Subject: RE: Possible problem debug sections default addresses on powerpc-linux-gnu
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Fri, 14 Apr 2000 09:28:01 +1000 (EST)
- cc: binutils at sourceware dot cygnus dot com
On Thu, 13 Apr 2000, Donn Terry wrote:
> I hear the question. I'll look into it as soon as
Thanks Donn. Attached is one of the files I used to test orphan
placement, and garbage collection.
int __attribute__ ((__section__ (".text.f1"))) f1 (int x)
{
return x;
}
int __attribute__ ((__section__ (".text.f2"))) f2 (int x)
{
return x;
}
int __attribute__ ((__section__ (".text.f3"))) f3 (int x)
{
return x;
}
int d1 __attribute__ ((__section__ (".data.d1")));
int d2 __attribute__ ((__section__ (".data.d2")));
int d3 __attribute__ ((__section__ (".data.d3")));
const int r1 __attribute__ ((__section__ (".data.r1"))) = 1;
const int r2 __attribute__ ((__section__ (".data.r2"))) = 2;
const int r3 __attribute__ ((__section__ (".data.r3"))) = 3;
int main(void)
{
return f1 (d1) + f3 (r3);
}