RIght now darwin doesn't build for me (something for goolge to find):

Undefined symbols:
  "LPR2", referenced from:
      ___mulsc3 in _mulsc3_s.o
      ___muldc3 in _muldc3_s.o
      ___mulxc3 in _mulxc3_s.o


I think it is due to a updated macports bit that I've not tracked down.  :-(

I've not seen the build failure this fixes, but others have, so I'm applying 
it.  I've built cc1, which is the most I can do right now.

2011-06-16  Iain Sandoe  <ia...@gcc.gnu.org>

        * config/darwin-protos.h (machopic_select_rtx_section): Move to
        inside RTX_CODE ifdef.

2011-06-16  Iain Sandoe  <ia...@gcc.gnu.org>

        * config/darwin-protos.h (machopic_select_rtx_section): Move to
        inside RTX_CODE ifdef.

Index: config/darwin-protos.h
===================================================================
--- config/darwin-protos.h      (revision 175089)
+++ config/darwin-protos.h      (working copy)
@@ -40,6 +40,8 @@ extern rtx machopic_legitimize_pic_addre
 
 extern void machopic_asm_out_constructor (rtx, int);
 extern void machopic_asm_out_destructor (rtx, int);
+extern section *machopic_select_rtx_section (enum machine_mode, rtx,
+                                            unsigned HOST_WIDE_INT);
 #endif /* RTX_CODE */
 
 #ifdef TREE_CODE
@@ -54,8 +56,6 @@ extern void machopic_finish (FILE *);
 
 extern int machopic_reloc_rw_mask (void);
 extern section *machopic_select_section (tree, int, unsigned HOST_WIDE_INT);
-extern section *machopic_select_rtx_section (enum machine_mode, rtx,
-                                            unsigned HOST_WIDE_INT);
 
 extern section *darwin_function_section (tree, enum node_frequency, bool, 
bool); 
 extern void darwin_function_switched_text_sections (FILE *, tree, bool);

Reply via email to