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

Bug#333954: gcc-4.0: on alpha, gcc generated lituse_jsrdirect relocation tag is killing the assembler



Package: gcc-4.0
Version: 4.0.2-2
Severity: important

When performing integer division, the following relocation is generated (to the libc divide function)
jsr $23,($27),__divq            !lituse_jsrdirect!79
the assembler does not understand this :
/tmp/ccFszcSs.s: Assembler messages:
/tmp/ccFszcSs.s:26: Error: Unknown relocation operand: !lituse_jsrdirect

This is a valid relocation type that use to work.
This is a sufficient test case to trigger the problem:

long foo(long x, long y)
{
return x / y;
}


-- System Information:
Debian Release: testing/unstable
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: alpha
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.4
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages gcc-4.0 depends on:
ii  binutils                      2.16.1-2   The GNU assembler, linker and bina
ii  cpp-4.0                       4.0.2-2    The GNU C preprocessor
ii  gcc-4.0-base                  4.0.2-2    The GNU Compiler Collection (base 
ii  libc6.1                       2.3.5-6    GNU C Library: Shared libraries an
ii  libgcc1                       1:4.0.2-2  GCC support library

Versions of packages gcc-4.0 recommends:
ii  libc6.1-dev                   2.3.5-6    GNU C Library: Development Librari
pn  libmudflap0-dev               <none>     (no description available)

-- no debconf information



Reply to: