bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/11995] linker test fails


From: mgretton at sourceware dot org
Subject: [Bug ld/11995] linker test fails
Date: 9 Sep 2010 14:56:19 -0000

------- Additional Comments From mgretton at sourceware dot org  2010-09-09 
14:56 -------
When running the same test I get the following output as the section header:

Sections:
Idx Name          Size      VMA       LMA       File off  Algn  Flags
  0 .interp       00000011  00008000  00008000  00008000  2**0  CONTENTS, ALLOC,
LOAD, READONLY, DATA
  1 .hash         00000048  00008014  00008014  00008014  2**2  CONTENTS, ALLOC,
LOAD, READONLY, DATA
  2 .dynsym       000000d0  0000805c  0000805c  0000805c  2**2  CONTENTS, ALLOC,
LOAD, READONLY, DATA
  3 .dynstr       00000083  0000812c  0000812c  0000812c  2**0  CONTENTS, ALLOC,
LOAD, READONLY, DATA
  4 .rel.dyn      00000008  000081b0  000081b0  000081b0  2**2  CONTENTS, ALLOC,
LOAD, READONLY, DATA
  5 .rel.plt      00000010  000081b8  000081b8  000081b8  2**2  CONTENTS, ALLOC,
LOAD, READONLY, DATA
  6 .plt          0000002c  000081c8  000081c8  000081c8  2**2  CONTENTS, ALLOC,
LOAD, READONLY, CODE
  7 .text         00000038  00008200  00008200  00008200  2**4  CONTENTS, ALLOC,
LOAD, READONLY, CODE
  8 .dynamic      000000a0  00010238  00010238  00008238  2**2  CONTENTS, ALLOC,
LOAD, DATA          
  9 .got          00000014  000102d8  000102d8  000082d8  2**2  CONTENTS, ALLOC,
LOAD, DATA          
 10 .data         00000004  000102ec  000102ec  000082ec  2**0  CONTENTS, ALLOC,
LOAD, DATA          
 11 .bss          00000004  000102f0  000102f0  000082f0  2**0  ALLOC          
                     
 12 .ARM.attributes 00000018  00000000  00000000  00018018  2**0  CONTENTS,
READONLY                 
 13 .far_arm      00000040  02100000  02100000  00010000  2**4  CONTENTS, ALLOC,
LOAD, READONLY, CODE
 14 .far_thumb    00000018  02200000  02200000  00018000  2**4  CONTENTS, ALLOC,
LOAD, READONLY, CODE

The interesting section is .dynstr which in Nathan's example is 0x91 bytes long
and in mine is 0x83 bytes.

The contents of my .dynstr section are:

arm-none-eabi-objdump -s tmpdir/farcall-mixed-app-v5
Contents of section .dynstr:                               
 812c 00746d70 6469722f 6d697865 642d6c69  .tmpdir/mixed-li
 813c 622e736f 006c6962 5f66756e 6331006c  b.so.lib_func1.l
 814c 69625f66 756e6332 00617070 5f66756e  ib_func2.app_fun
 815c 63320064 6174615f 6f626a00 5f5f6461  c2.data_obj.__da
 816c 74615f73 74617274 005f6564 61746100  ta_start._edata.
 817c 5f5f6273 735f7374 61727400 5f5f6273  __bss_start.__bs
 818c 735f7374 6172745f 5f005f65 6e64005f  s_start__._end._
 819c 5f627373 5f656e64 5f5f005f 5f656e64  _bss_end__.__end
 81ac 5f5f00                               __.             

What is the .dynstr section of the failing object?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


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

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