Thread (1 message) 1 message, 1 author, 2005-04-29

Re: Linux Kernel Issue: MPC8540 Errata (CPU29)

From: Wolfgang Denk <hidden>
Date: 2005-04-29 06:03:08

In message [ref] you wrote:
I have the same issue with gcc3.4.3 and an e500 target.  You can give
gcc the -mno-string to inhibit generation of those load/store string
instructions.  I don't know if gcc can be configured such that its
default is not to generate those instructions.
Yes, it can. In config/rs6000/rs6000.c replace

	if (BYTES_BIG_ENDIAN && optimize_size)
	  target_flags |= MASK_MULTIPLE | MASK_STRING;
by
	if (BYTES_BIG_ENDIAN && optimize_size)
	  target_flags |= 
	    (MASK_MULTIPLE | MASK_STRING) & ~processor_target_table[j].target_disable;

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Do you suppose the reason the ends of the `Intel Inside'  logo  don't
match up is that it was drawn on a Pentium?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help