- Nov 01, 2012
-
-
Alessandro Rubini authored
We include newlib headers (and link part of newlib), so any locally-defined function must have the same prototype as standard ones. We'll soon nee a "puts" implementation for pp_printf, so this adds puts as an alias of uart_write_string (at no size cost) and makes uart_write_string itself return integer (this costs a few bytes). While I'm at it, change uart_write_byte to be slightly faster. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This comes from git://gitorious.org/rubi/pp-printf.git . This commit just copies it over, without enabling it for compilation. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
-
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Also add the missing prototypes in eeprom.h, to fix warnings in shell/ Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This removes the "unsigned" for environment variables, since the public header has all "char *" types. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
I also turned to gui to void, as nobody checks the return value and there's no error code to return in any case. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
When I add prototypes to headers, I ensure the source that defines the function sees the header, to detect inconsistencies (here, I add <wrc.h> to the includes). Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This adds all missing prototypes and removes unused variables. It includes a generic <wrc.h> (which btw includes the printf prototype, not in uart.h any more) and other needed bits. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
There was a wrong "static" in a public header that triggered my interest here. This fixes the warning and makes all functions that are unused elsewhere really static. It also saves 50 bytes in the final binary. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
-
Alessandro Rubini authored
Remove all unneeded stuff from the linker script. Now the script only includes what is actually used: it is easier to understand and change (we'll add some local ELF sections), and it makes a better reference for possible porting to a different architecture. This commit also moves the default libraries from the linker script itself to the LDFLAGS in Makefile, where they really belong. CONFIG_DETERMINISTIC_BINARY confirms this makes no difference in the generated binary (nor the ELF FWIW). Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Instead of picking libraries from the linker script, common practice is listing them in LDFLAGS. This simplifies review and modification. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
CONFIG_DETERMINISTIC_BINARY confirms this makes no difference in the generated binary. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
It also used cflags-y in the same way. CONFIG_DETERMINISTIC_BINARY confirms this makes no difference in the generated binary, but it opens to more configuration options. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This also removes the run of $SIZE on all object files, as the previous content of the screen is often more important for me. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
-
- Oct 17, 2012
-
-
Alessandro Rubini authored
I prefer the comment separatos for sections to be different than those for chapters (so I better see the structure while editing). It makes no difference for others I'm sure. Also, remove the info menus: they tend to rust in the source while the good ones in the output are regenarated by ./fixinfo . Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
While compiling a noticed some overfull and underfull boxes, and they are now fixed. Also, change the date and write that this is not a release (while leaving references to the last release we had. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Oct 16, 2012
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This doesn't change the behavior of any command, but adds revision.c as a real source file rather than something created by make using "echo ... > revision.c". In any case, the file is recompiled each time you call "make", so the date and time reflect the last build. However, this introduces CONFIG_DETERMINISTIC_BINARY (that nobody sets at this point in time) to build a binary withouth __DATE__ and __TIME__ strings, so it is the same at every rebuild. See next commit. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This has been verified to properly obey the new CONFIG_ETHERBONE settin. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-