jbush001 / NyuziToolchain

Port of LLVM/Clang C compiler to Nyuzi parallel processor architecture
Other
62 stars 28 forks source link

Support full hex file format in elf2hex #105

Closed jbush001 closed 5 years ago

jbush001 commented 5 years ago

IEEE 1364-2001, section 17.2.8 supports a number of features that the elf2hex tool doesn't take advantage of. elf2hex takes a parameter that specifies the base address offset (-b). The @ addressing format would allow removing this parameter.

Dependent on: https://github.com/jbush001/NyuziProcessor/issues/175

jbush001 commented 5 years ago

Specifically should use the @ modifier when segments start at a non-zero address.

jbush001 commented 5 years ago

I added tests in 7f493db821c0bf93aaec18f5ce591f175ebf3176 to allow easier validation of this feature.