Michael Matz writes: > Hi, > > this patch adds the necessary support for the five new relocations for the > large model. I've tested it on i386 and x86-64; it builds and doesn't > cause breakage in the testsuite for both. Additionally we use this patch > (or better a slightly adjusted version) since quite some time internally, > so I know that it also builds several 1000 packages. > > Full large model support also would need a change in elf.sc moving the > .plt after .text (so that .plt and .got have a chance to be nearer than > 2GB). This is because I didn't bother to actually implement the new .plt > layout which would be necessary for more than an abysmal number of > exported symbols (102261124 to be exact). So the .plt code can't reach > more than 2GB away, and as long as .text is between it and .got it can't > be larger than the 2GB, which is the whole point of the large model. I'll > post that as follow up after the heat about this one (should it rise up) > colds down :-) Thanks, the patch looks fine, I have applied it after building and testing binutils with it, Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj/ SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126