MIPS and gcc-4.3.1

Yann E. MORIN yann.morin.1998 at anciens.enib.fr
Tue Aug 5 21:56:19 UTC 2008


Hello all!

On Tuesday 05 August 2008 20:23:41 Bernhard Fischer wrote:
> >Hmmm. Who's 'aldot', by the way? I can't seem to remember... ;-) Hehe!
> That'd be /me

Well, I knew! ;-)

> drats. Yes the '(' on a separate line certainly escaped my sed, sorry.

Am just back from dinner. Will try now...

OK. Here's one that turns all 'asm' and '__asm' into '__asm__'. Not many
of them, there was.

Note that we also must ensure that '__asm__' get redefined to 'asm' when
we're not using gcc, a-la:
| #if ! defined __GNUC__
| # define __asm__ asm
| #endif

No code for that in the patch, I'll leave that to someone else... :-/

> TIA. The reasoning behind the no-asm is to be C89 compliant, FYI.
> Although it is purely cosmetic, from a modern (GCC-)toolchain POV, it
> certainly is something that i was bitten by at least while getting me a
> comfortable setup on e.g. OSF/1. While this particular OS may be a bad
> example since they dropped support for the HW i have access to, it's imo
> a good thing to keep an eye on such janitorial tweaks.

On the other hand, do we really want to support such /oddities/? As far
as I know, uClibc builds only for Linux, right? And only with gcc?

> Sorry if this 
> caused any temporary grief for you, it was certainly not intended from
> my part :)

Better sooner than later. :-)

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |   ^                |
| --==< °_° >==-- °------------.-------:  X  AGAINST      |  /e\  There is no  |
| http://ymorin.is-a-geek.org/ | * _ * | / \ HTML MAIL    |  """  conspiracy.  |
°------------------------------°-------°------------------°--------------------°
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uClibc.mips-typeof.patch
Type: text/x-diff
Size: 4470 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20080805/eed81d42/attachment.bin 


More information about the uClibc mailing list