From mboxrd@z Thu Jan 1 00:00:00 1970 From: Toshi Morita To: mnshukla@cirrus.stpp.soft.net (MNShukla) Cc: gcc@gcc.gnu.org Subject: Re: Query... Date: Thu, 19 Apr 2001 09:47:00 -0000 Message-id: <200104191646.JAA24282@shell14.ba.best.com> References: <3ADEBD3D.EE537BDA@cirrus.stpp.soft.net> X-SW-Source: 2001-04/msg00927.html > Hi, > > I am generating obj files by using ARM-gcc, gcc-for-PC(intel) and > ARM-ADS. I am getting difference in the ELF-header, the values of EI_PAD > of e_ident[] is as follows-- > > EI_PAD = 0x61 for ARM-gcc and > EI_PAD = 0x00 for ARM-ADS and PC-gcc. > > Can somebody point me what does it signify? > Now, if I want to link obj's generated by ARM-ADS with obj generated by > ARM-gcc, it is not able to link and says format difeerent. GCC doesn't generate binary file formats. That is the job of the assembler, which is not a part of the GCC package. You need to ask this on the binutils mailing list. Toshi