binutils/tests/Regression/bz587788-ld_-r-generates-R_X86_64_NONE/main.fmf

49 lines
3.2 KiB
Plaintext
Raw Normal View History

summary: ld -r generates R_X86_64_NONE
description: "WRONG:\n\n $ readelf -r foo2.o\n \n Relocation section '.rela.debug_info'\
\ at offset 0x618 contains 11 entries:\n Offset Info Type\
\ Sym. Value Sym. Name + Addend\n 000000000006 00040000000a R_X86_64_32\
\ 0000000000000000 .debug_abbrev + 0\n 00000000000c 00080000000a R_X86_64_32\
\ 0000000000000000 .debug_str + b\n 000000000011 00080000000a R_X86_64_32\
\ 0000000000000000 .debug_str + 38\n 000000000015 00080000000a R_X86_64_32\
\ 0000000000000000 .debug_str + 6\n 000000000019 000100000001 R_X86_64_64\
\ 0000000000000000 .text + 0\n 000000000021 000100000001 R_X86_64_64\
\ 0000000000000000 .text + 0\n 000000000029 00060000000a R_X86_64_32\
\ 0000000000000000 .debug_line + 0\n 00000000002e 00080000000a R_X86_64_32\
\ 0000000000000000 .debug_str + 33\n 00000000003b 000c00000001 R_X86_64_64\
\ 0000000000000004 here + 0\n 00000000004b 00080000000a R_X86_64_32\
\ 0000000000000000 .debug_str + 0\n-> 000000000058 000000000000 R_X86_64_NONE\
\ 0000000000000000\n \n Relocation section '.rela.debug_pubnames'\
\ at offset 0x720 contains 1 entries:\n Offset Info Type\
\ Sym. Value Sym. Name + Addend\n 000000000006 00050000000a R_X86_64_32\
\ 0000000000000000 .debug_info + 0\n\n\nOK:\n\n Relocation section '.rela.debug_info'\
\ at offset 0x628 contains 10 entries:\n Offset Info Type\
\ Sym. Value Sym. Name + Addend\n 000000000006 00040000000a R_X86_64_32\
\ 0000000000000000 .debug_abbrev + 0\n 00000000000c 00080000000a R_X86_64_32\
\ 0000000000000000 .debug_str + 1f\n 000000000011 00080000000a R_X86_64_32\
\ 0000000000000000 .debug_str + 46\n 000000000015 00080000000a R_X86_64_32\
\ 0000000000000000 .debug_str + b\n 000000000019 000100000001 R_X86_64_64\
\ 0000000000000000 .text + 0\n 000000000021 000100000001 R_X86_64_64\
\ 0000000000000000 .text + 0\n 000000000029 00060000000a R_X86_64_32\
\ 0000000000000000 .debug_line + 0\n 00000000002e 00080000000a R_X86_64_32\
\ 0000000000000000 .debug_str + 6\n 00000000003b 000c00000001 R_X86_64_64\
\ 0000000000000004 here + 0\n 00000000004b 00080000000a R_X86_64_32\
\ 0000000000000000 .debug_str + 0\n \n Relocation section '.rela.debug_pubnames'\
\ at offset 0x730 contains 1 entries:\n Offset Info Type\
\ Sym. Value Sym. Name + Addend\n 000000000006 00050000000a R_X86_64_32\
\ 0000000000000000 .debug_info + 0\n\n"
contact: Michal Nowak <mnowak@redhat.com>
component:
- binutils
- binutils220
test: ./runtest.sh
framework: beakerlib
recommend:
- binutils
- gcc44
- gcc
duration: 5m
link:
- relates: https://bugzilla.redhat.com/show_bug.cgi?id=587788
extra-summary: /tools/binutils/Regressions/ld/bz587788-ld_-r-generates-R_X86_64_NONE
extra-task: /tools/binutils/Regressions/ld/bz587788-ld_-r-generates-R_X86_64_NONE