Browse Source

[build] Discard junk sections created by newer gcc versions

tags/v0.9.6
Michael Brown 16 years ago
parent
commit
c661945e82
2 changed files with 12 additions and 0 deletions
  1. 6
    0
      src/arch/i386/scripts/efi.lds
  2. 6
    0
      src/arch/i386/scripts/i386.lds

+ 6
- 0
src/arch/i386/scripts/efi.lds View File

149
 
149
 
150
     /DISCARD/ : {
150
     /DISCARD/ : {
151
 	*(.comment)
151
 	*(.comment)
152
+	*(.comment.*)
152
 	*(.note)
153
 	*(.note)
154
+	*(.note.*)
155
+	*(.eh_frame)
156
+	*(.eh_frame.*)
157
+	*(.rel)
158
+	*(.rel.*)
153
     }
159
     }
154
 
160
 
155
     /*
161
     /*

+ 6
- 0
src/arch/i386/scripts/i386.lds View File

145
 
145
 
146
     /DISCARD/ : {
146
     /DISCARD/ : {
147
 	*(.comment)
147
 	*(.comment)
148
+	*(.comment.*)
148
 	*(.note)
149
 	*(.note)
150
+	*(.note.*)
151
+	*(.eh_frame)
152
+	*(.eh_frame.*)
153
+	*(.rel)
154
+	*(.rel.*)
149
     }
155
     }
150
 
156
 
151
     /*
157
     /*

Loading…
Cancel
Save