aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.7/gcc/configure
Commit message (Collapse)AuthorAgeFilesLines
* Use READELF_FOR_TARGET in GCC 4.6/4.7Andrew Hsieh2013-03-261-2/+4
| | | | | | | | | | | | | | | | | | | | | | In darwin where readelf isn't available, gcc/configure fails to set HAVE_LD_PERSONALITY_RELAXATION for MIPS, causes TARGET_WRITABLE_EH_FRAME=1 and flag_dwarf2_cfi_asm=0 (ie. disable CFI directive), and fails ld.mcld It's curious that the successful detection of the /tmp/ndk-$USER/gcc/binutils-2.21/readelf requires binutils to exist in the GCC's source tree, according to gcc/configure. Other tools (objdump, nm, ld, as, etc) can be successfully located because of OBJDUMP_FOR_TARGET, NM_FOR_TARGET, etc. Fix to look for READELF_FOR_TARGET in gcc/configure See https://android-review.googlesource.com/#/c/54760 https://android-review.googlesource.com/#/c/54770 https://android-review.googlesource.com/#/c/54710 Change-Id: I8b057a70d43389d3d9d02b5c54b8365ebe6487d1
* [4.7] Add -fuse-ld=Andrew Hsieh2012-10-091-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Google ref 54218-p2 2011-06-27 Doug Kwan <dougkwan@google.com> Google ref 41164-p2 Backport upstream patch under review. 2011-01-19 NNick Clifton <nickc@redhat.com> Matthias Klose <doko@debian.org> * configure.ac (gcc_cv_gold_srcdir): New cached variable - contains the location of the gold sources. (ORIGINAL_GOLD_FOR_TARGET): New substituted variable - contains the name of the locally built gold executable. * configure: Regenerate. * collect2.c (main): Detect the -use-gold and -use-ld switches and select the appropriate linker, if found. If a linker cannot be found and collect2 is executing in verbose mode then report the search paths examined. * exec-tool.in: Detect the -use-gold and -use-ld switches and select the appropriate linker, if found. Add support for -v switch. Report problems locating linker executable. * gcc.c (LINK_COMMAND_SPEC): Translate -fuse-ld=gold into -use-gold and -fuse-ld=bfd into -use-ld. * common.opt: Add fuse-ld=gold and fuse-ld=bfd. * opts.c (comman_handle_option): Ignore -fuse-ld=gold and -fuse-ld=bfd. * doc/invoke.texi: Document the new options. Change-Id: I659dd3f53b8ee23667fec0d7d77efc90155cdf43
* Initial check-in of gcc 4.7.2.Ben Cheng2012-10-011-0/+28796
Change-Id: I4a2f5a921c21741a0e18bda986d77e5f1bef0365