This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C5509A : xyz spans page boundary

Hi All,

I have a code where I work with static memory allocation due to performance considerations.
Buffer sizes can be parametrized by changing a macro.

But now I have the problem that every time I change from buffer size X to buffer size Y I get different linker errors like:
- .bss spans page boundary
- placement fails for section xyz

What I do normally is adjust section sizes, exclude buffer A, B, C from section xyz until I don't get no linker errors anymore. But this is - of course - absolutely not optimal. What is the best way avoid those problems for buffers of any size? The problem is that the admissible buffer sizes range from 256 bytes to ~10 kBytes...

Thank you for sharing your experience and your tips

Best regards,

Andreas