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: General host configuration fragment purge


On Fri, Jan 11, 2002 at 09:25:18PM -0800, Douglas B. Rupp wrote:
> Your change to move DO_GLOBAL_[CD]TORS_BODY from xm-interix.h to interix.h
> has uncovered this.
> 
> gcc -DIN_GCC  -D__INTERIX -D_ALL_SOURCE  -g -O -W -Wall -Wwrite-strings 
> -Wstrict-prototypes -Wmissing-prototypes -Wtraditional   -DHAVE_CONFIG_H  
> -o cc1 c-parse.o c-lang.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o 
> c-typeck.o c-convert.o c-aux-info.o c-common.o c-format.o c-semantics.o 
> c-objc-common.o libcpp.a  main.o libbackend.a ./intl/libintl.a   ../libiberty/libiberty.a
> libbackend.a(i386.o): In function `ix86_svr3_asm_out_constructor':
> i386.c:12375: undefined reference to `init_section'
> 
> I think the code in ix86_svr3_asm_out_constructor needs to be moved into
> a tm file, maybe i386.h.

I think, given the way interix DO_GLOBAL_CTORS_BODY seems to work,
that you should be enabling init_section().  However, I don't fully
understand this area.

Richard Henderson was the last person to touch this code; can you
comment?

zw


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