I was using gas to compile a program. In the program, I use .include to include a file with some constant definitions in it. I wanted to use .struct in the included file, but when I did, I received the following error:
filename.s:57: Internal error!
Assertion failure in integer_constant at /Users/username/Downloads/binutils-2.20.1/gas/expr.c line 530.
Please report this bug.
The .struct I was using works fine in the main file. It only fails when put in the included file. I am using binutils 2.20.1 on Mac OS 10.6.6. This is not Apple's implementation of gas. I compiled a new version of binutils targeted for i586-elf.
Please attach a testcase to this bug report