[committed] arc: Fix potential invalid pointer access when fixing got symbols.

Alan Modra amodra@gmail.com
Wed Sep 15 01:59:41 GMT 2021


> 	* ld-arc/got-weak.d: New file.
> 	* ld-arc/got-weak.s: Likewise.

Fails on arc-linux-uclibc

regexp_diff match failure
regexp "^00000100 <.*>:$"
line   "00010074 <__start>:"
regexp_diff match failure
regexp "^ 100:	2730 7f80 0000 2014 	ld	r0,\[pcl,0x2014\].*$"
line   "   10074:	2730 7f80 0000 2008 	ld	r0,[pcl,0x2008]	;1207c <.got>"
FAIL: ld-arc/got-weak

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list