From mboxrd@z Thu Jan 1 00:00:00 1970 From: zzs Date: Sat, 16 Jul 2011 16:05:55 +0800 Subject: [U-Boot] eldk5.0 generate illegal instruction for at91rm9200 In-Reply-To: <20110715180002.053D017A322A@gemini.denx.de> References: <20110713061040.GA5148@greatfirst.com> <20110713084043.1725516F12CE@gemini.denx.de> <20110713104600.GA17872@greatfirst.com> <20110713105743.0C2C116F12CE@gemini.denx.de> <20110715161531.GA5221@greatfirst.com> <20110715180002.053D017A322A@gemini.denx.de> Message-ID: <20110716080555.GA17211@greatfirst.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > > Thanks again for the feedback. I have documented this issue in the > ELDK FAQ section: > > http://www.denx.de/wiki/view/ELDK-5/QuestionsAndAnswers#GCC_generates_illegal_opcodes_fo > Yes. When using "USE_PRIVATE_LIBGCC=yes make my_board_name". It works well. And the kernel works fine too because linux kernel has private libgcc code too. But when I examine the *.so files in eldk5.0, Almost all of them has 'clz' opcode. So if I use them in my aplication like busybox. It will crash. So I think the best way is to rebuild eldk5.0 for armv4. Did you tell me how to configure eldk5.0 to build for armv4. And why eldk5.0 hasn't a release for armv4, Is armv4 too old and has no value to support it? -- Best Regards, zzs