public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Fix issue with PROVIDE in linker scripts
@ 2018-01-09 21:09 Andrew Burgess
  2018-01-09 21:09 ` [PATCH 1/4] ld: In map file use '=' in PROVIDE statements Andrew Burgess
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Andrew Burgess @ 2018-01-09 21:09 UTC (permalink / raw)
  To: binutils; +Cc: Andrew Burgess

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-01-11 17:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-09 21:09 [PATCH 0/4] Fix issue with PROVIDE in linker scripts Andrew Burgess
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 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 2/4] ld: Find and run some tests using a wildcard pattern Andrew Burgess
2018-01-10  6:47   ` 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-11 17:42 ` [PATCH 0/4] Fix issue with PROVIDE in linker scripts Andrew Burgess

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).