OSDN Git Service

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 0f03900..184b381 100644 (file)
@@ -18,6 +18,7 @@ SECTIONS {
                *(.gnu.linkonce.t*)
                *(.glue_7t)
                *(.glue_7)
+               *(.jcr)
                *(.init)
                *(.fini)