View | Details | Raw Unified | Return to bug 239007 | Differences between
and this patch

Collapse All | Expand All

(-)gcc/config.gcc (+6 lines)
Lines 2687-2694 Link Here
2687
	    	tm_file="${tm_file} rs6000/default64.h rs6000/freebsd64.h"
2687
	    	tm_file="${tm_file} rs6000/default64.h rs6000/freebsd64.h"
2688
		tmake_file="${tmake_file} rs6000/t-freebsd64"
2688
		tmake_file="${tmake_file} rs6000/t-freebsd64"
2689
		extra_options="${extra_options} rs6000/linux64.opt"
2689
		extra_options="${extra_options} rs6000/linux64.opt"
2690
		if test $fbsd_major -ge 13; then
2691
		    tm_defines="${tm_defines} TARGET_FREEBSD32_SECURE_PLT=1"
2692
		fi
2690
		;;
2693
		;;
2691
	     *)
2694
	     *)
2695
		if test $fbsd_major -ge 13; then
2696
		    tm_file="rs6000/secureplt.h ${tm_file}"
2697
		fi
2692
	        tm_file="${tm_file} rs6000/freebsd.h"
2698
	        tm_file="${tm_file} rs6000/freebsd.h"
2693
		;;
2699
		;;
2694
	esac
2700
	esac
(-)gcc/config/rs6000/t-freebsd64 (+3 lines)
Lines 27-29 Link Here
27
MULTILIB_EXCEPTIONS     =
27
MULTILIB_EXCEPTIONS     =
28
MULTILIB_OSDIRNAMES	= ../lib32
28
MULTILIB_OSDIRNAMES	= ../lib32
29
29
30
SECURE_PLT = $(if $(findstring TARGET_FREEBSD32_SECURE_PLT=1, $(tm_defines)),msecure-plt)
31
32
MULTILIB_EXTRA_OPTS += $(SECURE_PLT)

Return to bug 239007