[Top] [All Lists]

problem about the tool chain for R3000

Subject: problem about the tool chain for R3000
From: "guo guo" <>
Date: Wed, 29 Aug 2007 16:09:08 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed;; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=U2VuaIhQGttnCMUM32U2Av+QmJUWBjmKZA4uL+yhgPkWamw996eqIeYg61QPjLeOrUnqvicuX4e/YMACxof4FAz2bRuvHGBBiHb8hb06u+WNteta3CZvjxXrkaayi2X8oxYQA9m18VFTnRrfFmcn7OvG8VajnL5ivwZOz/SM+5I=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=WeLUVAVB3hU+K06cNqMUgFVM5Gj3e7xXPgDO77IVjJKdKoT4Dr1h6LjDYSoGYA8ywqd2SAPpW++IsEh3+ONKxwZXS9KdbfQXN7MyzXrcj2jjDCHlKy5uo8SxQWLZUQAvAaEadikpJp+0EH9o6AxgzEwF2M82Xz//TOGuARsMAEY=
Original-recipient: rfc822;
Dear All,

I'm trying to build tool chain with gcc4.2, binutils2.17 and glibc2.5
for mips r3000 chip.
During configure gcc I add ?Cmabi=32 ?Cmarch=r3000 ?Cmtune=r3000. and
during building glibc, I add CFLAGS= -O2 ?Cmabi=32 ?Cmarch=r3000
Then I dissembled the to check the instructions. I
found it has two instructions rdhwr(0x7c03e83b) and sync(0x0000000f)
that don't belongs to mips r3000.
I see some engineers use kernel to trap rdhwr but it may cost to more
Can it avoid there two instructions by special configuration or patch?

Best regards,
<Prev in Thread] Current Thread [Next in Thread>