Version française
Home     About     Download     Resources     Contact us    
Browse thread
Invalid HPPA assembly code: large displacements
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
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?