Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 101607
b: refs/heads/master
c: 2ca7633
h: refs/heads/master
i:
  101605: b6fbb8a
  101603: 840c85e
  101599: 2a00316
v: v3
  • Loading branch information
Roland McGrath authored and Paul Mackerras committed May 23, 2008
1 parent 813cdf6 commit 15541aa
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 21451155d8858773ee764e9218de2ca0f4d6fc38
refs/heads/master: 2ca7633dc73405ee775a2e9b7961b47a38bc882d
6 changes: 3 additions & 3 deletions trunk/arch/powerpc/kernel/vdso64/vdso64.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ SECTIONS
.rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) }
.rodata1 : { *(.rodata1) }

.dynamic : { *(.dynamic) } :text :dynamic

.eh_frame_hdr : { *(.eh_frame_hdr) } :text :eh_frame_hdr
.eh_frame : { KEEP (*(.eh_frame)) } :text
.gcc_except_table : { *(.gcc_except_table) }
.rela.dyn ALIGN(8) : { *(.rela.dyn) }

.opd ALIGN(8) : { KEEP (*(.opd)) }
.got ALIGN(8) : { *(.got .toc) }
.rela.dyn ALIGN(8) : { *(.rela.dyn) }

.dynamic : { *(.dynamic) } :text :dynamic

_end = .;
PROVIDE(end = .);
Expand Down
6 changes: 6 additions & 0 deletions trunk/include/asm-powerpc/ppc_asm.h
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,12 @@ END_FTR_SECTION_IFCLR(CPU_FTR_601)
#define toreal(rd)
#define fromreal(rd)

/*
* We use addis to ensure compatibility with the "classic" ppc versions of
* these macros, which use rs = 0 to get the tophys offset in rd, rather than
* converting the address in r0, and so this version has to do that too
* (i.e. set register rd to 0 when rs == 0).
*/
#define tophys(rd,rs) \
addis rd,rs,0

Expand Down

0 comments on commit 15541aa

Please sign in to comment.