* [PATCH 0/5] Fix build failures with binutils 2.21
@ 2011-03-09 0:21 Ben Hutchings
2011-03-09 0:33 ` [PATCH 5/5] arm: Fix .size directives for __arm{7,9}tdmi_proc_info Ben Hutchings
0 siblings, 1 reply; 2+ messages in thread
From: Ben Hutchings @ 2011-03-09 0:21 UTC (permalink / raw)
To: linux-arm-kernel
gas has been silently ignoring .size directives with typos, but this was
fixed in binutils 2.21, resulting in build failures with the new
version.
I collected a couple of fixes for x86, then saw a similar failure on
sparc and went hunting for more instances. This series, based on
2.6.38-rc8, should cover them all. However, my changes are not even
build-tested.
Ben.
Alan Modra (1):
x86: Fix .size directive for async_page_fault
Ben Hutchings (3):
sparc: Fix .size directive for do_int_load
avr32: Fix .size directive for cpu_enter_idle
arm: Fix .size directives for __arm{7,9}tdmi_proc_info
H.J. Lu (1):
x86: Fix .size directive for xen_do_hypervisor_callback
arch/arm/mm/proc-arm7tdmi.S | 2 +-
arch/arm/mm/proc-arm9tdmi.S | 2 +-
arch/avr32/mach-at32ap/pm-at32ap700x.S | 2 +-
arch/sparc/kernel/una_asm_64.S | 2 +-
arch/x86/kernel/entry_32.S | 2 +-
arch/x86/kernel/entry_64.S | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
--
1.7.4.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110309/ba24a4fd/attachment-0001.sig>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 5/5] arm: Fix .size directives for __arm{7,9}tdmi_proc_info
2011-03-09 0:21 [PATCH 0/5] Fix build failures with binutils 2.21 Ben Hutchings
@ 2011-03-09 0:33 ` Ben Hutchings
0 siblings, 0 replies; 2+ messages in thread
From: Ben Hutchings @ 2011-03-09 0:33 UTC (permalink / raw)
To: linux-arm-kernel
gas used to accept (and ignore?) .size directives which referred to
undefined symbols, as these do. In binutils 2.21 these are treated
as fatal errors.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
arch/arm/mm/proc-arm7tdmi.S | 2 +-
arch/arm/mm/proc-arm9tdmi.S | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mm/proc-arm7tdmi.S b/arch/arm/mm/proc-arm7tdmi.S
index 0c9786d..50f8f7f 100644
--- a/arch/arm/mm/proc-arm7tdmi.S
+++ b/arch/arm/mm/proc-arm7tdmi.S
@@ -143,7 +143,7 @@ __arm7tdmi_proc_info:
.long 0
.long 0
.long v4_cache_fns
- .size __arm7tdmi_proc_info, . - __arm7dmi_proc_info
+ .size __arm7tdmi_proc_info, . - __arm7tdmi_proc_info
.type __triscenda7_proc_info, #object
__triscenda7_proc_info:
diff --git a/arch/arm/mm/proc-arm9tdmi.S b/arch/arm/mm/proc-arm9tdmi.S
index db67e31..1de9d10 100644
--- a/arch/arm/mm/proc-arm9tdmi.S
+++ b/arch/arm/mm/proc-arm9tdmi.S
@@ -113,7 +113,7 @@ __arm9tdmi_proc_info:
.long 0
.long 0
.long v4_cache_fns
- .size __arm9tdmi_proc_info, . - __arm9dmi_proc_info
+ .size __arm9tdmi_proc_info, . - __arm9tdmi_proc_info
.type __p2001_proc_info, #object
__p2001_proc_info:
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-09 0:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-09 0:21 [PATCH 0/5] Fix build failures with binutils 2.21 Ben Hutchings
2011-03-09 0:33 ` [PATCH 5/5] arm: Fix .size directives for __arm{7,9}tdmi_proc_info Ben Hutchings
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).