wildcard doesn't work correctly in ld script
It seems ld (4.9-2015-
.foo_v0 { obj\*(.s_foo_v0) }
won't find files under directory obj, and .foo_v0 gets nothing. Here is the report from mapfile:
.s_foo_v0 0x00008664 0x1c
.s_foo_v0 0x00008664 0x1c obj\test\foo.o
.foo_v0 0x00008680 0x0
obj\*(.s_foo_v0)
Everything works fine on Cygwin, however, just need to use slash instead of backslash.
It's a known issue? Or is there a workaround?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Wei-Ren Chen
- Solved:
- Last query:
- Last reply: