Mail Archives: djgpp/2001/01/21/08:35:39
On Sun, 21 Jan 2001, Eric Botcazou wrote:
> > The problem is in Allegro: it uses code that is either invalid or
> > marginally valid and unsafe. Someone should correct Allegro.
>
> Could you certify that fixing the warnings 'indirect call without *' won't
> break compatibility with older versions of GAS ?
It most certainly will break compatibility with older versions of Gas.
However, if you limit old versions of Gas to Binutils 2.9.x, I think you
will have no problems. It is not unreasonable to stop supporting
Binutils 2.8.x and older at this time, I think. Just make it clear in
the docs, or even include a test in the build procedure (something that
runs "as --version" and looks at the result) and refuse to build if the
test fails.
If you do want to continue supporting older versions of Gas, you need to
modify the Allegro sources to conditionally compile different code
depending on the Gas version. The Gas version can be detected by the
same trick with --version as mentioned above.
- Raw text -