Commit Graph

131 Commits

Author SHA1 Message Date
fautomat f8d0c374d4 bump version DATESTAMP 2018-06-09 21:47:22 +02:00
Bebbo d1a4cccf82 fix NPE in aout_find_nearest_line 2018-06-06 09:32:21 +02:00
Bebbo 81e03077bd fix structure - it's defined elsewhere too... so append at end 2018-06-02 22:56:07 +02:00
bebbo 426bdc59fb do not use userdata for own purposes... 2018-06-02 22:13:01 +02:00
bebbo dbd93c69e4 fix relocating ctors with small code 2018-03-27 22:32:16 +02:00
bebbo 7f1f4229f1 patch also the stab generated offsets 2018-03-11 20:35:56 +01:00
bebbo 4134f14880 remove a compile warning 2018-03-11 20:35:18 +01:00
bebbo e35204ad1d internal cleanup 2018-03-11 19:59:33 +01:00
Bebbo 08fcd15f16 fix npe 2018-02-08 00:07:34 +01:00
bebbo eb800e9744 create one debug hunk for loadables and make objdump work again 2018-02-07 23:14:14 +01:00
bebbo 467e8b9ef9 support older compilers 2018-01-23 23:39:59 +01:00
bebbo 865eab8d8c removed reference to ld stuff 2018-01-19 11:44:41 +01:00
bebbo e0a36d46fa exclude aout format from pcrel long jumps 2018-01-18 20:58:49 +01:00
bebbo 2e2c00ef91 bump version date 2018-01-18 20:18:20 +01:00
bebbo 764e92f27f added long jump insertion for small code model 2018-01-18 20:15:55 +01:00
bebbo 0389bec447 fix slurping archives 2017-12-25 23:59:14 +01:00
bebbo f9ae4ed1e2 also consider ABS_COMMON to include an library element 2017-12-23 19:36:35 +01:00
bebbo 146f10290b fix archive scanning, linking and support more amiga mem types 2017-12-21 19:15:35 +01:00
bebbo 72e25c3819 fix .stab/.stabstr hunks, drop if not a debug version otherwise make these the last hunks 2017-12-16 22:28:02 +01:00
bebbo e5ab1ffedf remove superfluous/duplicate code 2017-12-16 22:26:54 +01:00
bebbo 2f4889c5cc fixed possible memory trahsing 2017-12-16 18:10:35 +01:00
bebbo 29668310c7 seems wotking 2017-12-15 23:11:48 +01:00
bebbo 7a008400e0 ALIAS (indirect) seems to work 2017-12-15 19:12:53 +01:00
bebbo d2608e1f74 linking with .stab/.stabstr seems to work 2017-12-14 16:10:00 +01:00
bebbo 4c5b7af9c9 @B restore 0e9acdc7ec 2017-05-29 17:08:11 +02:00
bebbo 59d796ee98 @R support pcrelative linking 2017-05-19 17:16:45 +02:00
bebbo e25d2e608b @R added a hack to search loaded libraries/files multiple times. 2017-05-07 17:39:14 +02:00
bebbo 0e9acdc7ec @B fix bit test for BSF_GLOBAL 2017-03-22 23:40:36 +01:00
bebbo 5781371c30 @B fix possible buffer overrun 2017-03-22 21:51:10 +01:00
bebbo d1a6d29461 @V bump version to 2.14b 2017-03-14 21:39:21 +01:00
bebbo 8744207006 @R be more tolerant and accept "ARFILENAMES/ " or "ARFILENAMES/" 2017-03-14 00:50:02 +01:00
bebbo e9935d1863 @I use BSF_GLOBAL instead of hard coded 2 2017-03-14 00:41:37 +01:00
bebbo b381f24187 @B fix linking common symbols, @I cleanup 2017-03-14 00:10:57 +01:00
bebbo b914ad8df0 @M added devel1 modifications to starting base 2017-03-13 21:19:09 +01:00
bebbo 246f5351b2 @B undo of some recent bogus changes 2017-02-23 12:52:35 +01:00
bebbo 9cb231643d @B write "ARFILENAMES/ " instead of "ARFILENAMES/" 2017-02-22 14:33:58 +01:00
bebbo 5856b5a4cc @V version reports now 2.14a instead 2.14 2017-02-18 20:18:12 +01:00
bebbo 742d6bb698 @R with multiple defined symbols now the first definition is retained (was: last definition), thus object file definition have precedence over libs 2017-02-13 18:59:08 +01:00
bebbo 6372b0a52e @R new approach to fix the offsets relative to a4. 2017-02-13 01:28:22 +01:00
bebbo bc877e33c6 @B fix linking with baserel32 mode 2017-02-06 21:44:29 +01:00
bebbo 1d7d87ecf0 @D remove debug output 2017-02-06 15:12:01 +01:00
bebbo f474743b90 @B fix #ifdef DEBUGPRINT 2017-02-06 15:10:05 +01:00
bebbo bb6ad09703 @B fix compatibilty issues for VC 2017-02-06 15:08:28 +01:00
bebbo b9511c9413 @B fix compatibilty issues for VC 2017-02-06 15:04:37 +01:00
bebbo 78fa84d0b7 @D added more debug output, @B reintroduced an old bug to make the
linker work again!?!
2017-01-31 20:18:46 +01:00
Gunther Nikl 374b9faeb4 Factor out common code for processing a.out and hunk relocations.
* bfd/amigaoslink.c (amiga_update_target_section): New function, broken out
  of amiga_perform_reloc.
  (amiga_perform_reloc): Use it.
  (aout_update_target_section): New function, broken out of aout_perform_reloc.
  (aout_perform_reloc): Use it.
2015-07-03 12:02:29 +00:00
Gunther Nikl c49e1d0d04 Minor cleanup.
* bfd/amigaoslink.c (amiga_perform_reloc): Remove UNUSED from abfd argument.
  (aout_perform_reloc): Reformat debug statements for clarity.
2015-07-03 10:01:50 +00:00
Gunther Nikl 5959708977 Rename a helper macro to better reflect what the macro is used for.
* bfd/amigaos.c (bfd_is_bfd_section): Rename from this ...
  (bfd_is_special_section): ... to this.
2015-06-16 17:40:36 +00:00
Gunther Nikl d2bd053001 Simplify logic dealing with RELOC32SHORT data from an executable.
* bfd/amigaos.c (howto_for_raw_reloc): New parameter indicating file type.
  Use it for mapping HUNK_DREL32 to ABS32 or SD32.
  (amiga_handle_rest): Remove special handling of HUNK_DREL32.
  (read_raw_relocs): Likewise.
2015-06-03 18:03:28 +00:00
Gunther Nikl 75ee6e77cc In an object file a HUNK_RELRELOC32 has 32bit data.
* bfd/amigaos.c (parse_archive_units): Read contents of HUNK_RELRELOC32 as
  32bit words.
2015-06-03 17:55:47 +00:00