Next: , Previous: , Up: Machine Dependent   [Contents][Index]


5.5 ld and the Motorola 68K family

The --got=type option lets you choose the GOT generation scheme. The choices are single, negative, multigot and target. When target is selected the linker chooses the default GOT generation scheme for the current target. single tells the linker to generate a single GOT with entries only at non-negative offsets. negative instructs the linker to generate a single GOT with entries at both negative and positive offsets. Not all environments support such GOTs. multigot allows the linker to generate several GOTs in the output file. All GOT references from a single input object file access the same GOT, but references from different input object files might access different GOTs. Not all environments support such GOTs.