This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
arm-elf breakage
- To: gcc-patches at gcc dot gnu dot org
- Subject: arm-elf breakage
- From: Fred Fish <fnf at fishpond dot ninemoons dot com>
- Date: Thu, 23 Aug 2001 12:37:44 -0700 (MST)
- Cc: fnf at ninemoons dot com
- Reply-To: fnf at ninemoons dot com
Recent changes have broken --target=arm-elf builds. The following
patch seems to fix it for me:
Index: arm/unknown-elf.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/arm/unknown-elf.h,v
retrieving revision 1.20
diff -u -p -r1.20 unknown-elf.h
--- unknown-elf.h 2001/08/13 22:05:16 1.20
+++ unknown-elf.h 2001/08/23 19:40:39
@@ -37,7 +37,9 @@ Boston, MA 02111-1307, USA. */
#define USER_LABEL_PREFIX ""
#define LOCAL_LABEL_PREFIX "."
-#define TEXT_SECTION " .text"
+#define TEXT_SECTION_ASM_OP "\t.text"
+#define INIT_SECTION_ASM_OP "\t.section\t.init"
+#define FINI_SECTION_ASM_OP "\t.section\t.fini"
#define INVOKE__main
I'm not submitting it as a formal patch at this time since I'm not
entirely sure that this is really the best solution to the new build
problems. It's submitted more as a "heads up, there's a problem
here..." and perhaps one of the ARM maintainers can fix it for real.
-Fred