delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/06/04/12:34:03

From: cgf AT cygnus DOT com (Christopher G. Faylor)
Subject: Re: ld bug
4 Jun 1998 12:34:03 GMT :
Message-ID: <6l647r$5cj$1@cronkite.cygnus.com>
References: <01BD81EB DOT 237E9D80 AT sos> <199806012122 DOT RAA03064 DOT cygnus DOT cygwin32 DOT developers AT subrogation DOT cygnus DOT com>
X-Newsreader: trn 4.0-test63 (15 March 1998)

In article <199806012122 DOT RAA03064 DOT cygnus DOT cygwin32 DOT developers AT subrogation DOT cygnus DOT com>,
Ian Lance Taylor <ian AT cygnus DOT com> wrote:
>   From: Sergey Okhapkin <sos AT buggy DOT prospect DOT com DOT ru>
>   Date: Sun, 17 May 1998 23:25:53 +0400
>
>   If input objects contains a section not defined in a linker's script, ld 
>   produces "invalid Windows NT image" because this section is not aligned on 
>   a page boundary. Try to compile:
>
>   int __attribute__((section("mysection"))) i;
>   main(){}
>
>If anybody is interested, the place to fix this is
>gld_${EMULATION_NAME}_place_orphan in ld/emultempl/pe.em.

I'm not gonna fix it.  Let's get Mikey, he'll fix any linker bug!

Hey Mikey!

cgf
(showing his age)
-- 
cgf AT cygnus DOT com             "Everything has a boolean value, if you stand
http://www.cygnus.com/      far enough away from it."  -- Galena Alyson Canada

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019