Opened 12 years ago

Closed 12 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 Changed 12 years ago by bird

  • Resolution set to fixed
  • Status changed from new to closed

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.