Exhibit 3.1

SECOND AMENDED AND RESTATED

CERTIFICATE OF INCORPORATION

OF

GORES HOLDINGS, INC.

November 4, 2016

Gores Holdings, Inc., a corporation organized and existing under the laws of the State of Delaware (the “Corporation”), DOES HEREBY CERTIFY AS FOLLOWS:

1. The name of the Corporation is “Gores Holdings, Inc.” The original certificate of incorporation was filed with the Secretary of State of the State of Delaware on June 1, 2015 (the “Original Certificate”). A certificate of amendment to the Original Certificate was filed with the Secretary of State of the State of Delaware on June 11, 2015. The Corporation filed an amended and restated certificate of incorporation with the Secretary of State of the State of Delaware on August 13, 2015 (the “First Amended and Restated Certificate”).

2. This Second Amended and Restated Certificate of Incorporation (this “Second Amended and Restated Certificate”) was duly adopted by the Board of Directors of the Corporation (the “Board”) and the stockholders of the Corporation in accordance with Sections 228, 242 and 245 of the General Corporation Law of the State of Delaware.

3. This Second Amended and Restated Certificate restates, integrates and amends the provisions of the First Amended and Restated Certificate. Certain capitalized terms used in this Second Amended and Restated Certificate are defined where appropriate herein.

4. The text of the First Amended and Restated Certificate is hereby restated and amended in its entirety to read as follows:

ARTICLE I

NAME

The name of the corporation is Hostess Brands, Inc. (the “Corporation”).

ARTICLE II

PURPOSE

The purpose of the Corporation is to engage in any lawful act or activity for which corporations may be organized under the General Corporation Law of the State of Delaware (the “DGCL”). In addition to the powers and privileges conferred upon the Corporation by law and those incidental thereto, the Corporation shall possess and may exercise all the powers and privileges that are necessary or convenient to the conduct, promotion or attainment of the business or purposes of the Corporation.

ARTICLE III

REGISTERED AGENT

The address of the registered office of the Corporation in the State of Delaware is 1209 Orange Street, Wilmington, New Castle County, Delaware 19801. The name of the Corporation’s registered agent at such address is The Corporation Trust Company.

ARTICLE IV

CAPITALIZATION

Section 4.1 Authorized Capital Stock. Subject to Section 4.2, the total number of shares of all classes of capital stock, each with a par value of $0.0001 per share, which the Corporation is authorized to issue is 261,000,000 shares, consisting of (a) 260,000,000 shares of common stock (the “Common Stock”), including (i) 200,000,000 shares of Class A Common Stock (the “Class A Common Stock”), (ii) 50,000,000 shares of Class B Common Stock (the “Class B Common Stock”), and 10,000,000 shares of Class F Common Stock (the “Class F Common Stock”) and (b) 1,000,000 shares of preferred stock (the “Preferred Stock”).

Section 4.2 Class F Common Stock. Immediately upon the filing of this Second Amended and Restated Certificate with the Secretary of State of the State of Delaware, each share of Class F Common Stock outstanding immediately prior to the filing of this Second Amended and Restated Certificate shall automatically be converted into one share of Class A Common Stock without any action on the part of any person, including the Corporation, and concurrently with such conversion, the number of authorized shares of Class F Common Stock shall be reduced to zero. It is intended that the conversion of Class F Common Stock into Class A Common Stock will be treated as a reorganization within the meaning of Section 368(a)(1)(E) of the Internal Revenue Code of 1986, as amended.

Section 4.3 Preferred Stock. The Preferred Stock may be issued from time to time in one or more series. The Board is hereby expressly authorized to provide for the issuance of shares of the Preferred Stock in one or more series and to establish from time to time the number of shares to be included in each such series and to fix the voting rights, if any, designations, powers, preferences and relative, participating, optional and other special rights, if any, of each such series and any qualifications, limitations and restrictions thereof, as shall be stated in the resolution or resolutions adopted by the Board providing for the issuance of such series and included in a certificate of designation (a “Preferred Stock Designation”) filed pursuant to the DGCL, and the Board is hereby expressly vested with the authority to the full extent provided by law, now or hereafter, to adopt any such resolution or resolutions.

Section 4.4 Common Stock.

(a) Except as otherwise required by law or this Second Amended and Restated Certificate (including any Preferred Stock Designation), the holders of the Common Stock shall possess all voting power with respect to the Corporation. The holders of shares of Common Stock shall be entitled to one vote for each such share on each matter properly submitted to the stockholders on which the holders of the Common Stock are entitled to vote. The holders of shares of Class A Common Stock and Class B Common Stock shall at all times vote together as one class on all matters submitted to a vote of the stockholders of the Corporation.

(b) Except as otherwise required by law or this Second Amended and Restated Certificate (including any Preferred Stock Designation), at any annual or special meeting of the stockholders of the Corporation, the holders of the Common Stock shall have the exclusive right to vote for the election of directors and on all other matters properly submitted to a vote of the stockholders. Notwithstanding the foregoing, except as otherwise required by law or this Second Amended and Restated Certificate (including a Preferred Stock Designation), the holders of the Common Stock shall not be entitled to vote on any amendment to this Second Amended and Restated Certificate (including any amendment to any Preferred Stock Designation) that relates solely to the terms of one or more outstanding series of the Preferred Stock if the holders of such affected series are entitled, either separately or together with the holders of one or more other such series, to vote thereon pursuant to this Second Amended and Restated Certificate (including any Preferred Stock Designation).

2

(c) Subject to the rights, if any, of the holders of any outstanding series of the Preferred Stock, the holders of the Common Stock shall be entitled to receive such dividends and other distributions (payable in cash, property or capital stock of the Corporation) when, as and if declared thereon by the Board from time to time out of any assets or funds of the Corporation legally available therefor, and shall share equally on a per share basis in such dividends and distributions; provided, however, that the holders of Class B Common Stock shall not be entitled to share in any such dividends or other distributions.

(d) Subject to the rights, if any, of the holders of any outstanding series of the Preferred Stock, in the event of any voluntary or involuntary liquidation, dissolution or winding-up of the Corporation, after payment or provision for payment of the debts and other liabilities of the Corporation, the holders of the Common Stock shall be entitled to receive all the remaining assets of the Corporation available for distribution to its stockholders, ratably in proportion to the number of shares of the Common Stock held by them; provided, however, that the holders of Class B Common Stock shall not be entitled to receive any portion of any such assets in respect of their shares of Class B Common Stock.

Section 4.5 Rights and Options. The Corporation has the authority to create and issue rights, warrants and options entitling the holders thereof to purchase shares of any class or series of the Corporation’s capital stock or other securities of the Corporation, and such rights, warrants and options shall be evidenced by instrument(s) approved by the Board. The Board is empowered to set the exercise price, duration, times for exercise and other terms and conditions of such rights, warrants or options; provided, however, that the consideration to be received for any shares of capital stock subject thereto may not be less than the par value thereof.

Section 4.6 Class B Common Stock.

(a) Shares of Class B Common Stock may only be issued to and held by the CDM Holders (as defined in Article 10.3) and their respective Permitted Transferees (as defined in the LP Agreement) and any other transferee of Class B Units to the extent permitted by the LP Agreement (collectively, the “Permitted Holders”).

(b) At any time Hostess Holdings issues a Class B Unit to a Permitted Holder, the Corporation shall issue a share of Class B Common Stock to such Permitted Holder. Upon the conversion or cancellation of any Class B Units pursuant to the Exchange Agreement and the LP Agreement, the corresponding share of Class B Common Stock automatically shall be cancelled for no consideration being paid or issued with respect thereto and without any action on the part of any person, including the Corporation, subject to the terms of the Exchange Agreement and LP Agreement. Any such cancelled shares of Class B Common Stock shall be deemed no longer outstanding, and all rights with respect to such shares shall automatically cease and terminate. Shares of Class B Common Stock may only be transferred to a person other than the Corporation or Hostess Holdings if the transferee is a Permitted Holder and an equal number of Class B Units are simultaneously transferred to such transferee in accordance with the LP Agreement. If Class B Units are being transferred to a Permitted Holder in accordance with the LP Agreement, an equal number of shares of Class B Common Stock must be simultaneously transferred to such transferee. The Corporation shall take all actions necessary so that, for so long as the Class B Common Stock is outstanding, the number of shares of Class B Common Stock outstanding equals the number of Class B Units outstanding and held by the Permitted Holders. For the avoidance of doubt, nothing herein restricts the ability of the Permitted Holders from surrendering shares of Class B Common Stock to the Corporation or Hostess Holdings pursuant to the Exchange Agreement.

3

(c) The Corporation shall, and shall cause the General Partner and Hostess Holdings to, take all actions necessary so that, for as long as the Class B Common Stock is outstanding, the number of Class B Units outstanding equals the number of shares of Class B Common Stock outstanding. The Corporation shall take all such other actions as may be reasonably necessary or advisable to give effect to the intended substantive economic results of the provisions of this Second Amended and Restated Certificate, the Exchange Agreement and the LP Agreement.

(d) At any time when there are no longer any shares of Class B Common Stock outstanding, this Second Amended and Restated Certificate automatically shall be deemed amended to delete this Section 4.6 in its entirety.

(e) As used in this Second Amended and Restated Certificate, the term:

(i) “Class A Units” means the Class A Units of Hostess Holdings.

(ii) “Class B Units” means the Class B Units of Hostess Holdings.

(iii) “Exchange Agreement” means the Exchange Agreement, dated as of November 4, 2016, by and among the Corporation, Hostess Holdings, CDM Hostess Co-Invest, LLC and each of its series, CDM Hostess Class C, LLC and each of its series, and such other holders of Class B Units from time to time party thereto, as it may be amended from time to time in accordance with its terms.

(iv) “General Partner” means Hostess Holdings GP, LLC or any person who becomes an additional, successor or substitute general partner of Hostess Holdings pursuant to the LP Agreement.

(v) “Hostess Holdings” means Hostess Holdings, L.P., a Delaware limited liability company.

(vi) “LP Agreement” means the Fourth Amended and Restated Limited Partnership Agreement of Hostess Holdings, dated as of the date hereof, as amended from time to time in accordance with its terms.

(vii) “Master Transaction Agreement” means the Master Transaction Agreement, dated as of July 5, 2016, by and among the Corporation, Homer Merger Sub, Inc., AP Hostess Holdings, L.P., Hostess CDM Co-Invest, LLC, CDM Hostess Class C, LLC and AP Hostess Holdings, L.P. in its capacity as Sellers’ Representative thereunder, as amended from time to time in accordance with its terms.

ARTICLE V

BOARD OF DIRECTORS

Section 5.1 Board Powers. The business and affairs of the Corporation shall be managed by, or under the direction of, the Board. In addition to the powers and authority expressly conferred upon the Board by statute, this Second Amended and Restated Certificate or the Amended and Restated Bylaws of the Corporation (“Bylaws”), the Board is hereby empowered to exercise all such powers and do all such acts and things as may be exercised or done by the Corporation, subject, nevertheless, to the provisions of the DGCL and this Second Amended and Restated Certificate.

4

Section 5.2 Number, Election and Term.

(a) The number of directors of the Corporation, other than those who may be elected by the holders of one or more series of the Preferred Stock voting separately by class or series, shall be fixed from time to time exclusively by the Board pursuant to a resolution adopted by a majority of the Board.

(b) Subject to Section 5.5 hereof, the Board shall be divided into three classes, as nearly equal in number as possible, and designated Class I, Class II and Class III. The Board is authorized to assign members of the Board already in office to Class I, Class II or Class III. The term of the initial Class I Directors shall expire at the first annual meeting of the stockholders of the Corporation following the effectiveness of this Second Amended and Restated Certificate; the term of the initial Class II Directors shall expire at the second annual meeting of the stockholders of the Corporation following the effectiveness of this Second Amended and Restated Certificate; and the term of the initial Class III Directors shall expire at the third annual meeting of the stockholders of the Corporation following the effectiveness of this Second Amended and Restated Certificate. At each succeeding annual meeting of the stockholders of the Corporation, beginning with the first annual meeting of the stockholders of the Corporation following the effectiveness of this Second Amended and Restated Certificate, successors to the class of directors whose term expires at that annual meeting shall be elected for a three-year term. Subject to Section 5.5 hereof, if the number of directors is changed, any increase or decrease shall be apportioned by the Board among the classes so as to maintain the number of directors in each class as nearly equal as possible, but in no case shall a decrease in the number of directors shorten the term of any incumbent director. Directors shall be elected by a plurality of the votes cast at an annual meeting of stockholders by holders of the Common Stock.

(c) Subject to Section 5.5 hereof, a director shall hold office until the annual meeting for the year in which his or her term expires and until his or her successor has been elected and qualified, subject, however, to such director’s earlier death, resignation, retirement, disqualification or removal.

(d) Unless and except to the extent that the Bylaws shall so require, the election of directors need not be by written ballot.

Section 5.3 Newly Created Directorships and Vacancies. Subject to Section 5.5 hereof, newly created directorships resulting from an increase in the number of directors and any vacancies on the Board resulting from death, resignation, retirement, disqualification, removal or other cause shall be filled solely by a majority vote of the remaining directors then in office, even if less than a quorum, or by a sole remaining director (and not by stockholders), and any director so chosen shall hold office for the remainder of the full term of the class of directors to which the new directorship was added or in which the vacancy occurred and until his or her successor has been elected and qualified, subject, however, to such director’s earlier death, resignation, retirement, disqualification or removal.

Section 5.4 Removal. Subject to Section 5.5 hereof, any or all of the directors may be removed from office at any time, but only for cause and only by the affirmative vote of holders of a majority of the voting power of all then outstanding shares of capital stock of the Corporation entitled to vote generally in the election of directors, voting together as a single class.

Section 5.5 Preferred Stock – Directors. Notwithstanding any other provision of this Article V, and except as otherwise required by law, whenever the holders of one or more series of the Preferred Stock shall have the right, voting separately by class or series, to elect one or more directors, the term of office, the filling of vacancies, the removal from office and other features of such directorships shall be governed by the terms of such series of the Preferred Stock as set forth in this Second Amended and Restated Certificate (including any Preferred Stock Designation) and such directors shall not be included in any of the classes created pursuant to this Article V unless expressly provided by such terms.

5

ARTICLE VI

BYLAWS

In furtherance and not in limitation of the powers conferred upon it by law, the Board shall have the power to adopt, amend, alter or repeal the Bylaws. The affirmative vote of a majority of the Board shall be required to adopt, amend, alter or repeal the Bylaws. The Bylaws also may be adopted, amended, altered or repealed by the stockholders; provided, however, that in addition to any vote of the holders of any class or series of capital stock of the Corporation required by law or by this Second Amended and Restated Certificate (including any Preferred Stock Designation), the affirmative vote of the holders of at least a majority of the voting power of all then outstanding shares of capital stock of the Corporation entitled to vote generally in the election of directors, voting together as a single class, shall be required for the stockholders to adopt, amend, alter or repeal the Bylaws; and provided further, however, that no Bylaws hereafter adopted by the stockholders shall invalidate any prior act of the Board that would have been valid if such Bylaws had not been adopted.

ARTICLE VII

MEETINGS OF STOCKHOLDERS; ACTION BY WRITTEN CONSENT

Section 7.1 Meetings. Subject to the rights of the holders of any outstanding series of the Preferred Stock, and to the requirements of applicable law, special meetings of stockholders of the Corporation may be called only by the Chairman of the Board or Executive Chairman of the Board, as applicable, Chief Executive Officer of the Corporation, or the Board pursuant to a resolution adopted by a majority of the Board, and the ability of the stockholders to call a special meeting is hereby specifically denied.

Section 7.2 Advance Notice. Advance notice of stockholder nominations for the election of directors and of business to be brought by stockholders before any meeting of the stockholders of the Corporation shall be given in the manner provided in the Bylaws.

Section 7.3 Action by Written Consent. Any action required or permitted to be taken by the stockholders of the Corporation must be effected by a duly called annual or special meeting of such holders and may not be effected by written consent of the stockholders.

ARTICLE VIII

LIMITED LIABILITY; INDEMNIFICATION

Section 8.1 Limitation of Director Liability. A director of the Corporation shall not be liable to the Corporation or its stockholders for monetary damages for breach of fiduciary duty as a director, except to the extent such exemption from liability or limitation thereof is not permitted under the DGCL as the same exists or may hereafter be amended. Any amendment, modification or repeal of the foregoing sentence shall not adversely affect any right or protection of a director of the Corporation hereunder in respect of any act or omission occurring prior to the time of such amendment, modification or repeal.

Section 8.2 Indemnification and Advancement of Expenses.

(a) To the fullest extent permitted by Delaware law, as the same exists or may hereafter be amended, the Corporation shall indemnify and hold harmless each person who is or was made a party or is threatened to be made a party to or is otherwise involved in any threatened, pending or completed

6

action, suit or proceeding, whether civil, criminal, administrative or investigative, including an action by or in the right of the Corporation to procure a judgment in its favor (each, a “proceeding”), by reason of the fact that he or she is or was a director or officer of the Corporation or, while a director or officer of the Corporation, is or was serving at the request of the Corporation as a director, officer, employee or agent of another corporation or of a partnership, joint venture, trust, other enterprise or nonprofit entity, including service with respect to an employee benefit plan (an “indemnitee”), whether the basis of such proceeding is alleged action in an official capacity as a director, officer, employee or agent, or in any other capacity while serving as a director, officer, employee or agent, against all liability and loss suffered and expenses (including, without limitation, attorneys’ fees and disbursements, judgments, fines, ERISA excise taxes, damages, claims and penalties and amounts paid in settlement) reasonably incurred by such indemnitee in connection with such proceeding. The Corporation shall to the fullest extent not prohibited by applicable law pay the expenses (including attorneys’ fees) incurred by an indemnitee in defending or otherwise participating in any proceeding in advance of its final disposition; provided, however, that, to the extent required by applicable law, such payment of expenses in advance of the final disposition of the proceeding shall be made only upon receipt of an undertaking, by or on behalf of the indemnitee, to repay all amounts so advanced if it shall ultimately be determined that the indemnitee is not entitled to be indemnified under this Section 8.2 or otherwise. The rights to indemnification and advancement of expenses conferred by this Section 8.2 shall be contract rights and such rights shall continue as to an indemnitee who has ceased to be a director, officer, employee or agent and shall inure to the benefit of his or her heirs, executors and administrators. Notwithstanding the foregoing provisions of this Section 8.2(a), except for proceedings to enforce rights to indemnification and advancement of expenses, the Corporation shall indemnify and advance expenses to an indemnitee in connection with a proceeding (or part thereof) initiated by such indemnitee only if such proceeding (or part thereof) was authorized by the Board.

(b) The rights to indemnification and advancement of expenses conferred on any indemnitee by this Section 8.2 shall not be exclusive of any other rights that any indemnitee may have or hereafter acquire under law, this Second Amended and Restated Certificate, the Bylaws, an agreement, vote of stockholders or disinterested directors, or otherwise.

(c) Any repeal or amendment of this Section 8.2 by the stockholders of the Corporation or by changes in law, or the adoption of any other provision of this Second Amended and Restated Certificate inconsistent with this Section 8.2, shall, unless otherwise required by law, be prospective only (except to the extent such amendment or change in law permits the Corporation to provide broader indemnification rights on a retroactive basis than permitted prior thereto), and shall not in any way diminish or adversely affect any right or protection existing at the time of such repeal or amendment or adoption of such inconsistent provision in respect of any proceeding (regardless of when such proceeding is first threatened, commenced or completed) arising out of, or related to, any act or omission occurring prior to such repeal or amendment or adoption of such inconsistent provision.

(d) This Section 8.2 shall not limit the right of the Corporation, to the extent and in the manner authorized or permitted by law, to indemnify and to advance expenses to persons other than indemnitees.

ARTICLE IX

CORPORATE OPPORTUNITY

(a) The doctrine of corporate opportunity, or any other analogous doctrine, shall not apply with respect to the Corporation or any of its officers or directors in circumstances where the application of any such doctrine to a corporate opportunity would conflict with any fiduciary duties or

7

contractual obligations they may have as of the date of this Second Amended and Restated Certificate or in the future. In addition to the foregoing, the doctrine of corporate opportunity shall not apply to any other corporate opportunity with respect to any of the directors or officers of the Corporation unless such corporate opportunity is offered to such person solely in his or her capacity as a director or officer of the Corporation and such opportunity is one the Corporation is legally and contractually permitted to undertake and would otherwise be reasonable for the Corporation to pursue.

(b) Without limiting the foregoing, to the extent permitted by applicable law, each of the Sellers (as defined in the Master Transaction Agreement), their respective Affiliates (as defined in Article 10.3) (other than the Corporation and its subsidiaries) and, to the extent any Seller is a series limited liability company, any series thereof and all of their respective partners, principals, directors, officers, members, managers, equity holders and/or employees, including any of the foregoing who serve as officers or directors of the Corporation (each, an “Exempted Person”) shall not have any fiduciary duty to refrain from engaging directly or indirectly in the same or similar business activities or lines of business as the Corporation or any of its subsidiaries, except as otherwise expressly provided in any agreement entered into between the Company and such Exempted Person. To the fullest extent permitted by applicable law, the Corporation, on behalf of itself and its subsidiaries, renounces any interest or expectancy of the Corporation and its subsidiaries in, or in being offered an opportunity to participate in, business opportunities that are from time to time available to the Exempted Persons, even if the opportunity is one that the Corporation or its subsidiaries might reasonably be deemed to have pursued or had the ability or desire to pursue if granted the opportunity to do so, and each such Exempted Person shall have no duty to communicate or offer such business opportunity to the Corporation (and there shall be no restriction on the Exempted Persons using the general knowledge and understanding of the industry in which the Corporation operates which it has gained as an Exempted Person in considering and pursuing such opportunities or in making investment, voting, monitoring, governance or other decisions relating to other entities or securities) and, to the fullest extent permitted by applicable law, shall not be liable to the Corporation or any of its subsidiaries or stockholders for breach of any fiduciary or other duty, as a director or officer or otherwise, by reason of the fact that such Exempted Person pursues or acquires such business opportunity, directs such business opportunity to another person or fails to present such business opportunity, or information regarding such business opportunity, to the Corporation or its subsidiaries, or uses such knowledge and understanding in the manner described herein, in each case, except as otherwise expressly provided in any agreement entered into between the Company and such Exempted Person. In addition to and notwithstanding the foregoing, a corporate opportunity shall not be deemed to belong to the Corporation if it is a business opportunity that the Corporation is not financially able or contractually permitted or legally able to undertake, or that is, from its nature, not in the line of the Corporation’s business or is of no practical advantage to it or that is one in which the Corporation has no interest or reasonable expectancy. Any person or entity purchasing or otherwise acquiring any interest in any shares of stock of the Corporation shall be deemed to have notice of the provisions of this Article IX.

(c) Neither the alteration, amendment, addition to or repeal of this Article IX, nor the adoption of any provision of this Second Amended and Restated Certificate (including any Preferred Stock Designation) inconsistent with this Article IX, shall eliminate or reduce the effect of this Article IX in respect of any business opportunity first identified or any other matter occurring, or any cause of action, suit or claim that, but for this Article IX, would accrue or arise, prior to such alteration, amendment, addition, repeal or adoption. This Article IX shall not limit any protections or defenses available to, or indemnification or advancement rights of, any director or officer of the Corporation under this Second Amended and Restated Certificate, the Bylaws or applicable law.

8

ARTICLE X

BUSINESS COMBINATIONS

Section 10.1 Opt Out of DGCL 203. The Corporation shall not be governed by Section 203 of the DGCL.

Section 10.2 Limitations on Business Combinations. Notwithstanding the foregoing, the Corporation shall not engage in any business combination, at any point in time at which the Common Stock is registered under Section 12(b) or 12(g) of the Securities Exchange Act of 1934, as amended, with any interested stockholder for a period of three (3) years following the time that such stockholder became an interested stockholder, unless:

(a) prior to such time, the Board approved either the business combination or the transaction which resulted in the stockholder becoming an interested stockholder; or

(b) upon consummation of the transaction which resulted in the stockholder becoming an interested stockholder, the interested stockholder owned at least 85% of the voting stock of the Corporation outstanding at the time the transaction commenced, excluding for purposes of determining the voting stock outstanding (but not the outstanding voting stock owned by the interested stockholder) those shares owned by (i) persons who are directors and also officers or (ii) employee stock plans in which employee participants do not have the right to determine confidentially whether shares held subject to the plan will be tendered in a tender or exchange offer; or

(c) at or subsequent to such time, the business combination is approved by the Board and authorized at an annual or special meeting of stockholders, and not by written consent, by the affirmative vote of at least two thirds of the outstanding voting stock of the Corporation which is not owned by the interested stockholder.

Section 10.3 Definitions. For purposes of this Article X, the term:

(a) “Affiliate” means, with respect to any person, any other person that controls, is controlled by, or is under common control with such person.

(b) “associate,” when used to indicate a relationship with any person, means: (i) any corporation, partnership, unincorporated association or other entity of which such person is a director, officer or partner or is, directly or indirectly, the owner of 20% or more of any class of voting stock; (ii) any trust or other estate in which such person has at least a 20% beneficial interest or as to which such person serves as trustee or in a similar fiduciary capacity; and (iii) any relative or spouse of such person, or any relative of such spouse, who has the same residence as such person.

(c) “business combination,” when used in reference to the Corporation and any interested stockholder of the Corporation, means:

(i) any merger or consolidation of the Corporation or any direct or indirect majority-owned subsidiary of the Corporation (A) with the interested stockholder, or (B) with any other corporation, partnership, unincorporated association or other entity if the merger or consolidation is caused by the interested stockholder and as a result of such merger or consolidation Section 10.2 is not applicable to the surviving entity;

(ii) any sale, lease, exchange, mortgage, pledge, transfer or other disposition (in one transaction or a series of transactions), except proportionately as a stockholder of the

9

Corporation, to or with the interested stockholder, whether as part of a dissolution or otherwise, of assets of the Corporation or of any direct or indirect majority-owned subsidiary of the Corporation which assets have an aggregate market value equal to 10% or more of either the aggregate market value of all the assets of the Corporation determined on a consolidated basis or the aggregate market value of all the outstanding stock of the Corporation;

(iii) any transaction which results in the issuance or transfer by the Corporation or by any direct or indirect majority-owned subsidiary of the Corporation of any stock of the Corporation or of such subsidiary to the interested stockholder, except: (A) pursuant to the exercise, exchange or conversion of securities exercisable for, exchangeable for or convertible into stock of the Corporation or any such subsidiary which securities were outstanding prior to the time that the interested stockholder became such; (B) pursuant to a merger under Section 251(g) of the DGCL; (C) pursuant to a dividend or distribution paid or made, or the exercise, exchange or conversion of securities exercisable for, exchangeable for or convertible into stock of the Corporation or any such subsidiary which security is distributed, pro rata to all holders of a class or series of stock of the Corporation subsequent to the time the interested stockholder became such; (D) pursuant to an exchange offer by the Corporation to purchase stock made on the same terms to all holders of said stock; or (E) any issuance or transfer of stock by the Corporation; provided, however, that in no case under items (C) – (E) of this subsection (iii) shall there be an increase in the interested stockholder’s proportionate share of the stock of any class or series of the Corporation or of the voting stock of the Corporation (except as a result of immaterial changes due to fractional share adjustments);

(iv) any transaction involving the Corporation or any direct or indirect majority-owned subsidiary of the Corporation which has the effect, directly or indirectly, of increasing the proportionate share of the stock of any class or series, or securities convertible into the stock of any class or series, of the Corporation or of any such subsidiary which is owned by the interested stockholder, except as a result of immaterial changes due to fractional share adjustments or as a result of any purchase or redemption of any shares of stock not caused, directly or indirectly, by the interested stockholder; or

(v) any receipt by the interested stockholder of the benefit, directly or indirectly (except proportionately as a stockholder of the Corporation), of any loans, advances, guarantees, pledges, or other financial benefits (other than those expressly permitted in subsections (i)-(iv) above) provided by or through the Corporation or any direct or indirect majority-owned subsidiary.

(d) “CDM Holders” means CDM Hostess Co-Invest, LLC and each of its series, CDM Hostess Class C, LLC and each of its series and C. Dean Metropoulos (at such time as he may hold shares of Class B Common Stock).

(e) “control,” including the terms “controlling,” “controlled by” and “under common control with,” means the possession, directly or indirectly, of the power to direct or cause the direction of the management and policies of a person, whether through the ownership of voting stock, by contract, or otherwise. A person who is the owner of 20% or more of the outstanding voting stock of the Corporation, partnership, unincorporated association or other entity shall be presumed to have control of such entity, in the absence of proof by a preponderance of the evidence to the contrary. Notwithstanding the foregoing, a presumption of control shall not apply where such person holds voting stock, in good faith and not for the purpose of circumventing this Article X, as an agent, bank, broker, nominee, custodian or trustee for one or more owners who do not individually or as a group have control of such entity.

10

(f) “interested stockholder” means any person (other than the Corporation or any direct or indirect majority-owned subsidiary of the Corporation) that (i) is the owner of 15% or more of the outstanding voting stock of the Corporation, or (ii) is an Affiliate or associate of the Corporation and was the owner of 15% or more of the outstanding voting stock of the Corporation at any time within the three (3) year period immediately prior to the date on which it is sought to be determined whether such person is an interested stockholder, or (iii) an Affiliate or associate of any such person described in clauses (i) and (ii); provided, however, that the term “interested stockholder” shall not include (A) the Sponsor Holders or their transferees, or (B) any person whose ownership of shares in excess of the 15% limitation set forth herein is the result of any action taken solely by the Corporation; provided, that such person specified in this clause (B) shall be an interested stockholder if thereafter such person acquires additional shares of voting stock of the Corporation, except as a result of further corporate action not caused, directly or indirectly, by such person. For the purpose of determining whether a person is an interested stockholder, the voting stock of the Corporation deemed to be outstanding shall include stock deemed to be owned by the person through application of the definition of “owner” below but shall not include any other unissued stock of the Corporation which may be issuable pursuant to any agreement, arrangement or understanding, or upon exercise of conversion rights, warrants or options, or otherwise.

(g) “owner,” including the terms “own” and “owned,” when used with respect to any stock, means a person that individually or with or through any of its Affiliates or associates:

(i) beneficially owns such stock, directly or indirectly; or

(ii) has (A) the right to acquire such stock (whether such right is exercisable immediately or only after the passage of time) pursuant to any agreement, arrangement or understanding, or upon the exercise of conversion rights, exchange rights, warrants or options, or otherwise; provided, however, that a person shall not be deemed the owner of stock tendered pursuant to a tender or exchange offer made by such person or any of such person’s Affiliates or associates until such tendered stock is accepted for purchase or exchange; or (B) the right to vote such stock pursuant to any agreement, arrangement or understanding; provided, however, that a person shall not be deemed the owner of any stock because of such person’s right to vote such stock if the agreement, arrangement or understanding to vote such stock arises solely from a revocable proxy or consent given in response to a proxy or consent solicitation made to 10 or more persons; or

(iii) has any agreement, arrangement or understanding for the purpose of acquiring, holding, voting (except voting pursuant to a revocable proxy or consent as described in item (B) of subsection (ii) above), or disposing of such stock with any other person that beneficially owns, or whose Affiliates or associates beneficially own, directly or indirectly, such stock.

(h) “person” means any individual, corporation, partnership, unincorporated association or other entity.

(i) “stock” means, with respect to any corporation, capital stock and, with respect to any other entity, any equity interest.

11

(j) “Sponsor Holders” means (i) the investment funds affiliated with The Gores Group LLC and their respective successors and Affiliates, (ii) the investment funds affiliated with Apollo Global Management and their respective successors and Affiliates and (iii) the CDM Holders and their respective successors and Affiliates.

(k) “voting stock” means stock of any class or series entitled to vote generally in the election of directors.

ARTICLE XI

AMENDMENT OF AMENDED AND RESTATED

CERTIFICATE OF INCORPORATION

The Corporation reserves the right to amend, alter, change or repeal any provision contained in this Second Amended and Restated Certificate (including any Preferred Stock Designation), in the manner now or hereafter prescribed by this Second Amended and Restated Certificate and the DGCL; and, except as set forth in Article VIII, all rights, preferences and privileges herein conferred upon stockholders, directors or any other persons by and pursuant to this Second Amended and Restated Certificate in its present form or as hereafter amended are granted subject to the right reserved in this Article XI. Notwithstanding anything to the contrary contained in this Second Amended and Restated Certificate, and notwithstanding that a lesser percentage may be permitted from time to time by applicable law, no provision of Article V, Section 7.1, Section 7.3, Article VIII, Article IX, Article X and this Article XI may be altered, amended or repealed in any respect, nor may any provision or bylaw inconsistent therewith be adopted, unless, in addition to any other vote required by this Second Amended and Restated Certificate or otherwise required by law, such alteration, amendment, repeal or adoption is approved by the affirmative vote of the holders of at least two thirds of the voting power of the outstanding shares of capital stock of the Corporation entitled to vote generally in the election of directors, voting together as a single class.

12

IN WITNESS WHEREOF, Gores Holdings, Inc. has caused this Second Amended and Restated Certificate to be duly executed in its name and on its behalf by an authorized officer as of the date first set forth above.

GORES HOLDINGS, INC.
By: |  | /s/ Mark Stone
Name: |  | Mark Stone
Title: |  | Chief Executive Officer

[Signature Page to Second Amended and Restated Charter of Gores Holdings, Inc.]