Subject: Re: link_set_... sections and objcopy
To: Richard Earnshaw <Richard.Earnshaw@arm.com>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: port-arm
Date: 04/27/2004 13:42:26
--Apple-Mail-24--435352155
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed


On Apr 27, 2004, at 11:28 AM, Richard Earnshaw wrote:

> Yet again I've been bitten by the objcopy bug that causes the a.out
> version of the kernel image to have the .data and .bss sections at the
> wrong vma.

Ack.  I thought I fixed that in the a.out back-end a while ago.

> Can you think of any reason (other than the fact that it make the 
> script
> more complex) why we can't just work around the problem by using the
> following in link scripts for affected platforms?

Yes.  Because explicitly listing the link sets in the linker script 
defeats the purpose of them.  Any arbitrary code can define additional 
link sets, which would then have to be listed here in the linker 
script.

We really need to figure out how to make the a.out back-end copy them 
reliably.

         -- Jason R. Thorpe <thorpej@wasabisystems.com>


--Apple-Mail-24--435352155
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFAjsW2OpVKkaBm8XkRAjM1AKCfexTLI4U+sjw/Q4Oab1RuH8h7LACgk3gr
poce3zKazbntfYjMmrFoNcI=
=ppLn
-----END PGP SIGNATURE-----

--Apple-Mail-24--435352155--