public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* RE: PATCH: ARM EABI GNU/Linux
@ 2004-11-19 19:24 Richard Earnshaw
  0 siblings, 0 replies; 5+ messages in thread
From: Richard Earnshaw @ 2004-11-19 19:24 UTC (permalink / raw)
  To: mark, binutils

 

> -----Original Message-----
> From: binutils-owner@sources.redhat.com 
> [mailto:binutils-owner@sources.redhat.com] On Behalf Of Mark Mitchell
> Sent: 19 November 2004 18:29
> To: binutils@sources.redhat.com
> Subject: PATCH: ARM EABI GNU/Linux
> 
> 
> We're working on adding support for the ABI for the ARM Architecture
> to GNU/Linux.  Here's a basic linker patch to add support for
> arm-none-linux-gnueabi.  OK?

OK.

R.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: PATCH: ARM EABI GNU/Linux
  2004-11-20 14:08   ` Paul Brook
@ 2004-11-23  2:22     ` Mark Mitchell
  0 siblings, 0 replies; 5+ messages in thread
From: Mark Mitchell @ 2004-11-23  2:22 UTC (permalink / raw)
  To: Paul Brook; +Cc: binutils, Daniel Jacobowitz

Paul Brook wrote:
> On Saturday 20 November 2004 06:36, Daniel Jacobowitz wrote:
> 
>>- GAS currently defaults to FPA for all Linux configurations.  It
>>should probably default to FPU_ARCH_VFP for Linux/EABI.
> 
> 
> It should also default to -meabi=4

I stuck this into our local bug-tracking system so that we'll get to it 
in the not-too-distant future.

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: PATCH: ARM EABI GNU/Linux
  2004-11-20  6:36 ` Daniel Jacobowitz
@ 2004-11-20 14:08   ` Paul Brook
  2004-11-23  2:22     ` Mark Mitchell
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Brook @ 2004-11-20 14:08 UTC (permalink / raw)
  To: binutils; +Cc: Daniel Jacobowitz, Mark Mitchell

On Saturday 20 November 2004 06:36, Daniel Jacobowitz wrote:
> - GAS currently defaults to FPA for all Linux configurations.  It
> should probably default to FPU_ARCH_VFP for Linux/EABI.

It should also default to -meabi=4

Paul

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: PATCH: ARM EABI GNU/Linux
  2004-11-19 18:29 Mark Mitchell
@ 2004-11-20  6:36 ` Daniel Jacobowitz
  2004-11-20 14:08   ` Paul Brook
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Jacobowitz @ 2004-11-20  6:36 UTC (permalink / raw)
  To: binutils

On Fri, Nov 19, 2004 at 10:29:16AM -0800, Mark Mitchell wrote:
> 
> We're working on adding support for the ABI for the ARM Architecture
> to GNU/Linux.  Here's a basic linker patch to add support for
> arm-none-linux-gnueabi.  OK?

Two other things that you may want to do eventually:

- I mentioned earlier that there will have to be a big-endian
configuration stanza and emulation.  Paul mentioned that we may need
another set for BE-8...

- GAS currently defaults to FPA for all Linux configurations.  It
should probably default to FPU_ARCH_VFP for Linux/EABI.


-- 
Daniel Jacobowitz

^ permalink raw reply	[flat|nested] 5+ messages in thread

* PATCH: ARM EABI GNU/Linux
@ 2004-11-19 18:29 Mark Mitchell
  2004-11-20  6:36 ` Daniel Jacobowitz
  0 siblings, 1 reply; 5+ messages in thread
From: Mark Mitchell @ 2004-11-19 18:29 UTC (permalink / raw)
  To: binutils


We're working on adding support for the ABI for the ARM Architecture
to GNU/Linux.  Here's a basic linker patch to add support for
arm-none-linux-gnueabi.  OK?

--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com

2004-11-19  Mark Mitchell  <mark@codesourcery.com>

	* Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o.
	(earmelf_linux_eabi.c): New target.
	* configure.tgt (arm*-*-linux-gnueabi): Handle it.
	* emulparams/armelf_linux_eabi.sh: New file.
	* Makefile.in: Regenerated.
 
Index: ld/Makefile.am
===================================================================
RCS file: /cvs/src/src/ld/Makefile.am,v
retrieving revision 1.164
diff -c -5 -p -r1.164 Makefile.am
*** ld/Makefile.am	8 Nov 2004 13:17:26 -0000	1.164
--- ld/Makefile.am	19 Nov 2004 18:24:56 -0000
*************** ALL_EMULATIONS = \
*** 119,128 ****
--- 119,129 ----
  	earmcoff.o \
  	earmelf.o \
  	earmelfb.o \
  	earmelf_fbsd.o \
  	earmelf_linux.o \
+ 	earmelf_linux_eabi.o \
  	earmelfb_linux.o \
  	earmelf_nbsd.o \
  	earmelfb_nbsd.o \
  	earmnto.o \
  	earmnbsd.o \
*************** earmelf_fbsd.c: $(srcdir)/emulparams/arm
*** 494,503 ****
--- 495,509 ----
  	${GENSCRIPTS} armelf_fbsd "$(tdir_armelf_fbsd)"
  earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \
    $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
    $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  	${GENSCRIPTS} armelf_linux "$(tdir_armelf_linux)"
+ earmelf_linux_eabi.c: $(srcdir)/emulparams/armelf_linux_eabi.sh \
+   $(srcdir)/emulparams/armelf_linux.sh \
+   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
+   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
+ 	${GENSCRIPTS} armelf_linux_eabi "$(tdir_armelf_linux_abi)"
  earmelfb_linux.c: $(srcdir)/emulparams/armelfb_linux.sh \
    $(srcdir)/emulparams/armelf_linux.sh \
    $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
    $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  	${GENSCRIPTS} armelfb_linux "$(tdir_armelfb_linux)"
Index: ld/configure.tgt
===================================================================
RCS file: /cvs/src/src/ld/configure.tgt,v
retrieving revision 1.159
diff -c -5 -p -r1.159 configure.tgt
*** ld/configure.tgt	8 Nov 2004 13:17:27 -0000	1.159
--- ld/configure.tgt	19 Nov 2004 18:24:57 -0000
*************** arm-*-elf | arm-*-vxworks | arm*-*-eabi*
*** 261,270 ****
--- 261,271 ----
  	  		targ_emul=armelf ;;
  arm*-*-symbianelf*)     targ_emul=armsymbian;;
  arm-*-kaos*)		targ_emul=armelf ;;
  arm9e-*-elf)		targ_emul=armelf ;;
  arm*b-*-linux-gnu*)	targ_emul=armelfb_linux; targ_extra_emuls=armelfb ;;
+ arm*-*-linux-gnueabi)	targ_emul=armelf_linux_eabi ;;
  arm*-*-linux-gnu*)	targ_emul=armelf_linux; targ_extra_emuls=armelf ;;
  arm*-*-uclinux*)	targ_emul=armelf_linux; targ_extra_emuls=armelf ;;
  arm*-*-conix*)		targ_emul=armelf ;;
  thumb-*-linux-gnu* | thumb-*-uclinux*)	targ_emul=armelf_linux; targ_extra_emuls=armelf ;;
  strongarm-*-coff)	targ_emul=armcoff ;;
Index: ld/emulparams/armelf_linux_eabi.sh
===================================================================
RCS file: ld/emulparams/armelf_linux_eabi.sh
diff -N ld/emulparams/armelf_linux_eabi.sh
*** /dev/null	1 Jan 1970 00:00:00 -0000
--- ld/emulparams/armelf_linux_eabi.sh	19 Nov 2004 18:24:57 -0000
***************
*** 0 ****
--- 1,9 ----
+ . ${srcdir}/emulparams/armelf_linux.sh
+ 
+ # Use the ARM ABI-compliant exception-handling sections.
+ OTHER_READONLY_SECTIONS="
+   .ARM.extab ${RELOCATING-0} : { *(.ARM.extab${RELOCATING+* .gnu.linkonce.armextab.*}) }
+   ${RELOCATING+ __exidx_start = .; }
+   .ARM.exidx ${RELOCATING-0} : { *(.ARM.exidx${RELOCATING+* .gnu.linkonce.armexidx.*}) }
+   ${RELOCATING+ __exidx_end = .; }"
+ 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-11-23  2:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-19 19:24 PATCH: ARM EABI GNU/Linux Richard Earnshaw
  -- strict thread matches above, loose matches on Subject: below --
2004-11-19 18:29 Mark Mitchell
2004-11-20  6:36 ` Daniel Jacobowitz
2004-11-20 14:08   ` Paul Brook
2004-11-23  2:22     ` Mark Mitchell

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