Bug 753 - ld 2.13.90 from mingw 3.3.1 cores on malformatted .def file
Summary: ld 2.13.90 from mingw 3.3.1 cores on malformatted .def file
Status: RESOLVED WORKSFORME
Alias: None
Product: binutils
Classification: Unclassified
Component: ld (show other bugs)
Version: pre-2.15
: P2 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-19 06:37 UTC by Huw Rogers
Modified: 2022-06-22 06:23 UTC (History)
1 user (show)

See Also:
Host: i386-pc-mingw32
Target: i386-pc-mingw32
Build: i386-pc-mingw32
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Huw Rogers 2005-02-19 06:37:00 UTC
when linking a DLL with a .DEF file, if the BASE directive in the .DEF
file is not of the form "BASE=0x1c000000" but e.g. "BASE 0x1c000000" or
some other malformatting, ld crashes with a memory access violation.
Comment 1 Nick Clifton 2005-02-21 17:41:56 UTC
Subject: Re:  New: ld 2.13.90 from mingw 3.3.1 cores on malformatted
 .def file

Hi,

> when linking a DLL with a .DEF file, if the BASE directive in the .DEF
> file is not of the form "BASE=0x1c000000" but e.g. "BASE 0x1c000000" or
> some other malformatting, ld crashes with a memory access violation.

Please could you try using the current binutils sources from the 
mainline of the CVS repository.  It may well be that the bug has already 
been fixed.

If not, then please could you post a small test case that will reproduce 
the problem.

Cheers
   Nick


Comment 2 Ben Elliston 2006-03-29 05:44:16 UTC
By modifying a simple DEF file based on the example in the ld info pages, I get:

  ./ld-new: foo.def:1: syntax error

I think this has already been fixed.  Moreover, there has been no response from
the bug reporter in over a year.