Sample Header Ad - 728x90

What are the possible scl values in objdump?

0 votes
1 answer
73 views
The [objdump man page](https://linux.die.net/man/1/objdump) gives the following example output from objdump -t: > The format of the output depends upon the format of the file being dumped, but there are two main types. One looks like this: > >
> [  4](sec  3)(fl 0x00)(ty   0)(scl   3) (nx 1) 0x00000000 .bss
> [  6](sec  1)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x00000000 fred
>
> > where the number inside the square brackets is the number of the entry in the symbol table, the sec number is the section number, the fl value are the symbol's flag bits, the ty number is the symbol's type, the scl number is the symbol's storage class and the nx value is the number of auxilary entries associated with the symbol. The last two fields are the symbol's value and its name. So scl means storage class, but it never explains what scl 3 or scl 2 actually mean. Where can that information be found?
Asked by Alex Henrie (869 rep)
Jun 21, 2023, 04:03 AM
Last activity: Jun 21, 2023, 08:01 AM