freemint / mintbin

The programs in this package are necessary as a supplement to the GNU binutils for MiNT.
GNU General Public License v2.0
2 stars 3 forks source link

Add support for upcoming ELF format #3

Closed th-otto closed 3 months ago

th-otto commented 1 year ago

I was to lazy do fork & create this repo to create a branch so i'm just attaching the patch here ;)

It's almost identical to Vincent's patch, except that i slightly modified the check for 'ELF(' in the reserved field, using the last byte as offset for ELF header. This way, it should work both with the current layout, and any future extension when we need to enlarge that header.

0001-Add-support-for-upcoming-ELF-format.patch.txt

mikrosk commented 3 months ago

Resolved by https://github.com/freemint/mintbin/commit/3fee749daa55959dfb17c94f4c5922e3547a8238.