MIPS gas doesn't set SH_FLAG

Eric Christopher echristo@redhat.com
Tue Mar 1 01:18:00 GMT 2005


> Hence I am offering up the attached patch as a possible solution.  Eric, 
> Thiemo - what do you think ?  Tested with no regressions on mips-elf, 
> mips64-linux-gnu and mipsisa32el-linux-gnu targets.

> 
> bfd/ChangeLog
> 2005-02-28  Nick Clifton  <nickc@redhat.com>
> 
> 	* elfxx-mips.c (_bfd_mips_elf_fake_sections): Copy user specified,
> 	MIPS specific section flags into the fake section's header.
> 
> gas/ChangeLog
> 2005-02-28  Nick Clifton  <nickc@redhat.com>
> 
> 	* config/tc-mips.c (mips_elf_section_flags): New function.  Ensure
> 	that user specified MIPS specific section flags are permitted in
> 	the section header.
> 	* config/tc-mips.h (md_elf_section_flags): Define.  Use
> 	mips_elf_section_flags.

ChangeLogs look good, how about that patch? :)

-eric



More information about the Binutils mailing list