23 December 2017, 13:43 | #21 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
|
This is not a valid hunk-format object file, IMHO.
The output looks like HUNK_DEBUG is used as a section, with its own name ".stab" (HUNK_NAME) and relocations (HUNK_RELOC32). This is illegal. There are only three types of sections in AmigaDOS: HUNK_CODE, HUNK_DATA and HUNK_BSS. HUNK_DEBUG is used as an additional hunk for one of these three sections, like HUNK_SYMBOL. Also refer to "The Amiga Guru Book", chapter 22.1. The structure of a section/segment is clearly defined as a sequence of the following hunks: Code:
HUNK_NAME (optional) HUNK_CODE | HUNK_DATA | HUNK_BSS HUNK_RELOC... (not in BSS, optional) HUNK_EXT (only in object files, optional) HUNK_SYMBOL (optional) HUNK_DEBUG (optional) HUNK_END |
23 December 2017, 15:18 | #22 |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
oh, ok. I make a link to your answer in the gcc6 thread
|
26 December 2017, 22:49 | #23 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 680
|
To be more precise:
* my binutils-2.14 fork (https://github.com/bebbo/amigaos-binutils-2.14 branch: master) is creating amiga hunk objects now. You may still use an older version (branch: aout) and continue using aout. * my gcc-6 fork (https://github.com/bebbo/gcc branch: gcc-6-branch) now supports __chip, __fast and __far for .data and .bss. Those attributes can only be used if amiga hunk format gas/ld is chosen. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Franko 2 planned for Amiga | vitux | project.Amiga Game Factory | 43 | 02 June 2022 17:05 |
Are there any updates planned for the next time? | amigafreak68k | support.FS-UAE | 5 | 09 July 2013 11:54 |
Snowbros update planned | CFou! | project.WHDLoad | 12 | 18 March 2013 12:46 |
Yet another amiga website (planned) | Fragger | Amiga scene | 3 | 01 June 2010 11:58 |
Next 2 remixes planned.... | Malc | request.Modules | 4 | 01 May 2001 18:32 |
|
|