[gold patch] GDB index 1/2: Add new DWARF declarations

Cary Coutant ccoutant@google.com
Thu Mar 8 20:00:00 GMT 2012


This is the first of two patches to add --gdb-index option to gold.
This one just adds a bunch of new DWARF declarations to elfcpp/dwarf.h
(and a necessary fix in reduced_debug_output.cc).

OK?

-cary



2012-03-08  Cary Coutant  <ccoutant@google.com>

elfcpp/

	Update DWARF enums from ../include/dwarf2.h.
	* dwarf.h (enum DW_TAG): Add new DWARF-4 tags.
	(enum DW_FORM): Add new DWARF-4 and Fission extensions.
	(enum DW_AT): New enum.
	(enum DW_LINE_EXTENDED_OPS): Add new DWARF-4 opcode.
	(enum DW_ENCODING): Add new DWARF-4 encoding.
	(enum DW_OP): Add new DWARF-4 opcodes.
	(enum DW_CHILDREN): New enum.
	(enum DW_LANG): New enum.

gold/

	* reduced_debug_output.cc
	(Output_reduced_debug_info_section::get_die_end): Add new FORM
	codes to switch.



More information about the Binutils mailing list