* [PATCH] Set MIPS n32 ABI flag in ELF header
@ 2001-08-15 14:40 Thiemo Seufer
2001-08-16 10:35 ` Eric Christopher
0 siblings, 1 reply; 2+ messages in thread
From: Thiemo Seufer @ 2001-08-15 14:40 UTC (permalink / raw)
To: binutils
Hi All,
this patch sets the EF_MIPS_ABI2 header flag if -mabi=n32 is given.
Thiemo
2001-08-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
/gas/ChangeLog
* config/tc-mips.c (mips_elf_final_processing): Set elf header flags
for n32 ABI if appropriate.
diff -BurpNX /bigdisk/src/binutils-exclude src-orig/gas/config/tc-mips.c src/gas/config/tc-mips.c
--- src-orig/gas/config/tc-mips.c Sun Aug 12 13:34:58 2001
+++ src/gas/config/tc-mips.c Thu Aug 16 02:23:17 2001
@@ -11587,6 +11941,10 @@ mips_elf_final_processing ()
else
elf_elfheader (stdoutput)->e_flags |= E_MIPS_ABI_EABI32;
}
+ else if (strcmp (mips_abi_string, "n32") == 0)
+ elf_elfheader (stdoutput)->e_flags |= EF_MIPS_ABI2;
+
+ /* Nothing to do for "64". */
if (mips_32bitmode)
elf_elfheader (stdoutput)->e_flags |= EF_MIPS_32BITMODE;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Set MIPS n32 ABI flag in ELF header
2001-08-15 14:40 [PATCH] Set MIPS n32 ABI flag in ELF header Thiemo Seufer
@ 2001-08-16 10:35 ` Eric Christopher
0 siblings, 0 replies; 2+ messages in thread
From: Eric Christopher @ 2001-08-16 10:35 UTC (permalink / raw)
To: Thiemo Seufer; +Cc: binutils
> 2001-08-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
>
> /gas/ChangeLog
> * config/tc-mips.c (mips_elf_final_processing): Set elf header flags
> for n32 ABI if appropriate.
>
Ok.
-eric
--
Look out behind you!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-08-16 10:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-15 14:40 [PATCH] Set MIPS n32 ABI flag in ELF header Thiemo Seufer
2001-08-16 10:35 ` Eric Christopher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).