This is the mail archive of the gas2@sourceware.cygnus.com mailing list for the gas2 project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
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