> http://developer.apple.com/documentation/DeveloperTools/Conceptual/MachORuntime/index.html
> Does that page describe the "dynamic" features you are talking about? No, it can't be. Objective-C has its runtime method dispatch and a message is equiverent to plain string. And I'm thinking about more compact one. > If not, do you have pointers to a description of the features > you're talking about? Okey with this. And assigning arbitrary value to symbol_ref must be able. ------------------------------------------------------------------------ 11.7 Constant Expression Types ============================== ... `(const:M EXP)' Represents a constant that is the result of an assembly-time arithmetic computation. The operand, EXP, is an expression that contains only constants (`const_int', `symbol_ref' and `label_ref' expressions) combined with `plus' and `minus'. However, not all combinations are valid, since the assembler cannot do arbitrary arithmetic on relocatable symbols. M should be `Pmode'. ------------------------------------------------------------------------ By the way, maybe comdat is like, ---- foo.h ----- @linkonce ( int A=10; int add_A {int x) { return x+A; } ) ----------------- ---- file1.c ---- #incluide "foo.h" ----------------- ---- file2.c ---- #incluide "foo.h" ----------------- ---- file3.c ---- #incluide "foo.h" ----------------- --- Mikiya Matsuzaka