how can I get GAS to output symbols marked IMAGE_SYM_ABSOLUTE

Ian Lance Taylor ian@wasabisystems.com
Tue Oct 14 17:02:00 GMT 2003


Jonathan Wilson <jonwil@tpgi.com.au> writes:

> Basicly, I want my output obj file to contain 2 symbols.
> The first one should be named @comp.id with a value of 000E1C83, a
> section number of IMAGE_SYM_ABSOLUTE (aka -2), a type of 0, a
> StorageClass of IMAGE_SYM_CLASS_STATIC (aka 3) and 0 aux symbols.
> The second one should be named __tls_array with a value of 0000002C, a
> section number of IMAGE_SYM_ABSOLUTE (aka -2), a type of 0, a
> StorageClass of IMAGE_SYM_CLASS_EXTERNAL and 0 aux symbols.

Untested:

    @comp.id = 0xe1c83
    __tls_array = 0x2c
    .globl __tls_array

Ian



More information about the Binutils mailing list