This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC/RFA: Preventing name mangling of . in anchor expressions


Hi Ian,

gcc/ChangeLog
2007-02-14  Nick Clifton  <nickc@redhat.com>

	* varasm.c (default_asm_output_anchor): Prepend * to . symbol in
	order to prevent it from being munged by the target.


Hmmm, that's weird.  Why does ASM_OUTPUT_DEF pass the VALUE parameter
to assemble_name?  Worse, the version in c4x.h does not do this.

Given that ASM_OUTPUT_DEF works this way, and given that we are not
going to change that now, I think this patch is obvious.

Thanks - I have applied the patch.


Cheers
  Nick



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]