public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/16350] gcc only understands little endian ARM systems
       [not found] <bug-16350-4@http.gcc.gnu.org/bugzilla/>
@ 2012-02-09 17:54 ` egnor at ofb dot net
  2012-02-13 23:25 ` mkl at pengutronix dot de
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 30+ messages in thread
From: egnor at ofb dot net @ 2012-02-09 17:54 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350

Dan Egnor <egnor at ofb dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egnor at ofb dot net

--- Comment #27 from Dan Egnor <egnor at ofb dot net> 2012-02-09 17:53:24 UTC ---
The precise scope of this bug is unclear to me.

Big endian Linux targets _do_ seem to work now, and -mbig-endian generates
correct code regardless; however, non-Linux big-endian targets do not seem to
be recognized as big-endian by default (which means libgcc is built in little
endian mode, etc.).

See bug 52187 (which may be a dupe of this one, depending on how you interpret
the scope of this bug).


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

* [Bug target/16350] gcc only understands little endian ARM systems
       [not found] <bug-16350-4@http.gcc.gnu.org/bugzilla/>
  2012-02-09 17:54 ` [Bug target/16350] gcc only understands little endian ARM systems egnor at ofb dot net
@ 2012-02-13 23:25 ` mkl at pengutronix dot de
  2012-02-13 23:28 ` mkl at pengutronix dot de
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 30+ messages in thread
From: mkl at pengutronix dot de @ 2012-02-13 23:25 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350

--- Comment #28 from Marc Kleine-Budde <mkl at pengutronix dot de> 2012-02-13 23:23:56 UTC ---
(In reply to comment #27)
> The precise scope of this bug is unclear to me.

It's linux specific.

> Big endian Linux targets _do_ seem to work now, and -mbig-endian generates
> correct code regardless; however, non-Linux big-endian targets do not seem to
> be recognized as big-endian by default (which means libgcc is built in little
> endian mode, etc.).
> 
> See bug 52187 (which may be a dupe of this one, depending on how you interpret
> the scope of this bug).

As Richard sid (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52187#c3) you can
activate multilib on non-linux target and have both big and little endian
libgcc.

regards, Marc


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

* [Bug target/16350] gcc only understands little endian ARM systems
       [not found] <bug-16350-4@http.gcc.gnu.org/bugzilla/>
  2012-02-09 17:54 ` [Bug target/16350] gcc only understands little endian ARM systems egnor at ofb dot net
  2012-02-13 23:25 ` mkl at pengutronix dot de
@ 2012-02-13 23:28 ` mkl at pengutronix dot de
  2013-01-09 11:37 ` sam.thursfield at codethink dot co.uk
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 30+ messages in thread
From: mkl at pengutronix dot de @ 2012-02-13 23:28 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350

--- Comment #29 from Marc Kleine-Budde <mkl at pengutronix dot de> 2012-02-13 23:24:28 UTC ---
(In reply to comment #27)
> The precise scope of this bug is unclear to me.

It's linux specific.

> Big endian Linux targets _do_ seem to work now, and -mbig-endian generates
> correct code regardless; however, non-Linux big-endian targets do not seem to
> be recognized as big-endian by default (which means libgcc is built in little
> endian mode, etc.).
> 
> See bug 52187 (which may be a dupe of this one, depending on how you interpret
> the scope of this bug).

As Richard said (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52187#c3) you can
activate multilib on non-linux target and have both big and little endian
libgcc.

regards, Marc


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

* [Bug target/16350] gcc only understands little endian ARM systems
       [not found] <bug-16350-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2012-02-13 23:28 ` mkl at pengutronix dot de
@ 2013-01-09 11:37 ` sam.thursfield at codethink dot co.uk
  2013-01-09 11:47 ` sam.thursfield at codethink dot co.uk
  2013-03-20  0:46 ` pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 30+ messages in thread
From: sam.thursfield at codethink dot co.uk @ 2013-01-09 11:37 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350

Sam Thursfield <sam.thursfield at codethink dot co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sam.thursfield at codethink
                   |                            |dot co.uk

--- Comment #30 from Sam Thursfield <sam.thursfield at codethink dot co.uk> 2013-01-09 11:36:46 UTC ---
I hit this bug trying to build a GCC 4.6.2 that defaulted to ARMv7-a
big-endian. Correct code would only be produced if "-mbig-endian" was passed
during linking so that the --be8 flag was passed to the linker, but this meant
that the compiler on my target system defaulted to producing code that didn't
work on the target system -- not pretty.

This particular issue has been fixed in 4.7.3 and later, however:

    2012-07-25  Bharathi Seshadri  <bseshadr@cisco.com>
               Jim Wilson  <jimwilso@cisco.com>

           * config/arm/bpabi.h (BE8_LINK_SPEC): Set according to
           TARGET_BIG_ENDIAN_DEFAULT.

>From http://gcc.gnu.org/git/gcc.git:

    commit c6e19dd6c296449f6d9e54d630f8198acf103d24
    Author: wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
    Date:   Wed Jul 25 20:13:46 2012 +0000

        Pass -be8 by default for armv7-a when configured big-endian.
        config/arm/bpabi.h (BE8_LINK_SPEC): Set according to
        TARGET_BIG_ENDIAN_DEFAULT.


        git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189867
            138bc75d-0d04-0410-961f-82ee72b054a4

Backporting this patch to 4.6.2 means that I now have a compiler that produces
correct code just from appending "eb" to the CPU in the target triplet and
configuring GCC with the correct --with-arch= flag.


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

* [Bug target/16350] gcc only understands little endian ARM systems
       [not found] <bug-16350-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2013-01-09 11:37 ` sam.thursfield at codethink dot co.uk
@ 2013-01-09 11:47 ` sam.thursfield at codethink dot co.uk
  2013-03-20  0:46 ` pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 30+ messages in thread
From: sam.thursfield at codethink dot co.uk @ 2013-01-09 11:47 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350

--- Comment #31 from Sam Thursfield <sam.thursfield at codethink dot co.uk> 2013-01-09 11:46:59 UTC ---
Ignore the comment about GCC 4.7.3, which doesn't even exist. Looks like the
fix is only in trunk so far.


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

* [Bug target/16350] gcc only understands little endian ARM systems
       [not found] <bug-16350-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2013-01-09 11:47 ` sam.thursfield at codethink dot co.uk
@ 2013-03-20  0:46 ` pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 30+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-03-20  0:46 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.8.0
      Known to fail|                            |

--- Comment #32 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-03-20 00:46:30 UTC ---
Fixed for 4.8.


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

* [Bug target/16350] gcc only understands little endian ARM systems
       [not found] <bug-16350-8873@http.gcc.gnu.org/bugzilla/>
                   ` (16 preceding siblings ...)
  2009-12-09 16:10 ` ramana at gcc dot gnu dot org
@ 2010-01-26 17:44 ` aldot at gcc dot gnu dot org
  17 siblings, 0 replies; 30+ messages in thread
From: aldot at gcc dot gnu dot org @ 2010-01-26 17:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #26 from aldot at gcc dot gnu dot org  2010-01-26 17:44 -------
ping.

Although nick's ChangeLog in
comment #c15
mentiones the "Use for MULTILIB_DEFAULTS" the hunk in comment #22 and #24 did
not end up in svn:

* config/arm/linux-elf.h (TARGET_ENDIAN_DEFAULT): Define based on
TARGET_BIG_ENDIAN_DEFAULT.
   Use for MULTILIB_DEFAULTS.
   (TARGET_DEFAULT): Set according to TARGET_ENDIAN_DEFAULT.


-- 

aldot at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pbrook at gcc dot gnu dot
                   |                            |org
   Last reconfirmed|2005-01-12 01:47:12         |2010-01-26 17:44:11
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350


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

* [Bug target/16350] gcc only understands little endian ARM systems
       [not found] <bug-16350-8873@http.gcc.gnu.org/bugzilla/>
                   ` (15 preceding siblings ...)
  2009-06-07 22:51 ` aldot at gcc dot gnu dot org
@ 2009-12-09 16:10 ` ramana at gcc dot gnu dot org
  2010-01-26 17:44 ` aldot at gcc dot gnu dot org
  17 siblings, 0 replies; 30+ messages in thread
From: ramana at gcc dot gnu dot org @ 2009-12-09 16:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #25 from ramana at gcc dot gnu dot org  2009-12-09 16:10 -------
*** Bug 42081 has been marked as a duplicate of this bug. ***


-- 

ramana at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tom at giftssoft dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350


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

* [Bug target/16350] gcc only understands little endian ARM systems
       [not found] <bug-16350-8873@http.gcc.gnu.org/bugzilla/>
                   ` (14 preceding siblings ...)
  2009-05-06 10:53 ` ramana at gcc dot gnu dot org
@ 2009-06-07 22:51 ` aldot at gcc dot gnu dot org
  2009-12-09 16:10 ` ramana at gcc dot gnu dot org
  2010-01-26 17:44 ` aldot at gcc dot gnu dot org
  17 siblings, 0 replies; 30+ messages in thread
From: aldot at gcc dot gnu dot org @ 2009-06-07 22:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #24 from aldot at gcc dot gnu dot org  2009-06-07 22:51 -------
Nick,

As mentioned in #22 the following hunk that was in the patch was not applied:

diff --git a/gcc/config/arm/linux-elf.h b/gcc/config/arm/linux-elf.h
index 07455ee..d8e65d2 100644
--- a/gcc/config/arm/linux-elf.h
+++ b/gcc/config/arm/linux-elf.h
@@ -51,7 +51,7 @@

 #undef  MULTILIB_DEFAULTS
 #define MULTILIB_DEFAULTS \
-       { "marm", "mlittle-endian", "mhard-float", "mno-thumb-interwork" }
+       { "marm", TARGET_ENDIAN_OPTION, "mhard-float", "mno-thumb-interwork" }

 /* Now we define the strings used to build the spec file.  */
 #undef  LIB_SPEC


Please install.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350


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

* [Bug target/16350] gcc only understands little endian ARM systems
       [not found] <bug-16350-8873@http.gcc.gnu.org/bugzilla/>
                   ` (13 preceding siblings ...)
  2008-07-04 13:19 ` pmaydell at chiark dot greenend dot org dot uk
@ 2009-05-06 10:53 ` ramana at gcc dot gnu dot org
  2009-06-07 22:51 ` aldot at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  17 siblings, 0 replies; 30+ messages in thread
From: ramana at gcc dot gnu dot org @ 2009-05-06 10:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #23 from ramana at gcc dot gnu dot org  2009-05-06 10:52 -------
*** Bug 39975 has been marked as a duplicate of this bug. ***


-- 

ramana at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ramana at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350


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

* [Bug target/16350] gcc only understands little endian ARM systems
       [not found] <bug-16350-8873@http.gcc.gnu.org/bugzilla/>
                   ` (12 preceding siblings ...)
  2007-11-22 19:01 ` patchapp at dberlin dot org
@ 2008-07-04 13:19 ` pmaydell at chiark dot greenend dot org dot uk
  2009-05-06 10:53 ` ramana at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  17 siblings, 0 replies; 30+ messages in thread
From: pmaydell at chiark dot greenend dot org dot uk @ 2008-07-04 13:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #22 from pmaydell at chiark dot greenend dot org dot uk  2008-07-04 13:18 -------
I notice that the latest patch attached to this bug report doesn't quite match
up with what was committed as per comment #15: this bit in
gcc/config/arm/linux-elf.h wasn't changed:

 #undef  MULTILIB_DEFAULTS
 #define MULTILIB_DEFAULTS \
-       { "marm", "mlittle-endian", "mhard-float", "mno-thumb-interwork" }
+       { "marm", TARGET_ENDIAN_OPTION, "mhard-float", "mno-thumb-interwork" }

I don't know if that was deliberate or not, but my guess based on the revision
log for the change is that it was accidental, since the log explicitly says
"use it for MULTILIB_DEFAULTS".


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350


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

* [Bug target/16350] gcc only understands little endian ARM systems
       [not found] <bug-16350-8873@http.gcc.gnu.org/bugzilla/>
                   ` (11 preceding siblings ...)
  2007-11-10 18:05 ` patchapp at dberlin dot org
@ 2007-11-22 19:01 ` patchapp at dberlin dot org
  2008-07-04 13:19 ` pmaydell at chiark dot greenend dot org dot uk
                   ` (4 subsequent siblings)
  17 siblings, 0 replies; 30+ messages in thread
From: patchapp at dberlin dot org @ 2007-11-22 19:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #21 from patchapp at dberlin dot org  2007-11-22 19:00 -------
Subject: Bug number PR16350

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-11/msg00362.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350


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

* [Bug target/16350] gcc only understands little endian ARM systems
       [not found] <bug-16350-8873@http.gcc.gnu.org/bugzilla/>
                   ` (10 preceding siblings ...)
  2007-11-10  3:53 ` patchapp at dberlin dot org
@ 2007-11-10 18:05 ` patchapp at dberlin dot org
  2007-11-22 19:01 ` patchapp at dberlin dot org
                   ` (5 subsequent siblings)
  17 siblings, 0 replies; 30+ messages in thread
From: patchapp at dberlin dot org @ 2007-11-10 18:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #20 from patchapp at dberlin dot org  2007-11-10 18:05 -------
Subject: Bug number PR16350

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-11/msg00358.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350


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

* [Bug target/16350] gcc only understands little endian ARM systems
       [not found] <bug-16350-8873@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2007-11-08 14:26 ` buytenh at wantstofly dot org
@ 2007-11-10  3:53 ` patchapp at dberlin dot org
  2007-11-10  3:53 ` patchapp at dberlin dot org
                   ` (7 subsequent siblings)
  17 siblings, 0 replies; 30+ messages in thread
From: patchapp at dberlin dot org @ 2007-11-10  3:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #18 from patchapp at dberlin dot org  2007-11-10 03:53 -------
Subject: Bug number PR16350

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-11/msg00358.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350


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

* [Bug target/16350] gcc only understands little endian ARM systems
       [not found] <bug-16350-8873@http.gcc.gnu.org/bugzilla/>
                   ` (9 preceding siblings ...)
  2007-11-10  3:53 ` patchapp at dberlin dot org
@ 2007-11-10  3:53 ` patchapp at dberlin dot org
  2007-11-10 18:05 ` patchapp at dberlin dot org
                   ` (6 subsequent siblings)
  17 siblings, 0 replies; 30+ messages in thread
From: patchapp at dberlin dot org @ 2007-11-10  3:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #19 from patchapp at dberlin dot org  2007-11-10 03:53 -------
Subject: Bug number PR16350

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-11/msg00362.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350


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

* [Bug target/16350] gcc only understands little endian ARM systems
       [not found] <bug-16350-8873@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2007-11-08 13:47 ` nickc at redhat dot com
@ 2007-11-08 14:26 ` buytenh at wantstofly dot org
  2007-11-10  3:53 ` patchapp at dberlin dot org
                   ` (8 subsequent siblings)
  17 siblings, 0 replies; 30+ messages in thread
From: buytenh at wantstofly dot org @ 2007-11-08 14:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from buytenh at wantstofly dot org  2007-11-08 14:26 -------
Subject: Re:  gcc only understands little endian ARM systems

When I (not Bernhard) wrote the original patch, Richard Earnshaw
didn't like the approach.  See:

        http://gcc.gnu.org/ml/gcc-patches/2005-03/msg02265.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350


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

* [Bug target/16350] gcc only understands little endian ARM systems
       [not found] <bug-16350-8873@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2007-11-08 13:44 ` nickc at gcc dot gnu dot org
@ 2007-11-08 13:47 ` nickc at redhat dot com
  2007-11-08 14:26 ` buytenh at wantstofly dot org
                   ` (9 subsequent siblings)
  17 siblings, 0 replies; 30+ messages in thread
From: nickc at redhat dot com @ 2007-11-08 13:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from nickc at redhat dot com  2007-11-08 13:47 -------
Hi Bernhard,

  I have applied your patch.  I made one small change:  I adjusted the new
comments in the header files to:

  /* TARGET_BIG_ENDIAN_DEFAULT is set in
     config.gcc for big endian configurations.  */

This was conformance with the GNU Coding Standards and also for brevity.

Cheers
  Nick


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350


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

* [Bug target/16350] gcc only understands little endian ARM systems
       [not found] <bug-16350-8873@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2007-11-07 20:50 ` aldot at gcc dot gnu dot org
@ 2007-11-08 13:44 ` nickc at gcc dot gnu dot org
  2007-11-08 13:47 ` nickc at redhat dot com
                   ` (10 subsequent siblings)
  17 siblings, 0 replies; 30+ messages in thread
From: nickc at gcc dot gnu dot org @ 2007-11-08 13:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from nickc at gcc dot gnu dot org  2007-11-08 13:44 -------
Subject: Bug 16350

Author: nickc
Date: Thu Nov  8 13:44:09 2007
New Revision: 129999

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129999
Log:
  PR target/16350
* config.gcc: For arm*b-* define TARGET_BIG_ENDIAN_DEFAULT.
* config/arm/linux-elf.h (TARGET_ENDIAN_DEFAULT): Define based on
TARGET_BIG_ENDIAN_DEFAULT.
   Use for MULTILIB_DEFAULTS.
   (TARGET_DEFAULT): Set according to TARGET_ENDIAN_DEFAULT.
   (LINUX_TARGET_LINK_SPEC): Pass -mlittle-endian on to the assembler.
* config/arm/linux-eabi.h (TARGET_LINKER_EMULATION): Set according to
TARGET_BIG_ENDIAN_DEFAULT.
   (SUBTARGET_EXTRA_LINK_SPEC): Likewise.
* gcc/config/arm/bpabi.h (TARGET_DEFAULT_MASK): Set according to
TARGET_BIG_ENDIAN_DEFAULT.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config.gcc
    trunk/gcc/config/arm/bpabi.h
    trunk/gcc/config/arm/linux-eabi.h
    trunk/gcc/config/arm/linux-elf.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350


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

* [Bug target/16350] gcc only understands little endian ARM systems
       [not found] <bug-16350-8873@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2006-11-29  9:55 ` mkl at pengutronix dot de
@ 2007-11-07 20:50 ` aldot at gcc dot gnu dot org
  2007-11-08 13:44 ` nickc at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  17 siblings, 0 replies; 30+ messages in thread
From: aldot at gcc dot gnu dot org @ 2007-11-07 20:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from aldot at gcc dot gnu dot org  2007-11-07 20:50 -------
Created an attachment (id=14503)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14503&action=view)
updated to gcc-4.3 trunk

updated against gcc-trunk (for 4.3.0)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350


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

* [Bug target/16350] gcc only understands little endian ARM systems
       [not found] <bug-16350-8873@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2006-11-03 13:49 ` mkl at pengutronix dot de
@ 2006-11-29  9:55 ` mkl at pengutronix dot de
  2007-11-07 20:50 ` aldot at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  17 siblings, 0 replies; 30+ messages in thread
From: mkl at pengutronix dot de @ 2006-11-29  9:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from mkl at pengutronix dot de  2006-11-29 09:55 -------
Created an attachment (id=12705)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12705&action=view)
fix target linker emulation for arm elf and eabi (take 3)

If you try to build a big-endian eabi toolchain, you need another fix (see
patch of gcc/config/arm/linux-eabi.h)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350


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

* [Bug target/16350] gcc only understands little endian ARM systems
       [not found] <bug-16350-8873@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2006-08-08 13:33 ` mkl at pengutronix dot de
@ 2006-11-03 13:49 ` mkl at pengutronix dot de
  2006-11-29  9:55 ` mkl at pengutronix dot de
                   ` (13 subsequent siblings)
  17 siblings, 0 replies; 30+ messages in thread
From: mkl at pengutronix dot de @ 2006-11-03 13:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from mkl at pengutronix dot de  2006-11-03 13:49 -------
Created an attachment (id=12542)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12542&action=view)
fix target linker emulation for arm elf and eabi (take 2)

If you try to build a big-endian eabi toolchain, you need another fix (see
patch of gcc/config/arm/linux-eabi.h)


-- 

mkl at pengutronix dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #12042|0                           |1
        is obsolete|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350


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

* [Bug target/16350] gcc only understands little endian ARM systems
       [not found] <bug-16350-8873@http.gcc.gnu.org/bugzilla/>
  2006-04-12  4:01 ` vapier at gentoo dot org
  2006-08-08 13:31 ` mkl at pengutronix dot de
@ 2006-08-08 13:33 ` mkl at pengutronix dot de
  2006-11-03 13:49 ` mkl at pengutronix dot de
                   ` (14 subsequent siblings)
  17 siblings, 0 replies; 30+ messages in thread
From: mkl at pengutronix dot de @ 2006-08-08 13:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from mkl at pengutronix dot de  2006-08-08 13:33 -------
(In reply to comment #9)
> Created an attachment (id=11245)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11245&action=view) [edit]
> gcc-4.1.0-arm-bigendian.patch
> 
> gcc-4.1.x needs slight tweak since all the ARM_FLAG_* defines have been cut
> this patch applies with a little fuzz to mainline

I've rediffed that patch against 4.1.1.
If you try to build a big-endian eabi toolchain, you need another fix (see
patch of gcc/config/arm/linux-eabi.h)


-- 

mkl at pengutronix dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r dot schwebel at
                   |                            |pengutronix dot de, mkl at
                   |                            |pengutronix dot de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350


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

* [Bug target/16350] gcc only understands little endian ARM systems
       [not found] <bug-16350-8873@http.gcc.gnu.org/bugzilla/>
  2006-04-12  4:01 ` vapier at gentoo dot org
@ 2006-08-08 13:31 ` mkl at pengutronix dot de
  2006-08-08 13:33 ` mkl at pengutronix dot de
                   ` (15 subsequent siblings)
  17 siblings, 0 replies; 30+ messages in thread
From: mkl at pengutronix dot de @ 2006-08-08 13:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from mkl at pengutronix dot de  2006-08-08 13:31 -------
Created an attachment (id=12042)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12042&action=view)
fix target linker emulation for arm elf and eabi


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350


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

* [Bug target/16350] gcc only understands little endian ARM systems
       [not found] <bug-16350-8873@http.gcc.gnu.org/bugzilla/>
@ 2006-04-12  4:01 ` vapier at gentoo dot org
  2006-08-08 13:31 ` mkl at pengutronix dot de
                   ` (16 subsequent siblings)
  17 siblings, 0 replies; 30+ messages in thread
From: vapier at gentoo dot org @ 2006-04-12  4:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from vapier at gentoo dot org  2006-04-12 04:01 -------
Created an attachment (id=11245)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11245&action=view)
gcc-4.1.0-arm-bigendian.patch

gcc-4.1.x needs slight tweak since all the ARM_FLAG_* defines have been cut

this patch applies with a little fuzz to mainline


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350


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

* [Bug target/16350] gcc only understands little endian ARM systems
  2004-07-03 15:45 [Bug driver/16350] New: " buytenh at wantstofly dot org
                   ` (4 preceding siblings ...)
  2004-10-13  1:20 ` pinskia at gcc dot gnu dot org
@ 2005-02-25 21:31 ` vapier at gentoo dot org
  5 siblings, 0 replies; 30+ messages in thread
From: vapier at gentoo dot org @ 2005-02-25 21:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From vapier at gentoo dot org  2005-02-25 15:49 -------
this also applies pretty nicely to 3.3.5, 3.4.2, 3.4.3, and even gcc cvs HEAD :(

one question though ... going by config/arm/arm.h, wouldnt you want to
use this logic instead ?
#if TARGET_BIG_ENDIAN_DEFAULT
#define TARGET_ENDIAN_DEFAULT ARM_FLAG_BIG_END
#else
#define TARGET_ENDIAN_DEFAULT -ARM_FLAG_BIG_END
#endif

granted i havent fully tested this change from '0' to '-ARM_FLAG_BIG_END',
but it *seems* to work :)

also, what do we have to do in order to get this into mainline gcc ?
this simple patch has been hanging around for a while :/

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350


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

* [Bug target/16350] gcc only understands little endian ARM systems
  2004-07-03 15:45 [Bug driver/16350] New: " buytenh at wantstofly dot org
                   ` (3 preceding siblings ...)
  2004-08-08 18:44 ` dank at kegel dot com
@ 2004-10-13  1:20 ` pinskia at gcc dot gnu dot org
  2005-02-25 21:31 ` vapier at gentoo dot org
  5 siblings, 0 replies; 30+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-13  1:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-13 01:20 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |patch
   Last reconfirmed|0000-00-00 00:00:00         |2004-10-13 01:20:23
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350


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

* [Bug target/16350] gcc only understands little endian ARM systems
  2004-07-03 15:45 [Bug driver/16350] New: " buytenh at wantstofly dot org
                   ` (2 preceding siblings ...)
  2004-07-03 23:41 ` dank at kegel dot com
@ 2004-08-08 18:44 ` dank at kegel dot com
  2004-10-13  1:20 ` pinskia at gcc dot gnu dot org
  2005-02-25 21:31 ` vapier at gentoo dot org
  5 siblings, 0 replies; 30+ messages in thread
From: dank at kegel dot com @ 2004-08-08 18:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dank at kegel dot com  2004-08-08 18:44 -------
He did submit it to gcc-patches; see
http://gcc.gnu.org/ml/gcc-patches/2004-07/msg00233.html
The patch seems to fix a real gcc build problem here; 
I'm adding it to crosstool for gcc-3.4.[01]. 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350


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

* [Bug target/16350] gcc only understands little endian ARM systems
  2004-07-03 15:45 [Bug driver/16350] New: " buytenh at wantstofly dot org
  2004-07-03 22:12 ` [Bug target/16350] " pinskia at gcc dot gnu dot org
  2004-07-03 22:16 ` pinskia at gcc dot gnu dot org
@ 2004-07-03 23:41 ` dank at kegel dot com
  2004-08-08 18:44 ` dank at kegel dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 30+ messages in thread
From: dank at kegel dot com @ 2004-07-03 23:41 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dank at kegel dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350


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

* [Bug target/16350] gcc only understands little endian ARM systems
  2004-07-03 15:45 [Bug driver/16350] New: " buytenh at wantstofly dot org
  2004-07-03 22:12 ` [Bug target/16350] " pinskia at gcc dot gnu dot org
@ 2004-07-03 22:16 ` pinskia at gcc dot gnu dot org
  2004-07-03 23:41 ` dank at kegel dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 30+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-03 22:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-03 22:16 -------
As aways patches goto gcc-patches@gcc.gnu.org after reading <http://gcc.gnu.org/contribute.html>.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350


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

* [Bug target/16350] gcc only understands little endian ARM systems
  2004-07-03 15:45 [Bug driver/16350] New: " buytenh at wantstofly dot org
@ 2004-07-03 22:12 ` pinskia at gcc dot gnu dot org
  2004-07-03 22:16 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 30+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-03 22:12 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|driver                      |target


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350


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

end of thread, other threads:[~2013-03-20  0:46 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-16350-4@http.gcc.gnu.org/bugzilla/>
2012-02-09 17:54 ` [Bug target/16350] gcc only understands little endian ARM systems egnor at ofb dot net
2012-02-13 23:25 ` mkl at pengutronix dot de
2012-02-13 23:28 ` mkl at pengutronix dot de
2013-01-09 11:37 ` sam.thursfield at codethink dot co.uk
2013-01-09 11:47 ` sam.thursfield at codethink dot co.uk
2013-03-20  0:46 ` pinskia at gcc dot gnu.org
     [not found] <bug-16350-8873@http.gcc.gnu.org/bugzilla/>
2006-04-12  4:01 ` vapier at gentoo dot org
2006-08-08 13:31 ` mkl at pengutronix dot de
2006-08-08 13:33 ` mkl at pengutronix dot de
2006-11-03 13:49 ` mkl at pengutronix dot de
2006-11-29  9:55 ` mkl at pengutronix dot de
2007-11-07 20:50 ` aldot at gcc dot gnu dot org
2007-11-08 13:44 ` nickc at gcc dot gnu dot org
2007-11-08 13:47 ` nickc at redhat dot com
2007-11-08 14:26 ` buytenh at wantstofly dot org
2007-11-10  3:53 ` patchapp at dberlin dot org
2007-11-10  3:53 ` patchapp at dberlin dot org
2007-11-10 18:05 ` patchapp at dberlin dot org
2007-11-22 19:01 ` patchapp at dberlin dot org
2008-07-04 13:19 ` pmaydell at chiark dot greenend dot org dot uk
2009-05-06 10:53 ` ramana at gcc dot gnu dot org
2009-06-07 22:51 ` aldot at gcc dot gnu dot org
2009-12-09 16:10 ` ramana at gcc dot gnu dot org
2010-01-26 17:44 ` aldot at gcc dot gnu dot org
2004-07-03 15:45 [Bug driver/16350] New: " buytenh at wantstofly dot org
2004-07-03 22:12 ` [Bug target/16350] " pinskia at gcc dot gnu dot org
2004-07-03 22:16 ` pinskia at gcc dot gnu dot org
2004-07-03 23:41 ` dank at kegel dot com
2004-08-08 18:44 ` dank at kegel dot com
2004-10-13  1:20 ` pinskia at gcc dot gnu dot org
2005-02-25 21:31 ` vapier at gentoo dot org

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