Comments (7)
Removing am_mapamiga.s from the code and just replacing it with the c function in am_map.c didn't help and just shifted the problem somewhere else.
Be aware, DoomAttack is not compiled with -fbaserel (much of it is implemented in assembly and all of them use absolute symbol references)
from amiga-gcc.
well, the binutils linker wants all code sections named .text
from amiga-gcc.
Confirmed. I moved all assembly files' section directives to .text and it passed the linking stage. But I could swear it already linked before that.
On a sidenote, would it be possible to allow sections with non-gcc names? It would relieve some of the linker pressure to stuff everything together in -msmall-code and -fbaserel modes. The programmer had more control over which code/data needs to go together and which code can be in separate sections (via long jumps). Obviously I didn't think this through yet, but sounds desirable.
from amiga-gcc.
I just reactivated the amiga hunk format. The aout format only supports 2 real sections, one .text and one .data section. Even the .bss is in fact only an extension to .data.
With amiga hunk format an unlimited count of sections should work with one limitation: Only one baserel .data section is allowed.
from amiga-gcc.
Is there anything you ask me to test?
from amiga-gcc.
I am trying to create a minimal problem...
... not enough time this week.
from amiga-gcc.
Ha, it's not a binutil issue, it's section naming issue:
the instruction is:
jra _AM_drawFline
pc relative jumps between different sections are impossible.
from amiga-gcc.
Related Issues (20)
- Arch Linux "make update" Problem HOT 3
- Is it possible to compile Amiga Shared Libraries with this wonderfull compiler ? HOT 7
- Program will exit because of unwanted automatic LoadLibrary() with optional lib HOT 2
- aminet links and amitools on Debian and Ubuntu HOT 7
- gcc build fails on Fedora 39 HOT 1
- Unable to compile a Reaction snippet from the NDK3.2 HOT 6
- M3 Mac Book Pro Build - NDK 3.2 Patches Fail HOT 2
- gcc build fails in graphite-isl-ast-to-gimple.c HOT 2
- Question: Optional libraries... possible? HOT 2
- Checked in libamiga.a HOT 1
- @isoriano1968 - "make min" in a pristine repo (and sub project repos) seems to be OK. I'll open another issue for the oddities I noticed. HOT 1
- __divdi3 crashes on 68060 HOT 6
- gcc doesn't build on M1 macOS
- dlfcn.h is installed from clib2 but dl* functions do not exist on AmigaOS 3.x HOT 4
- gcc compile error: `isl_val_free` was not declared in this scope HOT 2
- Duplicate section has different contents HOT 17
- Update VASM (1.9a to 1.9f) HOT 3
- vbcc not building, missing a declaration of some function HOT 2
- Building amiga-gcc fails at making binutils on aarch64-linux-android HOT 1
- amiga-gcc 13.2 built executable exits with error code 121 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amiga-gcc.