Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Modula 2 > Re: A "Via Pasc...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 52 of 80 Topic 318 of 382
Post > Topic >>

Re: A "Via Pascal" Modula 2 Compiler ?

by Marco van de Voort <marcov@[EMAIL PROTECTED] > Jan 21, 2007 at 04:41 PM

On 2007-01-21, Tom Breeden <tmb@[EMAIL PROTECTED]
> wrote:
>>> out assembly code as a text asm file and sending it on to "as" and
then
>>> "ld". That's worked better than I expected, and I've followed the SYSV

>> ABI
>>> such that the Elf object file would probably link with the AOS4 C if I
>>> wanted to depend more on the C libs than I do. (of course, creating
good
>>> and totally correct assembly code is still pretty far off).
>> 
>> btw, how do you handle/how effective is your dead code elmination using
>> as/ld?
>
> Within procedures, the compiler removes dead code from the first
generated
> intermediate code via a (currently number of) p***** through the IC.
>
> At the module level, I am just linking in all the procedures of a
module,
> whether actually called by the built program or not. I have written a
> small front end to "ld" that runs before linking and analyzes all the
> module's im****ts and builds a <pgm>_startup assembly file which calls
> all the necessary init blocks and term blocks in the correct order, and
> is integrated with the RTS sup****ting HALT and (to be) EXCEPTIONS
> with respect to init/term execution in those cases.

If you put everything into correct sections, make your tables 
symbolic, you might be able to use ld parameter --gc-sections.
 




 80 Posts in Topic:
A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-12 09:17:40 
Re: A "Via Pascal" Modula 2 Compiler ?
Christoph Schlegel <ch  2007-01-12 19:41:28 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-14 12:31:01 
Re: A "Via Pascal" Modula 2 Compiler ?
Christoph Schlegel <ch  2007-01-14 22:20:08 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-15 08:19:20 
Re: A "Via Pascal" Modula 2 Compiler ?
Gaius Mulley <gaius@[E  2007-01-18 10:42:36 
Re: A "Via Pascal" Modula 2 Compiler ?
"Chris Burrows"  2007-01-13 15:36:28 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-14 12:49:24 
Re: A "Via Pascal" Modula 2 Compiler ?
john o goyo <j.o.goyo@  2007-01-16 10:53:11 
Re: A "Via Pascal" Modula 2 Compiler ?
comp.lang.modula2@[EMAIL   2007-01-17 00:24:38 
Re: A "Via Pascal" Modula 2 Compiler ?
john o goyo <j.o.goyo@  2007-01-18 13:30:58 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-13 01:34:49 
Re: A "Via Pascal" Modula 2 Compiler ?
Christoph Schlegel <ch  2007-01-13 11:06:28 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-13 08:20:07 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-13 08:22:08 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-14 13:17:56 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-15 00:33:19 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-15 10:39:14 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-15 04:04:53 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-15 12:26:32 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-15 13:42:55 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-16 13:24:48 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-16 13:51:03 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-17 15:34:03 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-16 13:56:13 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-19 15:36:45 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-19 09:34:09 
Re: A "Via Pascal" Modula 2 Compiler ?
"Tom Breeden" &  2007-01-19 16:03:09 
Re: A "Via Pascal" Modula 2 Compiler ?
"Chris Burrows"  2007-01-20 10:27:00 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-20 18:38:30 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-20 05:40:19 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-20 12:54:42 
Re: A "Via Pascal" Modula 2 Compiler ?
"Tom Breeden" &  2007-01-21 10:24:07 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-21 16:47:22 
Re: A "Via Pascal" Modula 2 Compiler ?
"Tom Breeden" &  2007-01-21 10:32:47 
An MC68xxx M2 compiler (was: A "Via Pascal" Modula 2 Compiler ?)
"Chris Burrows"  2007-01-22 20:25:43 
Re: A "Via Pascal" Modula 2 Compiler ?
Gaius Mulley <gaius@[E  2007-01-25 13:35:32 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-25 14:11:28 
Re: A "Via Pascal" Modula 2 Compiler ?
comp.lang.modula2@[EMAIL   2007-01-25 15:30:28 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-25 15:53:17 
Re: A "Via Pascal" Modula 2 Compiler ?
comp.lang.modula2@[EMAIL   2007-01-26 01:07:32 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-27 13:49:51 
Re: A "Via Pascal" Modula 2 Compiler ?
comp.lang.modula2@[EMAIL   2007-01-27 15:20:39 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-27 15:36:10 
Re: A "Via Pascal" Modula 2 Compiler ?
comp.lang.modula2@[EMAIL   2007-01-28 13:25:09 
Re: A "Via Pascal" Modula 2 Compiler ?
"Chris Burrows"  2007-01-28 11:44:36 
Re: A "Via Pascal" Modula 2 Compiler ?
Keith Hopper <asgard@[  2007-01-29 13:21:06 
Re: A "Via Pascal" Modula 2 Compiler ?
"Chris Burrows"  2007-01-26 11:08:27 
Re: A "Via Pascal" Modula 2 Compiler ?
"Chris Burrows"  2007-01-26 13:20:59 
Re: A "Via Pascal" Modula 2 Compiler ?
comp.lang.modula2@[EMAIL   2007-01-26 10:13:05 
Re: A "Via Pascal" Modula 2 Compiler ?
"Tom Breeden" &  2007-01-21 10:47:03 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-21 16:41:00 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-21 11:48:49 
Re: An MC68xxx M2 compiler (was: A "Via Pascal" Modula 2 Compile
"Tom Breeden" &  2007-01-23 13:26:35 
Re: An MC68xxx M2 compiler
john o goyo <j.o.goyo@  2007-01-25 14:27:46 
Re: A "Via Pascal" Modula 2 Compiler ?
"Tom Breeden" &  2007-01-26 08:57:58 
Re: A "Via Pascal" Modula 2 Compiler ?
Gaius Mulley <gaius@[E  2007-01-26 16:37:35 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-28 05:47:05 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-28 16:40:50 
Re: A "Via Pascal" Modula 2 Compiler ?
"Chris Burrows"  2007-01-29 11:28:26 
Re: A "Via Pascal" Modula 2 Compiler ?
"Chris Burrows"  2007-01-29 11:14:49 
Re: A "Via Pascal" Modula 2 Compiler ?
Jim Granville <no.spam  2007-01-29 22:01:37 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-29 09:53:35 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-29 01:55:16 
Re: A "Via Pascal" Modula 2 Compiler ?
Marco van de Voort <ma  2007-01-29 10:17:55 
DEF / SYM files (was: A "Via Pascal" Modula 2 Compiler ?)
"Chris Burrows"  2007-01-29 22:32:09 
Re: DEF / SYM files (was: A "Via Pascal" Modula 2 Compiler ?)
comp.lang.modula2@[EMAIL   2007-01-29 15:14:38 
Re: A "Via Pascal" Modula 2 Compiler ?
"Tom Breeden" &  2007-01-29 10:23:24 
Re: DEF / SYM files (was: A "Via Pascal" Modula 2 Compiler ?)
"JP2R" <jp-d  2007-01-29 12:37:34 
Re: A "Via Pascal" Modula 2 Compiler ?
"JP2R" <jp-d  2007-01-29 12:50:09 
Re: A "Via Pascal" Modula 2 Compiler ?
"Tom Breeden" &  2007-01-29 17:15:34 
Re: A "Via Pascal" Modula 2 Compiler ?
shaimee11@[EMAIL PROTECTE  2007-02-01 06:45:04 
Re: A "Via Pascal" Modula 2 Compiler ?
shaimee11@[EMAIL PROTECTE  2007-02-02 22:55:51 
Re: A "Via Pascal" Modula 2 Compiler ?
shaimee11@[EMAIL PROTECTE  2007-02-02 22:56:18 
Re: A "Via Pascal" Modula 2 Compiler ?
shaimee11@[EMAIL PROTECTE  2007-02-02 22:56:40 
Re: A "Via Pascal" Modula 2 Compiler ?
shaimee11@[EMAIL PROTECTE  2007-02-02 22:59:06 
Re: A "Via Pascal" Modula 2 Compiler ?
shaimee11@[EMAIL PROTECTE  2007-02-02 22:59:50 
Re: A "Via Pascal" Modula 2 Compiler ?
shaimee11@[EMAIL PROTECTE  2007-02-02 23:00:42 
Re: A "Via Pascal" Modula 2 Compiler ?
shaimee11@[EMAIL PROTECTE  2007-02-02 23:02:56 
Re: A "Via Pascal" Modula 2 Compiler ?
shaimee11@[EMAIL PROTECTE  2007-02-02 23:03:35 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 2:12:27 CDT 2008.