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: [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


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