Skip to content

Commit

Permalink
[IA64] check-segrel.lds vs --build-id
Browse files Browse the repository at this point in the history
Some versions of ld with --build-id support will crash when using the flag
with a linker script that discards notes.  This bites ia64's check-segrel.lds.
The bug is easy to avoid.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
  • Loading branch information
Roland McGrath authored and Tony Luck committed Oct 29, 2007
1 parent 1775fe8 commit d650c37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/ia64/scripts/check-segrel.lds
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
SECTIONS {
. = SIZEOF_HEADERS;
.rodata : { *(.rodata) } :ro
.note : { *(.note*) }
. = 0xa0000;
.data : { *(.data) } :dat
/DISCARD/ : { *(*) }
Expand Down

0 comments on commit d650c37

Please sign in to comment.