Question

So I'm trying to make an exception handler for the NIOS II Audio Core in C.

I'm wondering how do I convert...

.section .exceptions, "ax"

... from MIPS asm to C?

I know this...

attribute ((section(".exceptions)))

is equivalent to...

.section .exceptions

but how do I include the .section directives?

I've tried this...

attribute ((section(".exceptions, \"ax\"")))

but the compiler doesn't like anything after the s in exceptions.

Any ideas?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top