| OLD | NEW |
| 1 /* BFD back-end for TMS320C30 a.out binaries. | 1 /* BFD back-end for TMS320C30 a.out binaries. |
| 2 Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2009, | 2 Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2009, |
| 3 2010, 2011, 2012 | 3 2010, 2011, 2012 |
| 4 Free Software Foundation, Inc. | 4 Free Software Foundation, Inc. |
| 5 Contributed by Steven Haworth (steve@pm.cse.rmit.edu.au) | 5 Contributed by Steven Haworth (steve@pm.cse.rmit.edu.au) |
| 6 | 6 |
| 7 This file is part of BFD, the Binary File Descriptor library. | 7 This file is part of BFD, the Binary File Descriptor library. |
| 8 | 8 |
| 9 This program is free software; you can redistribute it and/or modify | 9 This program is free software; you can redistribute it and/or modify |
| 10 it under the terms of the GNU General Public License as published by | 10 it under the terms of the GNU General Public License as published by |
| (...skipping 683 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 694 static void | 694 static void |
| 695 MY_final_link_callback (bfd *abfd, | 695 MY_final_link_callback (bfd *abfd, |
| 696 file_ptr *ptreloff, | 696 file_ptr *ptreloff, |
| 697 file_ptr *pdreloff, | 697 file_ptr *pdreloff, |
| 698 file_ptr *psymoff) | 698 file_ptr *psymoff) |
| 699 { | 699 { |
| 700 struct internal_exec *execp = exec_hdr (abfd); | 700 struct internal_exec *execp = exec_hdr (abfd); |
| 701 | 701 |
| 702 *ptreloff = obj_datasec (abfd)->filepos + execp->a_data; | 702 *ptreloff = obj_datasec (abfd)->filepos + execp->a_data; |
| 703 *pdreloff = *ptreloff + execp->a_trsize; | 703 *pdreloff = *ptreloff + execp->a_trsize; |
| 704 *psymoff = *pdreloff + execp->a_drsize;; | 704 *psymoff = *pdreloff + execp->a_drsize; |
| 705 } | 705 } |
| 706 | 706 |
| 707 #endif | 707 #endif |
| 708 | 708 |
| 709 #ifndef MY_bfd_final_link | 709 #ifndef MY_bfd_final_link |
| 710 | 710 |
| 711 /* Final link routine. We need to use a call back to get the correct | 711 /* Final link routine. We need to use a call back to get the correct |
| 712 offsets in the output file. */ | 712 offsets in the output file. */ |
| 713 | 713 |
| 714 static bfd_boolean | 714 static bfd_boolean |
| (...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1105 BFD_JUMP_TABLE_RELOCS (MY), | 1105 BFD_JUMP_TABLE_RELOCS (MY), |
| 1106 BFD_JUMP_TABLE_WRITE (MY), | 1106 BFD_JUMP_TABLE_WRITE (MY), |
| 1107 BFD_JUMP_TABLE_LINK (MY), | 1107 BFD_JUMP_TABLE_LINK (MY), |
| 1108 BFD_JUMP_TABLE_DYNAMIC (MY), | 1108 BFD_JUMP_TABLE_DYNAMIC (MY), |
| 1109 | 1109 |
| 1110 NULL, | 1110 NULL, |
| 1111 | 1111 |
| 1112 MY_backend_data | 1112 MY_backend_data |
| 1113 }; | 1113 }; |
| 1114 #endif /* MY_BFD_TARGET */ | 1114 #endif /* MY_BFD_TARGET */ |
| OLD | NEW |