Mercurial > ecos-v3_0-branch
changeset 2800:a501465abec6
* src/vectors.S: Use .type xxx, function everywhere where
a global associated with code is defined. Otherwise objdump
treats it as data.
| author | jlarmour |
|---|---|
| date | Sat, 14 Feb 2009 02:49:09 +0000 |
| parents | 3790616dcd4d |
| children | 5f91384cf205 |
| files | packages/hal/arm/arch/current/ChangeLog packages/hal/arm/arch/current/src/vectors.S |
| diffstat | 2 files changed, 11 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/hal/arm/arch/current/ChangeLog +++ b/packages/hal/arm/arch/current/ChangeLog @@ -1,3 +1,9 @@ +2009-02-14 Jonathan Larmour <jifl@eCosCentric.com> + + * src/vectors.S: Use .type xxx, function everywhere where + a global associated with code is defined. Otherwise objdump + treats it as data. + 2009-02-09 Nick Garnett <nickg@ecoscentric.com> * src/vectors.S (start): The loop to initialize BSS was using a @@ -1788,7 +1794,7 @@ 1998-10-16 Bart Veer <bartv@cygnus.co. // ####GPLCOPYRIGHTBEGIN#### // ------------------------------------------- // This file is part of eCos, the Embedded Configurable Operating System. -// Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2009 Free Software Foundation, Inc. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by
--- a/packages/hal/arm/arch/current/src/vectors.S +++ b/packages/hal/arm/arch/current/src/vectors.S @@ -8,7 +8,7 @@ // ####ECOSGPLCOPYRIGHTBEGIN#### // ------------------------------------------- // This file is part of eCos, the Embedded Configurable Operating System. -// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2009 Free Software Foundation, Inc. // // eCos is free software; you can redistribute it and/or modify it under // the terms of the GNU General Public License as published by the Free @@ -107,6 +107,7 @@ .code 16 ;\ .thumb_func ;\ .globl _name_ ;\ + .type _name_, function ;\ _name_: ;\ ldr _r_,=_name_ ## _ARM ;\ bx _r_ ;\ @@ -128,6 +129,7 @@ // Function definition, start executing body in ARM mode #define FUNC_START_ARM(_name_, _r_) \ .globl _name_; \ + .type _name_, function ;\ _name_: #endif @@ -345,6 +347,7 @@ warm_reset: // ========================================================================= // Real startup code. We jump here from the reset vector to set up the world. .globl start + .type start,function start: LED 5
