diff options
author | Ken Raeburn <raeburn@cygnus> | 1995-01-12 20:29:22 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1995-01-12 20:29:22 +0000 |
commit | 376480106c78448fdd5a583cda9356b605f08818 (patch) | |
tree | d115e66bab0e22adb94cede6e414a6be6262b39c /bfd | |
parent | 592355645ce3615f0972c9696c19fcb6e400997e (diff) | |
download | gdb-376480106c78448fdd5a583cda9356b605f08818.zip gdb-376480106c78448fdd5a583cda9356b605f08818.tar.gz gdb-376480106c78448fdd5a583cda9356b605f08818.tar.bz2 |
const fixes
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/archures.c | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/bfd/archures.c b/bfd/archures.c index a748437..a249ad0 100644 --- a/bfd/archures.c +++ b/bfd/archures.c @@ -111,9 +111,12 @@ DESCRIPTION . bfd_arch_alpha, {* Dec Alpha *} . bfd_arch_arm, {* Advanced Risc Machines ARM *} . bfd_arch_ns32k, {* National Semiconductors ns32000 *} -. start-sanitize-rce -. bfd_arch_rce, {* Motorola RCE *} -. end-sanitize-rce +. {* start-sanitize-rce *} +. bfd_arch_rce, {* Motorola RCE *} +. {* end-sanitize-rce *} +. {* start-sanitize-arc *} +. bfd_arch_arc, {* Argonaut RISC Core *} +. {* end-sanitize-arc *} . bfd_arch_last . }; @@ -426,6 +429,9 @@ bfd_arch_bits_per_address (abfd) extern void bfd_a29k_arch PARAMS ((void)); extern void bfd_alpha_arch PARAMS ((void)); +/* start-sanitize-arc */ +extern void bfd_arc_arch PARAMS ((void)); +/* end-sanitize-arc */ extern void bfd_arm_arch PARAMS ((void)); extern void bfd_h8300_arch PARAMS ((void)); extern void bfd_h8500_arch PARAMS ((void)); @@ -447,13 +453,16 @@ extern void bfd_we32k_arch PARAMS ((void)); extern void bfd_z8k_arch PARAMS ((void)); extern void bfd_ns32k_arch PARAMS ((void)); -static void (*archures_init_table[]) PARAMS ((void)) = +static void (*const archures_init_table[]) PARAMS ((void)) = { #ifdef SELECT_ARCHITECTURES SELECT_ARCHITECTURES, #else bfd_a29k_arch, bfd_alpha_arch, +/* start-sanitize-arc */ + bfd_arc_arch, +/* end-sanitize-arc */ bfd_arm_arch, bfd_h8300_arch, bfd_h8500_arch, @@ -496,13 +505,9 @@ DESCRIPTION void bfd_arch_init () { - void (**ptable) PARAMS ((void)); - for (ptable = archures_init_table; - *ptable ; - ptable++) - { - (*ptable)(); - } + void (*const *ptable) PARAMS ((void)); + for (ptable = archures_init_table; *ptable ; ptable++) + (*ptable)(); } |