This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/5372] [powerpc-*-eabi] -mno-eabi not working
- 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: 2 Jan 2004 06:15:10 -0000
- Subject: [Bug target/5372] [powerpc-*-eabi] -mno-eabi not working
- References: <20020114020601.5372.antti-pekka.virjonen@computec.fi>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-02 06:15 -------
Reconfirmed, the problem is that the header file eabi.h contains this:
/* Invoke an initializer function to set up the GOT. */
#define NAME__MAIN "__eabi"
#define INVOKE__main
So it is defined always and HAS_INIT_SECTION is not defined so __eabi is aways called
which goes against the documentation but I think the documentation is wrong and this is
the correct behavior.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords|wrong-code |documentation
Last reconfirmed|2003-06-28 19:52:04 |2004-01-02 06:15:10
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5372