Re: how to extend to load COFF executable image file

2020-05-14 Thread Peter Maydell
On Thu, 14 May 2020 at 09:44, casmac <1482995...@qq.com> wrote: > > Hello, >Thanks for the detailed explaination and insightful advise!! >I firstly give a try to use objcopy from GNU binutils, but it seems the > COFF file I am work on (which is generated by TI's CCS IDE) cannot be > recog

re?? how to extend to load COFF executable image file

2020-05-14 Thread casmac
Hello,    Thanks for the detailed explaination and insightful advise!!    I firstly give a try to use objcopy from GNU binutils, but it seems the COFF file I am work on (which is generated by TI's CCS IDE) cannot be recognized. The COFF format used by TI sllightly differs from GNU's definition.

Re: how to extend to load COFF executable image file

2020-05-12 Thread Peter Maydell
On Tue, 12 May 2020 at 08:41, xiaolei <1482995...@qq.com> wrote: > > Hi all, > I attempt to add DSP architecture support for some TI processor, based on > QEMU 4.2. Don't try to add new code to QEMU based on an old version. You should always work with the head-of-git. Otherwise you'll be dealin

how to extend to load COFF executable image file

2020-05-12 Thread xiaolei
Hi all, I attempt to add DSP architecture support for some TI processor, based on QEMU 4.2. When I work on the executable file loading , I try to load COFF executable file. Following the ELF file processing scheme, I thought I could write a function similar to : rom_add_elf_program(l