Menu

#80 COFF object file creation in absolute mode

None
closed-accepted
None
1
2023-10-22
2023-09-26
Petr Mikše
No

This will add coff file generation in absolute mode. I hope to be able to use the Microchip debugging tools.
Asm tests passed, so hopefully it does break nothing.

1 Attachments

Discussion

  • Petr Mikše

    Petr Mikše - 2023-09-28

    This correction adds constants to the coff file. They holds variable names in absolute mode. If not in mpasm compatibility mode, constants beginning with a underscore are excluded, coff file created have a .cof suffix and an executable bit set, so no linker step is needed. I tested debugging using both the simulator and Pickit3 (MPLABX4.15) successfully.
    A macro dereference (-X option) have also effect to the generated coff file now. A linker listing looks better with it.

     
  • Petr Mikše

    Petr Mikše - 2023-10-01

    This correction enables 8bit per word idlocs, idlocs and config addresses are excluded from BADROM. It adds an error indicating where overwritten address contents was defined and an error indicating where redefined label was originally defined. Some bugfixes.

     
  • Molnár Károly

    Molnár Károly - 2023-10-02

    I have not worked on the project for a long time. But I don't want your work to go to waste. So I'll try to find the time and energy to go over the improvements at some point. In the meantime, please be patient. (It would be nice if someone could take over the maintenance of the project from me.)

    Károly

     
  • Petr Mikše

    Petr Mikše - 2023-10-03

    Hi Károly,
    thank you very much for your response. Yesterday I tried to simplify the gpasm message generator. All messages are generated with a single function now. No need to format the message in the caller.
    I am sorry, I am not the right one to take over your project. I don't really understand the parser/lexer part of this software. I don't plan on making any more changes now.
    Petr

     
  • Petr Mikše

    Petr Mikše - 2023-10-06

    Just a bugfix.

     
  • Petr Mikše

    Petr Mikše - 2023-10-07

    Gpasm uses significantly less memory with this patch. All the absolute sections share the same memory image.

     
  • Molnár Károly

    Molnár Károly - 2023-10-15
    • assigned_to: Molnár Károly
     
  • Molnár Károly

    Molnár Károly - 2023-10-15

    I believe you intended the gpasmCoffcorr3.patch file to be the main patch. I have found that it cannot be applied. I get a lot of error messages. This is not going to work. Please download the latest svn version. Make your changes in this code tree. Then create a single patch and upload it to the ticket.

     
  • Petr Mikše

    Petr Mikše - 2023-10-15

    Here are all the patches in one file. The original patches must be applied gradually. I'm sorry for the inconvenience.
    gpasmCorr4 and gpasmCorr5 are needed for the successful execution of asm tests also on the i386 architecture.
    Regards, Petr

     
  • Anonymous

    Anonymous - 2023-10-22

    Thank you, I've been able to use it properly. These are the newer versions [r1332]:
    gputils-src-20231022-1332.tar.bz2
    gputils-20231022-1332-setup.exe

     

    Related

    Commit: [r1332]

  • Molnár Károly

    Molnár Károly - 2023-10-22
    • status: open --> closed-accepted
     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.