7Fermer9
PpHdLe 26/02/2008 à 23:08
Ajout du support de __ld_archive_start :
--- ld-tigcc.orig/special.c     2005-08-03 02:31:49.000000000 +0200
+++ ld-tigcc/special.c  2008-02-26 23:06:22.000000000 +0100
@@ -789,6 +792,18 @@
                                else
                                        return TRUE;
                        }
+#ifdef FLASH_OS_SUPPORT
+                        else if (SymNameMatches ("archive_start"))
+                          {
+                               if (Program->ResolveAllBuiltins && Program->MainSection)
+                                  {
+                                    SetToEntryPoint = TRUE;
+                                    NewValue = (OFFSET) ((unsigned long) (Program->MainSection->Size + 65535) & ~65535UL) - 0x02000;
+                                  }
+                               else
+                                  return TRUE;
+                          }
+#endif
                        else if (SymNameMatches ("kernel_export_table"))
                        {
                                BOOLEAN HasExports = FALSE;

PpHd (./5) :
Je suppose qu'il n'y a pas d'infrastructure pour simplifier le passage ABS32 -> ABS16. Tout est à faire ? Parce que sans çà, je ne commence pas à le faire.


En fait il y a des trucs. Reste à voir ce que je peux reprendre.