Skip to content

Commit

Permalink
[build] Discard junk sections created by newer gcc versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Brown committed Nov 18, 2008
1 parent 54fbd11 commit c661945
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/arch/i386/scripts/efi.lds
Expand Up @@ -149,7 +149,13 @@ SECTIONS {

/DISCARD/ : {
*(.comment)
*(.comment.*)
*(.note)
*(.note.*)
*(.eh_frame)
*(.eh_frame.*)
*(.rel)
*(.rel.*)
}

/*
Expand Down
6 changes: 6 additions & 0 deletions src/arch/i386/scripts/i386.lds
Expand Up @@ -145,7 +145,13 @@ SECTIONS {

/DISCARD/ : {
*(.comment)
*(.comment.*)
*(.note)
*(.note.*)
*(.eh_frame)
*(.eh_frame.*)
*(.rel)
*(.rel.*)
}

/*
Expand Down

0 comments on commit c661945

Please sign in to comment.