bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/10518] New: [regression] handling of wildcards in version script


From: doko at debian dot org
Subject: [Bug ld/10518] New: [regression] handling of wildcards in version scripts
Date: 13 Aug 2009 15:34:23 -0000

[forwarded from http://bugs.debian.org/540751]

works with 2.18 and 2.19.1, not with trunk 20090813.

$ cat test.c
int test(void)
{
                return 1;
}

int test_new(void)
{
                return 2;
}

$ cat test.version
TEST_1.0.1 {
        *new*;
};

TEST_1.0 {
        global: *;
};

$ gcc -c -fPIC test.c

trunk:

$ ld -shared -o test.so -version-script test.version test.o
$ objdump -T test.so |grep test
test.so:     file format elf32-i386
00000210 g    DF .text  0000000a  TEST_1.0    test
0000021a g    DF .text  0000000a  TEST_1.0    test_new



with 2.18 and 2.19.1:

# objdump -T test.so |grep test
test.so:     file format elf32-i386
00000210 g    DF .text  0000000a  TEST_1.0    test
0000021a g    DF .text  0000000a  TEST_1.0.1  test_new

-- 
           Summary: [regression] handling of wildcards in version scripts
           Product: binutils
           Version: 2.20 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: doko at debian dot org
                CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=10518

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

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