This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

arm-elf breakage


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]