Browse thread
Invalid HPPA assembly code: large displacements
- Florian Weimer
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2005-12-11 (15:29) |
From: | Florian Weimer <fw@d...> |
Subject: | Invalid HPPA assembly code: large displacements |
At Debian, we experience problems with the native code compiler on HPPA. The compiler generates invalid assembler input which includes displacements that are beyond the capabilities of this architecture. For example, when compiling a large module, a BL instruction is emitted which branches to a global label which is more than 64K instructions away from the start of the text section in that object file (which apparently cannot be expressed in an ELF relocation; a relocation is needed to implement the ELF linking semantics). Is there something one can tweak in the compiler to work around this problem?