mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
aebf9be708
PR ld/19455 * elf32-arm.c (elf32_arm_create_dynamic_sections): Set the ELF class of the linker stub bfd. (elf32_arm_check_relocs): Skip check for pic format after processing a vxWorks R_ARM_ABS12 reloc. * elflink.c (bfd_elf_final_link): Check for ELFCLASSNONE when reporting a class mismatch. * testsuite/ld-arm/vxworks1-lib.dd: Update for current disassmebler output. * testsuite/ld-arm/vxworks1-lib.rd: Likewise. * testsuite/ld-arm/vxworks1.dd: Likewise. * testsuite/ld-arm/vxworks1.rd: Likewise. * testsuite/ld-arm/vxworks1.ld: Set the output format.
38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
|
|
.*: file format .*
|
|
|
|
Disassembly of section \.plt:
|
|
|
|
00080800 <_PROCEDURE_LINKAGE_TABLE_>:
|
|
80800: e52dc008 str ip, \[sp, #-8\]!
|
|
80804: e59fc000 ldr ip, \[pc] ; 8080c <.*>
|
|
80808: e59cf008 ldr pc, \[ip, #8\]
|
|
8080c: 00081400 .word 0x00081400
|
|
8080c: R_ARM_ABS32 _GLOBAL_OFFSET_TABLE_
|
|
80810: e59fc000 ldr ip, \[pc] ; 80818 <.*>
|
|
80814: e59cf000 ldr pc, \[ip\]
|
|
80818: 0008140c .word 0x0008140c
|
|
80818: R_ARM_ABS32 _GLOBAL_OFFSET_TABLE_\+0xc
|
|
8081c: e59fc000 ldr ip, \[pc] ; 80824 <.*>
|
|
80820: eafffff6 b 80800 <.*>
|
|
80824: 00000000 .word 0x00000000
|
|
80828: e59fc000 ldr ip, \[pc] ; 80830 <.*>
|
|
8082c: e59cf000 ldr pc, \[ip\]
|
|
80830: 00081410 .word 0x00081410
|
|
80830: R_ARM_ABS32 _GLOBAL_OFFSET_TABLE_\+0x10
|
|
80834: e59fc000 ldr ip, \[pc] ; 8083c <.*>
|
|
80838: eafffff0 b 80800 <.*>
|
|
8083c: 0000000c .word 0x0000000c
|
|
Disassembly of section \.text:
|
|
|
|
00080c00 <_start>:
|
|
80c00: ebffff08 bl 80828 <.*>
|
|
80c00: R_ARM_PC24 \.plt\+0x20
|
|
80c04: eb000000 bl 80c0c <sexternal>
|
|
80c04: R_ARM_PC24 sexternal-0x8
|
|
80c08: eaffff00 b 80810 <.*>
|
|
80c08: R_ARM_PC24 \.plt\+0x8
|
|
|
|
00080c0c <sexternal>:
|
|
80c0c: e1a0f00e mov pc, lr
|