History log of /freebsd-12.1/contrib/binutils/include/obstack.h (Results 1 – 7 of 7)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0
# 34f4d02c 24-Dec-2017 Dimitry Andric <[email protected]>

Fix clang 6.0.0 compiler warnings in binutils

Latest clang git has a warning -Wnull-pointer-arithmetic which will
trigger a -Werror failure. Addition and subtraction from a null pointer
is undefined

Fix clang 6.0.0 compiler warnings in binutils

Latest clang git has a warning -Wnull-pointer-arithmetic which will
trigger a -Werror failure. Addition and subtraction from a null pointer
is undefined behaviour and could be optimized into anything.

Furthermore, using the difference between two pointers and casting the
result back to a pointer is not portable since the size of ptrdiff_t
does not necessary have to be the same as size of void* (this happens
e.g. on CHERI). Using intptr_t instead fixes this portability issue and
the compiler warning.

Submitted by; Alexander Richardson
Obtained from: CheriBSD
Differential Revision: https://reviews.freebsd.org/D12928
MFC after: 3 days

show more ...


Revision tags: release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0, release/7.4.0, release/8.2.0, release/8.1.0, release/7.3.0, release/8.0.0, release/7.2.0, release/7.1.0, release/6.4.0, release/7.0.0, release/6.3.0, release/6.2.0, release/5.5.0, release/6.1.0, release/6.0.0, release/5.4.0, release/4.11.0, release/5.3.0
# da03bc70 16-Jun-2004 David E. O'Brien <[email protected]>

Import of Binutils from the FSF 2.15 branch (just post-.0 release).
These bits are taken from the FSF anoncvs repo on 23-May-2004 04:41:00 UTC.


Revision tags: release/4.10.0, release/5.2.1, release/5.2.0, release/4.9.0, release/5.1.0, release/4.8.0, release/5.0.0, release/4.6.2
# fd66bf00 26-Jun-2001 David E. O'Brien <[email protected]>

Import of GNU Binutils version 2.11.2.


# c9edcead 28-May-2001 David E. O'Brien <[email protected]>

Import of GNU Binutils version 2.11.0.
Believe it or not, this is heavily stripped down.


Revision tags: release/4.3.0
# 78ce21c1 12-May-2000 David E. O'Brien <[email protected]>

Import of Binutils 2.10 snapshot.


# f3c0afbf 06-Sep-1998 John Polstra <[email protected]>

Import GNU binutils-2.9.1. This will break things for a few minutes
until I've made the commits to resolve the conflicts.

Submitted by: Doug Rabson <dfr>


# 52cb4975 01-Mar-1998 John Polstra <[email protected]>

Initial import of GNU binutils version 2.8.1. Believe it or not,
this is heavily stripped down.