From: Raja M. <raj...@gm...> - 2008-01-12 18:38:06
|
Okay, I tried changing ELF_MAX_SECTIONS to 8000 with no success. On the other hand, I've tried yasm with the same source files and it assembles them fine. I'm guessing it's more to do with the number of symbols rather than the number of sections, but I could be wrong. Raja On 12/01/2008, Charles Crayne <cc...@cr...> wrote: > On Fri, 11 Jan 2008 14:10:03 +0000 > "Raja Mukherji" <raj...@gm...> wrote: > > > I'm having problems assembling files with a large number of sections > > to elf object files. > > I just committed a patch which should fix your problem for up to at > least 2000 sections. If this is not enough, or if you don't want to > wait until the patch is available from the download site, you can make > the change yourself. Just go into outelf32.c (or outelf64.c, as the > case may be) and change the value of ELF_MAX_SECTIONS from 16 to a > little more than twice the number of sections which you need, and > rebuild the code. > > Please let me know if this works for you. > > -- Chuck > |