This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cxxsupp test on i386 and MIPS32


These patches resolve a link error building the cxxsupp test. Checked-in.

John Dallaway
Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/mips/mips32/current/ChangeLog,v
retrieving revision 1.10
diff -u -5 -r1.10 ChangeLog
--- ChangeLog	22 Apr 2004 15:26:41 -0000	1.10
+++ ChangeLog	5 Dec 2008 08:21:06 -0000
@@ -1,5 +1,15 @@
+2005-06-10  Jonathan Larmour  <jifl@eCosCentric.com>
+
+	* src/mips_mips32.ld: gcc_except_table subsections don't need to be
+	kept.
+
+2005-06-06  Jonathan Larmour  <jifl@eCosCentric.com>
+
+	* src/mips_mip32.ld (SECTION_gcc_except_table): Mark gcc_except_table
+	as KEEP.
+
 2004-04-22  Jani Monoses <jani@iv.ro>
 
 	 * cdl/hal_mips_mips32.cdl :
 	 Invoke tail with stricter syntax that works in latest coreutils. 
 
Index: src/mips_mips32.ld
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/mips/mips32/current/src/mips_mips32.ld,v
retrieving revision 1.5
diff -u -5 -r1.5 mips_mips32.ld
--- src/mips_mips32.ld	10 Apr 2003 18:07:54 -0000	1.5
+++ src/mips_mips32.ld	5 Dec 2008 08:21:07 -0000
@@ -5,10 +5,11 @@
 //===========================================================================
 //####ECOSGPLCOPYRIGHTBEGIN####
 // -------------------------------------------
 // This file is part of eCos, the Embedded Configurable Operating System.
 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
+// Copyright (C) 2005 eCosCentric Limited
 //
 // eCos is free software; you can redistribute it and/or modify it under
 // the terms of the GNU General Public License as published by the Free
 // Software Foundation; either version 2 or (at your option) any later version.
 //
@@ -222,14 +223,15 @@
   .eh_frame _vma_ : _lma_                             \
     {                                                 \
        FORCE_OUTPUT; *(.eh_frame)                     \
     } > _region_
 
-#define SECTION_gcc_except_table(_region_, _vma_, _lma_) \
-  .gcc_except_table _vma_ : _lma_                        \
-    {                                                    \
-      FORCE_OUTPUT; *(.gcc_except_table)                 \
+#define SECTION_gcc_except_table(_region_, _vma_, _lma_)      \
+  .gcc_except_table _vma_ : _lma_                             \
+    { FORCE_OUTPUT;                                           \
+      KEEP(*(.gcc_except_table))                              \
+      *(.gcc_except_table.*)                                  \
     } > _region_
 
 
     /* gcc uses crtbegin.o to find the start of
        the constructors, so we make sure it is
Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/i386/arch/current/ChangeLog,v
retrieving revision 1.48
diff -u -5 -r1.48 ChangeLog
--- ChangeLog	20 Sep 2005 12:14:08 -0000	1.48
+++ ChangeLog	5 Dec 2008 08:13:37 -0000
@@ -4,10 +4,19 @@
 
 2005-07-18  David Vrabel  <dvrabel@arcom.com>
 
 	* include/hal_arch.h: #define CYGARC_VIRTUAL_ADDRESS.
 
+2005-06-10  Jonathan Larmour  <jifl@eCosCentric.com>
+
+	* src/i386.ld: gcc_except_table subsections don't need to be
+	kept.
+
+2005-06-03  Jonathan Larmour  <jifl@eCosCentric.com>
+
+	* src/i386.ld: gcc_except_table needs to be marked KEEP.
+
 2005-04-22  David Vrabel  <dvrabel@arcom.com>
 
 	* cdl/hal_i386.cdl (CYGHWR_REDBOOT_I386_TRAMPOLINE_ADDRESS): Don't
 	require CYGINT_HAL_I386_PCMB_SCREEN_SUPPORT so we can use the exec
 	command on platforms without a screen.
Index: src/i386.ld
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/i386/arch/current/src/i386.ld,v
retrieving revision 1.15
diff -u -5 -r1.15 i386.ld
--- src/i386.ld	21 Apr 2005 18:31:56 -0000	1.15
+++ src/i386.ld	5 Dec 2008 08:13:37 -0000
@@ -7,10 +7,11 @@
 //==========================================================================
 //####ECOSGPLCOPYRIGHTBEGIN####
 // -------------------------------------------
 // This file is part of eCos, the Embedded Configurable Operating System.
 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
+// Copyright (C) 2005 eCosCentric Limited
 //
 // eCos is free software; you can redistribute it and/or modify it under
 // the terms of the GNU General Public License as published by the Free
 // Software Foundation; either version 2 or (at your option) any later version.
 //
@@ -98,13 +99,15 @@
     .fixup _vma_ : _lma_                                                       \
     { _FIXUP_START_ = ABSOLUTE(.); *(.fixup) _FIXUP_END_ = ABSOLUTE(.);} \
     > _region_
 
 #define SECTION_gcc_except_table(_region_, _vma_, _lma_)       \
-    .gcc_except_table _vma_ : _lma_                                           \
-    { _EXCEPT_START_ = ABSOLUTE(.); *(.gcc_except_table)                \
-      _EXCEPT_END_ = ABSOLUTE(.);}                                      \
+    .gcc_except_table _vma_ : _lma_                            \
+    { _EXCEPT_START_ = ABSOLUTE(.);                            \
+      KEEP(*(.gcc_except_table))                               \
+      *(.gcc_except_table.*)                                   \
+      _EXCEPT_END_ = ABSOLUTE(.);}                             \
     > _region_
 
 // Note: The __ in the name is an encoding of the .
 #define SECTION_rel__got(_region_, _vma_, _lma_)                                \
     .rel.text _vma_ : _lma_ { *(.rel.text*) *(.rel.gnu.linkonce*) } > _region_  \

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