This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix for "libgloss uses STARTUP directives consistently"


Fred Fish wrote:
	* configure.in (gcc_cv_mips_libgloss_startup): When checking the
	installed mips linker scripts, match all installed copies, not just
	"idt.ld", which might not even be installed.  For example,
	mipsisa32-elf newlib installs only idt32.ld, idt64.ld, and cfe.ld.
	* configure: Regenerate.

Looking at current sources, I see that the mips port no longer uses the HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES macro, but the configure support is still there. So the only fix appropriate for mainline is removing the config.in and configure.in support for this macro.


Are you asking for this change in gcc-3.3? That is a tougher choice, since it is important not to break it. Chris Demetrious made a comment about how all targets that did not have idt.ld had MIPS_ABI_DEFAULT defined to ABI_MEABI. This does appear to be the case in gcc-3.3, and thus no fix seems to be necessary.

I don't see why you need this patch.

The patch does seem somewhat reasonable though. Searching for all installed linker scripts looks like the right solution if there was a target that did not default to MIPS_ABI_DEFAULT=ABI_MEABI.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]