This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix TLS support on SPARC/Solaris with native tools
> I see. I'll add the new ASM_DECLARE_OBJECT_NAME to sparc.h then...
Well, no, this won't directly work since tm.h contains
# include "config/sparc/biarch64.h"
# include "config/sparc/sparc.h"
# include "config/dbxelf.h"
# include "config/elfos.h"
# include "config/svr4.h"
# include "config/sparc/sysv4.h"
# include "config/sol2.h"
# include "config/sparc/sol2.h"
# include "config/sparc/sol2-bi.h"
and ASM_DECLARE_OBJECT_NAME is not guarded in elfos.h. Moreover, this is
rather an OS-specific setting than a CPU-specific setting, so this will be
config/sparc/sol2.h instead.
--
Eric Botcazou