This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Odd code generated by binutils assembler for x86


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.
---

Attachment: bug.tar.gz
Description: GNU Zip compressed data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]