BFD patch to fix Mungw32 problem (Better Solution!!)

Mikey jeffdbREMOVETHIS@goodnet.com
Sat Mar 27 16:08:00 GMT 1999


Finally!!!

in ld/scripttempl/pe.sc

  .reloc ${RELOCATING+BLOCK(__section_alignment__)} :
  { 			
    reloc_start_addr__ = .;		
    *(.reloc)
    reloc_end_addr__ = .;
    . += ( reloc_end_addr__ - reloc_start_addr__ ) ? 5 : 0 ;
  } =0x0000

This works without adding a .reloc section to all images!!

On Thu, 11 Mar 1999 19:15:18 +0200, you wrote:

>Hello Bfd@cygnus.com,,
>
>  Recently I proposed patch to workaround mingw32/win95 bug with
>producing incorrect dll's. However, that patch broke handling of other
>coff formats. New version explicitly applies only to PE images (format
>pei).
>
>Best regards,
> Paul                          mailto:paul-ml@is.lg.ua




More information about the Bfd mailing list