aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix typos in commentsJosh Triplett2007-03-091-1/+1
| | | | Signed-off-by: Josh Triplett <josh@freedesktop.org>
* cleanup write to argument array hackChristopher Li2006-12-041-3/+7
| | | | | | | | | | | | The sparse interface is a kind of snaky that it change the input argument array. The function sparse() does the same hack just to skip the files. This patch add the ptr list for string. So sparse_initialize will return list of file to compile. The string pointer is not aligned at word boundary. This patch introduce non taged version of the ptr list iteration function. Signed-off-by: Christopher Li <sparse@chrisli.org>
* Handle symbols from "-include" file tooLinus Torvalds2005-11-021-1/+1
| | | | | | Noted by Mitesh Shah Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Update the calling interface to "sparse()".Linus Torvalds2005-08-031-1/+3
| | | | | | | | | | | | | | Start off with sparse_initialize(argc, argv); which will return the number of filenames found. You can then use that, or just check if *argv is NULL in a loop like while (*argv) list = sparse(argv); where you get the declaration list for each file in turn.
* Split out the blob allocator from lib.c into allocate.c.Linus Torvalds2005-04-071-0/+1
| | | | | | | | | It's disgusting how intimate lib.c is with all the types, and this is slowly trying to split things up a bit. Now the intimate part is in allocate.c, but maybe we can get to the point where each allocation user just declares its own allocation strategy, and just uses the generic routines in allocate.c
* Make the new "sparse()" interface even more painfully obvious.Linus Torvalds2005-04-071-91/+10
| | | | Make "obfuscate" use it too, and remove the old stale code.
* Update copyright notices a bit.Linus Torvalds2005-04-071-1/+1
|
* Make "translation_unit()" do symbol evaluation too.Linus Torvalds2005-04-071-4/+3
| | | | | Not only do all users want it, the list of used symbols is not stable until after the tree has been evaluated.
* Get rid of the old "iterate()" interfaces.Linus Torvalds2005-04-071-2/+11
| | | | | Use FOR_EACH_PTR() instead, or the much fancier iterators for basic blocks.
* Print out the proper filename on open failure.Linus Torvalds2005-04-071-1/+1
| | | | Pointed out by Mitesh shah <mshah@teja.com>
* Many files:welinder@darter.rentec.com2005-04-071-4/+4
| | | | | | | | | | | warn->warning error->error_die new error lib.h: warn->warning error->error_die new error Add gcc format checking to warning/error/...
* Make "next_path" be per-stream for better "include_next".Linus Torvalds2005-04-071-1/+1
| | | | Maybe this makes us gcc-compatible. Maybe it doesn't.
* Initialize C type system after parsing the command line arguments.Linus Torvalds2005-04-071-0/+3
| | | | This makes "-m64" actually work.
* Update copyright notices to reflect the fact that TransmetaLinus Torvalds2005-04-071-0/+1
| | | | isn't the sole copyright owner these days.
* Make the example clients be under the OSL v1.1 too. Linus Torvalds2005-04-071-1/+3
|
* Make the "obfuscate" backend actually generate a fewLinus Torvalds2005-04-071-4/+44
| | | | | type descriptions. Nothing interesting yet, though. Oh, well.
* Oops. The preprocessor symbol evaluation printed out the wrong name.Linus Torvalds2005-04-071-0/+80
Add "obfuscate" as a stupid back-end. It will generate some really really horrible C output if I get my way. Don't expose "attribute" for type attributes. Use only the double-underscore version