This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]