[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [lwip-devel] [task #7054] Clarification needed for variableinitializ
From: |
Goldschmidt Simon |
Subject: |
RE: [lwip-devel] [task #7054] Clarification needed for variableinitialization |
Date: |
Wed, 4 Jul 2007 09:56:29 +0200 |
> We should make is mandatory that the compiler zeros the BSS
> and copies the INITDAT section to the correct place.
>
If INITDAT isn't copied this clearly is a bug! But can you please show
me any standard paper that makes it mandatory to zero the BSS? All
compilers I use do it, but as long as I don't know it's really a
standard and not a thing most compilers do, I don't want to make it
mandatory for a portable piece of code like lwIP should be.
Don't get me wrong, my goal would be to leave the zeroing to the
compiler, only I want to be sure it's really portable!
> If the compiler is broken then hopefully it would not be hard
> to write an extra bit of code that is called before _main to
> perform these tasks!!!
>
For embedded platforms, this should definitively be achievable.
Simon
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Simon Goldschmidt, 2007/07/03
- RE: [lwip-devel] [task #7054] Clarification needed for variableinitialization, Julian Gardner [RSD], 2007/07/04
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/04
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Simon Goldschmidt, 2007/07/04
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/04
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/04
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/04
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/04
- RE: [lwip-devel] [task #7054] Clarification needed for variable initialization, Goldschmidt Simon, 2007/07/04
- [lwip-devel] [task #7054] Clarification needed for variable initialization, David Empson, 2007/07/04
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Simon Goldschmidt, 2007/07/05
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/05
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/05
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Simon Goldschmidt, 2007/07/05