English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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