mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-13 02:45:02 +08:00
ns32k: use XOBNEW in another spot
gas/ChangeLog: 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW macro.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
|
||||||
|
|
||||||
|
* config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
|
||||||
|
macro.
|
||||||
|
|
||||||
2016-06-01 Graham Markall <graham.markall@embecosm.com>
|
2016-06-01 Graham Markall <graham.markall@embecosm.com>
|
||||||
|
|
||||||
* testsuite/gas/arc/nps-400-1.s: Add rflt variants with
|
* testsuite/gas/arc/nps-400-1.s: Add rflt variants with
|
||||||
|
@ -878,7 +878,7 @@ bit_fix_new (int size, /* Length of bitfield. */
|
|||||||
{
|
{
|
||||||
bit_fixS *bit_fixP;
|
bit_fixS *bit_fixP;
|
||||||
|
|
||||||
bit_fixP = obstack_alloc (¬es, sizeof (bit_fixS));
|
bit_fixP = XOBNEW (¬es, bit_fixS);
|
||||||
|
|
||||||
bit_fixP->fx_bit_size = size;
|
bit_fixP->fx_bit_size = size;
|
||||||
bit_fixP->fx_bit_offset = offset;
|
bit_fixP->fx_bit_offset = offset;
|
||||||
|
Reference in New Issue
Block a user