Should the linker tests notice multilib variations ?

Doug Evans devans@cygnus.com
Tue Jul 13 09:30:00 GMT 1999


   Date: 13 Jul 1999 12:02:05 -0400
   From: Ian Lance Taylor <ian@zembu.com>

   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).




More information about the Binutils mailing list