I am looking for a way to enforce a 32 bit width for any machine code displacements. Usually the size of the displacement is dependent on the actual value, e.g. a displacement of 5 will result in a single byte value.
Is there a command line option or something similar to achieve this?
I checked some documentation and only found some pre-/suffixes like {disp32} that you can use in asm itself. I need it to work from the command line during the gcc build process.