Skip to content

Add gcc2.96#1979

Open
SBird1337 wants to merge 2 commits into
decompme:mainfrom
SBird1337:main
Open

Add gcc2.96#1979
SBird1337 wants to merge 2 commits into
decompme:mainfrom
SBird1337:main

Conversation

@SBird1337

Copy link
Copy Markdown

Adds backend boilerplate for GCC 2.96, depends on decompme/compilers#73 .

GCC 2.96 is a development snapshot between GCC 2.95 "agbcc" and GCC 3 which already has a unified thumb/arm compiler in one binary (-mthumb, -marm).

It was used in the game Golden Sun for the GBA.

If possible it would be nice to have a compiler flag preset for Golden Sun 1, it uses caller-save r4 to perform some arcane magic:

-O2 -mthumb -mthumb-interwork -mcpu=arm7tdmi -fcall-used-r4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant