]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r206424: (by rdivacky in 2010)
authorian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 15 Mar 2016 03:20:24 +0000 (03:20 +0000)
committerian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 15 Mar 2016 03:20:24 +0000 (03:20 +0000)
commitfe36e8a15f61a141fb39de32507a855cc8466ff4
treefceacffa2c4dcdccd6d2a06ebc5e4f09d357ad19
parent45b5e1c520ac3990d2a00624e7791a2ce1021ab6
MFC r206424: (by rdivacky in 2010)

  Rename the ALIGN macro to LINT_ALIGN so it does not clash with
  machine/param.h

  Bump the alignment to 16bytes because lint1 memory allocator is used for
  objects that require 16bytes alignment on amd64 (ie. val_t). This makes
  lint1 work when compiled with compiler(s) that use SSE for memcpy on amd64.
  (e.g. clang).

This allows me to compile stable-8 on a 64-bit build host running 10-stable,
without dying during the xlint build.  It should work fine on 11-current too.

git-svn-id: svn://svn.freebsd.org/base/stable/8@296887 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.bin/xlint/lint1/decl.c
usr.bin/xlint/lint1/lint1.h
usr.bin/xlint/lint1/mem1.c