This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Commit: MSP430: crt0: Remove watchdog disabling code
- From: Friedrich Lobenstock <fl-newlib at lsl dot at>
- Cc: newlib at sourceware dot org
- Date: Tue, 15 Sep 2015 18:08:15 +0200
- Subject: Re: Commit: MSP430: crt0: Remove watchdog disabling code
- Authentication-results: sourceware.org; auth=none
- References: <87zj1mhr1q dot fsf at redhat dot com> <55E9C81E dot 1030908 at lsl dot at> <201509091854 dot t89Is2c5021519 at greed dot delorie dot com>
Hello DJ!
DJ Delorie wrote on 2015-09-09 20:54 MET:
>> The section you're removing the watchdog disabling code from is
>> contained in section ".crt_0000start".
>> Therefore the section ".crt_0001disable_watchdog" in the code above
>
> I left plenty of room in there for numbers; the next pre-defined
> section after 0000start is 0100init_bss, so any number from 0001 to
> 0099 would do. Choosing 0042 is arbitrary, and leaves room both
> before and after it for even more additions.
>
I'm curious what kind of code would ever needed to be included before
the disabling of the watchdog?
--
MfG / Regards
Friedl