Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Jun 2016 01:31:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 209917] Old gas creates a symbol pointing to symtab
Message-ID:  <bug-209917-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209917

            Bug ID: 209917
           Summary: Old gas creates a symbol pointing to symtab
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: gnu
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: rafael.espindola@gmail.com
                CC: davide@FreeBSD.org, emaste@freebsd.org,
                    jhb@FreeBSD.org, kib@FreeBSD.org

Given

        foo  =3D 0
        foo  =3D foo + 256

the gas in freebsd produces

[ 5] .symtab           SYMTAB          0000000000000000 000230 000078 18   =
   6
  5  8
...
 4: 0000000000000100     0 NOTYPE  LOCAL  DEFAULT    5 foo

note that the symbol foo shows up in section .symtab. That causes a link er=
ror
with lld since it has no idea what to do with it.

The bug was fixed in gas in 8424d8f538ffb17bf5e61ac73137f86e47bc8952. llvm-=
mc
works too.

The testcase is reduced from ./sys/crypto/skein/amd64/skein_block_asm.s

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209917-8>