1 #name: GOT dump (readelf -A) test 1 2 #source: got-dump-1.s 3 #as: -mips3 4 #ld: -Tgot-dump-1.ld -shared 5 #readelf: -A 6 7 Primary GOT: 8 Canonical gp value: 00068000 9 10 Reserved entries: 11 Address Access Initial Purpose 12 00060010 -32752\(gp\) 00000000 Lazy resolver 13 00060014 -32748\(gp\) 80000000 Module pointer \(GNU extension\) 14 15 Local entries: 16 Address Access Initial 17 00060018 -32744\(gp\) 00060000 18 0006001c -32740\(gp\) 00060004 19 20 Global entries: 21 Address Access Initial Sym.Val. Type Ndx Name 22 00060020 -32736\(gp\) 00050020 00050020 FUNC UND extern 23 00060024 -32732\(gp\) 00050000 00050000 FUNC 7 glob 24 00060028 -32728\(gp\) 00000000 00000000 NOTYPE UND undef 25 26