This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin 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]

Re: __RUNTIME_PSEUDO_RELOC_LIST__


Hi!

Tuesday, 08 October, 2002 Danny Smith danny_r_smith_2001@yahoo.co.nz wrote:

DS> The  __RUNTIME_PSEUDO_RELOC_LIST__ addition to ldscripts causes problems
DS> with ld -r -o foo.o bar.o baz.o because of multiple definitions.  This
DS> change fixes that problem, but how will it affect intended usage of the
DS> -auto-import extension?

I suppose it won't affect it. We care about __RUNTIME_PSEUDO_RELOC_LIST__
being defined only in final executable. So, this patch looks correct
to me.

DS> --- pe.sc.orig  Sun Sep 29 05:26:05 2002
DS> +++ pe.sc       Mon Oct 07 23:04:11 2002
DS> @@ -85,11 +85,11 @@ SECTIONS
DS>      *(.rdata)
DS>      ${R_RDATA}
DS>      *(.eh_frame)
DS> -     ___RUNTIME_PSEUDO_RELOC_LIST__ = .;
DS> -     __RUNTIME_PSEUDO_RELOC_LIST__ = .;
DS> +    ${RELOCATING+___RUNTIME_PSEUDO_RELOC_LIST__ = .;}
DS> +    ${RELOCATING+__RUNTIME_PSEUDO_RELOC_LIST__ = .;}
DS>      *(.rdata_runtime_pseudo_reloc)
DS> -    ___RUNTIME_PSEUDO_RELOC_LIST_END__ = .;
DS> -    __RUNTIME_PSEUDO_RELOC_LIST_END__ = .;
DS> +    ${RELOCATING+___RUNTIME_PSEUDO_RELOC_LIST_END__ = .;}
DS> +    ${RELOCATING+__RUNTIME_PSEUDO_RELOC_LIST_END__ = .;}
DS>    }
 
Egor.            mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19


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