Skip to content

ARC Moving to @pcl relocations

Alexey Brodkin linux-snps-arc 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] ARC Moving to @pcl relocations

Hi Andrew, all,

Quoted 9 lines · Vineet Gupta
Quoted 8 lines · Bernhard Reutner-Fischer
Quoted 8 lines

Indeed your 2/2 seems to be the most "past-proof" code change. So I

Quoted 5 lines

would think it
is indeed better and is something I should have done in the first place.

Quoted 7 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line

@Alexey, @Vlad what say you ?

uClibc traditionally supports the current stable release of binutils, which would make it patch #1 I think.

But 2/2 works for both and makes actual binutils version moot. FWIW, ARC tools don't as of last release didn't use the upstream/stable binutils, but we are pretty close to that now though.

Personally I'd prefer to not add more conditional defines in uClibc but make it a little-bit simpler.

I.e. either Vlad's patch or #1 from this series IMHO looks better. It's been quite some time since we updated our tools with PCL support and I'm not really sure if there's anybody interested in using ages old tools with today's uClibc. We don't test such combinations and there could be issues already in such combos.

BTW I noticed that Vlad's patch removes/reverts that thing as well:
http://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/ldso/ldso/arc/dl-sysdep.h?id=181d410ad00cddd1d6c9f4835e129136b74
c5187

While Andrew just replaces ".&" construction with "@pcl". I'm wondering which is the correct approach here?

-Alexey