public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [Patch, microblaze]: PR54662 - microblaze-linux target makefile
@ 2013-01-21  5:46 David Holsgrove
  2013-01-23 15:07 ` Michael Eager
  0 siblings, 1 reply; 4+ messages in thread
From: David Holsgrove @ 2013-01-21  5:46 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: 430 bytes --]

gcc/Changelog

2013-01-21  David Holsgrove <david.holsgrove@xilinx.com>

        * config.gcc (microblaze*-linux*): Add tmake_file to allow building
          of microblaze-c.o

libgcc/Changelog

2013-01-21  David Holsgrove <david.holsgrove@xilinx.com>

        * libgcc/config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
          to exclude functions from being built with libgcc.c and use
          the microblaze assembly.

[-- Attachment #2: 0003-PR54662-microblaze-linux-target-makefile.patch --]
[-- Type: application/octet-stream, Size: 2389 bytes --]

From 2da20c7ddeca4694b01bae605305d321d5dbc180 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] PR54662 - microblaze-linux target makefile

gcc/Changelog

2013-01-21  David Holsgrove <david.holsgrove@xilinx.com>

        * config.gcc (microblaze*-linux*): Add tmake_file to allow building
          of microblaze-c.o

libgcc/Changelog

2013-01-21  David Holsgrove <david.holsgrove@xilinx.com>

        * libgcc/config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
          to exclude functions from being built with libgcc.c and use
          the microblaze assembly.

Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
---
 gcc/config.gcc                        |    2 ++
 libgcc/config.host                    |    2 +-
 libgcc/config/microblaze/t-microblaze |    2 ++
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gcc/config.gcc b/gcc/config.gcc
index ebef93f..0a96d2e 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1728,8 +1728,10 @@ mep-*-*)
 	;;
 microblaze*-linux*)
 	tm_file="${tm_file} dbxelf.h gnu-user.h linux.h microblaze/linux.h"
+	tm_file="${tm_file} glibc-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*-*-rtems*)
 	tm_file="${tm_file} dbxelf.h"
diff --git a/libgcc/config.host b/libgcc/config.host
index f5ece59..dd10268 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -713,7 +713,7 @@ mcore-*-elf)
 	extra_parts="$extra_parts crti.o crtn.o"
 	;;
 microblaze*-linux*)
-        tmake_file="$tmake_file t-slibgcc-nolc-override microblaze/t-microblaze t-fdpbit"
+	tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit t-slibgcc-libgcc"
 	;;
 microblaze*-*-elf)
 	tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit"
diff --git a/libgcc/config/microblaze/t-microblaze b/libgcc/config/microblaze/t-microblaze
index 3a9c7ff..96959f0 100644
--- a/libgcc/config/microblaze/t-microblaze
+++ b/libgcc/config/microblaze/t-microblaze
@@ -1,3 +1,5 @@
+LIB2FUNCS_EXCLUDE += _divsi3 _modsi3 _moddi3 _mulsi3 _udivsi3 _umodsi3
+
 LIB2ADD += \
         $(srcdir)/config/microblaze/divsi3.S \
         $(srcdir)/config/microblaze/moddi3.S \
-- 
1.7.9.5


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

* Re: [Patch, microblaze]: PR54662 - microblaze-linux target makefile
  2013-01-21  5:46 [Patch, microblaze]: PR54662 - microblaze-linux target makefile David Holsgrove
@ 2013-01-23 15:07 ` Michael Eager
  2013-01-23 21:14   ` David Holsgrove
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Eager @ 2013-01-23 15:07 UTC (permalink / raw)
  To: David Holsgrove
  Cc: gcc-patches, John Williams, Edgar E. Iglesias, Vinod Kathail,
	Vidhumouli Hunsigida, Nagaraju Mekala, Tom Shui

On 01/20/2013 09:46 PM, David Holsgrove wrote:
> gcc/Changelog
>
> 2013-01-21  David Holsgrove <david.holsgrove@xilinx.com>
>
>          * config.gcc (microblaze*-linux*): Add tmake_file to allow building
>            of microblaze-c.o
>
> libgcc/Changelog
>
> 2013-01-21  David Holsgrove <david.holsgrove@xilinx.com>
>
>          * libgcc/config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
>            to exclude functions from being built with libgcc.c and use
>            the microblaze assembly.
>

Hi David --

The patch is OK, but I'm confused about the PR mentioned.  GCC PR54662
doesn't seem to be related.

-- 
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077


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

* Re: [Patch, microblaze]: PR54662 - microblaze-linux target makefile
  2013-01-23 15:07 ` Michael Eager
@ 2013-01-23 21:14   ` David Holsgrove
  2013-01-26 16:55     ` Michael Eager
  0 siblings, 1 reply; 4+ messages in thread
From: David Holsgrove @ 2013-01-23 21:14 UTC (permalink / raw)
  To: Michael Eager
  Cc: gcc-patches, John Williams, Edgar E. Iglesias, Vinod Kathail,
	Vidhumouli Hunsigida, Nagaraju Mekala, Tom Shui

Hi Michael,

On 24 January 2013 01:07, Michael Eager <eager@eagercon.com> wrote:
> On 01/20/2013 09:46 PM, David Holsgrove wrote:
>>
>> gcc/Changelog
>>
>> 2013-01-21  David Holsgrove <david.holsgrove@xilinx.com>
>>
>>          * config.gcc (microblaze*-linux*): Add tmake_file to allow
>> building
>>            of microblaze-c.o
>>
>> libgcc/Changelog
>>
>> 2013-01-21  David Holsgrove <david.holsgrove@xilinx.com>
>>
>>          * libgcc/config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
>>            to exclude functions from being built with libgcc.c and use
>>            the microblaze assembly.
>>
>
> Hi David --
>
> The patch is OK, but I'm confused about the PR mentioned.  GCC PR54662
> doesn't seem to be related.
>

Apologies - thats a typo, the PR I meant to reference was PR54663.

thanks,
David


> --
> Michael Eager    eager@eagercon.com
> 1960 Park Blvd., Palo Alto, CA 94306  650-325-8077
>
>

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

* Re: [Patch, microblaze]: PR54662 - microblaze-linux target makefile
  2013-01-23 21:14   ` David Holsgrove
@ 2013-01-26 16:55     ` Michael Eager
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Eager @ 2013-01-26 16:55 UTC (permalink / raw)
  To: David Holsgrove
  Cc: gcc-patches, John Williams, Edgar E. Iglesias, Vinod Kathail,
	Vidhumouli Hunsigida, Nagaraju Mekala, Tom Shui

On 01/23/2013 01:13 PM, David Holsgrove wrote:
> Hi Michael,
>
> On 24 January 2013 01:07, Michael Eager <eager@eagercon.com> wrote:
>> On 01/20/2013 09:46 PM, David Holsgrove wrote:
>>>
>>> gcc/Changelog
>>>
>>> 2013-01-21  David Holsgrove <david.holsgrove@xilinx.com>
>>>
>>>           * config.gcc (microblaze*-linux*): Add tmake_file to allow
>>> building
>>>             of microblaze-c.o
>>>
>>> libgcc/Changelog
>>>
>>> 2013-01-21  David Holsgrove <david.holsgrove@xilinx.com>
>>>
>>>           * libgcc/config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
>>>             to exclude functions from being built with libgcc.c and use
>>>             the microblaze assembly.
>>>
>>
>> Hi David --
>>
>> The patch is OK, but I'm confused about the PR mentioned.  GCC PR54662
>> doesn't seem to be related.
>>
>
> Apologies - thats a typo, the PR I meant to reference was PR54663.

Committed revision 195488.

Modified ChangeLog:
gcc:
	PR target/54663
	* config.gcc (microblaze*-linux*): Add tmake_file to allow building
	of microblaze-c.o
libgcc:
	* config.host(microblaze*-linux*): tmake_file: Remove
	t-slibgcc-nolc-override, add t-slibgcc-libgcc.
	* config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
	to exclude functions from being built with libgcc.c and use
	the microblaze assembly.

-- 
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077


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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-21  5:46 [Patch, microblaze]: PR54662 - microblaze-linux target makefile David Holsgrove
2013-01-23 15:07 ` Michael Eager
2013-01-23 21:14   ` David Holsgrove
2013-01-26 16:55     ` 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).