public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/17751] New: Undefined .LCTOC0 symbol
@ 2004-09-30 17:17 jakub at gcc dot gnu dot org
  2004-09-30 17:22 ` [Bug target/17751] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jakub at gcc dot gnu dot org @ 2004-09-30 17:17 UTC (permalink / raw)
  To: gcc-bugs

/* { dg-do link } */
/* { dg-options "-m64 -mminimal-toc" { target powerpc64-*-* } } */

char *strchr (const char *, int);

int
foo (int a)
{
  int b;

  b = 0;
  if ("/"[1] != '\0')
    if (strchr ("/", a))
      b = 1;
  return b;
}

int
main (void)
{
  return 0;
}

does not link on ppc64.  There is ld 30,.LCTOC0@toc(2) in the code, but
no .LCTOC0 definition.

-- 
           Summary: Undefined .LCTOC0 symbol
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: powerpc64-redhat-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17751


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-01-24 17:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-30 17:17 [Bug target/17751] New: Undefined .LCTOC0 symbol jakub at gcc dot gnu dot org
2004-09-30 17:22 ` [Bug target/17751] " pinskia at gcc dot gnu dot org
2004-11-24 22:11 ` cvs-commit at gcc dot gnu dot org
2005-01-24 17:39 ` cvs-commit at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).