This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/29413] -EB / -EL don't properly affect gcc predefined symbols
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Oct 2006 07:27:20 -0000
- Subject: [Bug target/29413] -EB / -EL don't properly affect gcc predefined symbols
- References: <bug-29413-13389@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pinskia at gcc dot gnu dot org 2006-10-12 07:27 -------
Actually it was only caused recently for mips-linux (non64bit):
2002-08-02 Eric Christopher <echristo@redhat.com>
* config.gcc (mips*-*-linux*): Fix ordering of tm_file.
* config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Change
#ifndef to #undef.
(TARGET_MEM_FUNCTIONS): Define instead of define to 1.
mips64-linux-gnu was always wrong.
The correct order was in
http://gcc.gnu.org/ml/gcc-patches/2002-07/msg01743.html
But was wrong before that patch
And then was broken again with
http://gcc.gnu.org/ml/gcc-patches/2002-08/msg00204.html
The not having the define means we are also creating wrong code.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC target triplet|mips*-linux |mips*-linux*
Keywords| |wrong-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29413