All of lore.kernel.org
 help / color / mirror / Atom feed
From: ben@decadent.org.uk (Ben Hutchings)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 5/5] arm: Fix .size directives for __arm{7,9}tdmi_proc_info
Date: Wed, 09 Mar 2011 00:33:14 +0000	[thread overview]
Message-ID: <1299630794.4146.26.camel@localhost> (raw)
In-Reply-To: <1299630111.4146.15.camel@localhost>

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

      parent reply	other threads:[~2011-03-09  0:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-09  0:21 [PATCH 0/5] Fix build failures with binutils 2.21 Ben Hutchings
2011-03-09  0:21 ` Ben Hutchings
2011-03-09  0:21 ` Ben Hutchings
2011-03-09  0:29 ` [PATCH 1/5] x86: Fix .size directive for xen_do_hypervisor_callback Ben Hutchings
2011-03-09  0:31 ` [PATCH 2/5] x86: Fix .size directive for async_page_fault Ben Hutchings
2011-03-09  0:32 ` [PATCH 4/5] avr32: Fix .size directive for cpu_enter_idle Ben Hutchings
2011-03-09  4:28   ` Hans-Christian Egtvedt
2011-04-07 23:48   ` Ben Hutchings
2011-03-09  0:33 ` Ben Hutchings [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1299630794.4146.26.camel@localhost \
    --to=ben@decadent.org.uk \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.