PATCH: Fix toplev.c breakage on PA after eh merge

John David Anglin dave@hiauly1.hia.nrc.ca
Tue May 15 10:24:00 GMT 2001


>   >    may affect debugging on some targets.
>   > /var/tmp/ccGhYlpq.s: Assembler messages:
>   > /var/tmp/ccGhYlpq.s:213: Error: operation combines symbols in different seg
>   > ments

This build was done before you disabled function sections yesterday.  This
error didn't occur in my latest build with the patch below, although 
there are still problems.


>   > 2001-05-14  John David Anglin  <dave@hiauly1.hia.nrc.ca>
> 
>   > 	* toplev.c: Include dwarf2out.h.
>   > 	(compile_file): Open aux_info_file and asm_out_file before
>   > 	initializing data.
> Err, umm.  Just take my patch from the mainline sources.  
> 
> Is there some reason it doesn't work on the branch?

See the later discussion by Richard and Mark.  The problem is that
function declarations are being output to the assembler file before
ASM_FILE_START.  They are also being output before it has been
determined whether or not they are in fact needed.  If this is fixed,
I believe that the patch to open the file earlier shouldn't be needed.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)



More information about the Gcc-patches mailing list