diff options
author | Ian Lance Taylor <ian@airs.com> | 2010-01-19 17:55:48 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2010-01-19 17:55:48 +0000 |
commit | e8a151354bec08c94e32875c10bc8a10c68268b7 (patch) | |
tree | 3bb753fca4ee2d61ab506abe1ac868b6a1b65428 /elfcpp | |
parent | e5b68cff621511867f4cc6e70cf29c17fadb3f1d (diff) | |
download | binutils-redhat-e8a151354bec08c94e32875c10bc8a10c68268b7.tar.gz |
elfcpp/:
* elfcpp.h (PN_XNUM): Define.
gold/:
* output.cc (Output_section_headers::do_sized_write): Write large
segment count to sh_info field.
(Output_file_header::do_sized_write): For large segment count,
write PN_XNUM to e_phnum field.
Diffstat (limited to 'elfcpp')
-rw-r--r-- | elfcpp/ChangeLog | 4 | ||||
-rw-r--r-- | elfcpp/elfcpp.h | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/elfcpp/ChangeLog b/elfcpp/ChangeLog index d2d6251948..ab3d2df581 100644 --- a/elfcpp/ChangeLog +++ b/elfcpp/ChangeLog @@ -1,3 +1,7 @@ +2010-01-19 Ian Lance Taylor <iant@google.com> + + * elfcpp.h (PN_XNUM): Define. + 2009-12-14 Ian Lance Taylor <iant@google.com> * elfcpp_file.h: Revert last patch. diff --git a/elfcpp/elfcpp.h b/elfcpp/elfcpp.h index 0b2c871d19..8ecbc0ae4c 100644 --- a/elfcpp/elfcpp.h +++ b/elfcpp/elfcpp.h @@ -302,6 +302,15 @@ enum EM // Old MN10200 objects used 0xdead (EM_MN10200 is correct). }; +// A special value found in the Ehdr e_phnum field. + +enum +{ + // Number of program segments stored in sh_info field of first + // section headre. + PN_XNUM = 0xffff +}; + // Special section indices. enum |