23.3.4.16 .got Section
This section collects the global offset table from all of the application’s input
files. This section is assigned to the data memory region
(kseg1_data_mem
) with a load address located in the program memory
region (kseg0_program_mem
). A symbol is defined to represent the
location of the Global Pointer (_gp
).
_gp = ALIGN(16) + 0x7FF0 ;
.got :
{
*(.got.plt) *(.got)
} > kseg1_data_mem AT> kseg0_program_mem