[COMMIT] Fix thinko in elf32_arm_output_symbol_hook

Nick Clifton nickc@redhat.com
Wed Jan 11 22:03:00 GMT 2006


Hi Guys,

  The code to create an array of mapping symbols in bfd/elf32-arm.c:
  elf32_arm_output_symbol_hook() has as small problem - it reallocates
  the map array and then installs the new entry into the old, possibly
  NULL, memory location.  I am installing the attached patch to fix
  this.

Cheers
  Nick

bfd/ChangeLog
2006-01-11  Nick Clifton  <nickc@redhat.com>

	* elf32-arm.c (elf32_arm_output_symbol_hook): Install new entry
	into the newly (re)allocated map array.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: elf32-arm.c.patch
Type: text/x-patch
Size: 1120 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20060111/9ce82f59/attachment.bin>


More information about the Binutils mailing list