public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Burgess <andrew.burgess@embecosm.com>
To: binutils@sourceware.org
Cc: Andrew Burgess <andrew.burgess@embecosm.com>
Subject: [PATCH 0/4] Fix issue with PROVIDE in linker scripts
Date: Tue, 09 Jan 2018 21:09:00 -0000	[thread overview]
Message-ID: <cover.1515531328.git.andrew.burgess@embecosm.com> (raw)

This series works is really all about patch #3, that fixes an issue in
linker scripts where PROVIDE can override a "normal" symbol.  The
issue is described in more detail in patch #3.

The other patches #1, #3, and #4, are all setup and cleanup.

I've tested this whole series against a set of 245 targets, there are
no new regressions.

---

Andrew Burgess (4):
  ld: In map file use '=' in PROVIDE statements
  ld: Find and run some tests using a wildcard pattern
  ld: Fix issue where PROVIDE overrides defined symbol
  ld: Remove unused expression state

 ld/ChangeLog                                       | 41 +++++++++
 ld/ldexp.c                                         | 99 +++++++++++-----------
 ld/ldexp.h                                         |  1 -
 ld/ldlang.c                                        |  1 +
 ld/testsuite/ld-scripts/provide-3.d                |  1 +
 ld/testsuite/ld-scripts/provide-4-map.d            | 13 ---
 ld/testsuite/ld-scripts/provide-4.d                |  2 +-
 ld/testsuite/ld-scripts/provide-4.map              | 13 +++
 ld/testsuite/ld-scripts/provide-5.d                |  2 +-
 .../ld-scripts/{provide-5-map.d => provide-5.map}  |  2 +-
 ld/testsuite/ld-scripts/provide-6.d                |  9 ++
 ld/testsuite/ld-scripts/provide-6.t                | 11 +++
 ld/testsuite/ld-scripts/provide-7.d                |  8 ++
 ld/testsuite/ld-scripts/provide-7.t                | 11 +++
 ld/testsuite/ld-scripts/provide-8.d                |  8 ++
 ld/testsuite/ld-scripts/provide-8.t                | 14 +++
 ld/testsuite/ld-scripts/provide.exp                | 12 +--
 17 files changed, 177 insertions(+), 71 deletions(-)
 delete mode 100644 ld/testsuite/ld-scripts/provide-4-map.d
 create mode 100644 ld/testsuite/ld-scripts/provide-4.map
 rename ld/testsuite/ld-scripts/{provide-5-map.d => provide-5.map} (60%)
 create mode 100644 ld/testsuite/ld-scripts/provide-6.d
 create mode 100644 ld/testsuite/ld-scripts/provide-6.t
 create mode 100644 ld/testsuite/ld-scripts/provide-7.d
 create mode 100644 ld/testsuite/ld-scripts/provide-7.t
 create mode 100644 ld/testsuite/ld-scripts/provide-8.d
 create mode 100644 ld/testsuite/ld-scripts/provide-8.t

-- 
2.14.3

             reply	other threads:[~2018-01-09 21:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-09 21:09 Andrew Burgess [this message]
2018-01-09 21:09 ` [PATCH 3/4] ld: Fix issue where PROVIDE overrides defined symbol Andrew Burgess
2018-01-10  6:50   ` Alan Modra
2018-01-09 21:09 ` [PATCH 1/4] ld: In map file use '=' in PROVIDE statements Andrew Burgess
2018-01-10  6:45   ` Alan Modra
2018-01-09 21:09 ` [PATCH 4/4] ld: Remove unused expression state Andrew Burgess
2018-01-10  6:50   ` Alan Modra
2018-01-09 21:09 ` [PATCH 2/4] ld: Find and run some tests using a wildcard pattern Andrew Burgess
2018-01-10  6:47   ` Alan Modra
2018-01-11 17:42 ` [PATCH 0/4] Fix issue with PROVIDE in linker scripts Andrew Burgess

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1515531328.git.andrew.burgess@embecosm.com \
    --to=andrew.burgess@embecosm.com \
    --cc=binutils@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).