Age | Commit message (Collapse) | Author |
|
>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
|
|
> 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.
|
|
|
|
Replace ugly target macros with function calls (gmcgarry).
|
|
Remove function arg conversions from clocal().
|
|
|
|
|
|
some changes in the mi parts that are not yet committed
|
|
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).
|
|
++ and -- are not allowed in preprocessor expressions. Based on a
diff by Jan Kryl.
ok ragge@, otto@
|
|
Get rid of ifdef'd out code. Replace nodup() call with equivalent code
at its only invocation.
ok ragge@, otto@
|
|
Include string.h. ok ragge@, otto@
|
|
Fix defalign(). ok otto@, gmcgarry
|
|
> Work in progress: PIC code for i386.
> Still missing: ebx as argument to functions.
|
|
> Print string identifier in case OREG has a relocatable offset.
|
|
> kflag exists in both passes.
|
|
> Remove some unused prototypes.
|
|
Chris Kuethe; ok ragge@
|
|
|
|
frobbing with WIF* macros. Originally based on a diff from deraadt@.
OK deraadt@.
|
|
next step for ELFABI, hello world works with ELFABI, but register
pairs still produce wrong assembly; with Dale Rahn
|
|
Don't let temporary file lie around if -S is used. ok ragge@
|
|
Reset the sue to UCHAR if using CHAR_UNSIGNED. Fixes warnings on
powerpc.
|
|
Provide compile-time flag STAB_LINE_ASSOLUTE which creates N_SLINE stabs
using absolute addresses instead of relative addresses. Fixes debugging
on OSX (and probably other non-ELF targets).
|
|
Fix sorting bug in addcase(). Spotted by Gregory McGarry.
ok gmcgarry, ragge@
|
|
> calls argument numbers are in registers, not bytes.
> If a jump is to the return label, emit ret insn instead.
> Add ADDROF table entry.
> Remove some unused entries.
> Do a Z call for emitted GOTOs.
> Only create constants for function names, they are called by name anyway.
|
|
> Allow ADDROF to fall through to table, for PIC code generation.
> Tighten check on GOTO argument and only complain that the label is out-of-range
> if we are actually jumping to label (ICON).
|
|
|
|
|
|
|
|
|
|
> Fix preprocessor number overflow check, by Jan Kryl.
|
|
> Fix FLD node type for code generation, so that it is useful again for
> architectures with bitfield instructions, like vax and hppa :-)
|
|
> Fix signed/unsigned type cast error, from Takehiko Nozaki.
|
|
fix segfault in CDEBUG() use of rnames
|
|
Pass the right file and not a temporary to as if cc is invoked with .s files.
ok ragge@, otto@
|
|
Some small bugfixes from Jan Kryl.
|
|
|
|
More fixes to cpp arithmetic, sanitychecked by otto and stefan.
|
|
|
|
some bug as well (probably because of static data).
|
|
|
|
|
|
|
|
|
|
|
|
>Fix -Xp (prototype debug) which was interpretting structs/unions/enums
>as arrays. Fix compile with TARGET_STDARGS.
|
|
stlye(9) fixes from Sergey Elin
This as ok ragge@, otto@
|
|
Replace errorx() with error(); exit() in the child process in callsys().
errorx deletes the temp. files which we don't want to happen in the
child. ok otto@, ragge@
|
|
actually check the return type and arg list of the function pointer
arg. ok ragge@
|