Hi Geoff, > The problem with the first approach is I would like the linker > to just pack the MIPS abiflags section with the .text, .got and > .rodata sections so I don't have to calculate the size of the > other sections ahead of time.
Is the .MIPS.abiflags section a fixed size ? I suspect that it is. If I am right then you could try something like this: --start-address=.MIPS.abiflags=0x80200000 -Ttext=0x80200012 (If the section is 0x12 bytes long...) If you cannot find a workaround for the problem, please feel free to file a bug report here: https://sourceware.org/bugzilla/ Not that I am guaranteeing that we will be able to find a solution ourselves, but it is worth a try. Cheers Nick _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils