1.) parameter passing on stack and stack misalignment
I'm trying to go around this problem, but I'm jet to  find  a solution.

2.) about linker generation code
The current implementations uses a "template" proxy function written in asm
and assembled to .rel.
Linker then loads this "template" and replaces template symbols once for
every proxy needed.

The whole proxy code is in the template provided by the programmer( so you
can switch the banks even with the serial port if you want to )

-
Peter

--------------
On Sep 3, 2007, at 12:30 PM, Maarten Brock wrote:
> In general I'm opposed to having the linker generate or modify any
> code. I
> think only substitution of labels should be allowed.

To put it briefly, I agree 100% here...it'd be a huge abstraction
violation. Code generation is purely the responsibility of the
compiler.

-Dave

-- 
Dave McGuire
Port Charlotte, FL
Farewell Ophelia, 9/22/1991 - 7/25/2007
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to