EXHIBIT (d)(2)

                              STOCKHOLDER AGREEMENT


         THIS STOCKHOLDER AGREEMENT ("Agreement") is entered into as of December
3, 2002, by and among GILEAD SCIENCES, INC., a Delaware corporation ("Parent"),
SIMBOLO ACQUISITION SUB, INC., a Delaware corporation and a wholly owned
subsidiary of Parent ("Acquisition Sub"), and ____________________
("Stockholder").


                                    RECITALS

         A. Stockholder is a holder of record and the "beneficial owner" (within
the meaning of Rule 13d-3 under the Securities Exchange Act of 1934) of certain
shares of common stock of TRIANGLE PHARMACEUTICALS, INC., a Delaware corporation
(the "Company").

         B. Contemporaneously with the execution and delivery of this Agreement,
Parent, Acquisition Sub and the Company are entering into an Agreement and Plan
of Merger of even date herewith (the "Merger Agreement") which provides (subject
to the conditions set forth therein) for the (i) commencement by Acquisition Sub
of a tender offer for all of the issued and outstanding shares of Company Common
Stock (as defined herein), and (ii) the subsequent merger of Acquisition Sub
with and into the Company.

         C. Stockholder is entering into this Agreement in order to induce
Parent to enter into the Merger Agreement.


                                    AGREEMENT

         The parties to this Agreement, intending to be legally bound, agree as
follows:

SECTION 1. CERTAIN DEFINITIONS

         For purposes of this Agreement:

         (a) "COMPANY COMMON STOCK" shall mean the common stock, par value
$0.001 per share, of the Company.

         (b) Stockholder shall be deemed to "OWN" or to have acquired
"OWNERSHIP" of a security if Stockholder: (i) is the record owner of such
security; or (ii) is the "beneficial owner" (within the meaning of Rule 13d-3
under the Securities Exchange Act of 1934) of such security.

         (c) "SUBJECT SECURITIES" shall mean: (i) all securities of the Company
(including all shares of Company Common Stock and all options, warrants and
other rights to acquire shares of Company Common Stock) Owned by Stockholder as
of the date of this Agreement; and (ii) all additional securities of the Company
(including all additional shares of Company Common Stock and all additional
options, warrants and other rights to acquire shares of




Company Common Stock) of which Stockholder acquires Ownership during the period
from the date of this Agreement through the Termination Date.

         (d) "SUBJECT SHARES" shall mean: (i) all shares of Company Common Stock
Owned by Stockholder as of the date of this Agreement; and (ii) all additional
shares of Company Common Stock of which Stockholder acquires Ownership during
the period from the date of this Agreement through the Termination Date.

         (e) "TERMINATION DATE" shall mean the earlier of the following:

             (i) the date on which the parties hereto, by mutual written
consent, validly terminate this Agreement;

             (ii) the date on which the Merger becomes effective; or

             (iii) the date on which the Merger Agreement is validly terminated.

         (f) A Person shall be deemed to have a effected a "TRANSFER" of a
security if such Person directly or indirectly: (i) sells, pledges, encumbers,
grants an option with respect to, transfers or disposes of such security or any
interest in such security to any Person other than Parent; or (ii) enters into
an agreement or commitment contemplating the sale of, pledge of, encumbrance of,
grant of an option with respect to, transfer of or disposition of such security
or any interest therein to any Person other than Parent.

         (g) Other capitalized terms used but not otherwise defined in this
Agreement have the meanings assigned to such terms in the Merger Agreement.

SECTION 2. TRANSFER OF SUBJECT SECURITIES AND VOTING RIGHTS

         2.1 RESTRICTION ON TRANSFER OF SUBJECT SECURITIES. Subject to Section
2.2, during the period from the date of this Agreement through the Termination
Date, Stockholder shall not, directly or indirectly, cause or permit any
Transfer of any of the Subject Securities to be effected.

         2.2 PERMITTED TRANSFERS. Section 2.1 shall not prohibit a transfer of
Company Common Stock by Stockholder (a) if Stockholder is an individual (i) to
any member of Stockholder's immediate family, or to a trust for the benefit of
Stockholder or any member of Stockholder's immediate family, or (ii) upon the
death of Stockholder, or (b) if Stockholder is a partnership or limited
liability company, to one or more partners or members of Stockholder or to an
affiliated Person under common control with Stockholder; PROVIDED, HOWEVER, that
a transfer referred to in this sentence shall be permitted only if, as a
precondition to such transfer, the transferee agrees in writing to be bound by
all of the terms of this Agreement.

SECTION 3. AGREEMENT TO TENDER

         3.1 TENDER OF SUBJECT SHARES. Stockholder agrees (i) to promptly (and,
in any event, not later than five business days after commencement of the Offer)
validly tender or cause to be validly tendered into the Offer, pursuant to and
in accordance with the terms of the Offer, all of


                                       2.



the Subject Shares Owned by Stockholder as of the date of this Agreement (free
and clear of any encumbrances or restrictions), and (ii) if Stockholder acquires
Ownership of any additional Subject Shares after the date of this Agreement, to
promptly (and, in any event, not later than two business days after Stockholder
acquires Ownership of such additional Subject Shares) validly tender or cause to
be validly tendered into the Offer, pursuant to and in accordance with the terms
of the Offer, all of such additional Subject Shares (free and clear of any
encumbrances or restrictions). Stockholder agrees not to withdraw, and agrees
not to permit the withdrawal of, any of the Subject Shares from the Offer unless
and until the Offer expires without Acquisition Sub having accepted for payment
any shares of Company Common Stock tendered in the Offer. Stockholder
acknowledges and agrees that Acquisition Sub's obligation to accept for payment
shares of Company Common Stock validly tendered in the Offer, including any
Subject Shares validly tendered by Stockholder, is subject to the terms and
conditions of the Merger Agreement and the Offer. For all the Subject Shares
validly tendered in the Offer and not withdrawn, provided that Acquisition Sub
accepts for purchase and purchases shares of Company Common Stock pursuant to
the Offer, Stockholder will be entitled to receive the highest price per share
paid by Acquisition Sub for shares of Company Common Stock pursuant to the
Offer.

         3.2 STOCKHOLDER INFORMATION. Stockholder hereby agrees to permit Parent
and Acquisition Sub to publish and disclose in the Offer Documents and, if
approval of the stockholders of the Company is required under the terms of the
DGCL or other applicable law, in the Proxy Statement, Stockholder's identity and
ownership of shares of Company Common Stock and the nature of Stockholder's
commitments, arrangements and understandings under this Agreement.

         3.3 FURTHER ASSURANCES.

             (a) Stockholder shall, at Stockholder's own expense, perform such
further acts and execute such other documents and instruments as may reasonably
be required to vest in Parent the power to carry out and give effect to the
provisions of this Agreement.

             (b) Stockholder shall not enter into any tender, voting or other
such agreement, or grant a proxy or power of attorney, with respect to any of
the Subject Shares that is inconsistent with this Agreement or otherwise take
any other action with respect to the Subject Shares that would in any way
restrict, limit or interfere with the performance of Stockholder's obligations
hereunder or the transactions contemplated hereby.

SECTION 4. WAIVER OF APPRAISAL RIGHTS

         Stockholder hereby irrevocably and unconditionally waives, and agrees
to cause to be waived and to prevent the exercise of, any rights of appraisal
and any dissenters' rights relating to the Merger that Stockholder or any other
Person may have by virtue of, or with respect to, any shares of Company Common
Stock Owned by Stockholder.

                                       3.



SECTION 5. NO SOLICITATION

         Stockholder agrees that, during the period from the date of this
Agreement through the Termination Date, Stockholder shall not, directly or
indirectly, and Stockholder shall ensure that Stockholder's Representatives do
not, directly or indirectly take any action that the Company or any of its
Representatives would be prohibited from taking, directly or indirectly,
pursuant to Section 5.3(a) of the Merger Agreement. Notwithstanding the
foregoing, if Stockholder or any Representative of Stockholder is a member of
the board of directors of the Company, such member of the board of directors of
the Company may take actions in such capacity (acting as a member of the board
of directors of the Company) to the extent permitted by Section 1.2(b) of the
Merger Agreement or the proviso in Section 5.3(a) of the Merger Agreement.

SECTION 6. REPRESENTATIONS AND WARRANTIES OF STOCKHOLDER

         Stockholder hereby represents and warrants to Parent as follows:

         6.1 AUTHORIZATION, ETC. Stockholder has all requisite right, power and
authority to execute and deliver this Agreement and to perform Stockholder's
obligations hereunder. This Agreement has been duly executed and delivered by
Stockholder and, assuming the due authorization, execution and delivery by
Parent and Acquisition Sub of this Agreement, constitutes a legal, valid and
binding obligation of Stockholder, enforceable against Stockholder in accordance
with its terms, subject to (i) laws of general application relating to
bankruptcy, insolvency and the relief of debtors, and (ii) rules of law
governing specific performance, injunctive relief and other equitable remedies.
If Stockholder is a corporation, then Stockholder is a corporation duly
organized, validly existing and in good standing under the laws of the
jurisdiction in which it was organized. If Stockholder is a general or limited
partnership, then Stockholder is a partnership duly organized, validly existing
and in good standing under the laws of the jurisdiction in which it was
organized. If Stockholder is a limited liability company, then Stockholder is a
limited liability company duly organized, validly existing and in good standing
under the laws of the jurisdiction in which it was organized.

         6.2 NO CONFLICTS OR CONSENTS.

         (a) The execution and delivery of this Agreement by Stockholder do not,
and the performance of this Agreement by Stockholder will not: (i) conflict with
or violate any law, rule, regulation, order, decree or judgment applicable to
Stockholder or by which Stockholder or any of Stockholder's properties is or may
be bound or affected; or (ii) result in or constitute (with or without notice or
lapse of time) any breach of or default under, or give to any other Person (with
or without notice or lapse of time) any right of termination, amendment,
acceleration or cancellation of, or result (with or without notice or lapse of
time) in the creation of any encumbrance or restriction on any of the Subject
Securities pursuant to, any Contract to which Stockholder is a party or by which
Stockholder or any of Stockholder's affiliates or properties is or may be bound
or affected (other than any necessary filings under the HSR Act or the Exchange
Act), except for any such breaches, defaults or other occurrences that would not
prevent or delay the performance by Stockholder of Stockholder's obligations
under this Agreement.

                                       4.



         (b) The execution and delivery of this Agreement by Stockholder do not,
and the performance of this Agreement by Stockholder will not, require any
consent or approval of any Person.

         (c) Exhibit A identifies each Contract under which Stockholder or any
affiliate of Stockholder has or may acquire any right against any of the
Acquired Corporations. Except as disclosed on Exhibit A, neither Stockholder nor
any affiliate of Stockholder shall have any rights or claims under any such
Contract against the Company, Parent or any other Person after the Effective
Time.

         6.3 TITLE TO SECURITIES. As of the date of this Agreement: (a)
Stockholder holds of record (free and clear of any encumbrances or restrictions
other than restrictions imposed by applicable securities laws or pursuant to
this Agreement) the number of outstanding shares of Company Common Stock set
forth under the heading "Shares Held of Record" on the signature page hereof;
(b) Stockholder holds (free and clear of any encumbrances or restrictions other
than restrictions imposed by applicable securities laws or pursuant to this
Agreement) the options, warrants and other rights to acquire shares of Company
Common Stock set forth under the heading "Options and Other Rights" on the
signature page hereof; (c) Stockholder Owns the additional securities of the
Company set forth under the heading "Additional Securities Beneficially Owned"
on the signature page hereof; and (d) Stockholder does not directly or
indirectly Own any shares of capital stock or other securities of the Company,
or any option, warrant or other right to acquire (by purchase, conversion or
otherwise) any shares of capital stock or other securities of the Company, other
than the shares and options, warrants and other rights set forth on the
signature page hereof.

SECTION 7. MISCELLANEOUS

         7.1 FURTHER ASSURANCES. From time to time and without additional
consideration, Stockholder shall (at Stockholder's sole expense) execute and
deliver, or cause to be executed and delivered, such additional transfers,
assignments, endorsements and other instruments, and shall (at Stockholder's
sole expense) take such further actions, as Parent may request for the purpose
of carrying out and furthering the intent of this Agreement.

         7.2 FIDUCIARY DUTIES. Notwithstanding anything in this Agreement to the
contrary: (a) Stockholder makes no agreement or understanding herein in any
capacity other than in Stockholder's capacity as a record holder and beneficial
owner of Subject Securities; (b) nothing in this Agreement shall be construed to
limit or affect any action or inaction by Stockholder, or any director, officer,
partner, member or employee, as applicable, of Stockholder, in either case
serving on the Company's board of directors acting in such person's capacity as
a director or fiduciary of the Company; and (c) Stockholder shall have no
liability to Parent, Acquisition Sub or any of their respective affiliates under
this Agreement or otherwise as a result of any action or inaction by
Stockholder, or any director, officer, partner, member or employee, as
applicable, of Stockholder, in either case serving on the Company's board of
directors acting in such person's capacity as a director or fiduciary of the
Company.

                                       5.



         7.3 SURVIVAL OF REPRESENTATIONS, WARRANTIES AND AGREEMENTS. The
termination of this Agreement shall not relieve Stockholder from any liability
for any breach by Stockholder prior to such termination of any representation,
warranty, covenant or agreement contained in this Agreement.

         7.4 EXPENSES. All costs and expenses incurred in connection with the
transactions contemplated by this Agreement shall be paid by the party incurring
such costs and expenses.

         7.5 NOTICES. Any notice or other communication required or permitted to
be delivered to either party under this Agreement shall be in writing and shall
be deemed properly delivered, given and received when received at the address or
facsimile telephone number set forth beneath the name of such party below (or at
such other address or facsimile telephone number as such party shall have
specified in a written notice given to the other party):

             if to Stockholder:

                   at the address set forth on the signature page hereof; and

             if to Parent or Acquisition Sub:

                   Gilead Sciences, Inc.
                   333 Lakeside Drive
                   Foster City, CA  94404
                   Attention:  General Counsel
                   Facsimile:  (650) 522-5537

         7.6 SEVERABILITY. If any provision of this Agreement or any part of any
such provision is held under any circumstances to be invalid or unenforceable in
any jurisdiction, then (a) such provision or part thereof shall, with respect to
such circumstances and in such jurisdiction, be deemed amended to conform to
applicable laws so as to be valid and enforceable to the fullest possible
extent, (b) the invalidity or unenforceability of such provision or part thereof
under such circumstances and in such jurisdiction shall not affect the validity
or enforceability of such provision or part thereof under any other
circumstances or in any other jurisdiction, and (c) the invalidity or
unenforceability of such provision or part thereof shall not affect the validity
or enforceability of the remainder of such provision or the validity or
enforceability of any other provision of this Agreement. Each provision of this
Agreement is separable from every other provision of this Agreement, and each
part of each provision of this Agreement is separable from every other part of
such provision.

         7.7 ENTIRE AGREEMENT. This Agreement and any other documents delivered
by the parties in connection herewith constitute the entire agreement between
the parties with respect to the subject matter hereof and thereof and supersede
all prior agreements and understandings between the parties with respect
thereto. No addition to or modification of any provision of this Agreement shall
be binding upon either party unless made in writing and signed by both parties.

                                       6.



         7.8 ASSIGNMENT; BINDING EFFECT. Except as provided herein, neither this
Agreement nor any of the interests or obligations hereunder may be assigned or
delegated by Stockholder, and any attempted or purported assignment or
delegation of any of such interests or obligations shall be void. Subject to the
preceding sentence, this Agreement shall be binding upon Stockholder and (if
applicable) Stockholder's heirs, estate, executors and personal representatives
and Stockholder's successors and assigns, and shall inure to the benefit of
Parent and its successors and assigns. Without limiting any of the restrictions
set forth in Section 2 or Section 7.1 or elsewhere in this Agreement, this
Agreement shall be binding upon any Person to whom any Subject Securities are
transferred. Nothing in this Agreement is intended to confer on any Person
(other than Parent and its successors and assigns) any rights or remedies of any
nature.

         7.9 INDEPENDENCE OF OBLIGATIONS. The covenants and obligations of
Stockholder set forth in this Agreement shall be construed as independent of any
other agreement or arrangement between Stockholder, on the one hand, and the
Company or Parent, on the other. The existence of any claim or cause of action
by Stockholder against the Company or Parent shall not constitute a defense to
the enforcement of any of such covenants or obligations against Stockholder.

         7.10 SPECIFIC PERFORMANCE. The parties agree that irreparable damage
would occur in the event that any of the provisions of this Agreement were not
performed in accordance with its specific terms or were otherwise breached.
Stockholder agrees that, in the event of any breach or threatened breach by
Stockholder of any covenant or obligation contained in this Agreement, Parent
shall be entitled (in addition to any other remedy that may be available to it,
including monetary damages) to seek and obtain (a) a decree or order of specific
performance to enforce the observance and performance of such covenant or
obligation, and (b) an injunction restraining such breach or threatened breach.

         7.11 NON-EXCLUSIVITY. The rights and remedies of Parent under this
Agreement are not exclusive of or limited by any other rights or remedies which
it may have, whether at law, in equity, by contract or otherwise, all of which
shall be cumulative (and not alternative). Without limiting the generality of
the foregoing, the rights and remedies of Parent under this Agreement, and the
obligations and liabilities of Stockholder under this Agreement, are in addition
to their respective rights, remedies, obligations and liabilities under common
law requirements and under all applicable statutes, rules and regulations.

         7.12 GOVERNING LAW; JURISDICTION; WAIVER OF JURY TRIAL.

         (a) This Agreement shall be governed by, and construed in accordance
with, the laws of the State of Delaware, regardless of the laws that might
otherwise govern under applicable principles of conflicts of laws thereof. In
any action between the parties arising out of or relating to this Agreement or
any of the transactions contemplated by this Agreement each of the parties
irrevocably and unconditionally consents and submits to the jurisdiction and
venue of the state and federal courts located in the State of Delaware.

                                       7.



         (b) EACH PARTY IRREVOCABLY WAIVES THE RIGHT TO A JURY TRIAL IN
CONNECTION WITH ANY LEGAL PROCEEDING RELATING TO THIS AGREEMENT OR THE
ENFORCEMENT OF ANY PROVISION OF THIS AGREEMENT.

         7.13 COUNTERPARTS. This Agreement may be executed in separate
counterparts, each of which when so executed and delivered shall be an original,
but all such counterparts shall together constitute one and the same instrument.

         7.14 CAPTIONS. The captions contained in this Agreement are for
convenience of reference only, shall not be deemed to be a part of this
Agreement and shall not be referred to in connection with the construction or
interpretation of this Agreement.

         7.15 WAIVER. No failure on the part of any party to exercise any power,
right, privilege or remedy under this Agreement, and no delay on the part of any
party in exercising any power, right, privilege or remedy under this Agreement,
shall operate as a waiver of such power, right, privilege or remedy; and no
single or partial exercise of any such power, right, privilege or remedy shall
preclude any other or further exercise thereof or of any other power, right,
privilege or remedy. No party shall not be deemed to have waived any claim
available to such party arising out of this Agreement, or any power, right,
privilege or remedy of such party under this Agreement, unless the waiver of
such claim, power, right, privilege or remedy is expressly set forth in a
written instrument duly executed and delivered on behalf of such party; and any
such waiver shall not be applicable or have any effect except in the specific
instance in which it is given.

         7.16 CONSTRUCTION.

         (a) For purposes of this Agreement, whenever the context requires: the
singular number shall include the plural, and vice versa; the masculine gender
shall include the feminine and neuter genders; the feminine gender shall include
the masculine and neuter genders; and the neuter gender shall include masculine
and feminine genders.

         (b) The parties agree that any rule of construction to the effect that
ambiguities are to be resolved against the drafting party shall not be applied
in the construction or interpretation of this Agreement.

         (c) As used in this Agreement, the words "include" and "including," and
variations thereof, shall not be deemed to be terms of limitation, but rather
shall be deemed to be followed by the words "without limitation."

         (d) Except as otherwise indicated, all references in this Agreement to
"Sections" and "Exhibits" are intended to refer to Sections of this Agreement
and Exhibits to this Agreement.





                  [REMAINDER OF PAGE INTENTIONALLY LEFT BLANK.]

                                       8.



         IN WITNESS WHEREOF, Parent and Stockholder have caused this Agreement
to be executed as of the date first written above.



                                    GILEAD SCIENCES, INC.


                                    --------------------------------------------
                                    By

                                    --------------------------------------------
                                    Title


                                    SIMBOLO ACQUISITION SUB, INC.


                                    --------------------------------------------
                                    By

                                    --------------------------------------------
                                    Title


                                    STOCKHOLDER


                                    --------------------------------------------
                                    Signature

                                    --------------------------------------------
                                    Printed Name

                                    Address:
                                                 -------------------------------

                                                 -------------------------------

                                                 -------------------------------

                                    Facsimile:
                                                 -------------------------------




                                                           Additional Securities
Shares Held of Record      Options and Other Rights         Beneficially Owned
- ---------------------      ------------------------        ---------------------
                                                     






                     SIGNATURE PAGE TO STOCKHOLDER AGREEMENT



                                    EXHIBIT A
                                CERTAIN CONTRACTS












                                       A-1