From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joel Sherrill To: gas2@cygnus.com Subject: possible bug in bfd/sunos.c Date: Tue, 28 May 1996 08:56:00 -0000 Message-id: X-SW-Source: 1996/msg00030.html Version binutils-2.6. I am configured for sparc-rtems which is essentially the same as sparc-aout with different CPP_PREDEFINES. I use the following assembly file (cut down to the point of uselessness :) ): .text sethi %hi(stack_space + 16 * 1024), %g1 call _main .comm stack_space, 16 * 1024 I then run this script on it: sparc-rtems-as -o test.o test.s sparc-rtems-ld test.o and get the following message: bfd assertion fail ../../src/bfd/sunos.c:1839 If I delete any line in the file other than the .text, the problem goes away. Is this something I am doing which is stupid? Is this a real problem? I looked at the source for this problem but (in my usual luck) requires real expertise to even read. I noticed that the assert in question has changed in the latest binutils snapshot. Is this the bug? If so is there a simple patch for this specific problem? Any assistance is appreciated. --joel