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: [gcc-3_4-basic-improvements-branch] Patch to consolidate ASM_FORMAT_PRIVATE_NAME


 > From: Richard Henderson <rth@redhat.com>
 > 
 > > 	* alpha.h, alpha/vms.h, arc.h, arm/aof.h, arm/aout.h, avr.h,
 > > 	c4x.h, cris.h, d30v.h, fr30.h, frv.h, h8300.h, i370.h, i386.h,
 > > 	i960.h, ia64.h, ip2k.h, m32r.h, m68hc11.h, m68k/3b1.h,
 > > 	m68k/hp320.h, m68k.h, m68k/mot3300.h, m68k/sgs.h, m68k/tower-as.h,
 > > 	m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
 > > 	pa.h, pdp11.h, romp.h, rs6000.h, s390/linux.h, sh.h, sparc.h,
 > > 	stormy16.h, v850.h, vax.h, xtensa.h (ASM_FORMAT_PRIVATE_NAME):
 > > 	Delete.
 > > 	* alpha/vms.h, h8300.h, i370.h, ia64.h, m68k/3b1.h, m68k/hp320.h,
 > > 	m68k/mot3300.h, m68k/sgs.h, m68k/tower-as.h, mmix.h, mn10200.h,
 > > 	mn10300.h, pa.h, v850.h (ASM_PN_FORMAT): Define.
 > > 
 > > 	* defaults.h (ASM_PN_FORMAT, ASM_FORMAT_PRIVATE_NAME): Define.
 > > 	* doc/tm.texi (ASM_FORMAT_PRIVATE_NAME): Update documentation.
 > 
 > Ok.
 > r~

Thanks, installed.

Any thoughts on which of these ASM_PN_FORMAT definitions can be zapped
in favor of the defaults.h copy?

config/alpha/vms.h:#define ASM_PN_FORMAT "%s___%lu"
config/h8300/h8300.h:#define ASM_PN_FORMAT "%s___%lu"
config/i370/i370.h:#define ASM_PN_FORMAT "%s%lu"
config/ia64/ia64.h:#define ASM_PN_FORMAT (TARGET_GNU_AS ? "%s.%lu" : "%s?%lu")
config/m68k/3b1.h:#define ASM_PN_FORMAT "%s_%%%lu"
config/m68k/hp320.h:#define ASM_PN_FORMAT "%s___%lu"
config/m68k/mot3300.h:#define ASM_PN_FORMAT "%s_%%%lu"
config/m68k/sgs.h:#define ASM_PN_FORMAT         "%s_%lu"        /* Format for private names */
config/m68k/tower-as.h:#define ASM_PN_FORMAT "%s%%%%%lu"
config/mmix/mmix.h:#define ASM_PN_FORMAT "%s::%lu"
config/mn10200/mn10200.h:#define ASM_PN_FORMAT "%s___%lu"
config/mn10300/mn10300.h:#define ASM_PN_FORMAT "%s___%lu"
config/pa/pa.h:#define ASM_PN_FORMAT "%s___%lu"
config/v850/v850.h:#define ASM_PN_FORMAT "%s___%lu"

--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu


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