btrfs-progs/.gitignore
Zach Brown 5ac75e2af2 btrfs-progs: get C=1 sparse checking working again
There were a few problems that were breaking sparse checking:

- We were defining CHECK_ENDIAN late in the environment, after
  linux/fs.h has been included which defines __force and __bitwise in
  confusing ways that conflict with ours.  Define it up with __CHECKER__
  so that linux/fs.h and our copy are acting on the same input.

- We had manually set a few of gcc's internal defines to give to sparse.
  It's easier to just ask gcc for all the defines it sets and hand those
  to sparse.

- We weren't passing the same *FLAGS to sparse as we were to CC.

- glibc has so many errors with FORTIFY turned on that sparse gives up
  and doesn't show us any errors from our code.  It's a questionable
  hack to always turn on FORTIFY ourselves, so we'll just not do that
  when building with sparse.

And add a nice '[SP]' quiet output line for sparse checks.

Signed-off-by: Zach Brown <zab@redhat.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
2013-09-03 19:41:12 +02:00

37 lines
444 B
Plaintext

*.o
*.static.o
*.o.d
.cc-defines.h
version.h
version
man/*.gz
btrfs
btrfs.static
btrfs-debug-tree
btrfs-map-logical
btrfs-fragments
btrfsck
calc-size
ioctl-test
dir-test
send-test
quick-test
find-root
mkfs.btrfs
mkfs.btrfs.static
repair
restore
btrfs-convert
btrfs-find-root
btrfs-find-root.static
btrfs-image
btrfs-show-super
btrfs-zero-log
btrfs-corrupt-block
btrfs-select-super
btrfstune
libbtrfs.a
libbtrfs.so
libbtrfs.so.0
libbtrfs.so.0.1