Hi Stelios,
Sorry. It's a suse 8.1 (quite old) with gcc 3.4-core compiled from source, at x86. ld --version gives 2.12.90.0.15 20020717 (SuSE)
The code I'm trying to compile is made with a code generator and it's indeed rather huge. It has thousands of functions in one huge file,several sections and with debugging data the final file is about 2MB. So it could indeed require much space for "program headers". The question is, custom ld script the only solution?
Not necessarily. You are using a very old version of the linker. If you update to the current release (v2.15) or even the current development sources, you may well find that the problem is resolved.
Cheers Nick
_______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils