From: Erik Andersen Date: Wed, 31 Jul 2002 09:07:41 +0000 (+0000) Subject: gcc 3.1 and 3.1.1 create a .jcr ELF section, which apparently is intended to X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=6266d15a11ed19dfaaf825a83ed03044cf94cdca;p=elf2flt.git gcc 3.1 and 3.1.1 create a .jcr ELF section, which apparently is intended to contain a list of pointers to classes to be registered during constructor invoction time. Sigh. So make elf2flt work with newer gcc versions. -Erik --- diff --git a/elf2flt.ld b/elf2flt.ld index 0f03900..184b381 100644 --- a/elf2flt.ld +++ b/elf2flt.ld @@ -18,6 +18,7 @@ SECTIONS { *(.gnu.linkonce.t*) *(.glue_7t) *(.glue_7) + *(.jcr) *(.init) *(.fini)