| Index: src/IceELFObjectWriter.h
|
| diff --git a/src/IceELFObjectWriter.h b/src/IceELFObjectWriter.h
|
| index 74fee5eb53808c646dbb22080745696acdfa4809..6c44ed5e993e70dbf094d6f4f2c73464072c98c3 100644
|
| --- a/src/IceELFObjectWriter.h
|
| +++ b/src/IceELFObjectWriter.h
|
| @@ -33,7 +33,8 @@ namespace Ice {
|
| // (2) writeDataSection (invoke once)
|
| // (3) writeFunctionCode (must invoke once per function)
|
| // (4) writeConstantPool (must invoke once per pooled primitive type)
|
| -// (5) writeNonUserSections (invoke once)
|
| +// (5) setUndefinedSyms (invoke once)
|
| +// (6) writeNonUserSections (invoke once)
|
| //
|
| // The requirement for writeDataSection to be invoked only once can
|
| // be relaxed if using -fdata-sections. The requirement to invoke only once
|
| @@ -76,6 +77,9 @@ public:
|
| // fills the symbol table with labels for each constant pool entry.
|
| template <typename ConstType> void writeConstantPool(Type Ty);
|
|
|
| + // Populate the symbol table with a list of external/undefined symbols.
|
| + void setUndefinedSyms(const ConstantList &UndefSyms);
|
| +
|
| // Do final layout and write out the rest of the object file.
|
| // Finally, patch up the initial ELF header with the final info.
|
| void writeNonUserSections();
|
|
|