https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101766
Vincent Fazio <vfazio at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vfazio at gmail dot com --- Comment #5 from Vincent Fazio <vfazio at gmail dot com> --- There's a mail discussion about this topic https://gcc.gnu.org/pipermail/gcc/2023-March/240834.html The "easy" route is to just add the proper macro to config/microblaze/microblaze.h The more correct, but more arduous, route is "porting" microblaze to correctly use the elfos.h header and provide the proper overrides in a separate header. I've tested the former with zero issues and tested a version of the latter and was able to compile both a kernel and ramfs and successfully boot but doubt all cases are accounted for. attaching patches for posterity