From: Mat Hostetter Date: Tue, 20 Jul 93 11:40:23 -0600 To: Ken Ellis Subject: Re: compiler/assembler labels/symbols Cc: djgpp AT sun DOT soe DOT clarkson DOT edu What you are doing should work fine. Please provide a test case that demonstrates the problem. Here is a test program, and the results of building it on my (cross-compiling) djgpp system. It does what you think it should do. -Mat extern void bar (void); void foo () { bar (); } Generates this assembly: .file "quam.c" gcc2_compiled.: ___gnu_compiled_c: .text .align 4 .globl _foo _foo: pushl %ebp movl %esp,%ebp call _bar movl %ebp,%esp popl %ebp ret Which is assembled to use these symbols: 00000000 t ___gnu_compiled_c U _bar 00000000 T _foo 00000000 t gcc2_compiled.