tmux is a "terminal multiplexer". It enables a number of terminals (or
windows) to be accessed and controlled from a single terminal. tmux is
intended to be a simple, modern, BSD-licensed alternative to programs
such as GNU screen.
The import of tmux is intended to replace window(1) in the not-too-distant
future. For reference, tmux is also present in the base system of FreeBSD
and OpenBSD.
Approved by core@.
in particular, parse.y was being processed twice.. with one
process leaving a y.tab.h file behind
no need to explicitly add scan.c, parse.c and parse.h to CLEANFILES,
the framework knows they are generated and will remove them
"foo > bar" fails when bar is mode 444, and files copied from the
source tree should be expected to perhaps be read only. However, the
copy should have been removed when the sed was added. And, it never
should have been "@"; suppressing it made debugging this harder than
it should have been.
#ifdef inside the macro arguments is undefined behaviour (pcc reports
a syntax error)
This was fixed upstream so change this to be the same as the 4.2.6p3
stable release of ntp (can't find an actual changelog entry that
describes this, so have included the memcpy change also - memmove
is not required here)
Use relevant TargetAddress, not just first one we happen to find.
Following improvement based on feedback from Daisuke Aoyama (author of istgt):
Handle NOP-OUT CmdSN and immediate bit.
Handle NOP-IN TransferTag=0xffffffff.
Interim solution for dealing with Underflow bit in iSCSI response.
iscsi-initiator now talks to istgt and other targets.
Remaining issues:
CHAP support will not work with most targets (maximum 16 octet challenge is
used, but other initiators use up to 1024). However, CHAP can now be
bypassed by not specifying a username.
didn't work (insisted on a username being given and then used, plus always
advertised CHAP to the target). Make initiator work as advertised (i.e.
defaults to auth type none and so don't require a username).
To use CHAP you should explicitly request CHAP:
iscsi-initiator -a chap -u user -h targetname /mountpoint
For backwards compatibility, if a username is given (-u) and no auth type
is specified (-a), it will default to CHAP, i.e. to use none, just give no
username:
iscsi-initiator -h targetname /mountpoint
This means /mnt/mytarget.domain.local/target0/storage is now
/mnt/target0/storage.
Rationale is as follows:
- The hostname used may vary (i.e. name vs FQDN vs IP) which can mess up
mountpoints (especially across multiple hosts e.g. in a shared xen pool)
- Target name is given in the mount anyway so it is redundant
OK agc@
the cpu name and the latter the port name. They had been reversed until
now due to some "smart" stupidity^Wlogic in the upstream configure script,
which is now gone.
This is a pullup of revision f9329ca68da7e8557e0803b5747a12f8c10b1258
plus the corresponding reachover build changes.
Addresses PR bin/44305.
--- 20110215:
Fix audit-history subcommand to include patterns making use of [x-y] notation.
--- 20101212:
Don't warn about _ALPHA, _BETA, _PATCH, _RC, _STABLE mismatches when
pkg_add'ing on NetBSD.
--- 20101122:
Fix crash in pkg_info -X on hand-written packages.
--- 20100915:
Allow https URLs.
--- 20100914:
Add -D flag to pkg_install, to override the "pkg_add -U" check that
all depending packages have their dependencies satisfied by the new
package. Essentially, split off this particular behavior as a special
case of -f, so that -f works as before, unforced works as before, and
one can give -D to override exactly this check, leaving all other
checks intact.
The -D flag is in support of make replace, as the workflow for make
replace is that inter-package dependencies are sometimes violated (but
then one must replace the depending packages, which is what
pkg_rolling-replace does via the unsafe_depends flags).
Add missing break statement in option parsing of "pkg_add -C", riding
the version bump.
- Fix UNUSED macro to not have "NULL EFFECT"
- Add /*CONSTCOND*/ to while (0) loops
- Change do while (1) loops to for (;;)
- remove stray continue from do while (0) loop.
- remove "" in comments that confuse lint
- fix strict aliases
- fix non ansi prototypes
so provide the TARGMACH definition to the compiler here.
(makes no difference to the currently imported sources, but
will be easier for people wanting to try newer sources)
Upstream sources can be fetched by running "make checkout" in
src/external/bsd/llvm, they will be properly imported once the
integration and missing features are sorted out.
(tbl_data.c 1.15, tbl_layout.c 1.13, tbl_opts.c 1.8).
This features many small improvements and the initial integration of
tbl(1) support on all output devices.
Revision: 869e092e4986eb5dce90331ca9a64e125d7796eb
Parent: cca40eb08e7469dfe9d6ca982613458f24c1de28
Author: jmmv@NetBSD.org
Date: 12/27/10 21:19:19
Branch: org.NetBSD.atf.src
Changelog:
Recognize sigabrt in the signal checker
Problem found by Paul Goyette.
Changes against parent cca40eb08e7469dfe9d6ca982613458f24c1de28
patched atf-sh/atf-check.cpp
external/lib/Makefile and crypto/external/lib/Makefile, replacing
them all with SUBDIRs directly from lib/Makefile.
compat/compatsubdirs.mk becomes simpler now, as everything is built
from lib/Makefile, meaning all the libraries will now be built under
compat so update the set lists to account for that.
* syntax in 50-ypbind hook has been fixed
* man page corrections
* report hwaddr used by dhcpcd when debug is enabled
* Fix detecting inet address for INFORM support
* document reason RELEASE in dhcpcd-run-hooks
* Support RTM_CHGADDR in the upcoming NetBSD-6
This is used to work out if the hwaddr has changed as the interface
does not go down/up unlike other OSes
* ntp hook no longer attempts to restart ntpd if 1st attempt failed
This reverts the default timeout for test cases back to 300 seconds.
The change in the release was quite blind because it did not anticipate
many existing tests to be slow enough to overflow the modified timeout
(30 seconds), specially in anita.
My plan to really fix this is to let test cases specify their sizes in
a declarative way instead of specifying timeouts in seconds (the timeout
being defined by atf-run on a size basis), so I'm not going to bother to
go over all existing tests trying to figure out which ones need a higher
timeout for now. It is just easier to revert.
interval instead of assuming that there are exactly 1000 real-time-clock
milliseconds per second! On some ports when running under qemu, there
can be twice as many RTC milliseconds as expected.
This is part 2 of the changes required to make the libevent tests work
on port-amd64 under qemu.
even when running under qemu on platforms with a clock-skew problem.
The original 3-second timer was intended to be "longer than the http
timeout" (which is 2 seconds), and the updated 5-second value still meets
this requirement. The updated value also meets the requirement even when
the http timeout stretches to 4-seconds under qemu.
This is part 1 of getting the libevent tests working on port-amd64 with
qemu.
Experimental version released on November 7th, 2010.
* Added the ATF_REQUIRE_THROW_RE to atf-c++, which is the same as
ATF_REQUIRE_THROW but allows checking for the validity of the exception's
error message by means of a regular expression.
* Added the ATF_REQUIRE_MATCH to atf-c++, which allows checking for a
regular expression match in a string.
* Changed the default timeout for test cases from 5 minutes to 30 seconds.
30 seconds is long enough for virtually all tests to complete, and 5
minutes is a way too long pause in a test suite where a single test case
stalls.
* Deprecated the use.fs property. While this seemed like a good idea in
the first place to impose more control on what test cases can do, it
turns out to be bad. First, use.fs=false prevents bogus test cases
from dumping core so after-the-fact debugging is harder. Second,
supporting use.fs adds a lot of unnecessary complexity. atf-run will
now ignore any value provided to use.fs and will allow test cases to
freely access the file system if they wish to.
* Added the atf_tc_get_config_var_as_{bool,long}{,_wd} functions to the atf-c
library. The 'text' module became private in 0.11 but was being used
externally to simplify the parsing of configuration variables.
* Made atf-run recognize the 'unprivileged-user' configuration variable
and automatically drop root privileges when a test case sets
require.user=unprivileged. Note that this is, by no means, done for
security purposes; this is just for user convenience; tests should, in
general, not be blindly run as root in the first place.
it allows libelf work on /dev/ksyms.
XXX the name of the flag is a bit confusing and i think it's better to rename
MALLOCED to DATA_MALLOCED or such. but i don't think it's worth increasing
the diff against the upstream for it.
atf-run is not twice as large as before. This is a pull-up of
699284e5c0d0a375958293e578af4e02d68d1182.
(I don't think it's reasonable to intentionally cripple tests as I have
just done here. In the future I would like to only report the output of
failed test cases, which would allow us to undo this, but not there yet.)
Experimental version released on October 20th, 2010.
* The ATF_CHECK* macros in atf-c++ were renamed to ATF_REQUIRE* to match
their counterparts in atf-c.
* Clearly separated the modules in atf-c that are supposed to be public
from those that are implementation details. The header files for the
internal modules are not installed any more.
* Made the atf-check tool private. It is only required by atf-sh and being
public has the danger of causing confusion. Also, making it private
simplifies the public API of atf.
* Changed atf-sh to enable per-command error checking (set -e) by default.
This catches many cases in which a test case is broken but it is not
reported as such because execution continues.
* Fixed the XSTL and CSS stylesheets to support expected failures.
* Use dynamically sized buffers for reading kernel link events
* Use the active link address
* Added option to dump a lease to stdout
* TEST mode now works correctly if an old lease is NAKed
* routes with the gateway = leased ip are now treated as host routes
tre will be compiled without approx and wchar/mulibyte support to
only match the minimum requirement to replace our spencer regex.
This needs a lot of testing.
Only enabled when USE_LIBTRE is set to `yes'.
996f9c26e07a86607f373c8f0243d57329c11543
ef98529abaf16e40a2e684496bf3da8f9ff0d09c
These prevent atf-run from stalling/crashing when a subprocess of a test
case stays around after the test case itself exits.
Reported, and verified working, by pooka@.
Symlink dereference fix for Linux broke the build there; corrected.
Fix issues on ancient FreeBSD, QNX, ancient NetBSD and Minix.
Improved reliability of hash function detection.
Catch and report unhandled exceptions before they propagate to C land
The C++ interface to run test cases goes like this:
1) C++ run function -> 2) C run function -> 3) C++ wrapper for
test case -> 4) test case head/body/cleanup
The previous code caught and reported unhandled exceptions in 1).
However, such approach does not seem to work everywhere. It fails,
for example, in NetBSD/i386 but works in NetBSD/amd64. I am not sure
which platform implementation is correct nor if there even _is_ a
defined behavior. No matter what, it feels wrong and clunky.
Move the last-resort exception catching to happen in 3) so that
exceptions don't propagate back to C.
Fixes the test-programs/result_test:result_exception test case in
NetBSD/i386 5.99.34.
Miscellaneous features
* Added expected failures support to test cases and atf-run. These
include, for example, expected clean exits, expected reception of fatal
signals, expected timeouts and expected errors in condition checks.
These statuses can be used to denote test cases that are known to fail
due to a bug in the code they are testing. atf-report reports these
tests separately but they do not count towards the failed test cases
amount.
* Added the ATF_CHECK_ERRNO and ATF_REQUIRE_ERRNO to the C library to
allow easy checking of call failures that update errno.
* Added the has.cleanup meta-data property to test caes that specifies
whether the test case has a cleanup routine or not; its value is
automatically set. This property is read by atf-run to know if it has to
run the cleanup routine; skipping this run for every test case
significantly speeds up the run time of test suites.
* Reversed the order of the ATF_CHECK_THROW macro in the C++ binding to
take the expected exception as the first argument and the statement to
execute as the second argument.
Changes in atf-check
* Changed atf-check to support negating the status and output checks by
prefixing them with not- and added support to specify multiple checkers
for stdout and stderr, not only one.
* Added the match output checker to atf-check to look for regular
expressions in the stdout and stderr of commands.
* Modified the exit checks in atf-check to support checking for the
reception of signals.
Code simplifications and cleanups
* Removed usage messages from test programs to simplify the
implementation of every binding by a significant amount. They just now
refer the user to the appropriate manual page and do not attempt to wrap
lines on terminal boundaries. Test programs are not supposed to be run
by users directly so this minor interface regression is not important.
* Removed the atf-format internal utility, which is unused after the
change documented above.
* Removed the atf-cleanup internal utility. It has been unused since the
test case isolation was moved to atf-run in 0.8
* Splitted the Makefile.am into smaller files for easier maintenance and
dropped the use of M4. Only affects users building from the repository
sources.
* Intermixed tests with the source files in the source tree to provide
them more visibility and easier access. The tests directory is gone from
the source tree and tests are now suffixed by _test, not prefixed by t_.
* Simplifications to the atf-c library: removed the io, tcr and ui
modules as they had become unnecessary after all simplifications
introduced since the 0.8 release.
* Removed the application/X-atf-tcr format introduced in 0.8 release.
Tests now print a much simplified format that is easy to parse and nicer
to read by end users. As a side effect, the default for test cases is
now to print their results to stdout unless otherwise stated by providing
the -r flag.
* Removed XML distribution documents and replaced them with plain-text
documents. They provided little value and introduced a lot of complexity
to the build system.
* Simplified the output of atf-version by not attempting to print a
revision number when building form a distfile. Makes the build system
easier to maintain.
- Recognize -C for pkg_add like the rest of the tools do
- Do the existing check for pkg_add -f, it makes the combination of
-f and -U a bit less surprising
- Fix option handling for CHECK_VULNERABILITIES (from spz@)
- Make end-of-life check the default. pkg_install.conf(5) can be used
to override the default. The existing admin -e & co continue to work as
before.
which are known to fail, e.g.:
atf_tc_set_md_var(tc, "xfail", "PR kern/43456");
Expected failures do not count towards the ultimate pass/fail result
from the test run:
pain-rustique:39:~/<2>src/tests/fs/ptyfs> atf-run t_nullpts | atf-report
Tests root: /home/pooka/src/wholesrc2/src/tests/fs/ptyfs
t_nullpts (1/1): 1 test cases
nullrevoke: Expected failure: PR kern/43456
Summary for 1 test programs:
0 passed test cases.
0 failed test cases.
1 expected failures.
0 skipped test cases.
pain-rustique:40:~/<2>src/tests/fs/ptyfs> echo $?
0
However, an xfail test which passes will count as a failure, i.e.
xfail inverts test case success/fail. This way we can get a better
sense from the ultimate verdict of the NetBSD atf run by seeing if
there were any unexpected failures, i.e. new regressions.
This feature will be present in the upcoming atf 0.10 release,
possibly with finer grained control.
patch reviewed by jmmv
----------
Fix detection of crashed test cases
Prevent cross-test-case contamination that occured when a first test case
passed and the second crashed. The second could pick up the result of the
first test case and not be reported as failed.
Similarly, change the way timed out test cases are reported back to the
caller. The creation of a temporary results file was just a really stupid
way of passing information around and introduced false positives if the
test case creates a results file before timing out.
Fixes ticket #35.
----------
Problem originally reported by pooka@.
* Fix crash when using clientid and the interface re-configures
* log the pid of dhcpcd
* Indicate server IP received message from even if server ID not
present
* Fix crashes on IPv4LL failure and add more logging
* Added atf-sh, an interpreter to process test programs written using
the shell API. This is not really a shell interpreter by itself
though: it is just a wrapper around the system shell that eases the
loading of the necessary ATF libraries.
* Removed atf-compile in favour of atf-sh.
* Added the use.fs metadata property to test case, which is used to
specify which test cases require file system access. This is to
highlight dependencies on external resources more clearly and to speed
up the execution of test suites by skipping the creation of many
unnecessary work directories.
* Fixed test programs to get a sane default value for their source
directory. This means that it should not be necessary any more to pass
-s when running test programs that do not live in the current
directory.
* Defining test case headers became optional. This is trivial to achieve
in shell-based tests but a bit ugly in C and C++. In C, use the new
ATF_TC_WITHOUT_HEAD macro to define the test case, and in C++ use
ATF_TEST_CASE_WITHOUT_HEAD.
bugfixes and feature additions, full changelog is below. The major
feature I think was the GCC compatibility which is now enabled by
default, with many of the commonly used GCC attributes and builtin
functions now supported, and pcc defines __GNUC__ as version 4.3
This version can build all of bin/, sbin/ and games/ except for dab(5),
with only a few outstanding issues in usr.bin/ and usr.sbin/. There are
still issues with PIC code generation (affects building libraries, on
i386 at least) and I have not tried applying pcc to kernel builds.
ChangeLog, in most-recent first order, screen-scraped from
http://pcc.ludd.ltu.se/fisheye/changelog/pcc
Each paragraph is a separate commit, the [xxx] refers to the module
that the following commits were in:
[ccom]
Fix designated initializer bug as reported by Iain Hibbert on pcc-list.
Put in prototype for dainit() to avoid warnings when using yacc.
Discard parameter attributes, they ended up to be handled as arguments
otherwise. Suppose to fix Jira#PCC-132 by Iain Hibbert.
Rewrite __builtin_offsetof() to handle non-constant array offset values.
This actually made the offsetof code much simpler.
Requested by Iain Hibbert on pcc-list.
Op DOT will be BINODE.
Support gcc ugly construction a?:b, as discussed on pcc-list.
Add gcc compat range initializers, reported by Iain Hibbert.
[amd64]
Do not put eax as hidden argument if not needed.
Better support for the Intel addressing modes. Now ByteBench only takes
77% of the earlier time to complete.
[mip]
Do not base hash functions on memory addresses. These addresses may
change between different compilations and we want predictability.
Also check if an address of a node is lower than expected to avoid
short-range temporaries in the Freeze() code.
[i386]
Clear flags field on TEMP nodes so that function pointers will get their
stack adjusted afterwards, otherwise there might be junk left.
[ccom]
Aet alignment to at least ALCHAR for structs when passing them over to
pass2. Failure to do so caused bug spotted by Iain Hibbert.
[sparc64]
Fix string init bug, from Lars Zetterlund.
[mip]
Declare printip2() as static function for whole file, as pointed out by
Iain Hibbert.
[ccom]
Make the canary value on stack volatile, so that the compiler won't
try to put it into a register. Solves stack overwrite error reported
by Iain Hibbert on pcc-list.
[i386]
Fix uninitialized member bug in picsymtab breaking -k -g. Suppose to fix
Jira#PCC-138 by Nicolas Joly, patch provided by Iain Hibbert.
[ccom]
Tell scan to ignore typedefs of the same names goto labels. Fixes
Jira#PCC-141 by Andreas Kaiser with recommended fix from him.
[mip]
Run deljumps again after the ssa pass to cleanup the code before doing
register allocation.
[mip]
Do liveness analysis before turning a function into SSA code, and later
use that to to find out whether we need to insert a phi function or not.
This is usually called "Pruned SSA".
Now the SSA code tend to be significantly better quality.
Fix deljumps label updating bug.
Remove statements that are moves to itself in deljumps.
[libpcc]
Define _VA_LIST_DEFINED for compatibility eglibc headers.
From tg@mirbsd.de.
[ccom]
Ensure CM towers are built to the left, fixes parsing bug pointed put
by Jonathan Gray. Also add "used" attribute.
[mip]
Teach dce() to remove ip structs without destroying the basic block
structure.
[ccom]
Check if type is an array before checking its dimension. Fixes bug
reported by Iain Hibbert on pcc-list.
[i386]
Tell table to prefer 2-op insns before 3-op.
Do not try to match args on builtins.
[mip]
Do not favorize 3-op instruction in the ssa case, simple statements
like i++ have been rewritten to t1 = t2 + 1 and we want the register
allocator to try to put t1 and t2 in the same register if there are
2-op insns.
Help coloring algorithm by at the time of assigning registers see if
there are any frozen moves to nodes that have already got their color
and we can give this node the same register.
This will avoid unneccessary moves.
Move list init into the function that initializes it.
Put two more variables into p2env, to have a cleaner way of passing
information in the optimizer phase.
Fix broken indentation.
Do not put a move on the move list more than once.
Count precolored nodes as infinite K, not 0, otherwise it may make
colorable graphs uncolorable when there are many moves.
[ccom]
Fix reporting on bogus error of struct parameters, as reported by Iain
Hibbert on pcc-list.
[amd64]
Remove cast of pointer converted ints, not needed on amd64. Fixes
Jira#PCC-136 by Nicholas Joly.
[ccom]
Add and handle gcc attribute __warn_unused_result__. Requested by Iain
Hibbert but with a different implementation.
Do not allow initialization of multi-dimension incomplete arrays, fixes
bug reported by Jesus Sanchez on pcc-list.
Also fix another bug spotted, which had as a result that dynamic-sized
arrays initialized by strings did not become null-terminated.
[amd64]
amd64 cannot handle imemdiate constants for 64-bit simple ops.
Fixes Jira#PCC-134 by Nicolas Joly.
[ccom]
Allow any expression inside typeof. Supposes to fix Jira#PCC-135
by Iain Hibbert.
[mip]
Replace deljumps() with the stuff used in the 2BSD c2.
Still some parts to implement though.
[i386]
Yech, yesterdays worst thinko about where to put the return check for
floats. Now awk works again.
Use SSTDCALL, not FSTDCALL for symtab entries. Spotted by Iain Hibbert.
Reorganize late mangle code a little. Now stdcall should work.
[mip]
Remove some #if 0'ed code that is phased out.
[i386]
The n_flags fields should use NLOCALx defines, not hardcoded numbers.
Found by Iain Hibbert.
[ccom]
Check for NaN string is only valid for ICON nodes. Bug found by
Iain Hibbert.
[i386]
Detect the situation where a function returns a float number but the
return value is ignored; the float stack must be popped anyway.
FIxes a bug in awk where the float stack overflows.
[ccom]
Clear out symtab pointers for NAME and ICON nodes in functions to
be inlined, since accessing them will result in crashes. Fixes
stdcall/ccall bugs reported by Iain Hibbert.
[ccom, i386]
Add support for stdcall and cdecl attributes. Patch from iain Hibbert.
[ccom]
Remove redundant GETSUE() define, from Iain Hibbert.
Fix yet another situation where attributes causes warnings.
Reported and slightly modified patch from Iain Hibbert.
Handling of argument to scalinit() was incorrect causing wrong type to
be returned. Fixes Jira#PCC-131 by Iain Hibbert.
Fix problem with offsetof of zero-length arrays and a debug segfault.
Fixes Jira#PCC-129 by Iain Hibbert.
Fix checking of struct sizes. Solves Jira#PCC-128 by Iain Hibbert.
Remove redundant check that caused function names beginning with L to
be treated as wide strings in __func__. Patch from Iain Hibbert.
[amd64]
Add last memcpy for function returning structs. Should be complete now.
[configure]
Set default wchar type to int instead of unsigned.
[cc]
Fix wchar defines as requested by Iain Hibbert.
[cpp]
One more comment-handling bug found by Iain Hibbert.
Forgot to null-terminate yytext. Bug pointed out by Iain Hibbert.
[ccom]
No reason not to allow pointers larger than LONG, as pointed out by
Peter Kuschnerus.
Cast 0x80 to char to avoid a warning. Fixes compiler warning as
reported by Peter Kuschnerus.
[amd64]
Add arg count index to builtin switch table.
[ccom]
Fix segfault bug, found and patch provided by Iain Hibbert.
While here, make the switch table const.
Do not segfault if the string given to __builtin_nan is a NULL pointer.
Bug reported by Iain Hibbert.
[ccom]
Discard comments in yylex() so that -C works even with comments in
#if directives. Supposes to fix Jira#PCC-126 by Iain Hibbert.
Add huge/inf/nan builtins as requested by Iain Hibbert.
Also add a generic builtin function, based on a slightly modified
version of a patch by Iain Hibbert.
Add another cast routine which will cast without adding a "cast" and
therefore it will complain if it's a bad cast (like int to pointer).
[amd64]
Fix bugs where int should be long. Fixes Jira#PCC-125 by Nicholas Joly.
[ccom]
Break out buintins to their own file. Common argument count check
for builtins. Should have argument cast checks here also.
[i386]
Add support for attribute "visibility".
[amd64]
Do not emit visibility type "default" since it's ``default''.
Print out visibility directives for as.
[ccom]
Add attribute support for visibility per patch from Iain Hibbert.
[i386]
Add support for constructor/destructor attribute.
XXX defloc() should be possible elf-common code.
[amd64]
Add con/destructor support. XXX pragma init/fini should be MI.
[ccom]
Add con/destructor as attributes per patch from Iain Hibbert.
Different target implementations though.
[amd64]
Fix struct argument/return bugs. Add PIC support.
[ccom]
Change some forgotten code to find the bottom type size; since type
sizes are not directly inherited anymore. Fixes coredump bug by
Iain Hibbert.
[cc, cpp, ccom]
Fix arrows from joerg@netbsd via plunky on pcc-list.
Escape some dashes and use an em-dash (noted by Thorsten).
Fix broken markup in manpages (from plunky on pcc-list).
[ccom]
Add __builtin_memset, per patch from Iain Hibbert.
[i386]
Remove unused variable, as Iain Hibbert kindly informed.
Remove unused (and irrelevant) statement.
[ccom]
Add cast() function that is an easier-to-use wrapper around buildtree().
[ccom, mip]
kill some commons; ragge@ ok
[cpp]
Allow # alone on lines, as requested by Mickey.
[ccom]
Accept gcc attributes after a gcc asm() rename directive. Bugfix
provided by Iain Hibbert. Supposed to fix Jira#PCC-104.
Implement __builtin_memcpy(). Now pcc can compile itself again on OS X.
Add support for variable renaming when assingning; i.e.
int foo asm("bar") = 2;
and not only
int foo asm("bar");
Should fix Jira#PCC-116 by Altamiranus.
Add support for attribute modes SF, DF, byte, word, pointer.
Should fix Jira#PCC-114 by Altamiranus.
Understand QI mode attribute as CHAR. Fixes Jira#PCC-113 by Altamiranus.
Understand function attributes pure and const. Fixes Jira#PCC-110 and
Jira#PCC-111 by Altamiranus.
[cpp]
Fix const usage. From Iain Hibbert.
[mip]
License (and small code) change in the code repository where the
function basename() came from. From Iain Hibbert.
[sparc64]
Correct format strings and STASG return register.
Addresses PCC-107 and PCC-108 from Dmitry Alenichev.
[i386]
Remove unused locals on non-openbsd builds.
[cc]
Don't define __GNUC__ on win32 until problems with header files are
resolved.
[ccom]
Add my local changes for building with the Microsoft compiler.
Add support for attribute mode and some mode types. Should solve
Jira#PCC-101 by Detlef Riekenberg.
[cpp]
Print out an extra \n before emitting a new line-file directive.
Solves Jira#PCC-97 by Gregory McGarry.
[ccom]
Add gcc attribute nothrow as patch in Jira#PCC-102 by Detlef Riekenberg.
[cpp]
Understand gcc directive #include_next. Solves Jira#PCC-106 by Altamiranus.
[ccom]
Handle more cases of attribute. Adds another shift/reduce conflict.
Understand malloc attribute and ignore it, we do not do aliasing yet.
Handle sizes of pointers to forward declarated strust/unions better.
[i386]
Print out constants in the same radix as gcc, to simplify debugging.
Correct return values of STASG.
[mip]
STASG must be treaded as ASSIGN in sanity checks.
[i386, amd64]
generate symbol types and section attributes for elf; ragge@ ok
[ccom]
Ueck, forgot some debug printouts :-(
Handling of attribute strings was broken; they were treated as names.
Reported by Michael Shalayeff who provided a diff, but fixed in a more
common way.
[i386]
Fix bug causing comparision of two long-long values to sometimes fail
(low-order values must be compared unsigned). Reported by Jonathan Gray.
Also fix a bug in struct assignment causing broken code to be generated.
[cc]
Get GCC_COMPAT from configure.
At last - defined __GNUC__ etc. and also __GNUC_STDC_INLINE__.
[mip]
Only try to shortcut the conditional code generation if the operands are
of types +-*/%&|^>><<, otherwise side effects may be lost. Bug found
by Jonathan Gray.
[ccom]
Add the g77 types, for compatibility.
[amd64]
Give 32-bit register to movl instruction. Fixes Jira#PCC-100 by
Dara Hazeghi.
Allow moving of TEMPs to regs. Fixes Jira#PCC-99 by Dara Hazeghi.
[sparc64]
Sparc64 patches from Lars Zetterlund. Are supposed to fix Jira#PCC-20.
[ccom]
Add __builtin_offset(), which is becoming more and more common.
Suggedted by Jonathan Gray.
[csu]
Use 'test -f' rather than 'test -e' for improved portability.
From Adam Hoka.
[powerpc]
Improve alignment.
[linux]
Improve building of shared libraries on linux. Tested on Ubuntu 8.04.
[libpcc]
Remove definition of off_t, since it is frequently wrong. Confirmed OK on
Ubuntu 8.04, OSX and Win32.
[i386]
Fix alignments on OSX.
[tests]
Get test to work on win32.
Don't use __attribute__ in this test, since most systems will define it
away if not gcc.
[mip]
Change static array to allocated linked list for temporaries not allowed
to be spilled. libssl seems to make a heavy use of extended assembler.
Bug reported by Jonathan Gray.
[i386]
dd support for gcc xasm arg types I, J, K, L, M, N. Fixes Jira#PCC-96
by Jonathan Gray.
[ccom]
kill unused variables; ragge@ ok
[hppa]
fix merge error
[ccom]
Put back nocon_e, creates better yacc code.
[hppa]
fixx fallout form walkf() change and other gcc bitchings
add pragma support (from amd64 ;)
[powerpc, i386, arm, amd64, mips]
Return to the text segment after putting reference in constructor table.
Should fix PCC-65.
[ccom]
Rearrange yacc code slightly to avoid a shift/reduce conflict, that
could cause unwanted syntax errors.
Giving multiple declarations of the same prototype failed if there
were dynamic arrays as arguments.
Fix bug in debug printout of prototype parameters.
Accept [*] as [] in prototypes. Fixes Jira#PCC-94 by Jonathan Gray.
[mip]
Must add moves before and after a +r xasm directive even if the node
is in a temporary; the temporary may need to be spilled.
man pages to use mandoc unconditional as it gives reasonable output for
all man pages, not only a subset of mdoc(7). Use the newly installed
style.css for formatting and produce hyperlinks for .Xr.
of keeping UTC, and handle timezones the way we handled them before (CRON_TZ).
The old behavior can be selected with defining CRON_LOCALTIME.
- Provide functions to pretty-print crontab entries.