This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: powerpc-linux gcc-3.2.x sections
On Fri, Feb 07, 2003 at 04:07:05AM -0500, Jakub Jelinek wrote:
> Shouldn't the TARGET_RELOCATABLE check in rs6000_categorize_section
> be surrounded with #ifdef RELOCATABLE_NEEDS_FIXUP
Yes, probably. Hmm, we could do with #ifdef RELOCATABLE_NEEDS_FIXUP
in rs6000_elf_asm_out_{con,des}structor too.
> and linux.h undefine
> it, similarly to linux64.h (as ppc-linux binutils strips all .fixup
> sections anyway), as I asked in the above posting?
I'd forgotten about your post. This I'm not sure about. Doesn't the
ppc linux kernel build process make use of -mrelocatable-lib?
> Also, do STRING_CST's really need any fixups? I cannot imagine why,
> thus at least the TARGET_RELOCATABLE check in rs6000_categorize_section
> should move after the STRING_CST check.
Yes, I think you're correct here.
--
Alan Modra
IBM OzLabs - Linux Technology Centre