... maybe I'm misunderstanding how this is supposed to work, but I've put a table in a BSS section that needs to be aligned to a 256-byte address (the table contains a linked list that uses 8-bit addresses relative to the start of the table, so I can just load the low byte of the register I'm using from a pointer in order to follow it) ... however, on compiling I get a warning:
Code: Select all
Warning: SECTION __bss_align_256_head is not aligned with start address 0x5b05
I was kind of assuming that the previous section would get padded out until it aligns at an appropriate address, i.e. this section would basically get moved up to 0x5c00 and space would be left before it. How do I get this to happen?