]> git.wh0rd.org Git - elf2flt.git/commitdiff
gcc 3.1 and 3.1.1 create a .jcr ELF section, which apparently is intended to
authorErik Andersen <andersen@codepoet.org>
Wed, 31 Jul 2002 09:07:41 +0000 (09:07 +0000)
committerErik Andersen <andersen@codepoet.org>
Wed, 31 Jul 2002 09:07:41 +0000 (09:07 +0000)
contain a list of pointers to classes to be registered during constructor
invoction time.  Sigh.  So make elf2flt work with newer gcc versions.
 -Erik

elf2flt.ld

index 0f039008e12336e034d9cf95ea060dc75c8d225a..184b3812332ef6ca9905b71dd18ea50b6e440d52 100644 (file)
@@ -18,6 +18,7 @@ SECTIONS {
                *(.gnu.linkonce.t*)
                *(.glue_7t)
                *(.glue_7)
+               *(.jcr)
                *(.init)
                *(.fini)