On Thu, 15 Jul 2004, Richard Smith wrote:
I don't have much experience with the internals of ELF stuff but the way I normally solve things like this in most of our microcontroller setups is to define the .c file to be in in own linker section and then place that section such that it will align correctly.
irq_tables.c has nothing else in it but the PIR table so can we set that up as its own section and then specify some parameter so that it can be explicitly placed?
no, do what ollie says and add the __align__ attribute to the table. That's simple and will work without changing much else.
thanks
ron