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

lion <grabli_2005 at mail dot ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |grabli_2005 at mail dot ru

--- Comment #2 from lion <grabli_2005 at mail dot ru> 2011-05-18 09:33:37 UTC 
---
Works in what meaning?
I have same readelf -r output:
Relocation section '.rela.dyn' at offset 0x440 contains 4 entries:
  Offset          Info           Type           Sym. Value    Sym. Name +
Addend
0000000018c8  000000000008 R_X86_64_RELATIVE                   
00000000000018c8
000000001868  000100000006 R_X86_64_GLOB_DAT 0000000000000000 __gmon_start__ +
0
000000001870  000500000006 R_X86_64_GLOB_DAT 0000000000000000 __cxa_finalize +
0
000000001878  000600000006 R_X86_64_GLOB_DAT 0000000000000000
_Jv_RegisterClasses + 0

Relocation section '.rela.plt' at offset 0x4a0 contains 1 entries:
  Offset          Info           Type           Sym. Value    Sym. Name +
Addend
000000001898  000500000007 R_X86_64_JUMP_SLO 0000000000000000 __cxa_finalize +
0

But readelf -s shows:
Symbol table '.dynsym' contains 12 entries:
   Num:    Value          Size Type    Bind   Vis      Ndx Name
     0: 0000000000000000     0 NOTYPE  LOCAL  DEFAULT  UND
     1: 00000000000004c8     0 SECTION LOCAL  DEFAULT   10
     2: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND __gmon_start__
     3: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND _Jv_RegisterClasses
     4: 0000000000000000     0 FUNC    WEAK   DEFAULT  UND
__cxa_finalize@GLIBC_2.2.5 (2)
     5: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND getcwd@GLIBC_2.2.5
(2)
     6: 0000000000201020     0 NOTYPE  GLOBAL DEFAULT  ABS _end
     7: 0000000000201010     0 NOTYPE  GLOBAL DEFAULT  ABS _edata
     8: 0000000000201010     0 NOTYPE  GLOBAL DEFAULT  ABS __bss_start
     9: 00000000000004c8     0 FUNC    GLOBAL DEFAULT   10 _init
    10: 000000000000062c    16 FUNC    GLOBAL DEFAULT   13 _fini
    11: 00000000000005d0    23 FUNC    GLOBAL DEFAULT   12 func

I not obvious to me that relocations is in blame here, but as in my original
report - getcwd dependency not discarded properly.

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

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to