bfd/mmo.c: handle "objcopy --extract-symbols" generating and reading back.
authorHans-Peter Nilsson <hp@bitrange.com>
Thu, 22 Oct 2015 07:32:30 +0000 (09:32 +0200)
committerHans-Peter Nilsson <hp@bitrange.com>
Thu, 22 Oct 2015 14:17:32 +0000 (16:17 +0200)
commitc287bfe4297ec9c12db292fae5562be1758cf14f
tree264d7d09008838c2ebb73c4d06e97e2f4f2ad580
parent282b7d7b65e928a59464b2a9a5e75555c97481dc
bfd/mmo.c: handle "objcopy --extract-symbols" generating and reading back.

bfd:
* mmo.c (struct mmo_data_struct): New members
symbol_consistency_override_calculated and ignore_symbol_consistency.
(mmo_section_has_contents, mmo_ignore_symbol_consistency): New
functions.
(mmo_create_symbol): Check with mmo_ignore_symbol_consistency if to
report an error for unexpected value of Main.
(mmo_write_symbols_and_terminator): Similar.
bfd/ChangeLog
bfd/mmo.c