From: Wolfgang Denk Date: Mon, 27 Oct 2003 12:40:38 +0100 Subject: [U-Boot-Users] how to modify my ld scripts--the detail! In-Reply-To: Your message of "Mon, 27 Oct 2003 03:16:33 PST." <20031027111633.64522.qmail@web41111.mail.yahoo.com> Message-ID: <20031027114043.4CCACC59E4@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <20031027111633.64522.qmail@web41111.mail.yahoo.com> you wrote: > > . = 0x00000000; > . = . + 0x10000; /*as a test,but it seem no > efect to ppcboot.bin */ Except that it will probably break U-Boot. > . = ALIGN(4); Well, in both cases (with or without the "+ 0x10000") the alognment is already much more strict than a 4 byte boundary, so this ALIGN is not needed or even confusing. > It do not work! I am crazy! It probably does not work because of your modification above. Also, I'd be very surprised if you managed to squeeze all of U-Boot code, data _and_ _bss_ to be smaller than 76 kB. Hm, I'm afraid I cannot help you. "It do not work" is not exactly a precise problem description. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de Imagination is more important than knowledge. -- Albert Einstein