Opened 19 years ago

Closed 19 years ago

#34 closed defect (fixed)

weakld: generate duplicate weak aliases

Reported by: bird Owned by: bird
Priority: highest Milestone: libc-0.6.1
Component: emx Version: 0.6
Severity: blocker Keywords: weakld
Cc:

Description

weakld sometimes (wonder if symbol hashing is required) outputs more than one alias for the same weak symbol. This naturally causes some serious screwup in the binary... ilink gives this warning when it sees the duplicate alias: R:\TMP\wk101643e4c0f21cf468.obj(wk0.obj) : warning LNK4080: changing substitute name for alias "snip" from "snip" to "snip".

Change History (1)

comment:1 by bird, 19 years ago

Resolution: fixed
Status: newclosed

The hashing changes in emxomf broke some silly attempt at keeping track of truncated symbols in weakld (emxomfld). I've removed the silliness and the testcase I've got works ok now, without any warnings.

Note: See TracTickets for help on using tickets.