Subject: Re: ARM ELF TODO list
To: None <>
From: Richard Earnshaw <>
List: port-arm
Date: 12/20/2001 00:54:46
> Nothing much has happened recently, not least because Richard's been away.
> Now he's apparently back, so...

Sadly.  New Zealand was such fun....

> Needed before the changeover:
> * (gcc) Ensure 8-byte stack alignment on function entry [rearnsha]

I've just checked in code to enable this.  Please let me know (and file a 
PR) if you find any problems with it.

> * (gcc) packed enums (should be trivial to implement in the compiler, but
>   I've heard rumours it might break openssh)

I'll leave this off for the moment.

> * (gcc) Don't use unaligned LDR.

I've set the compiler up to do this as well.  We need to write kernel code 
to fault these sequences on chips that can do so.

> * (asm sources) Ensure these preserve 8-byte stack alignment if not leaf
>   functions [chris]
> If "packed enums" means what GCC does with DEFAULT_SHORT_ENUMS defined,
> I'm happy to go through the tree fixing things that don't like that.
> Stopping GCC using unaligned loads should be a case of flipping a flag.

Indeed (and I've flipped it).