Commit Graph

366 Commits

Author SHA1 Message Date
joerg
1e608ad53f Fix format string usage 2011-05-24 12:49:11 +00:00
wiz
610b889888 Sort options and option descriptions. Use more markup. 2011-04-29 09:23:29 +00:00
christos
b9eac88297 weprovidedarracount()sothatwedon'tneedtosqueezethespacesout. 2011-02-07 23:56:18 +00:00
christos
ce3fa327b8 provide __arraycount() if not there. 2011-02-07 00:26:27 +00:00
pooka
f5d3a9ff38 don't use __arraycount in tools 2011-02-06 23:03:02 +00:00
christos
27eb1769a9 use unsigned char instead of uint8_t, easier for portability 2011-02-06 18:28:22 +00:00
christos
6b997b11db better dependency handling 2011-02-05 19:13:48 +00:00
christos
4c07b5ae7d fix missing comparison 2011-02-05 19:10:40 +00:00
christos
8e14f999b7 copyright date 2011-02-05 17:29:48 +00:00
christos
76706b0082 as promised make the last ops table auto-generated. 2011-02-05 17:14:14 +00:00
christos
6dfaa18130 oops forgot to commit the script. 2011-02-05 16:10:17 +00:00
christos
c93e02df25 fix tools build. Why doesn't .PARSEDIR work? 2011-02-05 03:09:46 +00:00
christos
759a394557 generate ops table dynamically. Will move the other table from tree.c there
too.
2011-02-04 23:32:44 +00:00
christos
15f35154fe fix typo 2011-02-04 23:31:23 +00:00
matt
1d4bb1d8f6 Change mips64 to use a 16 byte long double. 2011-01-18 08:30:10 +00:00
christos
003dddff9d PR/44235: Valeriy E. Ushakov: Don't pick up a block from the free list if
it is not big enough, allocate a new one. XXX: this is inefficient, but at
least it does not end up corrupting memory.
2011-01-17 03:04:10 +00:00
christos
c732e7b752 PR/44235: Martin Husemann: Fix core dump due to memory corruption.
Found by Henning Petersen
2010-12-18 20:57:41 +00:00
wiz
3d3c5d42cb Observe the following spelling:
- wide character (noun)
- wide-character (adjective)

Inspired by jmc@OpenBSD.
2010-12-16 17:42:25 +00:00
christos
f6fb458da3 PR/44148: Henning Petersen: catstrg() does not set the resulting string length. 2010-11-24 17:51:11 +00:00
mrg
52a4f7ac75 remove the remaining non-ELF code. 2010-07-11 12:07:31 +00:00
mrg
4c92852a80 remove almost all the ability to build netbsd with an a.out target.
we're ELF now, and there are many missing checks against OBJECT_FMT.
if we ever consider switching, the we can figure out what new ones
we need but for now it's just clutter.

this doesn't remove any of the support for exec_aout or any actually
required-for-boot a.out support, only the ability to build a netbsd
release in a.out format.  ie, most of this code has been dead for
over a decade.

i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari,
amiga, shark, cats, dreamcast, landisk, mmeye and x68k.  this covers
the 5 MACHINE_ARCH's affected, and all the other arch code touched.
it also includes some actual run-time testing of sparc, i386 and
shark, and i performed binary comparison upon amiga and x68k as well.


some minor details relevant:
- move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them
  down to only the parts ldconfig needs
- remove various unused source files
- switch amiga bootblocks to using elf2bb.h instead of aout2bb.h
2010-07-06 05:59:50 +00:00
mrg
668cb96893 for mips64*, use mips64 subdir, otherwise use $MACHINE_ARCH if exists,
or $MACHINE_CPU.  idea from dennis.c.ferguson@gmail.com in PR#43021.
2010-03-22 05:12:24 +00:00
mrg
4e60bef737 convert -idirafter to -isystem, as recommended by cgd in PR 11843.
most of the list in that PR were already done.
2010-03-22 01:29:29 +00:00
christos
9a10b49e97 revert for now. 2010-03-21 14:29:04 +00:00
christos
d867aaf024 make lint recognize constant shift values and not warn if the number of bits
shifted results in a narrower type.
2010-03-21 00:02:13 +00:00
wiz
8e35c759e7 Fix typo in comment. 2010-02-09 23:05:16 +00:00
christos
aa0d683311 Add a list of functions where we usually don't care about their return
code. Can be bypassed by -hh
2010-01-14 16:58:27 +00:00
christos
039ab08b25 fix hex double parsing. 2010-01-11 16:28:06 +00:00
matt
c31d577a8c Merge from matt-nb5-mips64
Teach lint about mips64
2009-12-14 00:42:06 +00:00
christos
2853bbf4b7 use %option instead of #define YY_NO_... 2009-10-29 14:49:02 +00:00
christos
7770393bf8 add type attributes in a few more places. 2009-10-03 17:09:18 +00:00
christos
3da8ec1b81 accept struct { ... } __packed name; 2009-10-03 01:35:20 +00:00
christos
17b31cc3a2 handle bit fields in packed structures. 2009-10-02 21:49:30 +00:00
christos
876a5b04b7 compute sizes by the new tsize() function. 2009-10-02 21:04:03 +00:00
christos
19f30f4ea2 fix typedef struct __packed 2009-10-02 20:45:06 +00:00
christos
2144a69bda remove debugging 2009-10-02 19:02:16 +00:00
christos
872e317461 recognize struct __packed x { }; in addition to struct x { } __packed; 2009-10-02 19:01:13 +00:00
christos
f07e30ff20 change initialization from non const of regular variables to c99 instead of
gnu since c99 now has it.
2009-10-02 18:17:16 +00:00
christos
bb531790dc understand __attribute__((__packed__)) and __packed. 2009-10-02 15:03:45 +00:00
wiz
8356afb2c1 Fix typos in comment. 2009-08-05 19:08:28 +00:00
christos
1a90c89fed Add __alignof__. 2009-05-02 16:10:49 +00:00
christos
6892362adf add variable declarations in for loops for c99 2009-05-01 22:03:36 +00:00
ginsbach
5fabed93f9 Print left and right type and not left type twice. (Hi Christos!) 2009-04-27 15:08:10 +00:00
christos
7f812cd511 Lukemify (WARNS=4) 2009-04-15 01:20:57 +00:00
lukem
ae780f8105 Compile lint with WARNS=3.
Currently there are too many -Wsign-compare issues for WARNS=4.
2009-04-14 09:09:59 +00:00
lukem
e54a1dbe60 fix -Wcast-qual issues 2009-04-14 09:08:39 +00:00
lukem
4bfb0e2161 Fix -Wshadow and -Wcast-qual issues 2009-04-14 09:06:25 +00:00
lukem
4c61b31086 Fix -Wshadow issues 2009-04-14 09:03:45 +00:00
lukem
4c213f3e71 Fix -Wcast-qual issue 2009-04-14 08:59:45 +00:00
christos
3f7bbc73e3 since we know the types, print what they are in error messages. 2009-04-13 21:17:37 +00:00