Messages in this thread | | | Subject | Re: [PATCH] C undefined behavior fix | From | Lars Brinkhoff <> | Date | 06 Jan 2002 01:20:05 +0100 |
| |
Paul Mackerras <paulus@samba.org> writes: > Wow, I didn't know that there was an extended PDP-10 architecture. > It's 25 years since I did anything on a PDP-10. :)
Ok, the extended KL10 wasn't released until around 1978.
> Would you use 9-bit bytes or 8-bit bytes?
The char type is 9 bits by default. There is also support for an 8-bit char type. With four 8-bit chars in a word, the four least signifiant bits are unused.
> If you use 9-bit bytes, I'm sure that somewhere in the kernel there > will be some code that will break because it is assuming 8-bit > bytes.
> Somehow I'm getting the feeling that your next message is going to > say "actually, we have been running linux on the KL10 for the past 3 > years". :)
No, I'm not that sinister. If there was a Linux port, I would have told you already. Anyway, we need to finish the GCC port first.
-- Lars Brinkhoff http://lars.nocrew.org/ Linux, GCC, PDP-10 Brinkhoff Consulting http://www.brinkhoff.se/ programming - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |