Danny Backx wrote: > I am not sure whether the compiler/linker influence this.
It is in the hands of the linker. > Or if they do, then maybe the magic numbers in the exe files cause it, > and these can usually be influenced. Yes, the linker handles it by setting the parameters in the PE header. > I'm referring to the stuff objdump -x prints out at the beginning, see > below for an ARM example. > SizeOfStackReserve 00200000 This is what the --stack argument controls. Just the setting of this value in the PE header, and nothing else. I think it should also work if you define a symbol called "__size_of_stack_reserve__" in one of the object files input to the final link and set it to the value of the stack size you want, but that's just based on reading the binutils sources, I haven't actually verified that it works. cheers, DaveK ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel