From mboxrd@z Thu Jan 1 00:00:00 1970 From: Doug Evans To: ian@zembu.com Cc: nickc@cygnus.com, binutils@sourceware.cygnus.com Subject: Re: Should the linker tests notice multilib variations ? Date: Tue, 13 Jul 1999 09:30:00 -0000 Message-id: <199907131629.JAA00144@canuck.cygnus.com.> References: <19990713160205.3579.qmail@daffy.airs.com> X-SW-Source: 1999-q3/msg00177.html Date: 13 Jul 1999 12:02:05 -0400 From: Ian Lance Taylor Perhaps we should even make -EB and -EL global options for the assembler, and use some new md function to implement them. I think this is the way to go. I'll even volunteer to implement it ... Do we need a new md function though? Studying tc-ppc.[ch], set_target_endian seems superfluous. target_big_endian is initialized to TARGET_BYTES_BIG_ENDIAN in read.c. Then at the end of md_begin, if !set_target_endian, target_big_endian gets set to TARGET_BYTES_BIG_ENDIAN again. (PPC_BIG_ENDIAN == TARGET_BYTES_BIG_ENDIAN).