Mercurial > ecos-v3_0-branch
changeset 2758:89fede1ca7da
* arch/current/src/sh.ld: Process *(.gcc_except_table.*) as for i386
architecture.
* cq7708/current/include/pkgconf/mlt_sh_sh7708_cq7708_ram.ldi,
cq7708/current/include/pkgconf/mlt_sh_sh7708_cq7708_rom.ldi,
cq7750/current/include/pkgconf/mlt_sh_sh7750_cq7750_ram.ldi,
cq7750/current/include/pkgconf/mlt_sh_sh7750_cq7750_rom.ldi,
dreamcast/current/include/pkgconf/mlt_sh_sh7750_dreamcast_ram.ldi,
edk7708/current/include/pkgconf/mlt_sh_edk7708_ram.ldi,
edk7708/current/include/pkgconf/mlt_sh_edk7708_rom.ldi,
edk7708/current/include/pkgconf/mlt_sh_edk7708_romram.ldi,
hs7729pci/current/include/pkgconf/mlt_sh_sh7729_hs7729pci_ram.ldi,
hs7729pci/current/include/pkgconf/mlt_sh_sh7729_hs7729pci_rom.ldi,
se7751/current/include/pkgconf/mlt_sh_sh7751_se7751_ram.ldi,
se7751/current/include/pkgconf/mlt_sh_sh7751_se7751_rom.ldi,
se77x9/current/include/pkgconf/mlt_sh_sh77x9_se77x9_ram.ldi,
se77x9/current/include/pkgconf/mlt_sh_sh77x9_se77x9_rom.ldi:
Add SECTION_eh_frame().
line wrap: on
line diff
--- a/packages/hal/sh/arch/current/ChangeLog +++ b/packages/hal/sh/arch/current/ChangeLog @@ -1,3 +1,8 @@ +2009-02-04 John Dallaway <john@dallaway.org.uk> + + * src/sh.ld: Process *(.gcc_except_table.*) as for i386 + architecture. + 2004-05-27 Gary Thomas <gary@mlbassoc.com> * src/redboot_linux_exec.c (do_exec): Be sensitive to value in @@ -1185,7 +1190,7 @@ 1999-04-22 Jesper Skov <jskov@lassi.cy // ####GPLCOPYRIGHTBEGIN#### // ------------------------------------------- // This file is part of eCos, the Embedded Configurable Operating System. -// Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2009 Free Software Foundation, Inc. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by
--- a/packages/hal/sh/arch/current/src/sh.ld +++ b/packages/hal/sh/arch/current/src/sh.ld @@ -8,7 +8,7 @@ // ####ECOSGPLCOPYRIGHTBEGIN#### // ------------------------------------------- // This file is part of eCos, the Embedded Configurable Operating System. -// Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2009 Free Software Foundation, Inc. // // 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 @@ -190,7 +190,9 @@ GROUP(libtarget.a libgcc.a) #define SECTION_gcc_except_table(_region_, _vma_, _lma_) \ .gcc_except_table _vma_ : _lma_ \ - { __EXCEPT_START__ = ABSOLUTE(.); *(.gcc_except_table) \ + { __EXCEPT_START__ = ABSOLUTE(.); \ + KEEP(*(.gcc_except_table)) \ + *(.gcc_except_table.*) \ __EXCEPT_END__ = ABSOLUTE(.);} \ > _region_
--- a/packages/hal/sh/cq7708/current/ChangeLog +++ b/packages/hal/sh/cq7708/current/ChangeLog @@ -1,3 +1,7 @@ +2009-02-04 John Dallaway <john@dallaway.org.uk> + + * include/pkgconf/*.ldi: Add SECTION_eh_frame(). + 2009-01-31 Bart Veer <bartv@ecoscentric.com> * cdl/hal_sh_sh7708_cq7708.cdl: update compiler flags for gcc 4.x @@ -130,7 +134,7 @@ 2000-03-30 Haruki Kashiwaya <kashiwaya // ####GPLCOPYRIGHTBEGIN#### // ------------------------------------------- // This file is part of eCos, the Embedded Configurable Operating System. -// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2009 Free Software Foundation, Inc. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by
--- a/packages/hal/sh/cq7708/current/include/pkgconf/mlt_sh_sh7708_cq7708_ram.ldi +++ b/packages/hal/sh/cq7708/current/include/pkgconf/mlt_sh_sh7708_cq7708_ram.ldi @@ -18,6 +18,7 @@ SECTIONS SECTION_rodata1 (ram, ALIGN (0x8), LMA_EQ_VMA) SECTION_rodata (ram, ALIGN (0x8), LMA_EQ_VMA) SECTION_fixup (ram, ALIGN (0x4), LMA_EQ_VMA) + SECTION_eh_frame (ram, ALIGN (0x4), LMA_EQ_VMA) SECTION_gcc_except_table (ram, ALIGN (0x1), LMA_EQ_VMA) SECTION_data (ram, ALIGN (0x8), LMA_EQ_VMA) SECTION_bss (ram, ALIGN (0x10), LMA_EQ_VMA)
--- a/packages/hal/sh/cq7708/current/include/pkgconf/mlt_sh_sh7708_cq7708_rom.ldi +++ b/packages/hal/sh/cq7708/current/include/pkgconf/mlt_sh_sh7708_cq7708_rom.ldi @@ -19,6 +19,7 @@ SECTIONS SECTION_rodata1 (rom, ALIGN (0x8), LMA_EQ_VMA) SECTION_rodata (rom, ALIGN (0x8), LMA_EQ_VMA) SECTION_fixup (rom, ALIGN (0x4), LMA_EQ_VMA) + SECTION_eh_frame (rom, ALIGN (0x4), LMA_EQ_VMA) SECTION_gcc_except_table (rom, ALIGN (0x1), LMA_EQ_VMA) SECTION_data (ram, 0xc000200, FOLLOWING (.gcc_except_table)) SECTION_bss (ram, ALIGN (0x10), LMA_EQ_VMA)
--- a/packages/hal/sh/cq7750/current/ChangeLog +++ b/packages/hal/sh/cq7750/current/ChangeLog @@ -1,3 +1,7 @@ +2009-02-04 John Dallaway <john@dallaway.org.uk> + + * include/pkgconf/*.ldi: Add SECTION_eh_frame(). + 2009-01-31 Bart Veer <bartv@ecoscentric.com> * cdl/hal_sh_sh7750_cq7750.cdl: update compiler flags for gcc 4.x
--- a/packages/hal/sh/cq7750/current/include/pkgconf/mlt_sh_sh7750_cq7750_ram.ldi +++ b/packages/hal/sh/cq7750/current/include/pkgconf/mlt_sh_sh7750_cq7750_ram.ldi @@ -18,6 +18,7 @@ SECTIONS SECTION_rodata1 (ram, ALIGN (0x8), LMA_EQ_VMA) SECTION_rodata (ram, ALIGN (0x8), LMA_EQ_VMA) SECTION_fixup (ram, ALIGN (0x4), LMA_EQ_VMA) + SECTION_eh_frame (ram, ALIGN (0x4), LMA_EQ_VMA) SECTION_gcc_except_table (ram, ALIGN (0x1), LMA_EQ_VMA) SECTION_data (ram, ALIGN (0x8), LMA_EQ_VMA) SECTION_bss (ram, ALIGN (0x10), LMA_EQ_VMA)
--- a/packages/hal/sh/cq7750/current/include/pkgconf/mlt_sh_sh7750_cq7750_rom.ldi +++ b/packages/hal/sh/cq7750/current/include/pkgconf/mlt_sh_sh7750_cq7750_rom.ldi @@ -19,6 +19,7 @@ SECTIONS SECTION_rodata1 (rom, ALIGN (0x8), LMA_EQ_VMA) SECTION_rodata (rom, ALIGN (0x8), LMA_EQ_VMA) SECTION_fixup (rom, ALIGN (0x4), LMA_EQ_VMA) + SECTION_eh_frame (rom, ALIGN (0x4), LMA_EQ_VMA) SECTION_gcc_except_table (rom, ALIGN (0x1), LMA_EQ_VMA) SECTION_data (ram, 0x8000200, FOLLOWING (.gcc_except_table)) SECTION_bss (ram, ALIGN (0x10), LMA_EQ_VMA)
--- a/packages/hal/sh/dreamcast/current/ChangeLog +++ b/packages/hal/sh/dreamcast/current/ChangeLog @@ -1,3 +1,7 @@ +2009-02-04 John Dallaway <john@dallaway.org.uk> + + * include/pkgconf/*.ldi: Add SECTION_eh_frame(). + 2009-01-31 Bart Veer <bartv@ecoscentric.com> * cdl/hal_sh_sh7750_dreamcast.cdl: update compiler flags for gcc 4.x @@ -40,7 +44,7 @@ 2001-07-30 Jesper Skov <jskov@redhat.c // ####GPLCOPYRIGHTBEGIN#### // ------------------------------------------- // This file is part of eCos, the Embedded Configurable Operating System. -// Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2009 Free Software Foundation, Inc. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by
--- a/packages/hal/sh/dreamcast/current/include/pkgconf/mlt_sh_sh7750_dreamcast_ram.ldi +++ b/packages/hal/sh/dreamcast/current/include/pkgconf/mlt_sh_sh7750_dreamcast_ram.ldi @@ -19,6 +19,7 @@ SECTIONS SECTION_rodata1 (ram, ALIGN (0x8), LMA_EQ_VMA) SECTION_rodata (ram, ALIGN (0x8), LMA_EQ_VMA) SECTION_fixup (ram, ALIGN (0x4), LMA_EQ_VMA) + SECTION_eh_frame (ram, ALIGN (0x4), LMA_EQ_VMA) SECTION_gcc_except_table (ram, ALIGN (0x1), LMA_EQ_VMA) SECTION_data (ram, ALIGN (0x8), LMA_EQ_VMA) SECTION_bss (ram, ALIGN (0x10), LMA_EQ_VMA)
--- a/packages/hal/sh/edk7708/current/ChangeLog +++ b/packages/hal/sh/edk7708/current/ChangeLog @@ -1,3 +1,7 @@ +2009-02-04 John Dallaway <john@dallaway.org.uk> + + * include/pkgconf/*.ldi: Add SECTION_eh_frame(). + 2009-01-31 Bart Veer <bartv@ecoscentric.com> * cdl/hal_sh_edk7708.cdl: update compiler flags for gcc 4.x @@ -407,7 +411,7 @@ 1999-04-22 Jesper Skov <jskov@lassi.cy // ####GPLCOPYRIGHTBEGIN#### // ------------------------------------------- // This file is part of eCos, the Embedded Configurable Operating System. -// Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2009 Free Software Foundation, Inc. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by
--- a/packages/hal/sh/edk7708/current/include/pkgconf/mlt_sh_edk7708_ram.ldi +++ b/packages/hal/sh/edk7708/current/include/pkgconf/mlt_sh_edk7708_ram.ldi @@ -18,6 +18,7 @@ SECTIONS SECTION_rodata1 (ram, ALIGN (0x8), LMA_EQ_VMA) SECTION_rodata (ram, ALIGN (0x8), LMA_EQ_VMA) SECTION_fixup (ram, ALIGN (0x4), LMA_EQ_VMA) + SECTION_eh_frame (ram, ALIGN (0x4), LMA_EQ_VMA) SECTION_gcc_except_table (ram, ALIGN (0x1), LMA_EQ_VMA) SECTION_data (ram, ALIGN (0x8), LMA_EQ_VMA) SECTION_bss (ram, ALIGN (0x10), LMA_EQ_VMA)
--- a/packages/hal/sh/edk7708/current/include/pkgconf/mlt_sh_edk7708_rom.ldi +++ b/packages/hal/sh/edk7708/current/include/pkgconf/mlt_sh_edk7708_rom.ldi @@ -19,6 +19,7 @@ SECTIONS SECTION_rodata1 (rom, ALIGN (0x8), LMA_EQ_VMA) SECTION_rodata (rom, ALIGN (0x8), LMA_EQ_VMA) SECTION_fixup (rom, ALIGN (0x4), LMA_EQ_VMA) + SECTION_eh_frame (rom, ALIGN (0x4), LMA_EQ_VMA) SECTION_gcc_except_table (rom, ALIGN (0x1), LMA_EQ_VMA) SECTION_data (ram, 0x88000200, FOLLOWING (.gcc_except_table)) SECTION_bss (ram, ALIGN (0x10), LMA_EQ_VMA)
--- a/packages/hal/sh/edk7708/current/include/pkgconf/mlt_sh_edk7708_romram.ldi +++ b/packages/hal/sh/edk7708/current/include/pkgconf/mlt_sh_edk7708_romram.ldi @@ -19,7 +19,8 @@ SECTIONS SECTION_rodata1 (ram, ALIGN (0x10), FOLLOWING (.fini)) SECTION_rodata (ram, ALIGN (0x10), FOLLOWING (.rodata1)) SECTION_fixup (ram, ALIGN (0x10), FOLLOWING (.rodata)) - SECTION_gcc_except_table (ram, ALIGN (0x10), FOLLOWING (.fixup)) + SECTION_eh_frame (ram, ALIGN (0x10), FOLLOWING (.fixup)) + SECTION_gcc_except_table (ram, ALIGN (0x10), FOLLOWING (.eh_frame)) SECTION_data (ram, ALIGN (0x10), FOLLOWING (.gcc_except_table)) SECTION_bss (ram, ALIGN (0x10), LMA_EQ_VMA) CYG_LABEL_DEFN(__heap1) = ALIGN (0x8);
--- a/packages/hal/sh/hs7729pci/current/include/pkgconf/mlt_sh_sh7729_hs7729pci_ram.ldi +++ b/packages/hal/sh/hs7729pci/current/include/pkgconf/mlt_sh_sh7729_hs7729pci_ram.ldi @@ -22,6 +22,7 @@ SECTIONS SECTION_rodata1 (ram, ALIGN (0x8), LMA_EQ_VMA) SECTION_rodata (ram, ALIGN (0x8), LMA_EQ_VMA) SECTION_fixup (ram, ALIGN (0x4), LMA_EQ_VMA) + SECTION_eh_frame (ram, ALIGN (0x4), LMA_EQ_VMA) SECTION_gcc_except_table (ram, ALIGN (0x1), LMA_EQ_VMA) SECTION_data (ram, ALIGN (0x8), LMA_EQ_VMA) SECTION_bss (ram, ALIGN (0x10), LMA_EQ_VMA)
--- a/packages/hal/sh/hs7729pci/current/include/pkgconf/mlt_sh_sh7729_hs7729pci_rom.ldi +++ b/packages/hal/sh/hs7729pci/current/include/pkgconf/mlt_sh_sh7729_hs7729pci_rom.ldi @@ -21,6 +21,7 @@ SECTIONS SECTION_rodata1 (rom, ALIGN (0x8), LMA_EQ_VMA) SECTION_rodata (rom, ALIGN (0x8), LMA_EQ_VMA) SECTION_fixup (rom, ALIGN (0x4), LMA_EQ_VMA) + SECTION_eh_frame (rom, ALIGN (0x4), LMA_EQ_VMA) SECTION_gcc_except_table (rom, ALIGN (0x1), LMA_EQ_VMA) CYG_LABEL_DEFN(__heap2) = 0x82000000; CYG_LABEL_DEFN(__heap3) = 0x89000000;
--- a/packages/hal/sh/se7751/current/ChangeLog +++ b/packages/hal/sh/se7751/current/ChangeLog @@ -1,3 +1,7 @@ +2009-02-04 John Dallaway <john@dallaway.org.uk> + + * include/pkgconf/*.ldi: Add SECTION_eh_frame(). + 2009-01-31 Bart Veer <bartv@ecoscentric.com> * cdl/hal_sh_sh7751_se7751.cdl: update compiler flags for gcc 4.x @@ -117,7 +121,7 @@ 2001-07-09 Jesper Skov <jskov@cambridg // ####GPLCOPYRIGHTBEGIN#### // ------------------------------------------- // This file is part of eCos, the Embedded Configurable Operating System. -// Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2009 Free Software Foundation, Inc. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by
--- a/packages/hal/sh/se7751/current/include/pkgconf/mlt_sh_sh7751_se7751_ram.ldi +++ b/packages/hal/sh/se7751/current/include/pkgconf/mlt_sh_sh7751_se7751_ram.ldi @@ -18,6 +18,7 @@ SECTIONS SECTION_rodata1 (ram, ALIGN (0x8), LMA_EQ_VMA) SECTION_rodata (ram, ALIGN (0x8), LMA_EQ_VMA) SECTION_fixup (ram, ALIGN (0x4), LMA_EQ_VMA) + SECTION_eh_frame (ram, ALIGN (0x4), LMA_EQ_VMA) SECTION_gcc_except_table (ram, ALIGN (0x1), LMA_EQ_VMA) SECTION_data (ram, ALIGN (0x8), LMA_EQ_VMA) SECTION_bss (ram, ALIGN (0x10), LMA_EQ_VMA)
--- a/packages/hal/sh/se7751/current/include/pkgconf/mlt_sh_sh7751_se7751_rom.ldi +++ b/packages/hal/sh/se7751/current/include/pkgconf/mlt_sh_sh7751_se7751_rom.ldi @@ -21,6 +21,7 @@ SECTIONS SECTION_rodata1 (rom, ALIGN (0x8), LMA_EQ_VMA) SECTION_rodata (rom, ALIGN (0x8), LMA_EQ_VMA) SECTION_fixup (rom, ALIGN (0x4), LMA_EQ_VMA) + SECTION_eh_frame (rom, ALIGN (0x4), LMA_EQ_VMA) SECTION_gcc_except_table (rom, ALIGN (0x1), LMA_EQ_VMA) CYG_LABEL_DEFN(__reserved) = 0x8c000000; . = CYG_LABEL_DEFN(__reserved) + 0x200; SECTION_data (ram, ALIGN (0x1), FOLLOWING (.gcc_except_table))
--- a/packages/hal/sh/se77x9/current/ChangeLog +++ b/packages/hal/sh/se77x9/current/ChangeLog @@ -1,3 +1,7 @@ +2009-02-04 John Dallaway <john@dallaway.org.uk> + + * include/pkgconf/*.ldi: Add SECTION_eh_frame(). + 2009-01-31 Bart Veer <bartv@ecoscentric.com> * cdl/hal_sh_sh77x9_se77x9.cdl: update compiler flags for gcc 4.x @@ -145,7 +149,7 @@ 2001-06-12 Jesper Skov <jskov@cambridg // ####GPLCOPYRIGHTBEGIN#### // ------------------------------------------- // This file is part of eCos, the Embedded Configurable Operating System. -// Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2009 Free Software Foundation, Inc. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by
--- a/packages/hal/sh/se77x9/current/include/pkgconf/mlt_sh_sh77x9_se77x9_ram.ldi +++ b/packages/hal/sh/se77x9/current/include/pkgconf/mlt_sh_sh77x9_se77x9_ram.ldi @@ -18,6 +18,7 @@ SECTIONS SECTION_rodata1 (ram, ALIGN (0x8), LMA_EQ_VMA) SECTION_rodata (ram, ALIGN (0x8), LMA_EQ_VMA) SECTION_fixup (ram, ALIGN (0x4), LMA_EQ_VMA) + SECTION_eh_frame (ram, ALIGN (0x4), LMA_EQ_VMA) SECTION_gcc_except_table (ram, ALIGN (0x1), LMA_EQ_VMA) SECTION_data (ram, ALIGN (0x8), LMA_EQ_VMA) SECTION_bss (ram, ALIGN (0x10), LMA_EQ_VMA)
--- a/packages/hal/sh/se77x9/current/include/pkgconf/mlt_sh_sh77x9_se77x9_rom.ldi +++ b/packages/hal/sh/se77x9/current/include/pkgconf/mlt_sh_sh77x9_se77x9_rom.ldi @@ -19,6 +19,7 @@ SECTIONS SECTION_rodata1 (rom, ALIGN (0x8), LMA_EQ_VMA) SECTION_rodata (rom, ALIGN (0x8), LMA_EQ_VMA) SECTION_fixup (rom, ALIGN (0x4), LMA_EQ_VMA) + SECTION_eh_frame (rom, ALIGN (0x4), LMA_EQ_VMA) SECTION_gcc_except_table (rom, ALIGN (0x1), LMA_EQ_VMA) CYG_LABEL_DEFN(__reserved) = 0x8c000000; . = CYG_LABEL_DEFN(__reserved) + 0x200; SECTION_data (ram, ALIGN (0x1), FOLLOWING (.gcc_except_table))
