From 5755afadf580726c7d9a34c575930d21c54a1f0a Mon Sep 17 00:00:00 2001 From: Jing Yu Date: Thu, 22 Jul 2010 14:35:55 -0700 Subject: A few binutils and gold patches to make gold and safe-icf work. Change-Id: I805434f4f616c822c979081a5a71b607ecd6cf26 --- binutils-2.19/ld/emultempl/armelf.em | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'binutils-2.19/ld') diff --git a/binutils-2.19/ld/emultempl/armelf.em b/binutils-2.19/ld/emultempl/armelf.em index 4340a48..0fd9ab6 100644 --- a/binutils-2.19/ld/emultempl/armelf.em +++ b/binutils-2.19/ld/emultempl/armelf.em @@ -458,6 +458,7 @@ PARSE_AND_LIST_PROLOGUE=' #define OPTION_NO_WCHAR_SIZE_WARNING 313 #define OPTION_FIX_CORTEX_A8 314 #define OPTION_NO_FIX_CORTEX_A8 315 +#define OPTION_ICF 399 ' PARSE_AND_LIST_SHORTOPTS=p @@ -479,6 +480,7 @@ PARSE_AND_LIST_LONGOPTS=' { "no-wchar-size-warning", no_argument, NULL, OPTION_NO_WCHAR_SIZE_WARNING}, { "fix-cortex-a8", no_argument, NULL, OPTION_FIX_CORTEX_A8 }, { "no-fix-cortex-a8", no_argument, NULL, OPTION_NO_FIX_CORTEX_A8 }, + { "icf", required_argument, NULL, OPTION_ICF }, ' PARSE_AND_LIST_OPTIONS=' @@ -506,6 +508,7 @@ PARSE_AND_LIST_OPTIONS=' the linker should choose suitable defaults.\n" )); fprintf (file, _(" --[no-]fix-cortex-a8 Disable/enable Cortex-A8 Thumb-2 branch erratum fix\n")); + fprintf (file, _(" --icf= Ignored for compatibility with gold.\n")); ' PARSE_AND_LIST_ARGS_CASES=' @@ -585,6 +588,10 @@ PARSE_AND_LIST_ARGS_CASES=' case OPTION_NO_FIX_CORTEX_A8: fix_cortex_a8 = 0; break; + + case OPTION_ICF: + /* For compatibility with gold. */ + break; ' # We have our own before_allocation etc. functions, but they call -- cgit v1.1