-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable VSX usage in rtld.c to prevent TOC ref before relocs are reso…
…lved.
- Loading branch information
Ryan S. Arnold
authored and
Ulrich Drepper
committed
Feb 17, 2011
1 parent
e943389
commit 2206397
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
ifeq ($(subdir),elf) | ||
# Prevent the use of VSX registers and insns in _dl_start, which under -O3 | ||
# optimization may require a TOC reference before relocations are resolved. | ||
CFLAGS-rtld.c += -mno-vsx | ||
endif |