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: powerpc patch 6 of 9


>>>>> Alan Modra writes:

Alan> The ELF size of the function includes the traceback table.  Since the
Alan> traceback table includes a string, you end up with sizes that are not
Alan> multiples of four, and trigger asserts in gas/dwarf2dbg.c.  Of course,
Alan> this was all before you removed the table for ELF.  Still, I think
Alan> it's a good idea to ensure that functions emit word-sized chunks.
Alan> I'm not sure what might go wrong now:  Perhaps global asm statements,
Alan> or var decls with a text section attribute?

	Ah!  So you are trying to ensure that the end of the function is
aligned to a whole word for the ELF size information.  I was only worried
about the alignment of the next function.

	If that is the reason, then this patch is okay and I will add it.

Thanks, David


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