[PATCH] Fix PR ld/17277: bogus dynamic relocs and TEXTREL for ARM PC-relative relocs

Roland McGrath mcgrathr@google.com
Fri Aug 15 23:32:00 GMT 2014


Here's another case with the same failure mode, that my change does not
fix.  The only difference seems to be a local symbol in another section vs
a global, hidden symbol in that other section.  Any pointers on where to go
next?


		.syntax unified
		.arm
	.globl foo
	.type foo,%function
	foo:	movw r0, #:lower16:.L2 - .L1 - 8
		movt r0, #:upper16:.L2 - .L1 - 8
	.L1:	add r0, pc
		bx lr

		.data
	.L2:	.word 22



Thanks,
Roland



More information about the Binutils mailing list