From 27677dd8c837824f9ab81bf2e06a0202028d9bc7 Mon Sep 17 00:00:00 2001 From: gjl Date: Thu, 31 May 2012 09:35:58 +0000 Subject: [PATCH] * doc/invoke.texi (AVR Options): Fix typos. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188053 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ gcc/doc/invoke.texi | 14 +++++++------- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ee2afa57900..d8dd4aa4fc3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2012-05-31 Georg-Johann Lay + + * doc/invoke.texi (AVR Options): Fix typos. + 2012-05-31 Hans-Peter Nilsson * config/cris/cris.h (CC1_SPEC): Pass through all -march= diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 1102aff1d8c..94441f85e43 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -11171,26 +11171,26 @@ points to. @item The startup code from libgcc never sets @code{EIND}. -Notice that startup code is a blend of code from libgcc and AVR-Libc. -For the impact of AVR-Libc on @code{EIND}, see the -@w{@uref{http://nongnu.org/avr-libc/user-manual,AVR-Libc user manual}}. +Notice that startup code is a blend of code from libgcc and AVR-LibC. +For the impact of AVR-LibC on @code{EIND}, see the +@w{@uref{http://nongnu.org/avr-libc/user-manual,AVR-LibC user manual}}. @item It is legitimate for user-specific startup code to set up @code{EIND} early, for example by means of initialization code located in section @code{.init3}. Such code runs prior to general startup code that initializes RAM and calls constructors, but after the bit -of startup code from AVR-Libc that sets @code{EIND} to the segment +of startup code from AVR-LibC that sets @code{EIND} to the segment where the vector table is located. @example #include static void -__attribute__ ((section (".init3"), naked, used, no_instrument_function)) +__attribute__((section(".init3"),naked,used,no_instrument_function)) init3_set_eind (void) @{ - __asm volatile ("ldi r24, pm_hh8(__trampolines_start)" "\n\t" - "out %i0, r24" :: "n" (&EIND) : "r24", "memory"); + __asm volatile ("ldi r24,pm_hh8(__trampolines_start)\n\t" + "out %i0,r24" :: "n" (&EIND) : "r24","memory"); @} @end example -- 2.11.4.GIT