Back to index

cell-binutils  2.17cvs20070401
tls_vxworks.d
Go to the documentation of this file.
00001 #objdump: -dr
00002 #name: TLS
00003 # This test is only valid on ELF based ports.
00004 #not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
00005 # This is the VxWorks variant of this file.
00006 #source: tls.s
00007 #not-skip: *-*-vxworks*
00008 
00009 # Test generation of TLS relocations
00010 
00011 .*: +file format .*arm.*
00012 
00013 Disassembly of section .text:
00014 
00015 00+0 <main>:
00016    0:  e1a00000      nop                  \(mov r0,r0\)
00017    4:  e1a00000      nop                  \(mov r0,r0\)
00018    8:  e1a0f00e      mov    pc, lr
00019    c:  00000000      andeq  r0, r0, r0
00020                      c: R_ARM_TLS_GD32    a
00021 # ??? The addend is appearing in both the RELA field and the
00022 # contents.  Shouldn't it be just one?  bfd_install_relocation
00023 # appears to write the addend into the contents unconditionally,
00024 # yet somehow this does not happen for the majority of relocations.
00025   10:  00000004      andeq  r0, r0, r4
00026                      10: R_ARM_TLS_LDM32  b\+0x4
00027   14:  00000008      andeq  r0, r0, r8
00028                      14: R_ARM_TLS_IE32   c\+0x8
00029   18:  00000000      andeq  r0, r0, r0
00030                      18: R_ARM_TLS_LE32   d