Skip to content

Fix failure while parsing '-' in directive - #127

Merged
dra27 merged 1 commit into
ocaml:masterfrom
rzabarazesh:master
Dec 19, 2023
Merged

dra27 merged 1 commit into
ocaml:masterfrom
rzabarazesh:master

Conversation

@rzabarazesh

Copy link
Copy Markdown

This fixes #126

@dra27 dra27 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks! The COFF spec is vague on the exact format (bordering on incorrect, given that it says options should begin with - yet the MS C compiler embeds options beginning /!). I can see that this capability was added to GNU ld within the last 18 months, so I guess we're just starting to see it trickle through in actual objects.

@dra27
dra27 merged commit bad2ad1 into ocaml:master Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

** Fatal error: Cannot parse directive: -exclude-symbols:__alloca

2 participants