By default, symbols aren't visible outside of the module that defines
them. To make them visible, they must be exported. The easiest way to do
that is to embed an -export:symname directive into the object file.
Details
Diff Detail
- Repository
- rUNW libunwind
- Build Status
Buildable 22117 Build 22117: arc lint + arc unit
Event Timeline
src/assembly.h | ||
---|---|---|
76–78 | Maybe .pushsection / .popsection is better than assuming you were in .text. |
src/assembly.h | ||
---|---|---|
76–78 | I initially wanted to do that, but those directives aren't supported by COFF. Neither, by the way, is .previous. Perhaps this needs to be fixed in LLVM. |
lgtm
src/assembly.h | ||
---|---|---|
76–78 | Huh, I guess neither does gas. .text is fine then. I'll file a bug to implement those directives for COFF. They're pretty handy, especially for an object file format that uses comdat sections so frequently. |
Maybe .pushsection / .popsection is better than assuming you were in .text.