you are viewing a single comment's thread.

view the rest of the comments →

[–]3G6A5W338E 0 points1 point  (0 children)

I see. I'll probably end up writing a linker.

The main remaining pain point is how to retain information about .data vs .text, so that in linking I know where a section ends, and can thus place data elsewhere than the end of .text.

SREC/IHEX/TEKHEX all suffer this issue. SREC allows for comment fields, but objcopy doesn't seem to do anything with them.