Provide xmemdup0
authorAlan Modra <amodra@gmail.com>
Wed, 27 Apr 2016 06:12:50 +0000 (15:42 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 27 Apr 2016 07:37:17 +0000 (17:07 +0930)
commit25771140e2dc735712d052ba621c57eeb7248d9f
treeafa332f3cb06522a19228ba19bfbf9107c891557
parenta6a4679fc0ad12e99e0d8374752ecce9ef097ec2
Provide xmemdup0

and some tidies in as.h

* as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
(xmemdup0): New inline function.
gas/ChangeLog
gas/as.h