public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [Patch, microblaze]: Add microblaze*-*-elf target
@ 2013-01-21  5:43 David Holsgrove
  2013-01-23 14:58 ` Michael Eager
  0 siblings, 1 reply; 6+ messages in thread
From: David Holsgrove @ 2013-01-21  5:43 UTC (permalink / raw)
  To: gcc-patches
  Cc: Michael Eager, John Williams, Edgar E. Iglesias, Vinod Kathail,
	Vidhumouli Hunsigida, Nagaraju Mekala, Tom Shui

[-- Attachment #1: Type: text/plain, Size: 265 bytes --]

gcc/Changelog

2013-01-21  Edgar E. Iglesias <edgar.iglesias@gmail.com>

        * config.gcc (microblaze*-*-elf): Add new target

libgcc/Changelog

2013-01-21  Edgar E. Iglesias <edgar.iglesias@gmail.com>

        * config.host (microblaze*-*-elf): Add new target

[-- Attachment #2: 0002-Add-microblaze-elf-target.patch --]
[-- Type: application/octet-stream, Size: 1912 bytes --]

From f6f6c37afb171d05df07ad33216d36e7710373a7 Mon Sep 17 00:00:00 2001
From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
Date: Sat, 13 Aug 2011 09:16:55 +0200
Subject: [PATCH] Add microblaze*-*-elf target

gcc/Changelog

2013-01-21  Edgar E. Iglesias <edgar.iglesias@gmail.com>

        * config.gcc (microblaze*-*-elf): Add new target

libgcc/Changelog

2013-01-21  Edgar E. Iglesias <edgar.iglesias@gmail.com>

        * config.host (microblaze*-*-elf): Add new target

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
---
 gcc/config.gcc     |    6 ++++++
 libgcc/config.host |    4 ++++
 2 files changed, 10 insertions(+)

diff --git a/gcc/config.gcc b/gcc/config.gcc
index 7deac33..ebef93f 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1739,6 +1739,12 @@ microblaze*-*-rtems*)
 	tmake_file="${tmake_file} microblaze/t-microblaze"
 	tmake_file="${tmake_file} t-rtems microblaze/t-rtems"
         ;;
+microblaze*-*-elf)
+	tm_file="${tm_file} dbxelf.h newlib-stdint.h"
+	c_target_objs="${c_target_objs} microblaze-c.o"
+	cxx_target_objs="${cxx_target_objs} microblaze-c.o"
+	tmake_file="${tmake_file} microblaze/t-microblaze"
+        ;;
 microblaze*-*-*)
         tm_file="${tm_file} dbxelf.h"
 	c_target_objs="${c_target_objs} microblaze-c.o"
diff --git a/libgcc/config.host b/libgcc/config.host
index ffd047f..f5ece59 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -715,6 +715,10 @@ mcore-*-elf)
 microblaze*-linux*)
         tmake_file="$tmake_file t-slibgcc-nolc-override microblaze/t-microblaze t-fdpbit"
 	;;
+microblaze*-*-elf)
+	tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit"
+	extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o crti.o crtn.o"
+	;;
 microblaze*-*-*)
         tmake_file="microblaze/t-microblaze t-fdpbit"
 	extra_parts="crtbegin.o crtend.o crti.o crtn.o"
-- 
1.7.9.5


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

end of thread, other threads:[~2013-01-26 16:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-21  5:43 [Patch, microblaze]: Add microblaze*-*-elf target David Holsgrove
2013-01-23 14:58 ` Michael Eager
2013-01-24  4:25   ` David Holsgrove
2013-01-24 15:38     ` Michael Eager
2013-01-25  0:38       ` David Holsgrove
2013-01-26 16:41         ` Michael Eager

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