Posts

Using clobber in machine descriptions

‘clobber’ ensures that the register is free before entering and after exiting an instruction. Therefore you can’t use it to say a register is used then destoryed by an instruction such as LOADACC, (X+) on X.

Extreme optimisation

GCC is crazy. It recognises a printf(‘foo\n’) and turns it into the equivalent puts(‘foo’) instead. builtins.c has all types of similar transformations including printf(‘%c’, v) to a putch(v) and printf(‘%s’, v) to fputs().

Canterbury innovation incubator

The Cii seems interesting. It needs more publicity – this is the first time I’ve heard of it in my fifteen years in Christchurch.

Adding new relocation types

For bfd, add them to the comment block in reloc.c then run ‘make headers’. One more make after that gets it through to bfd.h

binutils / bfd target magic

So the BFD architectures listed in bfd.h are actually defined archures.c in a big comment block at the start of the file. This is split out and fired into the documentation, many bfd-in-xx.

Python on an embedded system

I like Python. I want to use Python everywhere. Hmm. Sounds more like an addiction. The question is, is Python suitable as a glue language on a embedded Linux system?

Naming

For personal reference. What happens when you follow too strict of a naming convention: http://ws.apache.org/xmlrpc/apidocs/org/apache/xmlrpc/server/RequestProcessorFactoryFactory.html?rel=html

Hmm

http://www.ladyada.net/make/fuzebox/index.html and http://www.makershed.com/ProductDetails.asp?ProductCode=MKPO1

Anthony’s

…fish grotto on the bay in San Diego is very good. They also do seafood.

Richard Stallman

Saw RMS at Canterbury University today. He has an interesting point of view, very liberal, but also a point of view that is based on old technology. He said that sites like Google Docs are a problem as you are running a program on their machine, a program that you don’t have control over.