What is the difference between .got and .got.plt section?
What is the difference between .got and .got.plt section in ELF format? My previous comment turns to be right, the example below makes things a bit clear. These are the relocations for my 32 bits i686-linux /lib/libm.so Relocation section '.rel.dyn' at offset 0x32b8 contains 8 entries: Offset Info Type Sym.Value Sym. Name 00025030 00000008 R_386_RELATIVE 00024fd8 00005706 R_386_GLOB_DAT 00025034 _LIB_VERSION 00024fdc 00000406 R_386_GLOB_DAT 00000000 __gmon_start__ 00024fe0 00000506 R_386_GLOB_DAT 00000000 _Jv_RegisterClasses 00024fe4 00000806 R_386_GLOB_DAT 00000000 _rtld_global_ro 00024fe8