URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
Compare Revisions
- This comparison shows the changes necessary to convert path
/openrisc
- from Rev 412 to Rev 413
- ↔ Reverse comparison
Rev 412 → Rev 413
/trunk/gnu-src/binutils-2.20.1/gas/ChangeLog.or32
1,3 → 1,11
2010-11-06 Joern Rennecke <joern.rennecke@embecosm.com> |
|
* config/tc-or32.h (MD_PCREL_FROM_SECTION):Define. |
(md_pcrel_from_section): Declare. |
(TC_FORCE_RELOCATION): Define. |
* config/tc-or32.c (md_pcrel_from): Delete. |
(md_pcrel_from_section): New function. |
|
2010-08-18 Jeremy Bennett <jeremy.bennett@embecosm.com> |
|
* config/tc-or32.c (parse_operand): New argument to specify that |
/trunk/gnu-src/binutils-2.20.1/gas/config/tc-or32.h
1,5 → 1,6
/* tc-or32.h -- Assemble for the OpenRISC 1000. |
Copyright (C) 2002, 2003. 2005, 2007 Free Software Foundation, Inc. |
Copyright (C) 2002, 2003, 2005, 2007 Free Software Foundation, Inc. |
Copyright (C) 2010 Embecosm Limited |
Contributed by Damjan Lampret <lampret@opencores.org>. |
Based upon a29k port. |
|
53,4 → 54,10
#define MD_APPLY_SYM_VALUE(FIX) 0 |
#endif |
|
/* Call md_pcrel_from_section(), not md_pcrel_from(). */ |
#define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC) |
extern long md_pcrel_from_section (struct fix *, segT); |
|
#define TC_FORCE_RELOCATION(FIX) (generic_force_reloc (FIX)) |
|
#define ZERO_BASED_SEGMENTS |
/trunk/gnu-src/binutils-2.20.1/gas/config/tc-or32.c
1,5 → 1,6
/* Assembly backend for the OpenRISC 1000. |
Copyright (C) 2002, 2003, 2005, 2007, 2009 |
Copyright (C) 2010 Embecosm Limited |
Free Software Foundation, Inc. |
Contributed by Damjan Lampret <lampret@opencores.org>. |
Modified bu Johan Rydberg, <johan.rydberg@netinsight.se>. |
965,8 → 966,21
which we have set up as the address of the fixup too. */ |
|
long |
md_pcrel_from (fixS *fixP) |
md_pcrel_from_section (fixS *fixP, segT sec) |
{ |
#ifndef USE_REL |
if (TC_FORCE_RELOCATION (fixP) |
|| (fixP->fx_addsy != (symbolS *) NULL |
&& S_GET_SEGMENT (fixP->fx_addsy) != sec)) |
{ |
/* If we can't adjust this relocation, or if it references a |
local symbol in a different section (which |
TC_FORCE_RELOCATION can't check), let the linker figure it |
out. */ |
return 0; |
} |
#endif |
|
return fixP->fx_where + fixP->fx_frag->fr_address; |
} |
|
/trunk/gnu-src/binutils-2.20.1/bfd/elf32-or32.c
335,7 → 335,7
FALSE, /* partial_inplace */ |
0, /* src_mask */ |
0x03ffffff, /* dst_mask */ |
FALSE), /* pcrel_offset */ |
TRUE), /* pcrel_offset */ |
|
/* GNU extension to record C++ vtable hierarchy. */ |
HOWTO (R_OR32_GNU_VTINHERIT, /* type */ |
/trunk/gnu-src/binutils-2.20.1/bfd/ChangeLog.or32
1,3 → 1,8
2010-11-06 Joern Rennecke <joern.rennecke@embecosm.com> |
|
* elf32-or32.c (elf_or32_howto_table) <R_OR32_JUMPTARG>: |
Set pcrel_offset to TRUE. |
|
2010-10-29 Joern Rennecke <joern.rennecke@embecosm.com> |
|
* elf32-or32.c: Add Embecosm Copyright notice. |