Modify the linker script to match the generated binary
[pintos-anon] / src / threads / kernel.lds.S
index 19082d5d3896111dae63de572d7ef5649e8220d3..4840202174311572aa5112d6e6c9d5fcf2429ac4 100644 (file)
@@ -16,9 +16,12 @@ SECTIONS
   .rodata : { *(.rodata) *(.rodata.*) 
              . = ALIGN(0x1000); 
              _end_kernel_text = .; }
+  .eh_frame : { *(.eh_frame) }
   .data : { *(.data) 
            _signature = .; LONG(0xaa55aa55) }
 
+  .plt : { *(.plt*) }
+
   /* BSS (zero-initialized data) is after everything else. */
   _start_bss = .;
   .bss : { *(.bss) }