summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2007-11-25arm backend by Gregory McGarry, untestedOtto Moerbeek
2007-11-25arm backend from Gregory McGarry, untestedOtto Moerbeek
2007-11-25spelling fixes, from Martynas Venckus;Jason McIntyre
2007-11-25Pull from master repo:Stefan Kempf
Check malloc/strdup return values.
2007-11-25Pull from master repo:Stefan Kempf
Complain about invalid bit-field size for unnamed bit-fields as well. ok ragge@
2007-11-24write explicit dependencies for make -j. beforedepend creates the file,Marc Espie
but make -j tries to find them earlier, and can't.
2007-11-24fix yacc/lex parallel file generationMarc Espie
2007-11-24more parallel make fixes.Marc Espie
Preparations to fix the engine: - new function has_been_built(gn), that tells you what's the status of a given node. Allows us to run Suff_FindDeps later, by updating the number of unmade children correctly. - take out the code that handles shell expansions in an expand_children* set of functions, called by Suff_FindDeps, among others. These must be called early in the engine to avoid creating bogus nodes. Engine fixes: - take the predecessor/successor special handling out, deal with it in separate functions. - don't count nodes. Explicitly track them all in a hash table (better way to deal with non-built issues). - don't run Suff_FindDeps at start, but just before building an actual node. This allows make to find all dependencies correctly, as in groff. Pfiou! now it works.
2007-11-24Pull from master repo:Stefan Kempf
chars are sign-extended with extsb, not extsh.
2007-11-24Pull from master repo:Stefan Kempf
No need to sign-extend unsigned shorts loaded from memory.
2007-11-24some spelling fixes from Martynas VenckusJason McIntyre
2007-11-24Pull from master repo:Stefan Kempf
More missing newlines.
2007-11-24Add newline after comment. The following instruction would not beStefan Kempf
recognized by the assembler otherwise.
2007-11-22Pull from master repo:Stefan Kempf
Kill two useless assignments. ok ragge@ some time ago
2007-11-22Pull from master repo:Stefan Kempf
Fix the other rule that did not load small negative 64-bit constants correctly. The error shows up if you compile main(){long long = -1;} with -xtemps.
2007-11-22.Nm does not require an argument; from Mark LumsdenJason McIntyre
2007-11-22Pull from master repo:Stefan Kempf
Put the genswitch() code that is found in most backends into the MI part. The backend version is renamed to mygenswitch() and can provide improved translations for switch statements. Improved implementation of the switch constraints/semantics described in the standard. ok ragge@, otto@ With help and comments from ragge and gmcgarry
2007-11-22Diff from Mark Lumsden: cleanup of reading strings and numbers, toOtto Moerbeek
make sure command line args and interactive reading of numbers use the same code. More concrete, interactive use of 'd' and 'n' now also interpret 'max', 'infinite' and 'all' and handle non-numbers correctly. tested by a few
2007-11-19Pull from master repo:Stefan Kempf
>Fix type conversion problems observed by stefan@ >Some other typos too. and >- Add rules for conversion from (u)long long to (u){char,short,int} >- Fix loading ushorts from mem. They don't need to be sign-extended. >- Fix a rule that didn't load small negative 64-bit values into > registers correctly (there's at least one more of it left). >- Add $Id$ > >ok gmcgarry, otto
2007-11-18(Large) update from master repo:Anders Magnusson
> Use structure assignment instead of calling memcpy directly in struct return. > Rewrite enum handling. > In C99 enums are treated like INTs so convert them early to int. > Move the enum tag handling out of defid(), tags are in their own namespace. > This will be done with struct/union tags also. > Comment out enum types. > Remove ENUMTY/MOETY from target code.
2007-11-18simplify, no sense to break just to do return afterwardsMarc Espie
2007-11-17Use mtimespec instead of mtime when comparing the timestamp of the editedTodd C. Miller
file. OK miod@
2007-11-17simplify dynamic variable handling a great deal:Marc Espie
first remove all usage of Varq_Append by building the string directly. then replace `common' handling with specialized handling for dynamic strings (since they no longer need a buffer). Finally, identify the place where the variable value needs to be copied because it's going to be free'd or erased soon, and finally, use simple char* pointers. Shaves about 80 bytes off every gnode structure, and kills quite a few unnecessary malloc()s as well.
2007-11-17.PHONY targets should not look at files.Marc Espie
2007-11-17strings.h is obsolete; include string.hOtto Moerbeek
2007-11-17Convert file_rcsrev earlier into a string, else revbuf can be printedTobias Stoeckmann
without initialisation.
2007-11-17Updates from master repo:Anders Magnusson
Replace ugly target macros with function calls (gmcgarry).
2007-11-17Updates from master repo:Anders Magnusson
Remove function arg conversions from clocal().
2007-11-17.IP -> .PpJason McIntyre
2007-11-17do not try to keep a list of all possible displays in the introduction.Jason McIntyre
the page already does this in detail, and this list just goes out of date. problem spotted by Mark Lumsden
2007-11-17read only .depend if !make(depend)Marc Espie
On the basis that: - .depend is a bsd extension anyways, changing its semantics doesn't affect posix compliance. - it may allow regenerating broken .depend files without needing to remove them. approved by miod@, millert@, deraadt@.
2007-11-17document interactive command `q'; from Mark LumsdenJason McIntyre
2007-11-17oops - fix dodgy -width specifier too;Jason McIntyre
2007-11-17talk about "user" consistently; from Mark LumsdenJason McIntyre
2007-11-16spacingTheo de Raadt
2007-11-16- Fix error handling code.Mike Belopuhov
- Change some function names to conform with Core Duo names. - Correct hadnling of the functions that need non-zero Unit Mast specification. - Some other random cleanup.
2007-11-16hppa backend; does not build yet suince it needs some mi changesOtto Moerbeek
2007-11-16sync tree with master repo; Nov 16 2007Otto Moerbeek
2007-11-16sync with repo and brink in hppa backend from mickey. afaik, it needsOtto Moerbeek
some changes in the mi parts that are not yet committed
2007-11-16sync with repe; commit from gmcgarry@:Otto Moerbeek
Bring MIPS support fully up-to-date. Includes the following changes: Support use of different assemblers. Handle big-endian and little-endian code generation. Start support for n32/n64 PIC code generation Update to arguments-in-registers infrastructure. Cleanup handling of branches. Fix register coloring Fix structure assignment. Add longlong instructions Remove unused functions. Indentation fixes. Tested on NetBSD/pmax (little endian).
2007-11-13move xpg4 notes into STANDARDS; ok ottoJason McIntyre
2007-11-12make TOC greppable;Jason McIntyre
2007-11-11Mention that -cd and -cu are possible, and that it's an extension to POSIX.Matthias Kilian
discussed with jmc and otto ok jmc
2007-11-11Max. 80 chars per line in rcs_kwexp_line. Saved a tab by redoingTobias Stoeckmann
for (...) { if (something) { ... } } into for (...) { if (!something) continue; ... } All other lines which were still too long have been splitted up. No functional change (beside of if-statement).
2007-11-11Do not (re)expand CVS keywords if it is requested to keep old keywords.Tobias Stoeckmann
2007-11-11CVS/Entries needs at least one line specifying a 'D'irectory. If theTobias Stoeckmann
current directory has subdirectories, there is no need to apply another 'D' line. Sticks at GNU cvs behaviour.
2007-11-11Added CVS keyword "Locker". Although it is a dummy function, it's alreadyTobias Stoeckmann
enough for OpenBSD's src/.
2007-11-11If a file has modifications in it (i.e. cvs update on modified files),Tobias Stoeckmann
reapply umask as done with unmodified files. Sticks at GNU cvs behaviour.
2007-11-11Apply umask on RCS file modes. The umask can be changed in CVSROOT/configTobias Stoeckmann
and should therefore be handled.
2007-11-10Pull from master repo:Stefan Kempf
++ and -- are not allowed in preprocessor expressions. Based on a diff by Jan Kryl. ok ragge@, otto@