Assignment  2  (Marks 10)

                           gcc -Wall -O0  -c what.c
      
             You get the relocatable file (object module)  what.o.  Use the file command to see its type -                               file what.o
              sections are also available in /usr/include/sys/elf.h  and in /usr/include/sys/elf_SPARC.h on SunFire.
                            elfdump -s what.o   
                      
                 it shows the content of the symbol table of the ELF object module.
                (.symtab).
      1. Total number of entries in the symbol table
      2. Symbol name e.g. data1, merge etc.
      3. Type of the symbol e.g. function, object etc.
      4. Binding of a symbol - local or global
      5. Size for a function and also for an object                             
             You are not suppose to use elfdump or such system utility                                 merge.o.dump   Lecture II (ps) (pdf)