Odd code generated by binutils assembler for x86

H . J . Lu hjl@lucon.org
Tue Mar 26 01:43:00 GMT 2002


On Mon, Mar 25, 2002 at 06:49:31PM -0800, H . J . Lu wrote:
> On Tue, Mar 26, 2002 at 01:14:56AM +0100, Teemu Torma wrote:
> 
> > But like I mentioned earlier, I fear it is an assembler bug, since the
> > problem can be seen _before_ linking in the object file, and only in one
> > object file out of many of them, and the rest of the system does work,
> > at least when linked with binutils as shipped by Mandrake. I did not try
> > the linking with the latest binutils, just the assembler part, and the
> > resulting object file showed the same problem.
> > 
> > I am just trying to make sure this is not a bug in binutils, that might
> > bite in another time in another place.
> > 
> > 
> 

I am enclosing a simple testcase for gcc 2.96. I got

gcc -mcpu=i686 -o x foo.o bar.o
./x
foo hello
make: *** [all] Segmentation fault



H.J.
---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.tar.gz
Type: application/x-gzip
Size: 517 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20020326/ff7b8237/attachment.bin>


More information about the Binutils mailing list