Package: binutils
Version: 2.21.90.20111025-1
Severity: important

In Iceweasel 9, there is a piece of assembly that can be simplified as
the following:

.text
.global foo
.type   foo, #function
foo:
        ba bar
        nop

.global bar
.type   bar, #function
bar:
        call exit

When compiling the above, the resulting binary ends up with a runtime
R_SPARC_WDISP22 relocation that ld.so doesn't know about:

$ gcc -o test.so -shared test.s
$ LD_PRELOAD=$(pwd)/test.so cat
cat: error while loading shared libraries: /home/glandium/test.so: unexpected 
reloc type 0x08

One would expect ld to actually care about this relocation itself at
(static) link time. Or gas to emit a relocation that ld knows about.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages binutils depends on:
ii  libc6       2.13-21         
ii  libgcc1     1:4.6.2-4       
ii  libstdc++6  4.6.2-4         
ii  zlib1g      1:1.2.3.4.dfsg-3

binutils recommends no packages.

Versions of packages binutils suggests:
ii  binutils-doc  2.21.90.20111025-1

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to