OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 662 to Rev 663
    Reverse comparison

Rev 662 → Rev 663

/openrisc/trunk/gnu-src/gcc-4.5.1/gcc/ChangeLog.or32
1,3 → 1,7
2011-12-01 Joern Rennecke <joern.rennecke@embecosm.com>
 
* config/or32/or32.md (cbranchsi4): Fix mode of operands 1 and 2.
 
2011-08-25 Jeremy Bennett <jeremy.bennett@embecosm.com>
 
* config/or32/linux-elf.h <TARGET_OS_CPP_BUILTINS>: Defined, based
/openrisc/trunk/gnu-src/gcc-4.5.1/gcc/config/or32/or32.md
537,8 → 537,8
 
(define_expand "cbranchsf4"
[(match_operator 0 "comparison_operator"
[(match_operand:SI 1 "register_operand")
(match_operand:SI 2 "register_operand")])
[(match_operand:SF 1 "register_operand")
(match_operand:SF 2 "register_operand")])
(match_operand 3 "")]
"TARGET_HARD_FLOAT"
{
/openrisc/trunk/gnu-src/binutils-2.20.1/ld/ChangeLog.or32
0,0 → 1,3
2011-12-01 Jeremy Bennett <jeremy.bennett@embecosm.com>
 
* ldlang.c (wild_sort): Remove references to unused section_name.
/openrisc/trunk/gnu-src/binutils-2.20.1/ld/ldlang.c
2320,7 → 2320,6
lang_input_statement_type *file,
asection *section)
{
const char *section_name;
lang_statement_union_type *l;
 
if (!wild->filenames_sorted
2327,7 → 2326,6
&& (sec == NULL || sec->spec.sorted == none))
return NULL;
 
section_name = bfd_get_section_name (file->the_bfd, section);
for (l = wild->children.head; l != NULL; l = l->header.next)
{
lang_input_section_type *ls;
/openrisc/trunk/gnu-src/binutils-2.20.1/gas/read.c
2604,10 → 2604,15
void
s_mri (int ignore ATTRIBUTE_UNUSED)
{
int on, old_flag;
int on;
#ifdef MRI_MODE_CHANGE
int old_flag;
#endif
 
on = get_absolute_expression ();
#ifdef MRI_MODE_CHANGE
old_flag = flag_mri;
#endif
if (on != 0)
{
flag_mri = 1;
4753,11 → 4758,9
sizeof_uleb128 (valueT value)
{
register int size = 0;
register unsigned byte;
 
do
{
byte = (value & 0x7f);
value >>= 7;
size += 1;
}
/openrisc/trunk/gnu-src/binutils-2.20.1/gas/ChangeLog.or32
1,3 → 1,15
2011-12-01 Jeremy Bennett <jeremy.bennett@embecosm.com>
 
* as.c (create_obj_attrs_section): Remove references to addr to
align with upstream CVS rev 1.99.
* listing.c (listing_listing): Remove references to message to
align with upstream CVS rev 1.50.
* read.c (s_mri): Make all references to old_flag conditional on
MRI_MODE_CHANGE being defined to align with upstream CVS rev
1.174.
(sizeof_uleb128): Remove references to byte to align with upstream
CVS rev 1.174.
 
2010-11-06 Joern Rennecke <joern.rennecke@embecosm.com>
 
* config/tc-or32.h (MD_PCREL_FROM_SECTION):Define.
/openrisc/trunk/gnu-src/binutils-2.20.1/gas/as.c
1055,7 → 1055,6
{
segT s;
char *p;
addressT addr;
offsetT size;
const char *name;
 
1069,7 → 1068,7
elf_section_type (s)
= get_elf_backend_data (stdoutput)->obj_attrs_section_type;
bfd_set_section_flags (stdoutput, s, SEC_READONLY | SEC_DATA);
addr = frag_now_fix ();
frag_now_fix ();
p = frag_more (size);
bfd_elf_set_obj_attr_contents (stdoutput, (bfd_byte *)p, size);
}
/openrisc/trunk/gnu-src/binutils-2.20.1/gas/listing.c
1144,7 → 1144,6
{
list_info_type *list = head;
file_info_type *current_hll_file = (file_info_type *) NULL;
char *message;
char *buffer;
char *p;
int show_listing = 1;
1209,8 → 1208,6
{
/* Scan down the list and print all the stuff which can be done
with this line (or lines). */
message = 0;
 
if (list->hll_file)
current_hll_file = list->hll_file;
 
/openrisc/trunk/gnu-src/binutils-2.20.1/binutils/dwarf.c
1887,7 → 1887,6
{
DWARF2_Internal_CompUnit compunit;
unsigned char *hdrptr;
unsigned char *cu_abbrev_offset_ptr;
unsigned char *tags;
int level;
unsigned long cu_offset;
1917,7 → 1916,6
 
cu_offset = start - section_begin;
 
cu_abbrev_offset_ptr = hdrptr;
compunit.cu_abbrev_offset = byte_get (hdrptr, offset_size);
hdrptr += offset_size;
 
2442,7 → 2440,6
int i;
File_Entry *file_table = NULL;
unsigned char **directory_table = NULL;
unsigned int prev_line = 0;
 
hdrptr = data;
 
2620,7 → 2617,6
int is_special_opcode = 0;
 
op_code = *data++;
prev_line = state_machine_regs.line;
 
if (op_code >= info.li_opcode_base)
{
3514,7 → 3510,6
void *file ATTRIBUTE_UNUSED)
{
unsigned char *start = section->start;
unsigned char *section_end;
unsigned long bytes;
unsigned char *section_begin = start;
unsigned int num_range_list, i;
3521,7 → 3516,6
struct range_entry *range_entries, *range_entry_fill;
 
bytes = section->size;
section_end = start + bytes;
 
if (bytes == 0)
{
/openrisc/trunk/gnu-src/binutils-2.20.1/binutils/ChangeLog.or32
0,0 → 1,26
2011-12-01 Jeremy Bennett <jeremy.bennett@embecosm.com>
 
* objdump.c (disassemble_bytes): Remove three references to
done_dot to align with upstream CVS rev 1.188
* dwarf.c (process_debug_info): Remove two references to
cu_abbrev_offset_ptr to align with upstream CVS rev 1.104
(display_debug_lines_decoded): Remove two references to prev_line
to align with upstream CVS rev 1.104
(display_debug_ranges): Remove two references to section_end to
align with upstream CVS rev 1.104
* rddgb.c (read_section_stabs_debugging_info): Mark "other" as
unused to align with upstream CVS rev 1.15.
* stabs.c (parse_stab_string): Mark parameter desc unused and
remove code referencing lineno to align with upstream CVS rev 1.33.
(parse_stab_struct_type): Remove code referencing orig to align
with upstream CVS rev 1.33
(stab_demangle_type): Remove references to constp, volatilep and
hold to align with upstream CVS rev 1.33.
* ieee.c (ieee_start_compilation_unit): Remove references to nindx
to align with upstream CVS rev 1.29.
(ieee_offset_type): Remove code referencng baseindx and targetindx
to align with upstream CVS rev 1.29.
* readelf.c (dump_section_as_strings): Remove references to addr
to align with CVS rev 1.562.
(process_archive): Remove references to file_name_size to align
with CVS rev 1.562.
/openrisc/trunk/gnu-src/binutils-2.20.1/binutils/ieee.c
4824,7 → 4824,6
const char *backslash;
#endif
char *c, *s;
unsigned int nindx;
 
if (info->filename != NULL)
{
4872,7 → 4871,6
|| ! ieee_write_id (info, info->modname))
return FALSE;
 
nindx = info->name_indx;
++info->name_indx;
if (! ieee_change_buffer (info, &info->vars)
|| ! ieee_write_byte (info, (int) ieee_bb_record_enum)
5688,12 → 5686,6
static bfd_boolean
ieee_offset_type (void *p)
{
struct ieee_handle *info = (struct ieee_handle *) p;
unsigned int targetindx, baseindx;
 
targetindx = ieee_pop_type (info);
baseindx = ieee_pop_type (info);
 
/* FIXME: The MRI C++ compiler does not appear to generate any
useful type information about an offset type. It just records a
pointer to member as an integer. The MRI/HP IEEE spec does
/openrisc/trunk/gnu-src/binutils-2.20.1/binutils/stabs.c
677,7 → 677,7
 
static bfd_boolean
parse_stab_string (void *dhandle, struct stab_handle *info, int stabtype,
int desc, bfd_vma value, const char *string)
int desc ATTRIBUTE_UNUSED, bfd_vma value, const char *string)
{
const char *p;
char *name;
685,7 → 685,6
debug_type dtype;
bfd_boolean synonym;
bfd_boolean self_crossref;
unsigned int lineno;
debug_type *slot;
 
p = strchr (string, ':');
703,14 → 702,6
}
}
 
/* GCC 2.x puts the line number in desc. SunOS apparently puts in
the number of bytes occupied by a type or object, which we
ignore. */
if (info->gcc_compiled >= 2)
lineno = desc;
else
lineno = 0;
 
/* FIXME: Sometimes the special C++ names start with '.'. */
name = NULL;
if (string[0] == '$')
2028,7 → 2019,6
const char *tagname, const char **pp,
bfd_boolean structp, const int *typenums)
{
const char *orig;
bfd_vma size;
debug_baseclass *baseclasses;
debug_field *fields;
2037,8 → 2027,6
debug_type vptrbase;
bfd_boolean ownvptr;
 
orig = *pp;
 
/* Get the size. */
size = parse_number (pp, (bfd_boolean *) NULL);
 
4667,7 → 4655,7
case 'M':
case 'O':
{
bfd_boolean memberp, constp, volatilep;
bfd_boolean memberp;
debug_type class_type = DEBUG_TYPE_NULL;
debug_type *args;
bfd_boolean varargs;
4675,8 → 4663,6
const char *name;
 
memberp = **pp == 'M';
constp = FALSE;
volatilep = FALSE;
args = NULL;
varargs = FALSE;
 
4720,12 → 4706,10
{
if (**pp == 'C')
{
constp = TRUE;
++*pp;
}
else if (**pp == 'V')
{
volatilep = TRUE;
++*pp;
}
if (**pp != 'F')
4786,9 → 4770,6
 
case 'Q':
{
const char *hold;
 
hold = *pp;
if (! stab_demangle_qualified (minfo, pp, ptype))
return FALSE;
}
/openrisc/trunk/gnu-src/binutils-2.20.1/binutils/readelf.c
8482,7 → 8482,6
{
Elf_Internal_Shdr * relsec;
bfd_size_type num_bytes;
bfd_vma addr;
char * data;
char * end;
char * start;
8516,7 → 8515,6
}
 
num_bytes = section->sh_size;
addr = section->sh_addr;
data = start;
end = start + num_bytes;
some_strings_shown = FALSE;
11276,7 → 11274,6
struct archive_info arch;
struct archive_info nested_arch;
size_t got;
size_t file_name_size;
int ret;
 
show_name = 1;
11370,7 → 11367,6
}
}
 
file_name_size = strlen (file_name);
ret = 0;
 
while (1)
/openrisc/trunk/gnu-src/binutils-2.20.1/binutils/rddbg.c
164,7 → 164,7
{
unsigned int strx;
int type;
int other;
int other ATTRIBUTE_UNUSED;
int desc;
bfd_vma value;
 
/openrisc/trunk/gnu-src/binutils-2.20.1/binutils/objdump.c
1406,7 → 1406,6
struct objdump_disasm_info *aux;
asection *section;
int octets_per_line;
bfd_boolean done_dot;
int skip_addr_chars;
bfd_vma addr_offset;
unsigned int opb = info->octets_per_byte;
1453,7 → 1452,6
 
info->insn_info_valid = 0;
 
done_dot = FALSE;
addr_offset = start_offset;
while (addr_offset < stop_offset)
{
1506,8 → 1504,6
int bpc = 0;
int pb = 0;
 
done_dot = FALSE;
 
if (with_line_numbers || with_source_code)
show_line (aux->abfd, section, addr_offset);
 
/openrisc/trunk/gnu-src/binutils-2.20.1/bfd/elf.c
4832,7 → 4832,7
prep_headers (bfd *abfd)
{
Elf_Internal_Ehdr *i_ehdrp; /* Elf file header, internal form */
Elf_Internal_Phdr *i_phdrp = 0; /* Program header table, internal form */
 
struct elf_strtab_hash *shstrtab;
const struct elf_backend_data *bed = get_elf_backend_data (abfd);
 
4900,7 → 4900,6
else
{
i_ehdrp->e_phentsize = 0;
i_phdrp = 0;
i_ehdrp->e_phoff = 0;
}
 
4948,7 → 4947,7
_bfd_elf_write_object_contents (bfd *abfd)
{
const struct elf_backend_data *bed = get_elf_backend_data (abfd);
Elf_Internal_Ehdr *i_ehdrp;
 
Elf_Internal_Shdr **i_shdrp;
bfd_boolean failed;
unsigned int count, num_sec;
4958,7 → 4957,6
return FALSE;
 
i_shdrp = elf_elfsections (abfd);
i_ehdrp = elf_elfheader (abfd);
 
failed = FALSE;
bfd_map_over_sections (abfd, bed->s->write_relocs, &failed);
/openrisc/trunk/gnu-src/binutils-2.20.1/bfd/verilog.c
222,14 → 222,11
verilog_write_address (abfd, list->where);
while (octets_written < list->size)
{
bfd_vma address;
unsigned int octets_this_chunk = list->size - octets_written;
 
if (octets_this_chunk > 16)
octets_this_chunk = 16;
 
address = list->where + octets_written / bfd_octets_per_byte (abfd);
 
if (! verilog_write_record (abfd,
location,
location + octets_this_chunk))
/openrisc/trunk/gnu-src/binutils-2.20.1/bfd/elf-eh-frame.c
1236,13 → 1236,11
 
bfd_vma
_bfd_elf_eh_frame_section_offset (bfd *output_bfd ATTRIBUTE_UNUSED,
struct bfd_link_info *info,
struct bfd_link_info *info ATTRIBUTE_UNUSED,
asection *sec,
bfd_vma offset)
{
struct eh_frame_sec_info *sec_info;
struct elf_link_hash_table *htab;
struct eh_frame_hdr_info *hdr_info;
unsigned int lo, hi, mid;
 
if (sec->sec_info_type != ELF_INFO_TYPE_EH_FRAME)
1252,9 → 1250,6
if (offset >= sec->rawsize)
return offset - sec->rawsize + sec->size;
 
htab = elf_hash_table (info);
hdr_info = &htab->eh_info;
 
lo = 0;
hi = sec_info->count;
mid = 0;
/openrisc/trunk/gnu-src/binutils-2.20.1/bfd/ChangeLog.or32
1,3 → 1,17
2011-12-01 Jeremy Bennett <jeremy.bennett@embecosm.com>
 
* verilog.c (verilog_write_section): Remove assignment to address
to align with upstream CVS rev 1.4.
* elf-bfd.h <RELOC_FOR_GLOBAL_SYMBOL>: Macro avoids non-use of
parameters to align with upstream CVS rev 1.329.
* elf.c (prep_headers): Remove unused two references to i_phdrp to
align with upstream CVS rev 1.544
(_bfd_elf_write_object_contents): Remove two references to i_ehdrp
to align with upstream CVS rev 1.544
* elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Mark info as
unused and remove two references to hdr_info and htab to align
with upstream CVS ref 1.87
 
2010-11-06 Joern Rennecke <joern.rennecke@embecosm.com>
 
* elf32-or32.c (elf_or32_howto_table) <R_OR32_JUMPTARG>:
/openrisc/trunk/gnu-src/binutils-2.20.1/bfd/elf-bfd.h
2269,6 → 2269,9
return FALSE; \
warned = TRUE; \
} \
/* Added from upstream CVS rev 1.329 to avoid warnings */ \
(void) unresolved_reloc; \
(void) warned; \
} \
while (0)
 
/openrisc/trunk/gnu-src/boards/or32-elf-sim.exp
51,7 → 51,7
# It's sufficient just to specify -mnewlib, but we explicitly specify
# -mboard=or1ksim, althoug at present that is the default anyway.
set_board_info compiler "[find_gcc]"
set_board_info cflags "-mboard=or1ksim"
set_board_info cflags "-mnewlib -mboard=or1ksim"
 
# No linker script needed.
set_board_info ldscript ""

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.