mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
2e0ce1c84d
bfd/ * elf-bfd.h (struct eh_cie_fde): Add u.cie.per_encoding_aligned8. * elf-eh-frame.c (size_of_output_cie_fde): Don't align here. (next_cie_fde_offset): New function. (_bfd_elf_parse_eh_frame): Set u.cie.per_encoding_aligned8. (_bfd_elf_discard_section_eh_frame): Align zero terminator to four bytes. Align CIEs to four or eight bytes depending on per_encoding_aligned8. Align FDEs according to their encoding. Pad last FDE to output section alignment. (_bfd_elf_write_section_eh_frame): Adjust to suit. Remove assertion. * elf64-ppc.c (glink_eh_frame_cie): Delete padding. (ppc64_elf_size_stubs): Pad glink eh_frame as per elf-eh-frame.c. (ppc64_elf_finish_dynamic_sections): Adjust to suit. ld/ * testsuite/ld-elf/eh3.d: Adjust for eh_frame alignment change. * testsuite/ld-elf/eh6.d: Likewise. * testsuite/ld-alpha/tlsbin.dd: Likewise. * testsuite/ld-alpha/tlsbin.td: Likewise. * testsuite/ld-alpha/tlsbinr.dd: Likewise. * testsuite/ld-alpha/tlspic.dd: Likewise. * testsuite/ld-alpha/tlspic.rd: Likewise. * testsuite/ld-alpha/tlspic.sd: Likewise. * testsuite/ld-alpha/tlspic.td: Likewise. * testsuite/ld-mips-elf/eh-frame1-n64.d: Likewise. * testsuite/ld-mips-elf/eh-frame2-n64.d: Likewise. * testsuite/ld-mips-elf/eh-frame3.d: Likewise. * testsuite/ld-x86-64/pr20830a.d: Likewise. * testsuite/ld-x86-64/pr21038a.d: Likewise. * testsuite/ld-x86-64/pr21038b.d: Likewise. * testsuite/ld-x86-64/pr21038c.d: Likewise.
57 lines
1.9 KiB
Plaintext
57 lines
1.9 KiB
Plaintext
#source: align.s
|
|
#source: tlspic1.s
|
|
#source: tlspic2.s
|
|
#as:
|
|
#ld: -shared -melf64alpha
|
|
#objdump: -drj.text
|
|
#target: alpha*-*-*
|
|
|
|
.*: +file format elf64-alpha
|
|
|
|
Disassembly of section .text:
|
|
|
|
0+1000 <fn1>:
|
|
1000: 02 00 bb 27 ldah gp,2\(t12\)
|
|
1004: 88 82 bd 23 lda gp,-32120\(gp\)
|
|
1008: 3e 15 c2 43 subq sp,0x10,sp
|
|
100c: 00 00 5e b7 stq ra,0\(sp\)
|
|
1010: 08 00 3e b5 stq s0,8\(sp\)
|
|
1014: 9e 00 00 00 rduniq
|
|
1018: 09 04 e0 47 mov v0,s0
|
|
101c: 08 80 1d 22 lda a0,-32760\(gp\)
|
|
1020: 00 80 7d a7 ldq t12,-32768\(gp\)
|
|
1024: 00 40 5b 6b jsr ra,\(t12\),1028 <.*>
|
|
1028: 02 00 ba 27 ldah gp,2\(ra\)
|
|
102c: 60 82 bd 23 lda gp,-32160\(gp\)
|
|
1030: 30 80 1d 22 lda a0,-32720\(gp\)
|
|
1034: 00 80 7d a7 ldq t12,-32768\(gp\)
|
|
1038: 00 40 5b 6b jsr ra,\(t12\),103c <.*>
|
|
103c: 02 00 ba 27 ldah gp,2\(ra\)
|
|
1040: 4c 82 bd 23 lda gp,-32180\(gp\)
|
|
1044: 40 80 1d 22 lda a0,-32704\(gp\)
|
|
1048: 00 80 7d a7 ldq t12,-32768\(gp\)
|
|
104c: 00 40 5b 6b jsr ra,\(t12\),1050 <.*>
|
|
1050: 02 00 ba 27 ldah gp,2\(ra\)
|
|
1054: 38 82 bd 23 lda gp,-32200\(gp\)
|
|
1058: 21 00 20 20 lda t0,33\(v0\)
|
|
105c: 40 80 1d 22 lda a0,-32704\(gp\)
|
|
1060: 00 80 7d a7 ldq t12,-32768\(gp\)
|
|
1064: 00 40 5b 6b jsr ra,\(t12\),1068 <.*>
|
|
1068: 02 00 ba 27 ldah gp,2\(ra\)
|
|
106c: 20 82 bd 23 lda gp,-32224\(gp\)
|
|
1070: 40 00 20 20 lda t0,64\(v0\)
|
|
1074: 62 00 20 20 lda t0,98\(v0\)
|
|
1078: 00 00 20 24 ldah t0,0\(v0\)
|
|
107c: 53 00 21 20 lda t0,83\(t0\)
|
|
1080: 18 80 3d a4 ldq t0,-32744\(gp\)
|
|
1084: 01 04 20 40 addq t0,v0,t0
|
|
1088: 20 80 3d a4 ldq t0,-32736\(gp\)
|
|
108c: 01 04 29 40 addq t0,s0,t0
|
|
1090: 50 80 3d a4 ldq t0,-32688\(gp\)
|
|
1094: 28 80 5d a4 ldq t1,-32728\(gp\)
|
|
1098: 01 04 29 40 addq t0,s0,t0
|
|
109c: 02 04 49 40 addq t1,s0,t1
|
|
10a0: 00 00 5e a7 ldq ra,0\(sp\)
|
|
10a4: 1e 14 c2 43 addq sp,0x10,sp
|
|
10a8: 01 80 fa 6b ret
|