From d82d72fa6d50f2df0803e790c552aa84ae6721ce Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Fri, 13 May 2011 19:17:10 +0000 Subject: [PATCH] [CMAKE] revert changes to the kernel's linker script, its not used in cmake branch svn path=/branches/cmake-bringup/; revision=51705 --- ntoskrnl/ntoskrnl_i386.lnk | 43 ++++++++++---------------------------- 1 file changed, 11 insertions(+), 32 deletions(-) diff --git a/ntoskrnl/ntoskrnl_i386.lnk b/ntoskrnl/ntoskrnl_i386.lnk index 8dac6c10fc1..788cda743c1 100644 --- a/ntoskrnl/ntoskrnl_i386.lnk +++ b/ntoskrnl/ntoskrnl_i386.lnk @@ -44,6 +44,13 @@ SECTIONS { *(.edata) } + /DISCARD/ : + { + *(.debug$S) + *(.debug$T) + *(.debug$F) + *(.drectve) + } .idata BLOCK(__section_alignment__) : { @@ -80,41 +87,13 @@ SECTIONS /* These zeroes mark the end of the reloc section. */ LONG (0); LONG (0); LONG (0); LONG (0); LONG (0); } - .debug_aranges BLOCK(__section_alignment__) : - { - *(.debug_aranges) - } - .debug_abbrev BLOCK(__section_alignment__) : - { - *(.debug_abbrev) - } - .debug_frame BLOCK(__section_alignment__) : - { - *(.debug_frame) - } - .debug_info BLOCK(__section_alignment__) : - { - *(.debug_info) - } - .debug_line BLOCK(__section_alignment__) : - { - *(.debug_line) - } - .debug_loc BLOCK(__section_alignment__) : - { - *(.debug_loc) - } - .debug_pubnames BLOCK(__section_alignment__) : - { - *(.debug_pubnames) - } - .debug_ranges BLOCK(__section_alignment__) : + .stab BLOCK(__section_alignment__) (NOLOAD) : { - *(.debug_ranges) + [ .stab ] } - .debug_str BLOCK(__section_alignment__) : + .stabstr BLOCK(__section_alignment__) (NOLOAD) : { - *(.debug_str) + [ .stabstr ] } INIT BLOCK(__section_alignment__) : { -- 2.17.1