From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shinya Kuribayashi Date: Thu, 17 Jan 2008 18:05:57 +0900 Subject: [U-Boot-Users] Target support for qemu -M mips In-Reply-To: <478E3CC7.1020509@comsys.ro> References: <47666359.3060702@comsys.ro> <478E01DA.8020506@ruby.dti.ne.jp> <478E3CC7.1020509@comsys.ro> Message-ID: <478F1A75.205@necel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de >> please update .lds to the latest board/dbau1x00/u-boot.lds, etc. >> I'd like to see >> . = .; >> > What does this do ? >> _gp = ALIGN(16) + 0x7ff0; It employs the output of `(CROSS_COMPILE)ld --verbose. It's a normal link script, so I just follow it. > Any opinions on using a single ldscript per platform, eventually > preprocessed with gcc -E to allow > for board-specific differences? At least for MIPS, all scripts are > essentally the same. Looking at cpu/mpc5xxx/u-boot.lds, it seems good. Or something like linux/arch/mips/kernel/vmlinux.lds.S is good alternative (I don't know whether it's possible or not, though). Shinya