First Last Prev Next    No search results available
Details
: "main" not compatible with lli
Bug#: 2009
: tools
: gnat
Status: NEW
Resolution:
: Other
: Linux
: trunk
: P2
: enhancement
: ---

:
:
:
:
  Show dependency tree - Show dependency graph
People
Reporter: Duncan Sands <baldrick@free.fr>
Assigned To: Duncan Sands <baldrick@free.fr>
:

Attachments


Note

You need to log in before you can comment on or make changes to this bug.

Related actions


Description:   Opened: 2008-02-10 07:22
The Ada front-end generates a "main" with a bogus
prototype as far as lli is concerned (it uses integers
rather than pointers for argv and envp).
------- Comment #1 From someguy 2009-03-10 03:52:22 -------
In general, unless you are really careful about the main prototype, lli will
fail.

Perhaps the lli code should be refactored to be more forgiving?
------- Comment #2 From Duncan Sands 2009-03-10 04:14:50 -------
I agree - it should at least support everything which is
ABI compatible with main, eg: a main which uses integers
instead of pointers as long as they are of pointer size.

First Last Prev Next    No search results available