--- In gnu-m68hc11@yahoogroups.com, "Diego Manenti Martins" <dmmartins@...>
wrote:
> I used it to generate a linear s-record from a paged elf:
>
> m6811-elf-objcopy --output-target=srec --srec-len=0x20
> --change-addresses 0xffff0000 --change-section-lma .bank8=0x388000
> --change-section-lma .bank9=0x398000 --change-section-lma
> .bank10=0x3a8000 --change-section-lma .bank11=0x3b8000
> --change-section-lma .bank12=0x3c8000 --change-section-lma
> .bank13=0x3d8000 --change-section-lma .text=0x4000
> --change-section-lma .text_h=0xc000 --change-section-lma
> .vectors=0xff80 main.elf main.s19
>
> and it works! :)
>
> is there other way to do it?
that's pretty much what I'm doing in my application and it works too.
James