[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/13278] New: --plugin doesn't work on archive

From: hjl.tools at gmail dot com
Subject: [Bug binutils/13278] New: --plugin doesn't work on archive
Date: Mon, 10 Oct 2011 18:46:01 +0000


             Bug #: 13278
           Summary: --plugin doesn't work on archive
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: address@hidden
        ReportedBy: address@hidden
    Classification: Unclassified

address@hidden slim-1]$ cat foo.c
int foo(void)
  return 0;
address@hidden slim-1]$ cat bar.c
int bar (void)
  return 0;
address@hidden slim-1]$ make NM=nm
/usr/gcc-4.7.0-x32/bin/gcc    -c -o bar.o bar.c
./ar --plugin
-rcsD lib.a bar.o
./ar --plugin
-rcsD lib.a foo.o
nm --plugin

0000000000000000 T bar

0000000000000001 C __gnu_lto_v1
0000000000000001 C __gnu_slim_lto
rm bar.o
address@hidden slim-1]$ 

The problem is we set the target type of archive to the target type of
the first member, which may not be a plugin object.

Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]