bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/676] ld segvs when creating shared library for hppa--netbsd


From: skrll at netbsd dot org
Subject: [Bug ld/676] ld segvs when creating shared library for hppa--netbsd
Date: 18 Jan 2005 11:01:02 -0000

------- Additional Comments From skrll at netbsd dot org  2005-01-18 11:01 
-------
This works in 2.14. 
 
Here's an objdump of the generated object 
 
hppa--netbsd-objdump  -D -r foo.so 
 
foo.so:     file format elf32-hppa-netbsd 
 
Disassembly of section .text: 
 
00000000 <foo>: 
   0:   6b c2 3f d9     stw rp,-14(,sp) 
   4:   6f c4 00 80     stw,ma r4,40(,sp) 
   8:   6b d3 3f c1     stw r19,-20(,sp) 
   c:   2a 60 00 00     addil 0,r19,%r1 
                        c: R_PARISC_DLTIND21L   .LC0 
  10:   48 21 00 00     ldw 0(,r1),r1 
                        10: R_PARISC_DLTIND14R  .LC0 
  14:   0c 20 10 94     ldw 0(,r1),r20 
  18:   86 80 20 18     cmpib,= 0,r20,2c <foo+0x2c> 
  1c:   4b c2 3f 59     ldw -54(,sp),rp 
  20:   e8 40 00 00     b,l 28 <foo+0x28>,rp 
                        20: R_PARISC_PCREL17F   proc 
  24:   08 00 02 40     nop 
  28:   4b c2 3f 59     ldw -54(,sp),rp 
  2c:   e8 40 c0 00     bv r0(rp) 
  30:   4f c4 3f 81     ldw,mb -40(,sp),r4 
Disassembly of section .PARISC.unwind: 
 
00000000 <.PARISC.unwind>: 
        ... 
                        0: R_PARISC_SEGREL32    foo 
                        4: R_PARISC_SEGREL32    .text+0x30 
   8:   08 01 00 08     andcm r1,r0,r8 
   c:   00 00 00 08     break 8,0 
Disassembly of section .data.rel.ro: 
 
00000000 <.LC0>: 
   0:   00 00 00 00     break 0,0 
                        0: R_PARISC_PLABEL32    proc 
Disassembly of section .comment: 
 
00000000 <.comment>: 
   0:   00 47 43 43     #  474343 
   4:   3a 20 28 47     #3a202847 
   8:   4e 55 29 20     ldw,mb 1490(,r18),r21 
   c:   33 2e 33 2e     copr,4,32e32e,n 
  10:   33 20 28 4e     copr,1,32028e 
  14:   65 74 42 53     sth r20,-1ed7(sr1,r11) 
  18:   44 20 6e 62     ldh 1731(sr1,r1),r0 
  1c:   33 20 32 30     copr,0,320330,n 
  20:   30 34 30 35     copr,0,34315,n 
  24:   32 30 29 00     copr,4,230280 
 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   GCC host triplet|i386-unknown-netbsdelf2.0   |i386-unknown-netbsdelf2.0


http://sources.redhat.com/bugzilla/show_bug.cgi?id=676

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