Kaynağa Gözat

[build] Discard junk sections created by newer gcc versions

tags/v0.9.6
Michael Brown 15 yıl önce
ebeveyn
işleme
c661945e82

+ 6
- 0
src/arch/i386/scripts/efi.lds Dosyayı Görüntüle

@@ -149,7 +149,13 @@ SECTIONS {
149 149
 
150 150
     /DISCARD/ : {
151 151
 	*(.comment)
152
+	*(.comment.*)
152 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 Dosyayı Görüntüle

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

Loading…
İptal
Kaydet