diff options
author | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2009-01-14 13:32:53 +0100 |
---|---|---|
committer | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2009-01-16 09:38:05 +0100 |
commit | 61f3632fdcdcf547f6487f56b45976d7964756c4 (patch) | |
tree | cc24f13be370659b43d0ef517bd24d779f70e574 /kernel/trace/ring_buffer.c | |
parent | 8d29b7b9f81d6b83d869ff054e6c189d6da73f1f (diff) |
avr32: fix out-of-range rjmp instruction on large kernels
Use .subsection to place fixups closer to their jump targets. This
increases the maximum size of the kernel before we get link errors
significantly.
The problem here is that we don't have a "call"-ish pseudo-instruction
to use instead of rjmp...we could add one, but that means we'll have to
wait for a new toolchain release, wait until we're fairly sure most
people are using it, etc...
As an added bonus, it should decrease the RAM footprint slightly,
though it might pollute the icache a bit more.
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'kernel/trace/ring_buffer.c')
0 files changed, 0 insertions, 0 deletions